From e8d42bc0b091bc4b423b031d9c8812cf32321bd3 Mon Sep 17 00:00:00 2001 From: Imani Manyara Date: Mon, 5 Oct 2026 06:50:55 -0400 Subject: [PATCH] Run the shared Pint config from composer style style ran a bare pint --test, which ignores package-tools' shared pint.json, so it checked different rules from composer pint, lint and CI. It now delegates to @pint. The script name is kept. --- CHANGELOG.md | 6 ++++++ composer.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04a8edd..fbd9dd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- `composer style` runs the shared Pint config (`@pint`, i.e. `laranail-pint --test`). It ran a + bare `pint --test`, which ignores `vendor/laranail/package-tools/pint.json` and so checked a + different rule set from `composer pint`, `composer lint` and CI. + ## [0.1.0] - 2026-07-11 ### Fixed diff --git a/composer.json b/composer.json index d71ee5e..84f2c81 100644 --- a/composer.json +++ b/composer.json @@ -92,7 +92,7 @@ "scripts": { "test": "pest", "analyse": "phpstan analyse", - "style": "pint --test", + "style": "@pint", "mutate": "@php -d xdebug.mode=coverage vendor/bin/pest --mutate --covered-only --min=85", "pint": "@php vendor/bin/laranail-pint --test", "pint-fix": "@php vendor/bin/laranail-pint --parallel",