PHP-Parallel-Lint
PHP-Parallel-Lint copied to clipboard
Flag to ignore 'No file found' error
Hi!
Currently lint fails if it hasn't found any file. This makes hard to setup CI before writing any code, it would be great to add special flag to ignore such behavior.
Or better yet, to just exit with exit code 0 and the No files found message.
I just ran into this as well :unamused:
Yes please
Workarounds:
- catch code 255 with something like
parallel-lint foo || if [ testcode ]; then ... touch path-to-files/index.phpbefore script call - empty file will pass