Skip to content

Commit

Permalink
Merge pull request #97 from greg0ire/cleanup-psalm-rules
Browse files Browse the repository at this point in the history
Remove rules related to BC layer
  • Loading branch information
greg0ire authored Dec 11, 2022
2 parents e6d6599 + 6f9d67d commit c00280c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- composer.*
- src/**
- phpstan*
- psalm*
- tests/**
push:
branches:
Expand All @@ -19,6 +20,7 @@ on:
- composer.*
- src/**
- phpstan*
- psalm*
- tests/**

jobs:
Expand Down
12 changes: 0 additions & 12 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,6 @@
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
<issueHandlers>
<DeprecatedMethod>
<errorLevel type="suppress">
<referencedMethod name="Doctrine\Common\Lexer\Token::offsetGet"/>
<referencedMethod name="Doctrine\Common\Lexer\Token::offsetSet"/>
</errorLevel>
</DeprecatedMethod>
<DocblockTypeContradiction>
<errorLevel type="suppress">
<!-- let us assume no one actually unsets the value of a token -->
<file name="tests/TokenTest.php" />
</errorLevel>
</DocblockTypeContradiction>
<InvalidReturnStatement>
<errorLevel type="suppress">
<!-- https://github.com/vimeo/psalm/issues/8878 -->
Expand Down

0 comments on commit c00280c

Please sign in to comment.