• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

phpolar / model / 15811161622

22 Jun 2025 09:54PM UTC coverage: 91.409% (+2.4%) from 89.003%
15811161622

push

github

web-flow
Merge pull request #131 from phpolar/merge-core

test: add unit tests from phpolar/core

266 of 291 relevant lines covered (91.41%)

3.71 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/DefaultLabelFormat.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Phpolar\Model;
6

7
/**
8
 * Provides the label format
9
 * of an unconfigured property.
10
 */
11
final class DefaultLabelFormat extends AbstractPropertyNameExtractor
12
{
13
    public function __construct(protected string $propName = "")
14
    {
15
    }
1✔
16

17
    /**
18
     * Produces the formatted label
19
     * using the default formatting.
20
     */
21
    public function getLabel(): string
22
    {
23
        return ucfirst($this->propName);
1✔
24
    }
25
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc