File tree Expand file tree Collapse file tree 5 files changed +16
-1
lines changed
Expand file tree Collapse file tree 5 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 11/.gitignore export-ignore
22/.gitattributes export-ignore
33/.php-cs-fixer.dist.php export-ignore
4+ /phpstan.neon export-ignore
Original file line number Diff line number Diff line change 2929 run : " composer install"
3030 - name : " CS Check"
3131 run : " vendor/bin/php-cs-fixer fix --dry-run --diff"
32+ - name : " Code analyze"
33+ run : " vendor/bin/phpstan"
3234 - name : " Run test suite"
3335 run : " vendor/bin/phpunit"
Original file line number Diff line number Diff line change 2626 "minimum-stability" : " stable" ,
2727 "require-dev" : {
2828 "codeigniter/coding-standard" : " ^1.8" ,
29- "phpunit/phpunit" : " ^10.5"
29+ "phpunit/phpunit" : " ^10.5" ,
30+ "phpstan/phpstan" : " ^2.1"
3031 }
3132}
Original file line number Diff line number Diff line change 1+ parameters :
2+ paths :
3+ - src
4+ - tests
5+ level : 5
6+ bootstrapFiles :
7+ - vendor/codeigniter4/framework/system/Test/bootstrap.php
8+
Original file line number Diff line number Diff line change 1717use CodeIgniter \Exceptions \PageNotFoundException ;
1818use CodeIgniter \HTTP \Exceptions \BadRequestException ;
1919use CodeIgniter \HTTP \ResponseInterface ;
20+ use CodeIgniter \Router \RouteCollection ;
2021use CodeIgniter \Router \Router ;
2122
2223/**
2324 * Page based router.
2425 *
2526 * This class extends the CodeIgniter's Router class
2627 * to handle page based routes.
28+ *
29+ * @property-read RouteCollection $collection
2730 */
2831class PageRouter extends Router
2932{
You can’t perform that action at this time.
0 commit comments