What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
PHPStorm always complains that `phpstan: no rules detected...` is there some special config that nee
PHPStorm always complains that phpstan: no rules detected...
is there some special config that needs to be made?
Comments
-
yep... this also drove me crazy
in the phpstan.neon in your project rootyou need to add config for paths and level, e.g.
parameters: paths: - src - tests/PyzTest level: max
0 -
level: 4 is propably most used
0 -
will this be compliant with cli execution?
0 -
but this does indeed work, thanks!
0 -
vendor/spryker/development/src/Spryker/Zed/Development/Business/Phpstan/PhpstanRunner.php
... protected function runCommand( string $path, string $configFilePath, InputInterface $input, OutputInterface $output ): int { $command = 'php -d memory_limit=%s vendor/bin/phpstan analyze --memory-limit=%s --no-progress -c %s %s -l %s'; ...
0 -
I guess as Spryker always gives path and level, it will overwrite what's put in the neon file π€
0 -
yeah so it should be no harm then
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 69 Spryker News
- 899 Developer Corner
- 760 Spryker Development
- 83 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 24 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 68 Spryker Safari Questions
- 50 Random