Skip to content

chore(release): merge develop into main - #61

Merged
Stanislas-Poisson merged 8 commits into
mainfrom
develop
Nov 14, 2026
Merged

Stanislas-Poisson merged 8 commits into
mainfrom
develop

Conversation

@Stanislas-Poisson

Copy link
Copy Markdown
Owner

Summary

Merge develop into main: php-dev-tools keeps only the settings of the tools, like js-dev-tools (#60, issue #59). The commands, the Git hooks, Makefile.inc and init are removed, PHP 8.4 is the lowest version, and the tools are raised.

Notes

  • This is a breaking change, for the version 2.0.0.
  • laravel-dev-tools reads the Git hooks from this package, and KMark, PPTX-Enigma and French-Postal-Code-Package use vendor/bin/php-dev-tools, init and make: they have to take them from another package before they require 2.0.0.
  • Nothing is tagged or released by this merge.

…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.
@Stanislas-Poisson
Stanislas-Poisson merged commit 027d517 into main Nov 14, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant