[Composer] Added one command to run them all (checks)#3271
Merged
Conversation
Preview of modified filesPreview of modified Markdown: |
affb5d3 to
948cc05
Compare
Summary
Errors per inputErrors in site/administration/project_organization/bundles/index.html
Errors in site/templating/twig_function_reference/recommendations_twig_functions/index.html
|
adriendupuis
approved these changes
Jul 15, 2026
d305113 to
9282c4d
Compare
adriendupuis
requested changes
Jul 15, 2026
adriendupuis
left a comment
Contributor
There was a problem hiding this comment.
We lost the verbosity of which failed (and eventually, which is logging)
Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
041ef28 to
e993497
Compare
adriendupuis
approved these changes
Jul 15, 2026
mnocon
added a commit
that referenced
this pull request
Jul 15, 2026
* [Composer] Added one command to run them all (checks) * Added YAML check * Added regemerate baseline commands * Added "fix" and "baseline" commands * Run PHP-CS-Fixer on PHP 8.4 * Update composer.json Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> * Fix syntax error * Fixed CS * Add colors --------- Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Target: 5.0, 6.0
This PR adds a single command to run all code and content quality checks - except Vale, which is not a dependency and cannot be run as easily.
Goal: I want to use that locally, to run all checks quickly with
composer test.In addition, some helper commands are added to regenerate baselines in a consistent way.
Usage:
composer testbefore sending the PR to reviewcomposer fixin case something is detectedcomposer baselinewhen a baseline needs to be generatedThey run
composer updatealready, so there's less friction.