From ed22521e6f58d1d4367c9d3c2cc42de652ba3245 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 05:10:08 +0000 Subject: [PATCH 1/4] Initial plan From d38422e16c63c0dc12e86cc7a259414ff92838ac Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 05:11:55 +0000 Subject: [PATCH 2/4] Add Laravel Pint configuration and composer scripts Co-authored-by: nomadjimbob <26953208+nomadjimbob@users.noreply.github.com> --- composer.json | 6 ++++++ pint.json | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 pint.json diff --git a/composer.json b/composer.json index 7d96925..5696bfe 100644 --- a/composer.json +++ b/composer.json @@ -52,6 +52,12 @@ "@php artisan key:generate --ansi", "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"", "@php artisan migrate --graceful --ansi" + ], + "pint": [ + "./vendor/bin/pint" + ], + "pint-test": [ + "./vendor/bin/pint --test" ] }, "extra": { diff --git a/pint.json b/pint.json new file mode 100644 index 0000000..dca9072 --- /dev/null +++ b/pint.json @@ -0,0 +1,9 @@ +{ + "preset": "laravel", + "rules": { + "simplified_null_return": true, + "braces": false, + "new_with_braces": true, + "no_unused_imports": true + } +} From 066b7b179008aa1a8516c6784322220b24eae37a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 05:12:18 +0000 Subject: [PATCH 3/4] Add code style documentation to README Co-authored-by: nomadjimbob <26953208+nomadjimbob@users.noreply.github.com> --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 1a4c26b..efdd378 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,24 @@ We would like to extend our thanks to the following sponsors for funding Laravel - **[byte5](https://byte5.de)** - **[OP.GG](https://op.gg)** +## Code Style + +This project uses [Laravel Pint](https://laravel.com/docs/pint) for code styling. Pint is an opinionated PHP code style fixer for minimalists, built on top of PHP-CS-Fixer. + +To automatically fix code style issues, run: + +```bash +composer pint +``` + +To check for code style issues without fixing them: + +```bash +composer pint-test +``` + +The code style configuration can be found in `pint.json`. + ## Contributing Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). From 62583c48696c4c882242ebebf9ba2a872f902fec Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 05:13:01 +0000 Subject: [PATCH 4/4] Fix pint.json: remove incorrect braces rule setting Co-authored-by: nomadjimbob <26953208+nomadjimbob@users.noreply.github.com> --- pint.json | 1 - 1 file changed, 1 deletion(-) diff --git a/pint.json b/pint.json index dca9072..0640a65 100644 --- a/pint.json +++ b/pint.json @@ -2,7 +2,6 @@ "preset": "laravel", "rules": { "simplified_null_return": true, - "braces": false, "new_with_braces": true, "no_unused_imports": true }