Skip to content

Commit

Permalink
fix: update PHPStan baseline
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Dec 20, 2024
1 parent 28f366f commit 580f7a5
Showing 1 changed file with 27 additions and 77 deletions.
104 changes: 27 additions & 77 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3,57 +3,42 @@ parameters:
-
message: "#^Call to an undefined static method Igniter\\\\User\\\\Facades\\\\Auth\\:\\:attempt\\(\\)\\.$#"
count: 1
path: src/Actions/LoginUser.php

-
message: "#^Call to an undefined static method Illuminate\\\\Support\\\\Facades\\\\Event\\:\\:fire\\(\\)\\.$#"
count: 2
path: src/Actions/LoginUser.php
path: src/Actions/LoginCustomer.php

-
message: "#^Call to an undefined static method Igniter\\\\User\\\\Facades\\\\Auth\\:\\:getUser\\(\\)\\.$#"
count: 1
path: src/Actions/LogoutUser.php
path: src/Actions/LogoutCustomer.php

-
message: "#^Call to an undefined static method Igniter\\\\User\\\\Facades\\\\Auth\\:\\:isImpersonator\\(\\)\\.$#"
count: 1
path: src/Actions/LogoutUser.php
path: src/Actions/LogoutCustomer.php

-
message: "#^Call to an undefined static method Igniter\\\\User\\\\Facades\\\\Auth\\:\\:logout\\(\\)\\.$#"
count: 1
path: src/Actions/LogoutUser.php
path: src/Actions/LogoutCustomer.php

-
message: "#^Call to an undefined static method Igniter\\\\User\\\\Facades\\\\Auth\\:\\:stopImpersonate\\(\\)\\.$#"
count: 1
path: src/Actions/LogoutUser.php

-
message: "#^Call to an undefined static method Illuminate\\\\Support\\\\Facades\\\\Event\\:\\:fire\\(\\)\\.$#"
count: 1
path: src/Actions/LogoutUser.php
path: src/Actions/LogoutCustomer.php

-
message: "#^Call to an undefined static method Igniter\\\\User\\\\Facades\\\\Auth\\:\\:getProvider\\(\\)\\.$#"
count: 1
path: src/Actions/RegisterUser.php
path: src/Actions/RegisterCustomer.php

-
message: "#^Call to an undefined static method Igniter\\\\User\\\\Facades\\\\Auth\\:\\:login\\(\\)\\.$#"
count: 2
path: src/Actions/RegisterUser.php
path: src/Actions/RegisterCustomer.php

-
message: "#^Call to an undefined static method Igniter\\\\User\\\\Models\\\\Customer\\:\\:whereActivationCode\\(\\)\\.$#"
count: 1
path: src/Actions/RegisterUser.php

-
message: "#^Call to an undefined static method Illuminate\\\\Support\\\\Facades\\\\Event\\:\\:fire\\(\\)\\.$#"
count: 2
path: src/Actions/RegisterUser.php
path: src/Actions/RegisterCustomer.php

-
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\Foundation\\\\Application\\:\\:refresh\\(\\)\\.$#"
Expand Down Expand Up @@ -240,26 +225,11 @@ parameters:
count: 1
path: src/Classes/UserState.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Console\\\\Commands\\\\ClearUserStateCommand\\:\\:\\$defaultStateConfig\\.$#"
count: 1
path: src/Console/Commands/ClearUserStateCommand.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\UserPreference\\:\\:\\$id\\.$#"
count: 1
path: src/Console/Commands/ClearUserStateCommand.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\UserPreference\\:\\:\\$value\\.$#"
count: 1
path: src/Console/Commands/ClearUserStateCommand.php

-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Console/Commands/ClearUserStateCommand.php

-
message: "#^Access to an undefined property Faker\\\\Generator\\:\\:\\$secondaryAddress\\.$#"
count: 1
Expand All @@ -270,11 +240,6 @@ parameters:
count: 1
path: src/Database/Factories/AddressFactory.php

