The class has been incorrectly instantiated, which would cause a runtime error.
The assignment is not valid and would raise an error during the runtime.
Syntax error found in this file. Please refer to the error message for more information.
implements
keyword PHP-W1008A class can only be able to implement an interface using implements
keyword.
Trying to use implements
keyword to reference anything other than an interface, can result in fatal error.
This issue is raised when increment/decrement operators are used on any other type of variable than numbers or strings.
throw
expression used in PHP < 8.0 PHP-W1017throw
expression is allowed only in PHP >= 8.0.
Trying to use it in earlier PHP versions will give you an error.
This issue is raised when the number of parameters passed to sprintf
/ sscanf
/ fscanf
doesn't match the number of placeholders.
It is recommended to make sure the number of placeholders and parameters are the same.
A function has been called, but not defined. This will result in a run time fatal error.
The Exception class you are trying to use seems to be invalid. This will result in a run time fatal error.
The method you are trying to call is not defined, which can result in a fatal error.
Invalid call to a static method. This would lead to a run time error.
This issue is raised if a method with a return type does not have a return statement of an appropriate type.
The method you are trying to override cannot be overridden in the child class. This would result in a runtime error which can break the execution flow.
The typed properties must not be accessed before initialization. That means the property is in Uninitialized state, so reading from the property will result in a fatal runtime error.
instanceof
is not of valid type PHP-E1009A class that you are trying to check against using instanceof
keyword is not of valid class object type. This will result in fatal runtime error.
The issue is raised when an arrow function has an invalid parameter and/or return type hint. This can result in type errors at the runtime.
The return typehint provided for the function is either invalid or not present in the current namespace.
The class property has an invalid type specified in the Docblock comment. This would lead to emitting wrong type-hint suggestions.
This array contains one or more duplicate keys, which can result in unexpected output. Only the last value associated with the duplicated key will be present in the array.
This array contains one or more empty items, which will result in a fatal error.