File tree Expand file tree Collapse file tree 5 files changed +14
-15
lines changed
Expand file tree Collapse file tree 5 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 1717 }
1818 ],
1919 "require" : {
20- "php" : " >=8.2" ,
20+ "php" : " >=8.0. 2" ,
2121 "twig/twig" : " ^3.15"
2222 },
2323 "require-dev" : {
2424 "captainhook/captainhook-phar" : " ^5.0" ,
2525 "captainhook/hook-installer" : " ^1.0" ,
26- "phpunit/phpunit" : " ^10 .0" ,
27- "symfony/finder" : " ^7.0" ,
28- "symfony/process" : " ^7.0"
26+ "phpunit/phpunit" : " ^9 .0" ,
27+ "symfony/finder" : " ^6.0|^ 7.0" ,
28+ "symfony/process" : " ^6.0|^ 7.0"
2929 },
3030 "config" : {
3131 "sort-packages" : false ,
Original file line number Diff line number Diff line change 11services :
22 composer :
3- image : thecodingmachine/php:8.2 -v4-cli
3+ image : thecodingmachine/php:8.0 -v4-cli
44 container_name : squirrel_composer
55 working_dir : /usr/src/app
66 command : [ "composer", "${COMPOSER_COMMAND}", "--ansi" ]
Original file line number Diff line number Diff line change 1010class BreakNode extends Node
1111{
1212 public function __construct (
13- private readonly int $ loopNumber ,
13+ private int $ loopNumber ,
1414 int $ lineno ,
1515 ) {
1616 parent ::__construct ([], [], $ lineno );
Original file line number Diff line number Diff line change 1010class ContinueNode extends Node
1111{
1212 public function __construct (
13- private readonly int $ loopNumber ,
13+ private int $ loopNumber ,
1414 int $ lineno ,
1515 ) {
1616 parent ::__construct ([], [], $ lineno );
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" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.5/phpunit.xsd" backupGlobals =" false" colors =" true" bootstrap =" ../vendor/autoload.php" cacheDirectory =" cache/.phpunit.cache" displayDetailsOnIncompleteTests =" true" displayDetailsOnSkippedTests =" true" displayDetailsOnTestsThatTriggerDeprecations =" true" displayDetailsOnPhpunitDeprecations =" true" displayDetailsOnTestsThatTriggerNotices =" true" displayDetailsOnTestsThatTriggerErrors =" true" displayDetailsOnTestsThatTriggerWarnings =" true" >
3- <coverage includeUncoveredFiles =" true" />
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals =" false" colors =" true" bootstrap =" ../vendor/autoload.php" cacheResultFile =" cache/.phpunit.result.cache" >
3+ <coverage >
4+ <include >
5+ <directory suffix =" .php" >../src</directory >
6+ </include >
7+ </coverage >
48 <testsuites >
5- <testsuite name =" unit " >
9+ <testsuite name =" Unit Tests " >
610 <directory >../tests</directory >
711 </testsuite >
812 </testsuites >
9- <source >
10- <include >
11- <directory >../src</directory >
12- </include >
13- </source >
1413</phpunit >
You can’t perform that action at this time.
0 commit comments