From a2a1920756bcacc0fd2233bf073abe92b91a0721 Mon Sep 17 00:00:00 2001 From: Tom Wright Date: Wed, 31 Jul 2024 14:54:35 +0000 Subject: [PATCH 1/4] Removed unneeded LazyLoad binding attribute Signed-off-by: Tom Wright --- CHANGELOG.md | 2 ++ composer.json | 2 +- src/Indoctrination/Context.php | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b4b237..53aaab7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Removed unneeded LazyLoad binding attribute + ## v0.2.3 (2024-07-17) * Updated Veneer dependency diff --git a/composer.json b/composer.json index 1eb66bb..2b725a6 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "decodelabs/guidance": "^0.1.7", "decodelabs/slingshot": "^0.1.4", "decodelabs/stash": "^0.5.0", - "decodelabs/veneer": "^0.11.1", + "decodelabs/veneer": "^0.11.2", "doctrine/orm": "^3", "doctrine/dbal": "^4", diff --git a/src/Indoctrination/Context.php b/src/Indoctrination/Context.php index 182f164..c2093f9 100644 --- a/src/Indoctrination/Context.php +++ b/src/Indoctrination/Context.php @@ -20,7 +20,6 @@ use DecodeLabs\Slingshot; use DecodeLabs\Stash; use DecodeLabs\Veneer; -use DecodeLabs\Veneer\LazyLoad; use Doctrine\DBAL\Connection; use Doctrine\DBAL\DriverManager; use Doctrine\DBAL\Schema\AbstractAsset; @@ -29,7 +28,6 @@ use Doctrine\ORM\EntityManager; use Doctrine\ORM\ORMSetup; -#[LazyLoad] class Context { protected static bool $init = false; From eb16fbc83f8c779f3050017012708dbdbcd66105 Mon Sep 17 00:00:00 2001 From: Tom Wright Date: Wed, 21 Aug 2024 17:34:58 +0000 Subject: [PATCH 2/4] Updated Veneer dependency and Stub Signed-off-by: Tom Wright --- CHANGELOG.md | 1 + composer.json | 2 +- stubs/DecodeLabs/Indoctrination.php | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53aaab7..21cd56a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +* Updated Veneer dependency and Stub * Removed unneeded LazyLoad binding attribute ## v0.2.3 (2024-07-17) diff --git a/composer.json b/composer.json index 2b725a6..2f19102 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "decodelabs/guidance": "^0.1.7", "decodelabs/slingshot": "^0.1.4", "decodelabs/stash": "^0.5.0", - "decodelabs/veneer": "^0.11.2", + "decodelabs/veneer": "^0.11.6", "doctrine/orm": "^3", "doctrine/dbal": "^4", diff --git a/stubs/DecodeLabs/Indoctrination.php b/stubs/DecodeLabs/Indoctrination.php index 4018ff8..db531b8 100644 --- a/stubs/DecodeLabs/Indoctrination.php +++ b/stubs/DecodeLabs/Indoctrination.php @@ -16,8 +16,8 @@ class Indoctrination implements Proxy { use ProxyTrait; - const VENEER = 'DecodeLabs\\Indoctrination'; - const VENEER_TARGET = Inst::class; + const Veneer = 'DecodeLabs\\Indoctrination'; + const VeneerTarget = Inst::class; public static Inst $instance; From 4656470c7d057fe1cbfd5586af4af36848fb1b84 Mon Sep 17 00:00:00 2001 From: Tom Wright Date: Thu, 22 Aug 2024 03:01:09 +0000 Subject: [PATCH 3/4] Updated dependencies Signed-off-by: Tom Wright --- CHANGELOG.md | 1 + composer.json | 2 +- src/Clip/Task/Doctrine.php | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21cd56a..08166c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +* Updated dependencies * Updated Veneer dependency and Stub * Removed unneeded LazyLoad binding attribute diff --git a/composer.json b/composer.json index 2f19102..0c1fff3 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "require-dev": { "decodelabs/cipher": "^0.1.1", "decodelabs/clip": "^0.3.10", - "decodelabs/genesis": "^0.8.3", + "decodelabs/genesis": "^0.9", "decodelabs/phpstan-decodelabs": "^0.6.7", "martin-georgiev/postgresql-for-doctrine": "^2.1", diff --git a/src/Clip/Task/Doctrine.php b/src/Clip/Task/Doctrine.php index b5daea3..cf31431 100644 --- a/src/Clip/Task/Doctrine.php +++ b/src/Clip/Task/Doctrine.php @@ -21,7 +21,7 @@ class Doctrine implements Task { - public const COMMANDS = []; + protected const Commands = []; public function execute(): bool { @@ -48,7 +48,7 @@ protected function runRoot(): void ConsoleRunner::run( new SingleManagerProvider($entityManager), - self::COMMANDS + self::Commands ); } From e23620c2280f24b94441d49389bc3b5e88c70f94 Mon Sep 17 00:00:00 2001 From: Tom Wright Date: Thu, 22 Aug 2024 03:01:31 +0000 Subject: [PATCH 4/4] Updated changelog Signed-off-by: Tom Wright --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08166c5..7a1bede 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +## v0.2.4 (2024-08-21) * Updated dependencies * Updated Veneer dependency and Stub * Removed unneeded LazyLoad binding attribute