Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 641 Bytes

File metadata and controls

11 lines (9 loc) · 641 Bytes

The scripts phpstorm-phpcbf, phpstorm-phpcs, and phpstorm-phpstan can be used in PhpStorm if one projects contains multiple software projects with different phpcs or phpstan configurations. The scripts look upward from the file to analyze for an appropriate configuration file. If no configuration file is found the scripts exit with code 0 so PhpStorm shows no error.

The actual tool to execute is searched relative to the directory of the configuration file (see constant RELATIVE_TOOL_PATHS). If it is not found, the fallback is used (see constant TOOL_FALLBACK).

The configuration files configured in PhpStorm are ignored.