It seems like you do not handle an error condition here. This can introduce security issues, and is generally not recommended.
If you suppress an error, we recommend checking for the error condition explicitly:
// For example instead of@mkdir($dir);// Better useif(@mkdir($dir)===false){thrownew\RuntimeException('The directory '.$dir.' could not be created.');}
Loading history...
18
'This method is deprecated since 3.2.0. Use Fidry\PsyshBundle\psysh instead.',
The function Fidry\PsyshBundle\psysh() has been defined more than once; this definition is ignored, only the first definition in this file (L15-22) is considered.
This check looks for functions that have already been defined in the same file.
Some Codebases, like WordPress, make a practice of defining functions multiple times. This
may lead to problems with the detection of function parameters and types. If you really
need to do this, you can mark the duplicate definition with the @ignore annotation.
If you suppress an error, we recommend checking for the error condition explicitly: