Skip to content

Commit e5a8f39

Browse files
committed
allow php 8.3
1 parent 6d25829 commit e5a8f39

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

bin/roave-infection-static-analysis-plugin

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ declare(strict_types=1);
55

66
namespace Roave\InfectionStaticAnalysis\Application;
77

8+
use Composer\InstalledVersions;
89
use Infection\Console\Application;
910
use Infection\Container;
10-
use PackageVersions\Versions;
1111
use Psalm\Config;
1212
use Psalm\Internal\Analyzer\ProjectAnalyzer;
1313
use Psalm\Internal\IncludeCollector;
@@ -52,11 +52,11 @@ use function var_export;
5252
require_once $projectPath . '/vendor/autoload.php';
5353

5454
if (! defined('PSALM_VERSION')) {
55-
define('PSALM_VERSION', Versions::getVersion('vimeo/psalm'));
55+
define('PSALM_VERSION', InstalledVersions::getVersion('vimeo/psalm'));
5656
}
5757

5858
if (! defined('PHP_PARSER_VERSION')) {
59-
define('PHP_PARSER_VERSION', Versions::getVersion('nikic/php-parser'));
59+
define('PHP_PARSER_VERSION', InstalledVersions::getVersion('nikic/php-parser'));
6060
}
6161

6262
/** @var list<non-empty-string> */

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
],
1515
"require": {
1616
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
17+
"composer-runtime-api": "^2.2",
1718
"infection/infection": "0.27.0",
1819
"sanmai/later": "^0.1.2",
1920
"vimeo/psalm": "^4.30.0 || ^5.15"
2021
},
2122
"require-dev": {
22-
"composer-runtime-api": "^2.2",
2323
"doctrine/coding-standard": "^12.0.0",
2424
"phpunit/phpunit": "^10.3.4"
2525
},

composer.lock

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)