src/BusinessTime/DefinitionParser.php
Remove error control operator '@' on line 90. Open
Open
public function getSetterParameters()
{
@trigger_error(
'The DefinitionParser::getSetterParameters method is deprecated,'.
' use DefinitionParser::getDefinition() instead which also support split argument list.',
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}