Repository navigation
feat(config): #59 keep only the settings - #60
Merged
Merged
Conversation
The helper removed the files of a directory with glob(GLOB_BRACE), which musl (Alpine) does not define: every test that used it failed in the zairakai/php image. scandir() works everywhere.
Align the repository files on the handbook and on js-dev-tools: - .gitignore: the standard block, then the groups of the repository. - .gitattributes: LF, readable Markdown diffs, PNG as binary, and the files left out of the archive, grouped. - .editorconfig: no line length for Markdown, no Makefile section. - LICENSE and SECURITY.md like js-dev-tools. - No long dash in the comments of config/phpinsights.php. - The changelog is removed: the notes of a release are generated. - The pull request template asks for a subject of 50 characters.
The same design as js-dev-tools, with the colours of Pint, PHPStan, Rector, PHP Insights and markdownlint. The SVG and the PNG of each.
php-dev-tools is organised like js-dev-tools: it holds the settings of the tools, and the package above it holds the commands, the Git hooks and the make targets. - Remove bin/, hooks/, Makefile.inc, init and the command classes. - Name the thin files like the tools (no .dist) and point them to the base in config/. pint.json is a copy of the base, checked by a test. - Add .markdownlintignore, and ignore docs/ when linting. - Raise the tools to their latest versions, which fixes the advisories of symfony/filesystem and symfony/http-client. composer audit reports the high and critical ones only. - PHP 8.4 is the lowest version. - Describe the package, its keywords and its scripts as settings. - Name the tests like the handbook (#[Test] and it_) and add the structure test of the repository. - Colour the neon blocks of the documentation as YAML. BREAKING CHANGE: the command php-dev-tools, its hooks, Makefile.inc and init are removed, and PHP 8.4 is the lowest version. laravel-dev-tools and the projects without Laravel must take them from another package. Closes #59
Stanislas-Poisson
enabled auto-merge
November 14, 2026 23:29
PHP 8.4 is the lowest version: the PHP 8.3 job cannot install the package any more.
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.
Closes #59
Summary
php-dev-toolsis organised likejs-dev-tools: it holds the settings of the tools, and the package above it holds the commands, the Git hooks and the make targets.Makefile.incandinitare removed. A copy is kept for the package of the commands.config/.pint.jsonis a copy of the base, checked by a test.symfony/filesystemandsymfony/http-client..gitignore,.gitattributes,.editorconfig,LICENSE,SECURITY.md), and the icon and the banner are inassets/.#[Test]andit_), with a structure test of the repository.Checks
composer qualitypasses.src/is still 100 % (the tests pass; the coverage was not measured).type(scope): #TICKET subject, with a subject of 50 characters at most.develop.Not validated
laravel-dev-toolsreads the Git hooks from this package, and KMark, PPTX-Enigma and French-Postal-Code-Package usevendor/bin/php-dev-tools,initandmake. They have to move to another package before they take2.0.0.src/was not measured in the container (no coverage driver).