Skip to content

Commit

Permalink
Run integration test against PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Sep 16, 2023
1 parent 06c7ab5 commit b11fca0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: "test_old/run-php-src.sh 7.4.33"
test_old_80_70:
runs-on: "ubuntu-latest"
name: "PHP 8.2 Code on PHP 7.4 Integration Tests"
name: "PHP 8.3 Code on PHP 7.4 Integration Tests"
steps:
- name: "Checkout"
uses: "actions/checkout@v3"
Expand All @@ -81,7 +81,7 @@ jobs:
- name: "Install PHP 8 dependencies"
run: "composer update --no-progress --prefer-dist"
- name: "Tests"
run: "test_old/run-php-src.sh 8.2.3"
run: "test_old/run-php-src.sh 8.3.0RC2"
phpstan:
runs-on: "ubuntu-latest"
name: "PHP ${{ matrix.php-version }} PHPStan"
Expand Down
2 changes: 1 addition & 1 deletion test_old/run.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function showHelp($error) {
$origStmts = $parser->parse($origCode);
$parseTime += microtime(true) - $startTime;

$origTokens = $lexer->getTokens();
$origTokens = $parser->getTokens();

$startTime = microtime(true);
$stmts = $cloningTraverser->traverse($origStmts);
Expand Down

0 comments on commit b11fca0

Please sign in to comment.