DeepSource
Dashboard Resources Pricing Discover Directory Log in

Run your first analysis.

Find thousands of code security and quality issues in your codebase, before they end up in production.

Start now
All analyzers PHP
PHP

PHP

By DeepSource

Use Analyzer
Docs
Discuss
Invalid class instantiation PHP-W1012
Bug risk

The class has been incorrectly instantiated, which would cause a runtime error.

Invalid assignment PHP-W1032
Bug risk

The assignment is not valid and would raise an error during the runtime.

Syntax error PHP-E1111
Bug risk

Syntax error found in this file. Please refer to the error message for more information.

Invalid use of increment/decrement operators PHP-E1006
Bug risk

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-W1017
Bug risk

throw expression is allowed only in PHP >= 8.0. Trying to use it in earlier PHP versions will give you an error.