Comments (3)
The goal is to have comparable bare levels, no extensions, no ignores. To have a real gist of error count in the project.
That way it's comparable to other projects. We can also tract error count in time without interversion of "new added extension we forgot". Otherwise it would be just running your PHPStan setup multiple times :) no added value there.
This is at least the gist of a release post
https://tomasvotruba.com/blog/get-quick-error-count-for-each-phpstan-level
from phpstan-bodyscan.
@TomasVotruba so the use case of "help running PHPStan mulitple times on each level instead of doing it manually" is not in the scope of the project? I mean doing "just" that is not?
It could, in the context of a company project, help envision how to plan increasing PHPStan level over time
Would you accept to have it configurable? for example with command line flags like --keep-extensions
or --keep-rules
?
Side note: what about showing the number of errors per rule? as you have that other project that defines 300+ levels instead of PHPStan level :)
from phpstan-bodyscan.
The goal here is to keep it simple to run and get the gist of project. Not to replace current PHPStan runner.
It's like hiring a developer and getting reading through their CV :)
from phpstan-bodyscan.
Related Issues (14)
- Some feedback after testing HOT 3
- Add config parameter to allow you to choose which phpstan config file to use HOT 8
- Max level should be 9 HOT 2
- Add a "increase" column in the result table HOT 3
- Count errors by identifier HOT 1
- Suggestion: Make POSSIBLE_SOURCE_PATHS configurable HOT 6
- Integrated into Bettergist Collector HOT 2
- "PHPStan found in the project" even if no phpstan is installed HOT 2
- phpstan-bodyscan doesn't handle different vendor folder HOT 6
- Take phpstan.neon.dist into consideration HOT 3
- Add support for PHPStan config PHP format HOT 3
- Timeout after 400 seconds HOT 1
- Error when running, "Invalid configuration"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpstan-bodyscan.