phpstan icon indicating copy to clipboard operation
phpstan copied to clipboard

Allow path argument to be passed as YAML array

Open g105b opened this issue 3 years ago • 0 comments

This functionality has been missed because I seem to have an allergic reaction to YAML.

User MarcinOrlowski kindly recommended a more intuitive syntax to use for the path argument:

- name: PHPStan
  uses: php-actions/phpstan@v3
  with:
    path: example/dir1 example/dir2 example/dir3 ...etc.

is counter intuitive, as in yaml you should do normal list instead

path: 
    - example/dir1example/dir2
    - example/dir2
    - example/dir3
    - ...etc

g105b avatar Feb 14 '22 16:02 g105b