mirror of
https://github.com/danog/psalm.git
synced 2024-12-11 00:39:38 +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.