diff --git a/composer.json b/composer.json index 2caa03c..963b5bf 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "config": { "sort-packages": true, "platform": { - "php": "8.0.99" + "php": "8.1.99" }, "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true @@ -31,7 +31,7 @@ "class": "Laminas\\ComponentInstaller\\ComponentInstaller" }, "require": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "composer-plugin-api": "^2.0" }, "require-dev": { diff --git a/composer.lock b/composer.lock index ab5b465..fe14401 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": "42df532388d721c126ea746e5c8fc1e7", + "content-hash": "e5f5edc3f95ab23e0f2a5a4038c1b2df", "packages": [], "packages-dev": [ { @@ -5156,12 +5156,12 @@ "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", "composer-plugin-api": "^2.0" }, "platform-dev": [], "platform-overrides": { - "php": "8.0.99" + "php": "8.1.99" }, "plugin-api-version": "2.6.0" } diff --git a/test/ComponentInstallerTest.php b/test/ComponentInstallerTest.php index 7e50607..7901534 100644 --- a/test/ComponentInstallerTest.php +++ b/test/ComponentInstallerTest.php @@ -1366,7 +1366,6 @@ public function testGetModuleDependenciesFromModuleClass(string $file, array $re { $r = new ReflectionObject($this->installer); $rm = $r->getMethod('getModuleDependencies'); - $rm->setAccessible(true); /** @psalm-suppress MixedAssignment We do want to assert the value and thus we do not care about mixed here. */ $dependencies = $rm->invoke($this->installer, $file); @@ -1412,7 +1411,6 @@ public function testGetModuleClassesDependenciesHandlesAutoloadersWithMultiplePa $r = new ReflectionObject($this->installer); $rm = $r->getMethod('loadModuleClassesDependencies'); - $rm->setAccessible(true); /** @psalm-suppress MixedAssignment We do want to assert the value and thus we do not care about mixed here. */ $dependencies = $rm->invoke($this->installer, $package);