buckets/phpstan-baseline.neon

620 lines
21 KiB
Text
Raw Normal View History

parameters:
ignoreErrors:
-
message: '#^Method App\\Actions\\CreateBucketAction\:\:execute\(\) should return App\\Models\\Bucket but returns Illuminate\\Database\\Eloquent\\Model\.$#'
identifier: return.type
count: 1
path: app/Actions/CreateBucketAction.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany\:\:orderedBySortOrder\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/BucketController.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:FREQUENCY_BIWEEKLY\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/StoreStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:FREQUENCY_MONTHLY\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/StoreStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:FREQUENCY_ONCE\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/StoreStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:FREQUENCY_QUARTERLY\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/StoreStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:FREQUENCY_WEEKLY\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/StoreStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:FREQUENCY_YEARLY\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/StoreStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:TYPE_EXPENSE\.$#'
identifier: classConstant.notFound
count: 2
path: app/Http/Requests/StoreStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:TYPE_INCOME\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/StoreStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:FREQUENCY_BIWEEKLY\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/UpdateStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:FREQUENCY_MONTHLY\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/UpdateStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:FREQUENCY_ONCE\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/UpdateStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:FREQUENCY_QUARTERLY\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/UpdateStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:FREQUENCY_WEEKLY\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/UpdateStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:FREQUENCY_YEARLY\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/UpdateStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:TYPE_EXPENSE\.$#'
identifier: classConstant.notFound
count: 2
path: app/Http/Requests/UpdateStreamRequest.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:TYPE_INCOME\.$#'
identifier: classConstant.notFound
count: 1
path: app/Http/Requests/UpdateStreamRequest.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:buckets\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Requests/UpdateStreamRequest.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\BucketResource\:\:\$allocation_type\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/BucketResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\BucketResource\:\:\$allocation_value\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/BucketResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\BucketResource\:\:\$type\.$#'
identifier: property.notFound
count: 2
path: app/Http/Resources/BucketResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\BucketResource\:\:\$uuid\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/BucketResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\BucketResource\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/BucketResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\BucketResource\:\:\$priority\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/BucketResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\BucketResource\:\:\$sort_order\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/BucketResource.php
-
message: '#^Call to an undefined method App\\Http\\Resources\\BucketResource\:\:getAllocationTypeLabel\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Resources/BucketResource.php
-
message: '#^Call to an undefined method App\\Http\\Resources\\BucketResource\:\:getAvailableSpace\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Resources/BucketResource.php
-
message: '#^Call to an undefined method App\\Http\\Resources\\BucketResource\:\:getCurrentBalance\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Resources/BucketResource.php
-
message: '#^Call to an undefined method App\\Http\\Resources\\BucketResource\:\:getFormattedAllocationValue\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Resources/BucketResource.php
-
message: '#^Call to an undefined method App\\Http\\Resources\\BucketResource\:\:hasAvailableSpace\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Resources/BucketResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\DrawResource\:\:\$amount_currency\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/DrawResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\DrawResource\:\:\$bucket\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/DrawResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\DrawResource\:\:\$date\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/DrawResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\DrawResource\:\:\$description\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/DrawResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\DrawResource\:\:\$formatted_amount\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/DrawResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\DrawResource\:\:\$uuid\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/DrawResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\DrawResource\:\:\$is_projected\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/DrawResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\InflowResource\:\:\$amount_currency\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/InflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\InflowResource\:\:\$date\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/InflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\InflowResource\:\:\$description\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/InflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\InflowResource\:\:\$formatted_amount\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/InflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\InflowResource\:\:\$uuid\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/InflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\InflowResource\:\:\$is_projected\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/InflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\InflowResource\:\:\$stream\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/InflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\OutflowResource\:\:\$amount_currency\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/OutflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\OutflowResource\:\:\$bucket\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/OutflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\OutflowResource\:\:\$date\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/OutflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\OutflowResource\:\:\$description\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/OutflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\OutflowResource\:\:\$formatted_amount\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/OutflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\OutflowResource\:\:\$uuid\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/OutflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\OutflowResource\:\:\$is_projected\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/OutflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\OutflowResource\:\:\$stream\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/OutflowResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\ScenarioResource\:\:\$created_at\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/ScenarioResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\ScenarioResource\:\:\$description\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/ScenarioResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\ScenarioResource\:\:\$uuid\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/ScenarioResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\ScenarioResource\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/ScenarioResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\ScenarioResource\:\:\$updated_at\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/ScenarioResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StreamResource\:\:\$amount\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StreamResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StreamResource\:\:\$bucket\.$#'
identifier: property.notFound
count: 2
path: app/Http/Resources/StreamResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StreamResource\:\:\$description\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StreamResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StreamResource\:\:\$end_date\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StreamResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StreamResource\:\:\$frequency\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StreamResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StreamResource\:\:\$uuid\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StreamResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StreamResource\:\:\$is_active\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StreamResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StreamResource\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StreamResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StreamResource\:\:\$start_date\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StreamResource.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StreamResource\:\:\$type\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StreamResource.php
-
message: '#^Call to an undefined method App\\Http\\Resources\\StreamResource\:\:getFrequencyLabel\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Resources/StreamResource.php
-
message: '#^Call to an undefined method App\\Http\\Resources\\StreamResource\:\:getMonthlyEquivalent\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Resources/StreamResource.php
-
message: '#^Call to an undefined method App\\Http\\Resources\\StreamResource\:\:getTypeLabel\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Resources/StreamResource.php
-
message: '#^Method App\\Models\\Bucket\:\:getCurrentBalance\(\) should return int but returns float\.$#'
identifier: return.type
count: 1
path: app/Models/Bucket.php
-
message: '#^Property App\\Models\\Draw\:\:\$casts \(array\<string, string\>\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Draw.php
-
message: '#^Property App\\Models\\Draw\:\:\$fillable \(list\<string\>\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Draw.php
-
message: '#^Property App\\Models\\Inflow\:\:\$casts \(array\<string, string\>\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Inflow.php
-
message: '#^Property App\\Models\\Inflow\:\:\$fillable \(list\<string\>\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Inflow.php
-
message: '#^Property App\\Models\\Outflow\:\:\$casts \(array\<string, string\>\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Outflow.php
-
message: '#^Property App\\Models\\Outflow\:\:\$fillable \(list\<string\>\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Outflow.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 2
path: app/Models/Stream.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Models/Stream.php
-
message: '#^Using nullsafe method call on non\-nullable type App\\Enums\\StreamFrequencyEnum\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Stream.php
-
message: '#^Using nullsafe method call on non\-nullable type App\\Enums\\StreamTypeEnum\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Stream.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:TYPE_EXPENSE\.$#'
identifier: classConstant.notFound
count: 1
path: app/Repositories/StreamRepository.php
-
message: '#^Access to undefined constant App\\Models\\Stream\:\:TYPE_INCOME\.$#'
identifier: classConstant.notFound
count: 1
path: app/Repositories/StreamRepository.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany\:\:byType\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Repositories/StreamRepository.php
-
message: '#^Method App\\Repositories\\StreamRepository\:\:create\(\) should return App\\Models\\Stream but returns Illuminate\\Database\\Eloquent\\Model\.$#'
identifier: return.type
count: 1
path: app/Repositories/StreamRepository.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Services/Projection/PipelineAllocationService.php
-
message: '#^Match arm comparison between App\\Enums\\BucketAllocationTypeEnum\:\:UNLIMITED and App\\Enums\\BucketAllocationTypeEnum\:\:UNLIMITED is always true\.$#'
identifier: match.alwaysTrue
count: 1
path: app/Services/Projection/PipelineAllocationService.php
-
message: '#^Parameter \#1 \$bucket of method App\\Services\\Projection\\PipelineAllocationService\:\:calculateBucketAllocation\(\) expects App\\Models\\Bucket, Illuminate\\Database\\Eloquent\\Model given\.$#'
identifier: argument.type
count: 1
path: app/Services/Projection/PipelineAllocationService.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$amount\.$#'
identifier: property.notFound
count: 2
path: app/Services/Projection/ProjectionGeneratorService.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$bucket_id\.$#'
identifier: property.notFound
count: 1
path: app/Services/Projection/ProjectionGeneratorService.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Services/Projection/ProjectionGeneratorService.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 3
path: app/Services/Projection/ProjectionGeneratorService.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$type\.$#'
identifier: property.notFound
count: 1
path: app/Services/Projection/ProjectionGeneratorService.php
-
message: '#^Parameter \#1 \$stream of method App\\Services\\Projection\\ProjectionGeneratorService\:\:streamFiresOnDate\(\) expects App\\Models\\Stream, Illuminate\\Database\\Eloquent\\Model given\.$#'
identifier: argument.type
count: 1
path: app/Services/Projection/ProjectionGeneratorService.php
-
message: '#^Parameter \#2 \$amount of method App\\Services\\Projection\\PipelineAllocationService\:\:allocateInflow\(\) expects int, float given\.$#'
identifier: argument.type
count: 1
path: app/Services/Projection/ProjectionGeneratorService.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:getMonthlyEquivalent\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Services/Streams/StatsService.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$type\.$#'
identifier: property.notFound
count: 3
path: tests/Unit/Actions/CreateBucketActionTest.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$allocation_type\.$#'
identifier: property.notFound
count: 3
path: tests/Unit/Actions/CreateBucketActionTest.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$allocation_value\.$#'
identifier: property.notFound
count: 3
path: tests/Unit/Actions/CreateBucketActionTest.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 5
path: tests/Unit/Actions/CreateBucketActionTest.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$priority\.$#'
identifier: property.notFound
count: 3
path: tests/Unit/Actions/CreateBucketActionTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertNull\(\) with float will always evaluate to false\.$#'
identifier: method.impossibleType
count: 2
path: tests/Unit/Actions/CreateBucketActionTest.php