File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88
99 env :
10- COMPOSER_ROOT_VERSION : 3 .99.99
10+ COMPOSER_ROOT_VERSION : 4 .99.99
1111
1212 strategy :
1313 matrix :
14- php : [8.1, 8.2]
14+ php : [8.1, 8.2, 8.3 ]
1515
1616 steps :
1717 - name : Checkout code
Original file line number Diff line number Diff line change 2424 "ext-mbstring" : " *" ,
2525 "codeception/codeception" : " ^5.0.8" ,
2626 "codeception/lib-web" : " ^1.0.1" ,
27- "phpunit/phpunit" : " ^10.0" ,
27+ "phpunit/phpunit" : " ^10.0 || ^11.0 " ,
2828 "symfony/browser-kit" : " ^4.4.24 || ^5.4 || ^6.0 || ^7.0" ,
2929 "symfony/dom-crawler" : " ^4.4.30 || ^5.4 || ^6.0 || ^7.0"
3030 },
Original file line number Diff line number Diff line change @@ -30,8 +30,10 @@ public static function clean()
3030 protected static function load ()
3131 {
3232 $ data = file_get_contents (__DIR__ .self ::$ filename );
33- $ data = $ data ? unserialize ($ data ) : $ data = array ();
34- if (!is_array ($ data )) $ data = array ();
33+ $ data = $ data ? unserialize (trim ($ data )) : [];
34+ if (!is_array ($ data )) {
35+ $ data = [];
36+ }
3537 return $ data ;
3638 }
3739
You can’t perform that action at this time.
0 commit comments