phpstan icon indicating copy to clipboard operation
phpstan copied to clipboard

`paths-file` option does not exist

Open myyk opened this issue 3 years ago • 3 comments

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?

myyk avatar Apr 05 '22 13:04 myyk

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.

g105b avatar Apr 05 '22 15:04 g105b

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

myyk avatar Apr 05 '22 16:04 myyk

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

g105b avatar Apr 06 '22 08:04 g105b