Skip to content

Commit

Permalink
ignore false positives from phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-rubel committed Feb 12, 2022
1 parent 02ed551 commit a95c6c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ parameters:
- src

ignoreErrors:
- '#Property MichaelRubel\\Couponables\\Services\\CouponService\:\:\$model \(MichaelRubel\\EnhancedContainer\\Core\\CallProxy\) does not accept mixed\.#'
- '#Property MichaelRubel\\Couponables\\Services\\CouponService(.*)MichaelRubel\\EnhancedContainer\\Core\\CallProxy\) does not accept mixed\.#'
- '#Parameter \#2 \$concrete of method Illuminate\\Contracts\\Container\\Container(.*) expects Closure\|string\|null, mixed given\.#'
- '#Property Illuminate\\Database\\Eloquent\\Model\:\:\$table \(string\) does not accept mixed\.#'
- '#Property MichaelRubel\\Couponables\\Events\\CouponRedeemed(.*) is never read, only written\.#'
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:coupons\(\)#'
- '#Call to an undefined method MichaelRubel\\EnhancedContainer\\Core\\CallProxy(.*)#'
- '#Access to an undefined property Illuminate\\Database\\Eloquent\\Model(.*)#'
- '#Cannot call method (.*) on mixed\.#'

level: max
Expand Down

0 comments on commit a95c6c1

Please sign in to comment.