diff --git a/composer.json b/composer.json index 7187880f..868714d3 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "config": { "sort-packages": true, "platform": { - "php": "8.0.99" + "php": "8.1.99" }, "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true, @@ -33,39 +33,39 @@ } }, "require": { - "php": " ~8.0.0 || ~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "laminas-api-tools/api-tools": "^1.7", "laminas-api-tools/api-tools-admin-ui": "^2.1", "laminas-api-tools/api-tools-api-problem": "^1.6", "laminas-api-tools/api-tools-configuration": "^1.6", "laminas-api-tools/api-tools-content-negotiation": "^1.8", "laminas-api-tools/api-tools-content-validation": "^1.12", - "laminas-api-tools/api-tools-hal": "^1.7", + "laminas-api-tools/api-tools-hal": "^1.10", "laminas-api-tools/api-tools-mvc-auth": "^1.8", "laminas-api-tools/api-tools-oauth2": "^1.9", "laminas-api-tools/api-tools-provider": "^1.6", "laminas-api-tools/api-tools-rest": "^1.8", "laminas-api-tools/api-tools-rpc": "^1.8", "laminas-api-tools/api-tools-versioning": "^1.7", - "laminas/laminas-code": "^3.5 || ^4.0", - "laminas/laminas-eventmanager": "^3.2", - "laminas/laminas-filter": "^2.8", - "laminas/laminas-http": "^2.8", - "laminas/laminas-hydrator": "^3.0 || ^4.0", - "laminas/laminas-inputfilter": "^2.8.1", - "laminas/laminas-modulemanager": "^2.8.2", - "laminas/laminas-mvc": "^2.7.15 || ^3.1.1", - "laminas/laminas-servicemanager": "^3.11", - "laminas/laminas-stdlib": "^2.7.8 || ^3.2.1", - "laminas/laminas-validator": "^2.10.2", - "laminas/laminas-view": "^2.10", + "laminas/laminas-code": "^3.5 || ^4.5", + "laminas/laminas-eventmanager": "^3.4", + "laminas/laminas-filter": "^2.13", + "laminas/laminas-http": "^2.15.1", + "laminas/laminas-hydrator": "^3.0 || ^4.3", + "laminas/laminas-inputfilter": "^2.13.0", + "laminas/laminas-modulemanager": "^2.14.0", + "laminas/laminas-mvc": "^2.7.15 || ^3.3.0", + "laminas/laminas-servicemanager": "^3.11.1", + "laminas/laminas-stdlib": "^2.7.8 || ^3.16.1", + "laminas/laminas-validator": "^2.15.0", + "laminas/laminas-view": "^2.14", "webmozart/assert": "^1.10" }, "require-dev": { "ext-sqlite3": "*", "laminas/laminas-coding-standard": "~2.3.0", - "laminas/laminas-config": "^2.6 || ^3.2", - "laminas/laminas-loader": "^2.6", + "laminas/laminas-config": "^2.6 || ^3.8", + "laminas/laminas-loader": "^2.8", "phpspec/prophecy-phpunit": "^v2.1.0", "phpunit/phpunit": "^9.6.15", "psalm/plugin-phpunit": "^0.18.4", diff --git a/composer.lock b/composer.lock index 53ccb7bd..aebe731f 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": "2ea73dcfa9d1999245fc64faf5c90227", + "content-hash": "e17bc5ac6cd3a011459d9805c5e81894", "packages": [ { "name": "brick/varexporter", @@ -7534,13 +7534,13 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": " ~8.0.0 || ~8.1.0 || ~8.2.0" + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, "platform-dev": { "ext-sqlite3": "*" }, "platform-overrides": { - "php": "8.0.99" + "php": "8.1.99" }, "plugin-api-version": "2.6.0" } diff --git a/test/Model/RpcServiceModelTest.php b/test/Model/RpcServiceModelTest.php index 74b7671d..792873a8 100644 --- a/test/Model/RpcServiceModelTest.php +++ b/test/Model/RpcServiceModelTest.php @@ -176,9 +176,9 @@ public function testCreateControllerRpc(): void $result = $this->codeRpc->createController($serviceName); self::assertInstanceOf('stdClass', $result); - self::assertObjectHasAttribute('class', $result); - self::assertObjectHasAttribute('file', $result); - self::assertObjectHasAttribute('service', $result); + self::assertObjectHasProperty('class', $result); + self::assertObjectHasProperty('file', $result); + self::assertObjectHasProperty('service', $result); $className = sprintf("%s\\V1\\Rpc\\%s\\%sController", $this->module, $serviceName, $serviceName); $fileName = sprintf( @@ -242,9 +242,9 @@ public function testCreateControllerRpcPSR4(): void $result = $this->codeRpc->createController($serviceName); self::assertInstanceOf('stdClass', $result); - self::assertObjectHasAttribute('class', $result); - self::assertObjectHasAttribute('file', $result); - self::assertObjectHasAttribute('service', $result); + self::assertObjectHasProperty('class', $result); + self::assertObjectHasProperty('file', $result); + self::assertObjectHasProperty('service', $result); $className = sprintf("%s\\V1\\Rpc\\%s\\%sController", $this->module, $serviceName, $serviceName); $fileName = sprintf(