File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" backupGlobals =" false" backupStaticAttributes =" false" bootstrap =" vendor/autoload.php" colors =" true" convertErrorsToExceptions =" true" convertNoticesToExceptions =" true" convertWarningsToExceptions =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
3- <coverage processUncoveredFiles =" true" >
4- <include >
5- <directory suffix =" .php" >./src</directory >
6- </include >
7- </coverage >
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" backupGlobals =" false" bootstrap =" vendor/autoload.php" colors =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/12.0/phpunit.xsd" cacheDirectory =" .phpunit.cache" backupStaticProperties =" false" >
83 <testsuites >
94 <testsuite name =" Suite" >
105 <directory suffix =" Test.php" >./tests</directory >
116 </testsuite >
127 </testsuites >
8+ <source >
9+ <include >
10+ <directory suffix =" .php" >./src</directory >
11+ </include >
12+ </source >
1313</phpunit >
Original file line number Diff line number Diff line change 22
33namespace DrupalSecurityJira \DrupalOrg ;
44
5+ use PHPUnit \Framework \Attributes \DataProvider ;
56use PHPUnit \Framework \TestCase ;
67
78class VersionGroupTest extends TestCase
@@ -57,12 +58,11 @@ public static function versionGroups(): array
5758 }
5859
5960 /**
60- * @dataProvider versionGroups
61- *
6261 * @param string[] $versions
6362 * @param string|null $nextVersion
6463 * The expected next version (if any)
6564 */
65+ #[DataProvider('versionGroups ' )]
6666 public function testGetNextVersion (
6767 array $ versions ,
6868 string $ currentVersion ,
You can’t perform that action at this time.
0 commit comments