From c975f5551bccf28ec405d4d0a0387d557a71bdfd Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Tue, 23 Jun 2026 12:11:35 -0400 Subject: [PATCH 1/3] rename beautify -> format --- composer.json | 2 +- phpcs.xml.dist | 22 +++------------------- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/composer.json b/composer.json index 70a09ca..f0e1da1 100644 --- a/composer.json +++ b/composer.json @@ -100,7 +100,7 @@ "echo \"Performance Tests Completed.\"" ], "lint": "phpstan --no-progress --memory-limit=256M", - "beautify": "phpcbf", + "format": "phpcbf -q", "phpcs": "phpcs", "post-install-cmd": [ "@php -r \"if (!file_exists('phpcs.xml')) copy('phpcs.xml.dist', 'phpcs.xml');\"", diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 2c95c3e..6694874 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -2,26 +2,10 @@ - - - - - - - - - - - - - - - - - - - index.php flight tests + + + From 760ac1a858c734040cbec0bedebacf2a349594c9 Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Tue, 23 Jun 2026 12:12:01 -0400 Subject: [PATCH 2/3] composer format --- tests/SimplePdoTest.php | 2 +- tests/named-arguments/FlightTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/SimplePdoTest.php b/tests/SimplePdoTest.php index 4e97dd7..08f8e16 100644 --- a/tests/SimplePdoTest.php +++ b/tests/SimplePdoTest.php @@ -88,7 +88,7 @@ class SimplePdoTest extends TestCase public function testRunQueryWithoutParamsWithMaxQueryMetrics(): void { - $db = new class( + $db = new class ( 'sqlite::memory:', null, null, diff --git a/tests/named-arguments/FlightTest.php b/tests/named-arguments/FlightTest.php index 6593450..0d5abff 100644 --- a/tests/named-arguments/FlightTest.php +++ b/tests/named-arguments/FlightTest.php @@ -75,7 +75,7 @@ final class FlightTest extends TestCase { $dateTime = new DateTimeImmutable(); - $controller = new class($dateTime) { + $controller = new class ($dateTime) { public function __construct(private DateTimeImmutable $dateTime) { // From 4e244c8172b1684c933e1c9a000e50a069fc22de Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Tue, 23 Jun 2026 12:17:58 -0400 Subject: [PATCH 3/3] rename beautify -> format in ai instructions --- .gemini/GEMINI.md | 2 +- .github/copilot-instructions.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gemini/GEMINI.md b/.gemini/GEMINI.md index 59a33e4..9161c9f 100644 --- a/.gemini/GEMINI.md +++ b/.gemini/GEMINI.md @@ -16,7 +16,7 @@ This is the main FlightPHP core library for building fast, simple, and extensibl - Run tests: `composer test` (uses phpunit/phpunit and spatie/phpunit-watcher) - Run test server: `composer test-server` or `composer test-server-v2` - Lint code: `composer lint` (uses phpstan/phpstan, level 6) -- Beautify code: `composer beautify` (uses squizlabs/php_codesniffer, PSR1) +- Format code: `composer format` (uses squizlabs/php_codesniffer, PSR1) - Check code style: `composer phpcs` - Test coverage: `composer test-coverage` diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 59a33e4..9161c9f 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -16,7 +16,7 @@ This is the main FlightPHP core library for building fast, simple, and extensibl - Run tests: `composer test` (uses phpunit/phpunit and spatie/phpunit-watcher) - Run test server: `composer test-server` or `composer test-server-v2` - Lint code: `composer lint` (uses phpstan/phpstan, level 6) -- Beautify code: `composer beautify` (uses squizlabs/php_codesniffer, PSR1) +- Format code: `composer format` (uses squizlabs/php_codesniffer, PSR1) - Check code style: `composer phpcs` - Test coverage: `composer test-coverage`