Skip to content

Add parameters to make phpcs more flexible #67

@jonathan1055

Description

@jonathan1055

Currently in lib/stages/coding_style.sh the parameters --standard and --extensions are hard-coded. This is fine as a default, but if a project has its own phpcs.xml(.dist) file then these parameters override it and the customised config file is ignored.

The ideal solution would be to test for the existence of a phpcs.xml file and only if it is not present then add those two parameters to the call.

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