Skip to content

Commit

Permalink
Merge pull request #941 from ergebnis/dependabot/composer/vimeo/psalm…
Browse files Browse the repository at this point in the history
…-5.16.0

composer(deps-dev): Bump vimeo/psalm from 5.15.0 to 5.16.0
  • Loading branch information
localheinz authored Nov 27, 2023
2 parents e81a864 + 70678fc commit 667e1a2
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 53 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"rector/rector": "~0.18.10",
"symfony/filesystem": "^6.3.1",
"symfony/process": "^6.3.4",
"vimeo/psalm": "^5.15.0"
"vimeo/psalm": "^5.16.0"
},
"autoload": {
"psr-4": {
Expand Down
103 changes: 52 additions & 51 deletions composer.lock

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

30 changes: 29 additions & 1 deletion psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.15.0@5c774aca4746caf3d239d9c8cadb9f882ca29352">
<files psalm-version="5.16.0@2897ba636551a8cb61601cc26f6ccfbba6c36591">
<file src="src/Fixers.php">
<PropertyTypeCoercion>
<code>$value</code>
Expand Down Expand Up @@ -118,6 +118,34 @@
<code>new FixerFactory()</code>
<code>registerBuiltInFixers</code>
</InternalMethod>
<MixedArgumentTypeCoercion>
<code>static function (string $nameOfRule) use ($fixersThatAreRegistered): bool {
if (!\array_key_exists($nameOfRule, $fixersThatAreRegistered)) {
return true;
}

$fixer = $fixersThatAreRegistered[$nameOfRule];

return !$fixer instanceof Fixer\DeprecatedFixerInterface;
}</code>
<code><![CDATA[static function (string $nameOfRule) use ($fixersThatAreRegistered): bool {
if (\str_starts_with($nameOfRule, '@')) {
return true;
}
return \array_key_exists(
$nameOfRule,
$fixersThatAreRegistered,
);
}]]></code>
</MixedArgumentTypeCoercion>
</file>
<file src="test/Unit/RuleSet/ExplicitRuleSetTestCase.php">
<MixedArgumentTypeCoercion>
<code><![CDATA[static function (string $nameOfRule): bool {
return !\str_starts_with($nameOfRule, '@');
}]]></code>
</MixedArgumentTypeCoercion>
</file>
<file src="test/Unit/RuleSet/Php53Test.php">
<InternalMethod>
Expand Down

0 comments on commit 667e1a2

Please sign in to comment.