LIN3S / CS

The coding standards in the LIN3S way
MIT License
3 stars 1 forks source link

PhpCSFixer does not work #6

Open gorkalaucirica opened 6 years ago

gorkalaucirica commented 6 years ago

Version: 0.7.x

Steps to reproduce in a clean PHP project:

You get the following error:

The "<path-to-project>/vendor/lin3s/cs/src/LIN3S/CS/src" directory does not exist.

gorkalaucirica commented 6 years ago

This can be fixed with the following config (note phpcsfixer_file_location):

# This file is auto-generated during the composer install
parameters:
    enabled:
        - phpmd
        - twigcs
        - phpcsfixer
    name: 'Aldi IMA'
    type: project
    year: '2018 - present'
    author: LIN3S
    email: info@lin3s.com
    version: 0.1
    phpmd_path: src
    phpmd_rules:
        - controversial
        - unusedcode
        - codesize
        - naming
    twigcs_path: templates
    phpcsfixer_path: src
    phpcsfixer_test_path: tests
    phpcsfixer_file_location: ''