You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the Laravel constant LARAVEL_START on some files and the psalm is reporting the error:
ERROR: UndefinedConstant - app/Domains/CoreApp/Controller/ControllerWebAbstract.php:16:67 - Const LARAVEL_START is not defined (see https://psalm.dev/020)
'EXECUTION_TIME' => sprintf('%.3f', microtime(true) - LARAVEL_START),
ERROR: UndefinedConstant - app/Services/Request/Logger.php:93:52 - Const LARAVEL_START is not defined (see https://psalm.dev/020)
'execution_time' => (microtime(true) - LARAVEL_START),
How can I skip the error only for the constant LARAVEL_START.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using the Laravel constant
LARAVEL_START
on some files and the psalm is reporting the error:How can I skip the error only for the constant
LARAVEL_START
.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions