-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some ignoring to phpstan for failing to sniff magic methods
- Loading branch information
Joe Hickson
committed
Nov 22, 2017
1 parent
2815b09
commit f611589
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
parameters: | ||
autoload_files: | ||
- vendor/autoload.php | ||
ignoreErrors: | ||
- '#Cannot access property GoCardlessPro\\Resources\\Payment::\$(id|amount|amount_refunded|currency|description|reference|status) from current scope#' # magic methods not sniffed by phpstan correctly | ||
- '#Cannot access property GoCardlessPro\\Resources\\Subscription::\$(id|amount|currency|status|name|interval|interval_unit|day_of_month|month|payment_reference|upcoming_payments) from current scope#' # magic methods not sniffed by phpstan correctly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters