PHP Класс Psecio\Parse\Rule\DisplayErrors
The
display_errors setting determines whether errors should be printed
to the screen as part of the output or if they should be hidden from the user.
Displaying errors can be helpful during development, but should never be used
in production as it may leak valueable information to an attacker.
To prevent accidentaly displaying errors it is recommended that you never use
ini_set() to manually enable reporting.
Example of failing code
ini_set('display_errors', true);
How to fix?
Configure
display_errors in your
php.ini file. And make sure that it is set to
false in production.
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
isValid ( PhpParser\Node $node ) |
|
|
Приватные методы
Метод |
Описание |
|
readArgument ( PhpParser\Node $node, $index ) |
|
|
Описание методов
isValid()
публичный Метод
public isValid ( PhpParser\Node $node ) |
$node |
PhpParser\Node |
|