-
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\Foundation\\\\Application\\:\\:rebinding\\(\\)\\.$#"
count: 1
path: src/Extension.php

-
message: "#^Call to an undefined method Illuminate\\\\Support\\\\Optional\\:\\:getKey\\(\\)\\.$#"
count: 1
Expand Down Expand Up @@ -320,16 +285,6 @@ parameters:
count: 1
path: src/Http/Controllers/CustomerGroups.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Http\\\\Controllers\\\\Customers\\:\\:\\$is_activated\\.$#"
count: 1
path: src/Http/Controllers/Customers.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Http\\\\Controllers\\\\Customers\\:\\:\\$status\\.$#"
count: 1
path: src/Http/Controllers/Customers.php

-
message: "#^Call to an undefined method Igniter\\\\User\\\\Http\\\\Controllers\\\\Customers\\:\\:formFindModelObject\\(\\)\\.$#"
count: 2
Expand Down Expand Up @@ -405,16 +360,6 @@ parameters:
count: 1
path: src/Http/Controllers/UserRoles.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Http\\\\Controllers\\\\Users\\:\\:\\$is_activated\\.$#"
count: 1
path: src/Http/Controllers/Users.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Http\\\\Controllers\\\\Users\\:\\:\\$status\\.$#"
count: 1
path: src/Http/Controllers/Users.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\User\\:\\:\\$email\\.$#"
count: 1
Expand Down Expand Up @@ -575,11 +520,6 @@ parameters:
count: 1
path: src/Models/Customer.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\Customer\\:\\:\\$customer\\.$#"
count: 1
path: src/Models/Customer.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\Customer\\:\\:\\$customer_id\\.$#"
count: 1
Expand All @@ -592,7 +532,7 @@ parameters:

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\Customer\\:\\:\\$first_name\\.$#"
count: 2
count: 1
path: src/Models/Customer.php

-
Expand All @@ -607,7 +547,7 @@ parameters:

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\Customer\\:\\:\\$is_activated\\.$#"
count: 2
count: 1
path: src/Models/Customer.php

-
Expand All @@ -617,7 +557,7 @@ parameters:

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\Customer\\:\\:\\$last_name\\.$#"
count: 2
count: 1
path: src/Models/Customer.php

-
Expand Down Expand Up @@ -695,6 +635,11 @@ parameters:
count: 1
path: src/Models/CustomerGroup.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\Customer\\:\\:\\$group\\.$#"
count: 1
path: src/Models/Observers/CustomerObserver.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\Customer\\:\\:\\$is_activated\\.$#"
count: 1
Expand All @@ -710,6 +655,16 @@ parameters:
count: 1
path: src/Models/Observers/CustomerObserver.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\User\\:\\:\\$is_activated\\.$#"
count: 1
path: src/Models/Observers/UserObserver.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\User\\:\\:\\$status\\.$#"
count: 1
path: src/Models/Observers/UserObserver.php

-
message: "#^Call to an undefined method Igniter\\\\User\\\\Models\\\\User\\:\\:groups\\(\\)\\.$#"
count: 1
Expand Down Expand Up @@ -830,11 +785,6 @@ parameters:
count: 1
path: src/Models/User.php

-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Models/User.php

-
message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\User\\:\\:\\$assign_value\\.$#"
count: 1
Expand Down Expand Up @@ -941,7 +891,7 @@ parameters:
path: src/Notifications/AssigneeUpdatedNotification.php

-
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\Auth\\\\Factory\\:\\:user\\(\\)\\.$#"
message: "#^Call to an undefined static method Igniter\\\\User\\\\Facades\\\\AdminAuth\\:\\:user\\(\\)\\.$#"
count: 2
path: src/Notifications/AssigneeUpdatedNotification.php

Expand Down

0 comments on commit 580f7a5

Please sign in to comment.