Skip to content

Commit

Permalink
Regenerate output of phpstan-baseline.php
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Nov 26, 2024
1 parent 194820b commit 5095d0c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions phpstan-baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@

$ignoreErrors = [];
$ignoreErrors[] = [
// identifier: return.unusedType
'message' => '#^Method Nexus\\\\Option\\\\Choice\\:\\:from\\(\\) never returns Nexus\\\\Option\\\\Some\\<T of mixed\\> so it can be removed from the return type\\.$#',
'identifier' => 'return.unusedType',
'count' => 1,
'path' => __DIR__ . '/src/Nexus/Option/Choice.php',
];
$ignoreErrors[] = [
// identifier: return.type
'message' => '#^Method Nexus\\\\Tests\\\\AutoReview\\\\ComposerJsonTest\\:\\:getComposer\\(\\) should return array\\<string, mixed\\> but returns mixed\\.$#',
'identifier' => 'return.type',
'count' => 1,
'path' => __DIR__ . '/tests/AutoReview/ComposerJsonTest.php',
];
$ignoreErrors[] = [
// identifier: function.impossibleType
'message' => '#^Call to function in_array\\(\\) with arguments string, array\\{\\} and true will always evaluate to false\\.$#',
'identifier' => 'function.impossibleType',
'count' => 1,
'path' => __DIR__ . '/tests/AutoReview/TestCodeTest.php',
];
$ignoreErrors[] = [
// identifier: method.impossibleType
'message' => '#^Call to method Nexus\\\\Option\\\\Some\\<int\\>\\:\\:isNone\\(\\) will always evaluate to false\\.$#',
'identifier' => 'method.impossibleType',
'count' => 1,
'path' => __DIR__ . '/tests/Option/OptionTest.php',
];
Expand Down

0 comments on commit 5095d0c

Please sign in to comment.