From 5ced4bb4f7b49e3af1d1f8f6e96084a357c84e9a Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Thu, 15 Oct 2026 13:00:39 -0500 Subject: [PATCH 1/2] chore(deps): bump webware-tools to 1.0.0-rc.6 Moves the dev dependency from ^1.0.0-rc.5 to ^1.0.0-rc.6. The rc.6 vendored mago.toml pins mago 1.57.0 instead of 1.55.0 and drops preserve-breaking-member-access-chain-first-method-on-same-line, so the formatter now starts a fluent chain on the receiver line. The resulting format pass lands in the next commit. --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 53d326b..77dc9d2 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "phpunit/phpunit": "^13.3", "roave/backward-compatibility-check": "^8.21.0", "roave/security-advisories": "dev-master", - "webware/webware-tools": "^1.0.0-rc.5" + "webware/webware-tools": "^1.0.0-rc.6" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index bf6638e..d871f75 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "47651f3d4cd5cd33c12af77adaa22520", + "content-hash": "3289b71b003abba3860bbe40a1e46b69", "packages": [ { "name": "brick/varexporter", @@ -9829,16 +9829,16 @@ }, { "name": "webware/webware-tools", - "version": "1.0.0-rc.5", + "version": "1.0.0-rc.6", "source": { "type": "git", "url": "https://github.com/webinertia/webware-tools.git", - "reference": "46caed444973f45ae81c27909d55ffc5602e3175" + "reference": "d005c08ff563a5086d50c2ea4a9cb36b9052192a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webinertia/webware-tools/zipball/46caed444973f45ae81c27909d55ffc5602e3175", - "reference": "46caed444973f45ae81c27909d55ffc5602e3175", + "url": "https://api.github.com/repos/webinertia/webware-tools/zipball/d005c08ff563a5086d50c2ea4a9cb36b9052192a", + "reference": "d005c08ff563a5086d50c2ea4a9cb36b9052192a", "shasum": "" }, "require": { @@ -9867,9 +9867,9 @@ ], "support": { "issues": "https://github.com/webinertia/webware-tools/issues", - "source": "https://github.com/webinertia/webware-tools/tree/1.0.0-rc.5" + "source": "https://github.com/webinertia/webware-tools/tree/1.0.0-rc.6" }, - "time": "2026-10-10T04:07:50+00:00" + "time": "2026-10-15T06:56:25+00:00" } ], "aliases": [], From 4d832b28bc708cffe22ef71add004a2914a3f360 Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Thu, 15 Oct 2026 13:00:39 -0500 Subject: [PATCH 2/2] chore: apply mago 1.57.0 formatting Reformats the files mago 1.57.0 lays out differently from 1.55.0: a chain whose receiver is a variable now starts on the receiver's own line. Whitespace only, verified by comparing each file against HEAD with all whitespace stripped and by comparing PHP token streams for equality. --- .../PasswordRequirementFactoryTest.php | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/test/unit/Container/PasswordRequirementFactoryTest.php b/test/unit/Container/PasswordRequirementFactoryTest.php index 2755b5a..6b0ac91 100644 --- a/test/unit/Container/PasswordRequirementFactoryTest.php +++ b/test/unit/Container/PasswordRequirementFactoryTest.php @@ -30,8 +30,7 @@ final class PasswordRequirementFactoryTest extends TestCase public function buildsADefaultValidatorWhenNothingIsConfigured(): void { $container = $this->createStub(ContainerInterface::class); - $container->method('has') - ->willReturn(false); + $container->method('has')->willReturn(false); $validator = new PasswordRequirementFactory()( container : $container, @@ -45,10 +44,8 @@ public function buildsADefaultValidatorWhenNothingIsConfigured(): void public function buildsAValidatorFromTheConfiguredDefaults(): void { $container = $this->createStub(ContainerInterface::class); - $container->method('has') - ->willReturn(true); - $container->method('get') - ->willReturn([PasswordRequirement::class => ['length' => 4]]); + $container->method('has')->willReturn(true); + $container->method('get')->willReturn([PasswordRequirement::class => ['length' => 4]]); $validator = new PasswordRequirementFactory()( container : $container, @@ -63,10 +60,8 @@ public function buildsAValidatorFromTheConfiguredDefaults(): void public function letsCallSiteOptionsOverrideTheConfiguredDefaults(): void { $container = $this->createStub(ContainerInterface::class); - $container->method('has') - ->willReturn(true); - $container->method('get') - ->willReturn([PasswordRequirement::class => ['length' => 8]]); + $container->method('has')->willReturn(true); + $container->method('get')->willReturn([PasswordRequirement::class => ['length' => 8]]); $validator = new PasswordRequirementFactory()( container : $container, @@ -82,8 +77,7 @@ public function letsCallSiteOptionsOverrideTheConfiguredDefaults(): void public function usesCallSiteOptionsWhenNoConfigServiceIsRegistered(): void { $container = $this->createStub(ContainerInterface::class); - $container->method('has') - ->willReturn(false); + $container->method('has')->willReturn(false); $validator = new PasswordRequirementFactory()( container : $container,