php-actions/phpstan

`paths-file` option does not exist

myyk opened this issue · 3 comments

myyk commented

The "--paths-file" option does not exist, though there's mention of it in https://github.com/php-actions/phpstan#inputs.

I tried to use it like this:

      - name: PHPStan Static Analysis
        uses: php-actions/phpstan@v3
        with:
          memory_limit: 1G
          paths_file: .phpstan.paths

When running it the action I saw this error:

  The "--paths-file" option does not exist.  

Seems like this isn't implemented anymore?

g105b commented

Thanks for your comment, @myyk - I'll take a look into this as soon as I can. In the meantime, you can use args to pass arbitrary arguments.

myyk commented

Thank you, I switched to configuration with a .neon file which did everything I wanted and more.

g105b commented

Great to hear. I'll keep this open though, as I would like this repo to be fully compatible with all PHPStan features.