Skip to content

[Feature Request] The ability to specify folders and files along with arguments. #16

@Avaray

Description

@Avaray

At the moment, you can only exclude folders. It would be useful to have the option to select specific files/folders to lint, as well as the ability to add arguments to the file being linted.

I see it as:

- name: PHP 8.3 syntax check
  uses: PrestaShopCorp/github-action-php-lint/8.3@master
  with:
    folders: ['src', 'tests']
    files: ['file.php argv1=asd argv2=zxc', 'file2.php']

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