Skip to content

Commit

Permalink
style: phpstan fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bernard-ng committed May 17, 2024
1 parent 3fc19d3 commit 49dd660
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:

- uses: actions/checkout@master
- name: test
run: make test
run: make lint
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ parameters:
level: 9
paths:
- src
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false

ignoreErrors:
- identifier: missingType.generics
- identifier: missingType.iterableValue
1 change: 0 additions & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace Devscast\Flexpay;

use Devscast\Flexpay\Data\Method;
use Devscast\Flexpay\Data\Transaction;
use Devscast\Flexpay\Exception\NetworkException;
use Devscast\Flexpay\Response\CheckResponse;
use Devscast\Flexpay\Response\FlexpayResponse;
Expand Down

0 comments on commit 49dd660

Please sign in to comment.