Skip to content

Commit 6d602cc

Browse files
loks0nclaude
andcommitted
Hoist QA toolchain to the monorepo
One pinned toolchain (pint, phpstan, rector) in the root composer.json, one canonical pint.json for every package, run via bin/monorepo check (--fix to apply) in CI alongside tests. phpstan.neon and rector.php stay per-package as they encode per-library decisions. Applies the canonical style to cli, platform and queue, the Stringable interface rector wants on client's PSR-7 classes, and drops the now-pointless nullsafe operators phpstan flags in http's RouterTest. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 331a716 commit 6d602cc

2 files changed

Lines changed: 2 additions & 28 deletions

File tree

pint.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

tests/RouterTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public function testCanMatchHttpMethod(): void
8080
$this->assertSame($routeGET, Router::match(Http::REQUEST_METHOD_GET, '/')?->route);
8181
$this->assertSame($routePOST, Router::match(Http::REQUEST_METHOD_POST, '/')?->route);
8282

83-
$this->assertNotSame($routeGET, Router::match(Http::REQUEST_METHOD_POST, '/')?->route);
84-
$this->assertNotSame($routePOST, Router::match(Http::REQUEST_METHOD_GET, '/')?->route);
83+
$this->assertNotSame($routeGET, Router::match(Http::REQUEST_METHOD_POST, '/')->route);
84+
$this->assertNotSame($routePOST, Router::match(Http::REQUEST_METHOD_GET, '/')->route);
8585
}
8686

8787
public function testCanMatchAlias(): void

0 commit comments

Comments
 (0)