{"repo":"TomasVotruba/phpstan-bodyscan","free":true,"listed":false,"github":"https://github.com/TomasVotruba/phpstan-bodyscan","clone":"git clone https://github.com/TomasVotruba/phpstan-bodyscan.git","description":"Get error count for each PHPStan level","language":"PHP","stars":135,"topics":["php","phpstan","static-analysis"],"license":"MIT","category":"dev-tools","readme_excerpt":"PHPStan Bodyscan Do you want to get quick glimpse of new project code quality? Do you want to know, what PHPStan level is the best for your project? Do you want to know, how much errors you're facing per level to see how hard it will be to reach them? Get error count for each PHPStan level! How does it work? First, we look into the project root for phpstan.neon file. If found, we reuse it. If not, we look for defaults source code paths like /src , /app , /tests , etc. Then we run PHPStan for each level from 0 to 8. We count errors and display them in a table. Install Usage Run tool in your project. It will take some time, as it will run full PHPStan analysis for each level. ↓ To get errors count per level: Do you want to run levels without extensions? Do you need a JSON format? We got you covered: ↓ Limit level count Are you interested only in a few levels? You can limit ranges by the options: Load env file Some projects need to load .env file to run PHPStan. You can do it like this: Debugging Running PHPStan on a new project you don't know might crash. To save data from finished levels, we dump them to the bodyscan-log.txt file. If the run crashes for any reason, the PHPStan error output is also dumped to the same file. Happy coding!","default_branch":null,"files":null,"tree":[],"storefront":"/r/TomasVotruba","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TomasVotruba/phpstan-bodyscan/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}