added project filter in user-list reports (#4615)
This commit is contained in:
40
phpstan.neon
40
phpstan.neon
@@ -1032,11 +1032,6 @@ parameters:
|
||||
count: 1
|
||||
path: src/Controller/Reporting/CustomerMonthlyProjectsController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#3 \\$users of method App\\\\Reporting\\\\CustomerMonthlyProjects\\\\CustomerMonthlyProjectsRepository\\:\\:getGroupedByCustomerProjectActivityUser\\(\\) expects array\\<App\\\\Entity\\\\User\\>, iterable\\<App\\\\Entity\\\\User\\> given\\.$#"
|
||||
count: 1
|
||||
path: src/Controller/Reporting/CustomerMonthlyProjectsController.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getId\\(\\) on App\\\\Entity\\\\Customer\\|null\\.$#"
|
||||
count: 3
|
||||
@@ -1052,31 +1047,16 @@ parameters:
|
||||
count: 1
|
||||
path: src/Controller/Reporting/ReportUsersMonthController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#3 \\$users of method App\\\\Timesheet\\\\TimesheetStatisticService\\:\\:getDailyStatistics\\(\\) expects array\\<App\\\\Entity\\\\User\\>, iterable\\<App\\\\Entity\\\\User\\> given\\.$#"
|
||||
count: 1
|
||||
path: src/Controller/Reporting/ReportUsersMonthController.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Controller\\\\Reporting\\\\ReportUsersWeekController\\:\\:getData\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: src/Controller/Reporting/ReportUsersWeekController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#3 \\$users of method App\\\\Timesheet\\\\TimesheetStatisticService\\:\\:getDailyStatistics\\(\\) expects array\\<App\\\\Entity\\\\User\\>, iterable\\<App\\\\Entity\\\\User\\> given\\.$#"
|
||||
count: 1
|
||||
path: src/Controller/Reporting/ReportUsersWeekController.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Controller\\\\Reporting\\\\ReportUsersYearController\\:\\:getData\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: src/Controller/Reporting/ReportUsersYearController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#3 \\$users of method App\\\\Timesheet\\\\TimesheetStatisticService\\:\\:getMonthlyStats\\(\\) expects array\\<App\\\\Entity\\\\User\\>, iterable\\<App\\\\Entity\\\\User\\> given\\.$#"
|
||||
count: 1
|
||||
path: src/Controller/Reporting/ReportUsersYearController.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Controller\\\\Reporting\\\\UserMonthController\\:\\:getData\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
@@ -1182,11 +1162,6 @@ parameters:
|
||||
count: 1
|
||||
path: src/Controller/TimesheetTeamController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$entries of method App\\\\Export\\\\Spreadsheet\\\\UserExporter\\:\\:export\\(\\) expects array\\<App\\\\Entity\\\\User\\>, iterable\\<App\\\\Entity\\\\User\\> given\\.$#"
|
||||
count: 1
|
||||
path: src/Controller/UserController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#2 \\$plainPassword of method Symfony\\\\Component\\\\PasswordHasher\\\\Hasher\\\\UserPasswordHasherInterface\\:\\:hashPassword\\(\\) expects string, string\\|null given\\.$#"
|
||||
count: 1
|
||||
@@ -4822,26 +4797,11 @@ parameters:
|
||||
count: 1
|
||||
path: src/Repository/UserRepository.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Repository\\\\UserRepository\\:\\:getHydratedResultsByQuery\\(\\) should return iterable\\<App\\\\Entity\\\\User\\> but returns mixed\\.$#"
|
||||
count: 1
|
||||
path: src/Repository/UserRepository.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Repository\\\\UserRepository\\:\\:saveUser\\(\\) has no return type specified\\.$#"
|
||||
count: 1
|
||||
path: src/Repository/UserRepository.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$identifier of method App\\\\Repository\\\\UserRepository\\:\\:loadUserByIdentifier\\(\\) expects string, mixed given\\.$#"
|
||||
count: 1
|
||||
path: src/Repository/UserRepository.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$results of method App\\\\Repository\\\\Loader\\\\UserLoader\\:\\:loadResults\\(\\) expects array\\<App\\\\Entity\\\\User\\|int\\>, mixed given\\.$#"
|
||||
count: 1
|
||||
path: src/Repository/UserRepository.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$message of class Symfony\\\\Component\\\\Security\\\\Core\\\\Exception\\\\AuthenticationException constructor expects string, string\\|null given\\.$#"
|
||||
count: 1
|
||||
|
||||
Reference in New Issue
Block a user