Skip to content

Commit

Permalink
Merge pull request #75 from Xerkus/feature/php-83
Browse files Browse the repository at this point in the history
Add support for php 8.3. Drop support for 8.0
  • Loading branch information
Xerkus committed Nov 21, 2023
2 parents 870e591 + 71c1c06 commit b34fed2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"config": {
"sort-packages": true,
"platform": {
"php": "8.0.99"
"php": "8.1.99"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
Expand All @@ -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": {
Expand Down
6 changes: 3 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions test/ComponentInstallerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b34fed2

Please sign in to comment.