Skip to content

Commit

Permalink
set max level for phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-sainthillier committed Sep 28, 2024
1 parent 4fba460 commit 8c5bc24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
parameters:
level: 8
level: max
paths:
- 'src'
- 'tests'
Expand Down
1 change: 1 addition & 0 deletions src/zugferd2/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public function __construct(private readonly SerializerInterface $serializer)

public function transform(string $xml): CrossIndustryInvoice
{
// @phpstan-ignore-next-line
return $this->serializer->deserialize($xml, CrossIndustryInvoice::class, 'xml');
}

Expand Down

0 comments on commit 8c5bc24

Please sign in to comment.