File tree Expand file tree Collapse file tree 10 files changed +182
-193
lines changed
Expand file tree Collapse file tree 10 files changed +182
-193
lines changed Original file line number Diff line number Diff line change 1515 name : " Codesniffer"
1616 uses : contributte/.github/.github/workflows/codesniffer.yml@master
1717 with :
18- php : " 8.2 "
18+ php : " 8.4 "
Original file line number Diff line number Diff line change 1515 name : " Nette Tester"
1616 uses : contributte/.github/.github/workflows/nette-tester-coverage-v2.yml@master
1717 with :
18- php : " 8.2 "
18+ php : " 8.4 "
1919 make : " init coverage"
Original file line number Diff line number Diff line change 1515 name : " Phpstan"
1616 uses : contributte/.github/.github/workflows/phpstan.yml@master
1717 with :
18- php : " 8.2 "
18+ php : " 8.4 "
1919 make : " init phpstan"
Original file line number Diff line number Diff line change 1111 - cron : " 0 8 * * 1"
1212
1313jobs :
14- test83 :
14+ test84 :
1515 name : " Nette Tester"
1616 uses : contributte/.github/.github/workflows/nette-tester.yml@master
1717 with :
18- php : " 8.3"
19- make : " init tests"
20-
21- test82 :
22- name : " Nette Tester"
23- uses : contributte/.github/.github/workflows/nette-tester.yml@master
24- with :
25- php : " 8.2"
18+ php : " 8.4"
2619 make : " init tests"
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Main goal is to provide terminal-based console-kit project for Nette developers.
3030
3131## Installation
3232
33- You will need ` PHP 8.2 + ` and [ Composer] ( https://getcomposer.org/ ) .
33+ You will need ` PHP 8.4 + ` and [ Composer] ( https://getcomposer.org/ ) .
3434
3535Create project using composer.
3636
Original file line number Diff line number Diff line change 33namespace App ;
44
55use Contributte \Bootstrap \ExtraConfigurator ;
6+ use Nette \Bootstrap \Configurator ;
67use Nette \DI \Compiler ;
78use Symfony \Component \Console \Application as SymfonyApplication ;
89use Tracy \Debugger ;
@@ -15,9 +16,10 @@ public static function boot(): ExtraConfigurator
1516 $ configurator = new ExtraConfigurator ();
1617 $ configurator ->setTempDirectory (__DIR__ . '/../var/tmp ' );
1718
18- $ configurator ->onCompile [] = function (ExtraConfigurator $ configurator , Compiler $ compiler ): void {
19- // Add env variables to config structure
20- $ compiler ->addConfig (['parameters ' => $ configurator ->getEnvironmentParameters ()]);
19+ $ configurator ->onCompile [] = function (Configurator $ configurator , Compiler $ compiler ): void {
20+ if ($ configurator instanceof ExtraConfigurator) {
21+ $ compiler ->addConfig (['parameters ' => $ configurator ->getEnvironmentParameters ()]);
22+ }
2123 };
2224
2325 // According to NETTE_DEBUG env
Original file line number Diff line number Diff line change 1313 "license" : " MIT" ,
1414 "type" : " project" ,
1515 "require" : {
16- "php" : " >=8.2 " ,
16+ "php" : " >=8.4 " ,
1717
18- "contributte/bootstrap" : " ^0.6 .0" ,
18+ "contributte/bootstrap" : " ^0.7 .0" ,
1919 "contributte/di" : " ^0.6.0" ,
20- "contributte/utils" : " ^0.6 .0" ,
20+ "contributte/utils" : " ^0.7 .0" ,
2121 "contributte/latte" : " ^0.7.0" ,
2222 "contributte/tracy" : " ^0.7.0" ,
2323 "contributte/console" : " ^0.11.0"
You can’t perform that action at this time.
0 commit comments