File tree Expand file tree Collapse file tree 6 files changed +8
-46
lines changed Expand file tree Collapse file tree 6 files changed +8
-46
lines changed Original file line number Diff line number Diff line change 11before_script :
2- - bash ci/docker_install.sh
2+ - bash <(curl -s https://assets.icircle.xyz/gitlab- ci/v0.1.1/ docker_install.sh)
33
44test_5.4 :
55 image : phpplatform/php-apache-xdebug-composer:5.4
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33<phpunit colors =" true" bootstrap =" tests/autoload.php" >
44 <php >
55 <const name =" APP_DOMAIN" value =" http://localhost" />
6- <const name =" APP_PATH" value =" php-platform/ restful" />
6+ <const name =" APP_PATH" value =" restful" />
77 <const name =" APP_COVERAGE" value =" true" />
88 </php >
99 <testsuites >
Original file line number Diff line number Diff line change @@ -52,9 +52,14 @@ private static function writeConfig(){
5252 $ config ["routes " ] = self ::$ routes ;
5353 $ configJson = json_encode ($ config ,JSON_PRETTY_PRINT |JSON_UNESCAPED_SLASHES );
5454 file_put_contents ($ configFilePath , $ configJson );
55- SettingsCache:: getInstance ()-> reset ();
55+ self :: refreshCache ();
5656 }
5757 }
58+
59+ private static function refreshCache (){
60+ $ settingsCache = SettingsCache::getInstance ();
61+ $ settingsCache ->setData (["php-platform " =>["restful " =>["routes " =>self ::$ routes ]]]);
62+ }
5863
5964 private static function processPSR4Dir ($ namespace ,$ path ){
6065 foreach (self ::$ excludedNamespaces as $ excludedNameSpace ){
You can’t perform that action at this time.
0 commit comments