File tree Expand file tree Collapse file tree 5 files changed +8
-2
lines changed
Expand file tree Collapse file tree 5 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 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" />
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 66
77use CyrilVerloop \Codingame \Generator \CGCodeGenerator ;
88use CyrilVerloop \Codingame \Generator \CodeGeneratorConfiguration ;
9+ use CyrilVerloop \Codingame \Generator \FileGenerator ;
910use org \bovigo \vfs \vfsStream ;
1011use PHPUnit \Framework \Attributes as PA ;
1112use PHPUnit \Framework \TestCase ;
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 ' )
Original file line number Diff line number Diff line change 55namespace CyrilVerloop \Codingame \Tests \Generator ;
66
77use CyrilVerloop \Codingame \Generator \CGTestGenerator ;
8+ use CyrilVerloop \Codingame \Generator \FileGenerator ;
89use CyrilVerloop \Codingame \Generator \TestConfiguration ;
910use CyrilVerloop \Codingame \Generator \TestConfigurations ;
1011use CyrilVerloop \Codingame \Generator \TestGeneratorConfiguration ;
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),
Original file line number Diff line number Diff line change 99use CyrilVerloop \Codingame \Configuration \TestConfigurations ;
1010use CyrilVerloop \Codingame \Generator \CGCodeGenerator ;
1111use CyrilVerloop \Codingame \Generator \CGTestGenerator ;
12+ use CyrilVerloop \Codingame \Generator \FileGenerator ;
1213use CyrilVerloop \Codingame \Generator \FilesGenerator ;
1314use CyrilVerloop \Codingame \Generator \CodeGeneratorConfiguration ;
1415use CyrilVerloop \Codingame \Generator \TestConfiguration as TCGenerator ;
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),
You can’t perform that action at this time.
0 commit comments