Skip to content

Commit

Permalink
allow php 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fezfez committed Sep 14, 2023
1 parent 6d25829 commit e5a8f39
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions bin/roave-infection-static-analysis-plugin
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ declare(strict_types=1);

namespace Roave\InfectionStaticAnalysis\Application;

use Composer\InstalledVersions;
use Infection\Console\Application;
use Infection\Container;
use PackageVersions\Versions;
use Psalm\Config;
use Psalm\Internal\Analyzer\ProjectAnalyzer;
use Psalm\Internal\IncludeCollector;
Expand Down Expand Up @@ -52,11 +52,11 @@ use function var_export;
require_once $projectPath . '/vendor/autoload.php';

if (! defined('PSALM_VERSION')) {
define('PSALM_VERSION', Versions::getVersion('vimeo/psalm'));
define('PSALM_VERSION', InstalledVersions::getVersion('vimeo/psalm'));
}

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

/** @var list<non-empty-string> */
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"composer-runtime-api": "^2.2",
"infection/infection": "0.27.0",
"sanmai/later": "^0.1.2",
"vimeo/psalm": "^4.30.0 || ^5.15"
},
"require-dev": {
"composer-runtime-api": "^2.2",
"doctrine/coding-standard": "^12.0.0",
"phpunit/phpunit": "^10.3.4"
},
Expand Down
7 changes: 3 additions & 4 deletions composer.lock

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

0 comments on commit e5a8f39

Please sign in to comment.