Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Crap4j.php

class Crap4j

Same name in this branch
  1. 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\Report
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal