All Projects → worksolutions → Code Style

worksolutions / Code Style

code-style

Установка

  1. Добавляем в файл composer.json

    "repositories": [
    	{
            "type": "vcs",
            "url":  "https://github.com/worksolutions/code-style.git"
    	}
    ]
    
  2. Выполняем комманду:

    composer require --dev worksolutions/code-style=~1
    
  3. В настройках PhpStorm (Languages & Frameworks > PHP > Code Sniffer) устанавливаем путь к файлу {директория_проекта}/vendor/bin/phpwscs

  4. Включение инспектора кода в настройках 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].