worksolutions / Code Style
code-style
Установка
-
Добавляем в файл
composer.json"repositories": [ { "type": "vcs", "url": "https://github.com/worksolutions/code-style.git" } ]
-
Выполняем комманду:
composer require --dev worksolutions/code-style=~1
-
В настройках PhpStorm (Languages & Frameworks > PHP > Code Sniffer) устанавливаем путь к файлу
{директория_проекта}/vendor/bin/phpwscs -
Включение инспектора кода в настройках PhpStorm (Editor > Inspections > PHP) галочкой
PHP Code Sniffer validation
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].
