File tree Expand file tree Collapse file tree 7 files changed +13
-10
lines changed
Expand file tree Collapse file tree 7 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 2626 "require-dev" : {
2727 "codeigniter/coding-standard" : " ^1.7.15" ,
2828 "codeigniter4/framework" : " ^4.5.1" ,
29- "phpstan/phpstan" : " ^1.10.67 " ,
29+ "phpstan/phpstan" : " ^2.0 " ,
3030 "phpunit/phpunit" : " ^10.5.20" ,
3131 "rector/rector" : " dev-main"
3232 },
Original file line number Diff line number Diff line change @@ -2,14 +2,17 @@ parameters:
22 bootstrapFiles :
33 - bootstrap.php
44 inferPrivatePropertyTypeFromConstructor : true
5- checkMissingIterableValueType : false
65 excludePaths :
76 - src/Config/*
87 - src/Database/*
98 - src/Views/*
109 ignoreErrors :
1110 - ' #Access to protected property [a-zA-Z0-9\\_ ]+Model::\$returnType. #'
12- - '#Call to an undefined static method Config\\Services::albumRepository\ (\)#'
13- - '#Call to an undefined static method Config\\Services::trackRepository\ (\)#'
14- - '#Call to an undefined static method Config\\Services::albumTrackSummary\ (\)#'
1511 - '#Call to an undefined method CodeIgniter\\Model::get\ (\)#'
12+
13+ -
14+ identifier : missingType.iterableValue
15+
16+ -
17+ identifier : method.nonObject
18+ path : src/Infrastructure/Persistence/Track/SQLTrackRepository.php
Original file line number Diff line number Diff line change 1111
1212namespace Album \Controllers ;
1313
14+ use Album \Config \Services ;
1415use Album \Domain \Album \AlbumRepository ;
1516use Album \Domain \Exception \RecordNotFoundException ;
1617use Album \Models \AlbumModel ;
1718use App \Controllers \BaseController ;
1819use CodeIgniter \Exceptions \PageNotFoundException ;
1920use CodeIgniter \HTTP \IncomingRequest ;
2021use CodeIgniter \HTTP \RedirectResponse ;
21- use Config \Services ;
2222
2323final class Album extends BaseController
2424{
Original file line number Diff line number Diff line change 1111
1212namespace Album \Controllers ;
1313
14+ use Album \Config \Services ;
1415use Album \Domain \AlbumTrackSummary \AlbumTrackSummaryRepository ;
1516use Album \Models \AlbumModel ;
1617use App \Controllers \BaseController ;
17- use Config \Services ;
1818
1919final class AlbumTrackSummary extends BaseController
2020{
Original file line number Diff line number Diff line change 1111
1212namespace Album \Controllers ;
1313
14+ use Album \Config \Services ;
1415use Album \Domain \Album \AlbumRepository ;
1516use Album \Domain \Exception \DuplicatedRecordException ;
1617use Album \Domain \Exception \RecordNotFoundException ;
2021use CodeIgniter \Exceptions \PageNotFoundException ;
2122use CodeIgniter \HTTP \IncomingRequest ;
2223use CodeIgniter \HTTP \RedirectResponse ;
23- use Config \Services ;
2424
2525final class Track extends BaseController
2626{
Original file line number Diff line number Diff line change 2121final class Album extends Entity
2222{
2323 /**
24- * @var array<string, null>|list<string >
24+ * @var array<string, mixed >
2525 */
2626 protected $ attributes = [
2727 'id ' => null ,
Original file line number Diff line number Diff line change 2222final class Track extends Entity
2323{
2424 /**
25- * @var array<string, null>|list<string >
25+ * @var array<string, mixed >
2626 */
2727 protected $ attributes = [
2828 'id ' => null ,
You can’t perform that action at this time.
0 commit comments