Release 2.15 (#4749)
This commit is contained in:
105
phpstan.neon
105
phpstan.neon
@@ -4,6 +4,7 @@ includes:
|
||||
- %rootDir%/../phpstan-doctrine/extension.neon
|
||||
- %rootDir%/../phpstan-doctrine/rules.neon
|
||||
- %rootDir%/../phpstan-strict-rules/rules.neon
|
||||
- %rootDir%/../phpstan-deprecation-rules/rules.neon
|
||||
- %rootDir%/../phpstan/conf/bleedingEdge.neon
|
||||
|
||||
parameters:
|
||||
@@ -3447,11 +3448,6 @@ parameters:
|
||||
count: 1
|
||||
path: src/Invoice/Calculator/AbstractMergedCalculator.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method format\\(\\) on DateTime\\|null\\.$#"
|
||||
count: 2
|
||||
path: src/Invoice/Hydrator/InvoiceItemDefaultHydrator.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getCurrency\\(\\) on App\\\\Entity\\\\Customer\\|null\\.$#"
|
||||
count: 1
|
||||
@@ -3462,26 +3458,11 @@ parameters:
|
||||
count: 1
|
||||
path: src/Invoice/Hydrator/InvoiceItemDefaultHydrator.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getTimestamp\\(\\) on DateTime\\|null\\.$#"
|
||||
count: 2
|
||||
path: src/Invoice/Hydrator/InvoiceItemDefaultHydrator.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Invoice\\\\Hydrator\\\\InvoiceItemDefaultHydrator\\:\\:hydrate\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: src/Invoice/Hydrator/InvoiceItemDefaultHydrator.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$date of method App\\\\Invoice\\\\InvoiceFormatter\\:\\:getFormattedDateTime\\(\\) expects DateTimeInterface, DateTime\\|null given\\.$#"
|
||||
count: 3
|
||||
path: src/Invoice/Hydrator/InvoiceItemDefaultHydrator.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$date of method App\\\\Invoice\\\\InvoiceFormatter\\:\\:getFormattedTime\\(\\) expects DateTimeInterface, DateTime\\|null given\\.$#"
|
||||
count: 2
|
||||
path: src/Invoice/Hydrator/InvoiceItemDefaultHydrator.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Invoice\\\\Hydrator\\\\InvoiceModelActivityHydrator\\:\\:getBudgetValues\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
@@ -5572,95 +5553,15 @@ parameters:
|
||||
count: 1
|
||||
path: src/Voter/TimesheetVoter.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset 'billable' on mixed\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset 'day' on mixed\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset 'details' on mixed\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset 'duration' on mixed\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset 'month' on mixed\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset 'rate' on mixed\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset 'year' on mixed\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getCustomer\\(\\) on App\\\\Entity\\\\Project\\|null\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getId\\(\\) on App\\\\Entity\\\\Activity\\|null\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
path: src/Widget/Type/DailyWorkingTimeChart.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getId\\(\\) on App\\\\Entity\\\\Customer\\|null\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getId\\(\\) on App\\\\Entity\\\\Project\\|null\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Cannot cast mixed to float\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Cannot cast mixed to int\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$details of method App\\\\Model\\\\Statistic\\\\Day\\:\\:setDetails\\(\\) expects array, mixed given\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$seconds of method App\\\\Model\\\\Statistic\\\\Day\\:\\:setTotalDurationBillable\\(\\) expects int, mixed given\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$year of method DateTime\\:\\:setDate\\(\\) expects int, mixed given\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#2 \\$month of method DateTime\\:\\:setDate\\(\\) expects int, mixed given\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#3 \\$day of method DateTime\\:\\:setDate\\(\\) expects int, mixed given\\.$#"
|
||||
count: 1
|
||||
path: src/Widget/DataProvider/DailyWorkingTimeChartProvider.php
|
||||
path: src/Widget/Type/DailyWorkingTimeChart.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Widget\\\\Type\\\\AbstractWidget\\:\\:getUser\\(\\) should return App\\\\Entity\\\\User but returns App\\\\Entity\\\\User\\|null\\.$#"
|
||||
|
||||
Reference in New Issue
Block a user