Qodana for PHP

Edit page Last modified: 06 October 2023

official JetBrains project

The Docker image for the Qodana for PHP linter is provided to support different usage scenarios:

  • Running the analysis on a regular basis as part of your continuous integration (CI-based execution)

  • Single-shot analysis (for example, performed locally).

If you are familiar with PhpStorm code inspections and know what to expect from the static analysis outside the editor, you can skip the following section and continue from Using an existing profile.

If you are just starting in the field, we recommend proceeding with the default setup we provide. You will see the results of the most common checks performed on your code base. Later, you can adjust them to suit your needs better.

You can run the Qodana for PHP linter using two methods. Qodana CLI is the easiest method. If necessary, check the installation page to install Qodana CLI. Alternatively, you can use the Docker commands from the Docker image tab.