Skip to content

Commit

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

composer(deps-dev): bump vimeo/psalm from 4.13.1 to 4.14.0
  • Loading branch information
localheinz authored Dec 8, 2021
2 parents b542e72 + 69204a4 commit 294fcd4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 39 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"phpunit/phpunit": "^8.5.21",
"psalm/plugin-phpunit": "~0.16.1",
"symfony/filesystem": "^5.4.0",
"vimeo/psalm": "^4.13.1"
"vimeo/psalm": "^4.14.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down
26 changes: 13 additions & 13 deletions composer.lock

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

30 changes: 6 additions & 24 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.4.1@9fd7a7d885b3a216cff8dec9d8c21a132f275224">
<files psalm-version="v4.14.0@14dcbc908ab2625cd7a74258ee6c740cbecc6140">
<file src="src/Command/NormalizeCommand.php">
<MissingPropertyType occurrences="4">
<code>$differ</code>
<code>$factory</code>
<code>$formatter</code>
<code>$normalizer</code>
</MissingPropertyType>
<MixedArgument occurrences="10">
<MixedArgument occurrences="11">
<code>$composer-&gt;getPackage()-&gt;getExtra()</code>
<code>$composerFile</code>
<code>$composerFile</code>
Expand All @@ -18,45 +18,27 @@
<code>$composerFile</code>
<code>$composerFile</code>
<code>$diff</code>
<code>$formatted-&gt;encoded()</code>
</MixedArgument>
<MixedAssignment occurrences="6">
<MixedAssignment occurrences="5">
<code>$composer</code>
<code>$composerFile</code>
<code>$diff</code>
<code>$formatted</code>
<code>$locker</code>
<code>$normalized</code>
</MixedAssignment>
<MixedMethodCall occurrences="12">
<MixedMethodCall occurrences="10">
<code>createComposer</code>
<code>diff</code>
<code>encoded</code>
<code>encoded</code>
<code>encoded</code>
<code>format</code>
<code>getExtra</code>
<code>getLocker</code>
<code>getPackage</code>
<code>isFresh</code>
<code>isLocked</code>
<code>isLocked</code>
<code>normalize</code>
</MixedMethodCall>
<PossiblyInvalidArgument occurrences="8">
<code>$composerFile</code>
<code>$composerFile</code>
<code>$composerFile</code>
<code>$composerFile</code>
<code>$composerFile</code>
<code>$composerFile</code>
<code>$composerFile</code>
<code>$composerFile</code>
</PossiblyInvalidArgument>
<PossiblyInvalidCast occurrences="4">
<code>$composerFile</code>
<code>$composerFile</code>
<code>$composerFile</code>
<code>$composerFile</code>
</PossiblyInvalidCast>
</file>
<file src="test/Integration/Command/NormalizeCommand/AbstractTestCase.php">
<MixedArrayAccess occurrences="1">
Expand Down
5 changes: 4 additions & 1 deletion src/Command/NormalizeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,10 @@ protected function execute(
return 1;
}

\file_put_contents($composerFile, $formatted);
\file_put_contents(
$composerFile,
$formatted->encoded()
);

$io->write(\sprintf(
'<info>Successfully normalized %s.</info>',
Expand Down

0 comments on commit 294fcd4

Please sign in to comment.