mirror of
https://github.com/danog/psalm.git
synced 2024-12-03 18:17:55 +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.