File tree Expand file tree Collapse file tree 4 files changed +25
-2
lines changed Expand file tree Collapse file tree 4 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ Development toolkit for CodeIgniter libraries and projects
1616
1717* [ NexusPHP Tachycardia] ( https://github.com/NexusPHP/tachycardia )
1818* [ PHPStan] ( https://phpstan.org/user-guide/getting-started )
19- * [ PHPUnit] ( http://phpunit.readthedocs.io )
19+ * [ PHPUnit] ( https://phpunit.readthedocs.io )
20+ * [ Psalm] ( https://psalm.dev )
2021
2122### Mocking
2223
Original file line number Diff line number Diff line change 3232 "phpstan/phpstan-deprecation-rules" : " ^1.0" ,
3333 "phpstan/phpstan-phpunit" : " ^1.0" ,
3434 "phpunit/phpunit" : " ^9.3" ,
35- "roave/security-advisories" : " dev-latest"
35+ "roave/security-advisories" : " dev-latest" ,
36+ "vimeo/psalm" : " ^4.22"
3637 },
3738 "minimum-stability" : " dev" ,
3839 "prefer-stable" : true ,
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ require __DIR__ . '/vendor/codeigniter4/framework/system/Test/bootstrap.php ' ;
6+
7+ $ helperDirs = [
8+ 'app/Helpers ' ,
9+ 'vendor/codeigniter4/framework/system/Helpers ' ,
10+ ];
11+
12+ foreach ($ helperDirs as $ dir ) {
13+ $ dir = __DIR__ . '/ ' . $ dir ;
14+ chdir ($ dir );
15+
16+ foreach (glob ('*_helper.php ' ) as $ filename ) {
17+ $ filePath = realpath ($ dir . '/ ' . $ filename );
18+
19+ require_once $ filePath ;
20+ }
21+ }
You can’t perform that action at this time.
0 commit comments