Skip to content

Commit

Permalink
Add PHPstan baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcage committed Sep 23, 2022
1 parent 59cfeca commit e448efb
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
parameters:
ignoreErrors:
-
message: "#^Access to protected property App\\\\Support\\\\Accounting\\\\Webling\\\\Entities\\\\Period\\:\\:\\$id\\.$#"
count: 1
path: app/Http/Controllers/Accounting/WeblingApiController.php

-
message: "#^Access to an undefined property App\\\\Http\\\\Resources\\\\Accounting\\\\TransactionHistory\\:\\:\\$user\\.$#"
count: 1
path: app/Http/Resources/Accounting/TransactionHistory.php

-
message: "#^Access to an undefined property App\\\\Models\\\\CommunityVolunteers\\\\CommunityVolunteerResponsibility\\:\\:\\$end_date\\.$#"
count: 3
path: app/Models/CommunityVolunteers/CommunityVolunteerResponsibility.php

-
message: "#^Access to an undefined property App\\\\Models\\\\CommunityVolunteers\\\\CommunityVolunteerResponsibility\\:\\:\\$start_date\\.$#"
count: 3
path: app/Models/CommunityVolunteers/CommunityVolunteerResponsibility.php

-
message: "#^Access to an undefined property App\\\\Support\\\\Accounting\\\\Webling\\\\Entities\\\\Entrygroup\\:\\:\\$parent\\.$#"
count: 1
path: app/Support/Accounting/Webling/Entities/Entrygroup.php

-
message: "#^Undefined variable\\: \\$objectId$#"
count: 1
path: app/Support/Accounting/Webling/WeblingClient.php

0 comments on commit e448efb

Please sign in to comment.