Skip to content

Commit a0e3c5f

Browse files
committed
PHPUnit 11.5.7 => 12.0.2.
1 parent 71d81bc commit a0e3c5f

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

.phive/phars.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="phpunit" version="^11.0.5" installed="11.5.7" location="./tools/phpunit" copy="true"/>
3+
<phar name="phpunit" version="^12.0.2" installed="12.0.2" location="./tools/phpunit" copy="true"/>
44
<phar name="psalm" version="^5.23.1" installed="5.26.1" location="./tools/psalm" copy="true"/>
55
<phar name="phpcs" version="^3.9.0" installed="3.11.3" location="./tools/phpcs" copy="true"/>
66
<phar name="phpcbf" version="^3.9.0" installed="3.11.3" location="./tools/phpcbf" copy="true"/>

ci/phpunit.dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.0/phpunit.xsd"
55
bootstrap="../vendor/autoload.php"
66
cacheDirectory="../var/cache/.phpunit.cache"
77
colors="true"

tests/Generator/CGCodeGeneratorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
use CyrilVerloop\Codingame\Generator\CGCodeGenerator;
88
use CyrilVerloop\Codingame\Generator\CodeGeneratorConfiguration;
9+
use CyrilVerloop\Codingame\Generator\FileGenerator;
910
use org\bovigo\vfs\vfsStream;
1011
use PHPUnit\Framework\Attributes as PA;
1112
use PHPUnit\Framework\TestCase;
@@ -16,6 +17,7 @@
1617
#[
1718
PA\CoversClass(CGCodeGenerator::class),
1819
PA\UsesClass(CodeGeneratorConfiguration::class),
20+
PA\UsesClass(FileGenerator::class),
1921
PA\Group('cgpt'),
2022
PA\Group('cgpt_generator'),
2123
PA\Group('cgpt_generator_CGCodeGenerator')

tests/Generator/CGTestGeneratorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
namespace CyrilVerloop\Codingame\Tests\Generator;
66

77
use CyrilVerloop\Codingame\Generator\CGTestGenerator;
8+
use CyrilVerloop\Codingame\Generator\FileGenerator;
89
use CyrilVerloop\Codingame\Generator\TestConfiguration;
910
use CyrilVerloop\Codingame\Generator\TestConfigurations;
1011
use CyrilVerloop\Codingame\Generator\TestGeneratorConfiguration;
@@ -17,6 +18,7 @@
1718
*/
1819
#[
1920
PA\CoversClass(CGTestGenerator::class),
21+
PA\UsesClass(FileGenerator::class),
2022
PA\UsesClass(TestGeneratorConfiguration::class),
2123
PA\UsesClass(TestConfiguration::class),
2224
PA\UsesClass(TestConfigurations::class),

tests/Generator/FilesGeneratorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use CyrilVerloop\Codingame\Configuration\TestConfigurations;
1010
use CyrilVerloop\Codingame\Generator\CGCodeGenerator;
1111
use CyrilVerloop\Codingame\Generator\CGTestGenerator;
12+
use CyrilVerloop\Codingame\Generator\FileGenerator;
1213
use CyrilVerloop\Codingame\Generator\FilesGenerator;
1314
use CyrilVerloop\Codingame\Generator\CodeGeneratorConfiguration;
1415
use CyrilVerloop\Codingame\Generator\TestConfiguration as TCGenerator;
@@ -30,6 +31,7 @@
3031
PA\UsesClass(CodeGeneratorConfiguration::class),
3132
PA\UsesClass(ConfigurationConvertor::class),
3233
PA\UsesClass(ConfigurationParser::class),
34+
PA\UsesClass(FileGenerator::class),
3335
PA\UsesClass(ParsedConfiguration::class),
3436
PA\UsesClass(TCGenerator::class),
3537
PA\UsesClass(TCsGenerator::class),

0 commit comments

Comments
 (0)