diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b4b237..7a1bede 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## v0.2.4 (2024-08-21) +* Updated dependencies +* Updated Veneer dependency and Stub +* Removed unneeded LazyLoad binding attribute + ## v0.2.3 (2024-07-17) * Updated Veneer dependency diff --git a/composer.json b/composer.json index 1eb66bb..0c1fff3 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.6", "doctrine/orm": "^3", "doctrine/dbal": "^4", @@ -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 ); } 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; 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;