File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 6363 run : composer install --ansi --no-interaction --no-progress
6464
6565 - name : Execute Unit Tests
66- run : vendor/bin/phpunit --coverage-text
66+ run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 1414 "require" : {
1515 "php" : " ^7.3 || ^8" ,
1616 "phpspec/prophecy" : " ^1.18" ,
17- "phpunit/phpunit" :" ^9.1 || ^10.1"
17+ "phpunit/phpunit" :" ^9.1 || ^10.1 || ^11.0 "
1818 },
1919 "autoload" : {
2020 "psr-4" : {
Original file line number Diff line number Diff line change 33namespace Prophecy \PhpUnit ;
44
55use PHPUnit \Framework \AssertionFailedError ;
6+ use PHPUnit \Framework \Attributes \After ;
7+ use PHPUnit \Framework \Attributes \PostCondition ;
68use PHPUnit \Framework \TestCase ;
79use Prophecy \Exception \Doubler \DoubleException ;
810use Prophecy \Exception \Doubler \InterfaceNotFoundException ;
@@ -57,6 +59,7 @@ protected function prophesize(?string $classOrInterface = null): ObjectProphecy
5759 /**
5860 * @postCondition
5961 */
62+ #[PostCondition]
6063 protected function verifyProphecyDoubles (): void
6164 {
6265 if ($ this ->prophet === null ) {
@@ -75,6 +78,7 @@ protected function verifyProphecyDoubles(): void
7578 /**
7679 * @after
7780 */
81+ #[After]
7882 protected function tearDownProphecy (): void
7983 {
8084 if (null !== $ this ->prophet && !$ this ->prophecyAssertionsCounted ) {
You can’t perform that action at this time.
0 commit comments