1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 16:59:45 +01:00
psalm/docs/running_psalm/issues/InvalidGlobal.md

346 B

InvalidGlobal

Emitted when there's a reference to the global keyword where it's not expected.

<?php

global $e;

If the file is included from a non-global scope this issue will have to be suppressed. See Config suppression for how to suppress this at the file or directory level.