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