ab / devel-quality
dev-develop
2020-01-29 17:32 UTC
Requires
- ekino/phpstan-banned-code: ^0.2.0
- friendsofphp/php-cs-fixer: ^2.16
- jakub-onderka/php-parallel-lint: ^1.0
- localheinz/phpstan-rules: ^0.13.0
- mockery/mockery: ^1.2
- pds/skeleton: ^1.0
- php-cs-fixer/phpunit-constraint-isidenticalstring: ^1.1
- php-cs-fixer/phpunit-constraint-xmlmatchesxsd: ^1.1
- phpbench/phpbench: ^0.16.10
- phploc/phploc: ^5.0
- phpmd/phpmd: ^2.7
- phpstan/phpstan: ^0.11.19
- phpstan/phpstan-deprecation-rules: ^0.11.2
- phpstan/phpstan-doctrine: ^0.11.6
- phpstan/phpstan-phpunit: ^0.11.2
- phpstan/phpstan-strict-rules: ^0.11.1
- phpstan/phpstan-webmozart-assert: ^0.11.3
- phpunit/phpunit: ^8.4
- povils/phpmnd: ^2.1
- psalm/plugin-phpunit: ^0.7.0
- roave/backward-compatibility-check: ^4.1
- sebastian/phpcpd: ^4.1
- sebastian/phpdcd: ^1.0
- squizlabs/php_codesniffer: ^3.5
- thecodingmachine/phpstan-strict-rules: ^0.11.2
- vimeo/psalm: ^3.6
- webmozart/assert: ^1.5
- weirdan/doctrine-psalm-plugin: ^0.8.0
This package is auto-updated.
Last update: 2024-12-01 00:14:46 UTC
README
This is a temporary placeholder. Much more to come.
Currently, the following in the works:
- Standardizing conf files across most tools (phpstan, psalm, etc)
- Easily keep routines/scripts/tasks/code standard configurations for projects and your own personal setups versioned and standardized, auto-loaded.
- Make it easy to actually use QA/Testing tools.
Roadmap
I really don't have much time to devote to this project, however:
- Create a system whereby similar rules between different tools can be grouped into both fine and high-level "profiles" of sorts. Most tools go from "how exactly do you want the opening bracket of an array access after the 16th character on a tuesday to be placed?" to "PSR-2...ish" and nothing inbetween. Additionally, these should be grouped into "whitespace", "formatting", "very safe" (bad things into good things with no functional changes, e.g. backtick usage), "safe" (virtually no risk involved except perhaps archaic php versions or extreme edge cases), "moderately safe" (rarely should cause issue), unsafe (could on occasion cause issues), and very unsafe (very frequently would cause issues unless very carefully configured; e.g. removal of unused publics).
- Create a script to dynamically dump out all rules for tools:
- phpcs
- php-cs-fixer
- psalm/psalter
- phpmd (?)
- Tool to run each tool intelligently as to be able to review a diff beforehand
- File by file
- Rule by rule
- This tool can generate configs
- See ab/develop-stack (similar needed): Tool to launch httpd on local system; then launch browser, don't launch multiple instances of browser.
MIT Licensed.