Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4d3e321

Browse filesBrowse files
committed
Added compatibility with PHPunit 9.5
1 parent 4ce800f commit 4d3e321
Copy full SHA for 4d3e321

File tree

Expand file treeCollapse file tree

3 files changed

+2
-4
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+2
-4
lines changed

‎phpunit

Copy file name to clipboardExpand all lines: phpunit
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if (!getenv('SYMFONY_PHPUNIT_VERSION')) {
1313
} elseif (\PHP_VERSION_ID < 70300) {
1414
putenv('SYMFONY_PHPUNIT_VERSION=8.5');
1515
} else {
16-
putenv('SYMFONY_PHPUNIT_VERSION=9.4');
16+
putenv('SYMFONY_PHPUNIT_VERSION=9.5');
1717
}
1818
}
1919
if (!getenv('SYMFONY_PATCH_TYPE_DECLARATIONS')) {

‎src/Symfony/Bridge/PhpUnit/Legacy/CoverageListenerTrait.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/Legacy/CoverageListenerTrait.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function startTest($test)
4242
return;
4343
}
4444

45-
$annotations = $test->getAnnotations();
45+
$annotations = Test::parseTestMethodAnnotations(\get_class($test), $test->getName(false));
4646

4747
$ignoredAnnotations = ['covers', 'coversDefaultClass', 'coversNothing'];
4848

‎src/Symfony/Component/Security/phpunit.xml.dist

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/phpunit.xml.dist
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
<testsuites>
1616
<testsuite name="Symfony Security Component Test Suite">
17-
<directory>./Tests/</directory>
1817
<directory>./*/Tests/</directory>
1918
</testsuite>
2019
</testsuites>
@@ -24,7 +23,6 @@
2423
<directory>./</directory>
2524
<exclude>
2625
<directory>./Resources</directory>
27-
<directory>./Tests</directory>
2826
<directory>./vendor</directory>
2927
<directory>./*/Resources</directory>
3028
<directory>./*/Tests</directory>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.