Repository navigation
chore(release): merge develop into main - #61
Merged
Merged
Conversation
…dard chore(editorconfig): align with the handbook standard
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
PHP 8.4 is the lowest version: the PHP 8.3 job cannot install the package any more.
feat(config): #59 keep only the settings
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.
Summary
Merge
developintomain: php-dev-tools keeps only the settings of the tools, like js-dev-tools (#60, issue #59). The commands, the Git hooks,Makefile.incandinitare removed, PHP 8.4 is the lowest version, and the tools are raised.Notes
2.0.0.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 take them from another package before they require2.0.0.