mirror of
https://github.com/danog/psalm.git
synced 2025-01-07 13:42:11 +01:00
184 B
184 B
ConstantDeclarationInTrait
Emitted when a trait declares a constant in PHP <8.2.0
<?php
trait A {
const B = 0;
}
Why this is bad
A fatal error will be thrown.