diff --git a/composer.json b/composer.json index e13f8756..0fe1b0e6 100644 --- a/composer.json +++ b/composer.json @@ -33,9 +33,14 @@ "php": "^8.1", "httpsoft/http-basis": "^1.1", "phpspec/php-diff": "^1.1.3", + "psr/http-message": "^2.0", + "symfony/console": "^7.1", + "yiisoft/active-record": "dev-master", "yiisoft/aliases": "^3.0", "yiisoft/arrays": "^2.1|^3.0", "yiisoft/data-response": "^2.0", + "yiisoft/db": "1.2 as dev-master", + "yiisoft/friendly-exception": "^1.1", "yiisoft/http": "^1.2", "yiisoft/hydrator": "^1.0", "yiisoft/injector": "^1.1", @@ -56,9 +61,7 @@ "roave/infection-static-analysis-plugin": "^1.23", "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^5.13", - "yiisoft/active-record": "dev-master", "yiisoft/cache": "^3.0", - "yiisoft/db": "1.2 as dev-master", "yiisoft/db-sqlite": "^1.0", "yiisoft/di": "^1.1", "yiisoft/dummy-provider": "^1.0", diff --git a/src/Component/CodeFile/CodeFileWriteResult.php b/src/Component/CodeFile/CodeFileWriteResult.php index f0f6b406..6b3b1098 100644 --- a/src/Component/CodeFile/CodeFileWriteResult.php +++ b/src/Component/CodeFile/CodeFileWriteResult.php @@ -4,8 +4,6 @@ namespace Yiisoft\Yii\Gii\Component\CodeFile; -use JetBrains\PhpStorm\ArrayShape; - class CodeFileWriteResult { private array $results = []; @@ -28,11 +26,6 @@ public function addError(CodeFile $file, string $error): void ]; } - #[ArrayShape([ - 'id' => 'string', - 'status' => 'string', - 'error' => 'null|string', - ])] public function getResults(): array { return $this->results;