Verified against Semitexa Ultimate 2026.09.23.1717
Dev attributes
Every attribute declared by Dev, with the signature the code has and a usage quoted from the codebase.
#[AsQualityMetric]
Semitexa\Dev\Attribute\AsQualityMetric
Applies to: class
| parameter | type | required |
|---|---|---|
id |
string |
yes |
sees |
string |
yes |
blind |
string |
yes |
tier |
string |
no |
#[AsQualityMetric(
id: 'packages.without-tests',
sees: 'packages under packages/ that have PHP in src/ and no *Test.php under tests/',
blind: 'how well a package is tested: one trivial test takes a package off the list',
)]
final class PackagesWithoutTestsMetric implements QualityMetricInterface
— vendor/semitexa/dev/src/Application/Service/Quality/Metric/PackagesWithoutTestsMetric.php