class Crap4j
Same name in this branch
- 11.1.x vendor/phpunit/php-code-coverage/src/Report/Crap4j.php \SebastianBergmann\CodeCoverage\Report\Crap4j
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@internal This class is not covered by the backward compatibility promise for PHPUnit
@psalm-immutable
Hierarchy
- class \PHPUnit\TextUI\XmlConfiguration\CodeCoverage\Report\Crap4j
Expanded class hierarchy of Crap4j
2 files declare their use of Crap4j
- CodeCoverage.php in vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ CodeCoverage/ CodeCoverage.php - Loader.php in vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ Loader.php
1 string reference to 'Crap4j'
- CoverageCrap4jToReport::toReportFormat in vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ Migration/ Migrations/ CoverageCrap4jToReport.php
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ CodeCoverage/ Report/ Crap4j.php, line 21
Namespace
PHPUnit\TextUI\XmlConfiguration\CodeCoverage\ReportView source
final class Crap4j {
private readonly File $target;
private readonly int $threshold;
public function __construct(File $target, int $threshold) {
$this->target = $target;
$this->threshold = $threshold;
}
public function target() : File {
return $this->target;
}
public function threshold() : int {
return $this->threshold;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Crap4j::$target | private | property | |
Crap4j::$threshold | private | property | |
Crap4j::target | public | function | |
Crap4j::threshold | public | function | |
Crap4j::__construct | public | function |