Skip to content

Commit

Permalink
phpstan config
Browse files Browse the repository at this point in the history
  • Loading branch information
dankovalenko-paysera committed Oct 18, 2024
1 parent 8244597 commit e8e18fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WebToPay.php
Original file line number Diff line number Diff line change
Expand Up @@ -1406,13 +1406,13 @@ class WebToPay_Factory
*/
protected static array $defaultConfiguration = [
'routes' => [
'production' => [
self::ENV_PRODUCTION => [
'publicKey' => 'https://www.paysera.com/download/public.key',
'payment' => 'https://bank.paysera.com/pay/',
'paymentMethodList' => 'https://www.paysera.com/new/api/paymentMethods/',
'smsAnswer' => 'https://bank.paysera.com/psms/respond/',
],
'sandbox' => [
self::ENV_SANDBOX => [
'publicKey' => 'https://sandbox.paysera.com/download/public.key',
'payment' => 'https://sandbox.paysera.com/pay/',
'paymentMethodList' => 'https://sandbox.paysera.com/new/api/paymentMethods/',
Expand Down
6 changes: 6 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
parameters:
level: 0
ignoreErrors:
- '#Fetching deprecated class constant .*#'
paths:
- src/

0 comments on commit e8e18fd

Please sign in to comment.