class Phpt
@psalm-immutable
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Hierarchy
Expanded class hierarchy of Phpt
1 file declares its use of Phpt
- PhptTestCase.php in vendor/
phpunit/ phpunit/ src/ Runner/ PhptTestCase.php
1 string reference to 'Phpt'
- PhptTestCase::getCoverageFiles in vendor/
phpunit/ phpunit/ src/ Runner/ PhptTestCase.php
File
-
vendor/
phpunit/ phpunit/ src/ Event/ Value/ Test/ Phpt.php, line 17
Namespace
PHPUnit\Event\CodeView source
final class Phpt extends Test {
/**
* @psalm-assert-if-true Phpt $this
*/
public function isPhpt() : bool {
return true;
}
/**
* @psalm-return non-empty-string
*/
public function id() : string {
return $this->file();
}
/**
* @psalm-return non-empty-string
*/
public function name() : string {
return $this->file();
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
Phpt::id | public | function | @psalm-return non-empty-string | Overrides Test::id | |
Phpt::isPhpt | public | function | @psalm-assert-if-true Phpt $this | Overrides Test::isPhpt | |
Phpt::name | public | function | @psalm-return non-empty-string | Overrides Test::name | |
Test::$file | private | property | @psalm-var non-empty-string | ||
Test::file | public | function | @psalm-return non-empty-string | ||
Test::isTestMethod | public | function | @psalm-assert-if-true TestMethod $this | 1 | |
Test::__construct | public | function | @psalm-param non-empty-string $file | 1 |