Skip to content

Commit

Permalink
chore(deps): bump vimeo/psalm from 3.18.2 to 4.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsey committed Feb 5, 2021
1 parent b1897cc commit 975cd1d
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 96 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -31,7 +31,7 @@
"ramsey/conventional-commits": "^1.1",
"roave/security-advisories": "dev-master",
"symfony/process": "^5.1",
"vimeo/psalm": "^3.14"
"vimeo/psalm": "^4.4"
},
"require-dev": {
"composer/composer": "^1.1 || ^2.0"
Expand Down
84 changes: 17 additions & 67 deletions composer.lock

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

25 changes: 1 addition & 24 deletions psalm-baseline.xml
@@ -1,25 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="3.14.2@3538fe1955d47f6ee926c0769d71af6db08aa488">
<file src="vendor/mockery/mockery/library/Mockery/Adapter/Phpunit/MockeryPHPUnitIntegration.php">
<InternalMethod occurrences="1">
<code>addToAssertionCount</code>
</InternalMethod>
<MissingPropertyType occurrences="1">
<code>$mockeryOpen</code>
</MissingPropertyType>
<MissingReturnType occurrences="6">
<code>mockeryAssertPostConditions</code>
<code>addMockeryExpectationsToAssertionCount</code>
<code>checkMockeryExceptions</code>
<code>closeMockery</code>
<code>startMockery</code>
<code>purgeMockeryContainer</code>
</MissingReturnType>
<MixedAssignment occurrences="1">
<code>$e</code>
</MixedAssignment>
<MixedMethodCall occurrences="1">
<code>dismissed</code>
</MixedMethodCall>
</file>
</files>
<files psalm-version="4.4.1@9fd7a7d885b3a216cff8dec9d8c21a132f275224"/>
1 change: 1 addition & 0 deletions psalm.xml
Expand Up @@ -10,6 +10,7 @@
<directory name="./src"/>
<ignoreFiles>
<directory name="./tests"/>
<directory name="./vendor"/>
</ignoreFiles>
</projectFiles>

Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/BaseCommand.php
Expand Up @@ -65,7 +65,7 @@ public function __construct(Configuration $configuration)
/** @var array{override?: bool, script?: array<string>|string} $commandConfig */
$commandConfig = $extra['ramsey/devtools']['commands'][$this->getBaseName()] ?? [];

$this->overrideDefault = (bool) ($commandConfig['override'] ?? false);
$this->overrideDefault = $commandConfig['override'] ?? false;

$additionalScripts = (array) ($commandConfig['script'] ?? []);

Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/ProcessCommand.php
Expand Up @@ -52,6 +52,6 @@ protected function doExecute(InputInterface $input, OutputInterface $output): in

$process->start();

return (int) $process->wait($this->getProcessCallback($output));
return $process->wait($this->getProcessCallback($output));
}
}
4 changes: 2 additions & 2 deletions src/Composer/DevToolsPlugin.php
Expand Up @@ -159,8 +159,8 @@ private function getCommandPrefix(): string
{
/** @psalm-var array{command-prefix?: string, ramsey/devtools?: array{command-prefix?: string}} $extra */
$extra = self::$composer->getPackage()->getExtra();
$prefix = (string) ($extra['command-prefix'] ?? '');
$prefix = $extra['command-prefix'] ?? '';

return (string) ($extra['ramsey/devtools']['command-prefix'] ?? $prefix);
return $extra['ramsey/devtools']['command-prefix'] ?? $prefix;
}
}

0 comments on commit 975cd1d

Please sign in to comment.