Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paths-file option does not exist #16

Open
myyk opened this issue Apr 5, 2022 · 3 comments
Open

paths-file option does not exist #16

myyk opened this issue Apr 5, 2022 · 3 comments

Comments

@myyk
Copy link

myyk commented Apr 5, 2022

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
Copy link
Member

g105b commented Apr 5, 2022

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
Copy link
Author

myyk commented Apr 5, 2022

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

@g105b
Copy link
Member

g105b commented Apr 6, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants