PHP Class 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.
Show file
Open project: psecio/parse
Public Methods
Method |
Description |
|
isValid ( PhpParser\Node $node ) |
|
|
Private Methods
Method |
Description |
|
readArgument ( PhpParser\Node $node, $index ) |
|
|
Method Details
public isValid ( PhpParser\Node $node ) |
$node |
PhpParser\Node |
|