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...
26
'AnonymousRequestMatcher of HttpCacheBundle is deprecated. '.
27
'Use AnonymousRequestMatcher of HttpCache library.',
28
E_USER_DEPRECATED
29
);
30
31
if (isset($options['user_identifier_headers'], $options['session_name_prefix'])) {
If you suppress an error, we recommend checking for the error condition explicitly: