Skip to content

PhpCSFixer does not work #6

@gorkalaucirica

Description

@gorkalaucirica

Version: 0.7.x

Steps to reproduce in a clean PHP project:

  • composer req lin3s/cs --dev
  • Copy composer.json required scripts and extra sections
  • Use following config (as detailed in docs):
parameters:
    enabled:
        - phpmd
        - phpcsfixer
    name: Issue 
    type: project
    year: 2017
    author: LIN3S
    email: info@lin3s.com
    version: 0.1
    phpmd_path: src
    phpmd_rules:
        - controversial
        - unusedcode
        - codesize
        - naming
    twigcs_path: src
    phpcsfixer_path: src
    phpcsfixer_test_path: tests
    phpcsfixer_file_location: vendor/lin3s/cs/src/LIN3S/CS/
  • Disable null output in LIN3S\CS\Checker\PhpCsFixer
  • Commit src folder

You get the following error:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions