Skip to content

Commit

Permalink
Run only on PHP 8.2: skip PHP 8.1, and adjust e2e test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Dec 17, 2024
1 parent d6993d4 commit 21f5dc0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
},
"require": {
"php": "~8.1.0 || ~8.2.0",
"php": "~8.2.0",
"ext-json": "*",
"phpunit/phpunit": "^9.6.20"
},
Expand All @@ -23,7 +23,7 @@
"infection/extension-installer": false
},
"platform": {
"php": "8.1.99"
"php": "8.2.99"
},
"sort-packages": true
},
Expand Down
10 changes: 5 additions & 5 deletions composer.lock

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

1 change: 1 addition & 0 deletions test/e2e/run-full-suite.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ require __DIR__ . '/../../bin/roave-no-leaks.php';
--EXPECTF--
%aThe following test produced memory leaks:
* RoaveE2ETest\NoLeaks\PHPUnit\LeakyIntegrationTest::doesLeakAMock
* RoaveE2ETest\NoLeaks\PHPUnit\LeakyIntegrationTest::doesLeakOneObject
* RoaveE2ETest\NoLeaks\PHPUnit\LeakyIntegrationTest::doesLeakTwoObjects
* RoaveE2ETest\NoLeaks\PHPUnit\LeakyIntegrationTest::doesLeakAnAutoloader
* RoaveE2ETest\NoLeaks\PHPUnit\LeakyIntegrationTest::doesLeakAStaticAutoloader
Expand Down

0 comments on commit 21f5dc0

Please sign in to comment.