-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Adding more tools #2
Comments
I agree, having more tools in the chain would be very nice. However, I think we must reconsider our concept of the all-tasks repository then or the entire infrastructure, as we then would use tools not installable via composer or slowly end up in dependency hell (as we are almost already by being compatible with phpunit in all majors and the like). We might have to pack phar binaries of all tools in the all-tasks and distribute them along then. |
I fully agree that we're close to dependency hell right now. I propose to use phive to install the phars instead of shipping them with our tool. Maybe there could be an ant task to install the required phars. |
phive is fine for me, however we need some way to distribute it automatically and install it from within the build process if not found. |
Sorry for closing, wrong button. 😞 |
My Idea was to use the composer plugin of phive to provide phive integration (It provides to commands to access phive). However, after playing with it, it seems to be not ready for production yet.
So maybe we have to redistribute it (or download it everytime). Another thing phive doesn't handle is versions. It seems that you have to provide a specific url if you want to enforce a specific version of the tool |
We could use the |
On a side note, when we are already starting to modernize, we might try to switch to consolidation/Robo. |
New tool information should get added to https://github.com/phpcq/repository for version 2.0.0. @dmolineus as you already added most mentioned above in the repo, you might want to add the missing ones and we can then close this issue? |
I'd love to see more tools which I came across during the last months being added to phpcq:
We should provide a tool to check against the database of known security vulnerabilities. I prefer using
https://github.com/sensiolabs/security-checker instead of https://github.com/Ocramius/security-advisories
here as the last mentioned causes randomly some issues on composer update.
PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code.
https://github.com/phpstan/phpstan
The backward compatibility check would help to detect bc breaks in userland code.
https://github.com/Roave/BackwardCompatibilityCheck
A CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package. This will prevent you from using "soft" dependencies that are not defined within your composer.json require section.https://github.com/maglnet/ComposerRequireChecker
We should check how we could add this tools to our chain. The last one, f.e. is not installable by composer. But I think it would inc
The text was updated successfully, but these errors were encountered: