Skip to content

Commit

Permalink
Merge pull request #123 from Roave/dependabot/composer/vimeo/psalm-4.3.2
Browse files Browse the repository at this point in the history
Bump vimeo/psalm from 4.2.1 to 4.3.2
  • Loading branch information
Ocramius authored Jan 4, 2021
2 parents 3a7dada + b5aa6b8 commit d8e1351
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 24 deletions.
3 changes: 1 addition & 2 deletions bin/roave-infection-static-analysis-plugin
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ use Psalm\Internal\IncludeCollector;
use Psalm\Internal\Provider\FileProvider;
use Psalm\Internal\Provider\Providers;
use Psalm\Internal\RuntimeCaches;
use Psalm\Report;
use Psalm\Report\ReportOptions;
use Roave\InfectionStaticAnalysis\Bootstrapper;
use Roave\InfectionStaticAnalysis\Psalm\RunStaticAnalysisAgainstMutant;
Expand All @@ -40,7 +39,7 @@ use function getcwd;
$makeAnalyzer = static function () use ($cwd): ProjectAnalyzer {
RuntimeCaches::clearAll();

$config = Config::getConfigForPath($cwd, $cwd, Report::TYPE_CONSOLE);
$config = Config::getConfigForPath($cwd, $cwd);

$config->setIncludeCollector(new IncludeCollector());

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"php": "~7.4.7|~8.0.0",
"infection/infection": "0.20.2",
"ocramius/package-versions": "^1.9.0 || ^2.0.0",
"vimeo/psalm": "^4.2.1"
"vimeo/psalm": "^4.3.2"
},
"require-dev": {
"doctrine/coding-standard": "^8.2.0",
Expand Down
19 changes: 9 additions & 10 deletions composer.lock

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

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
use Psalm\Internal\Provider\FileProvider;
use Psalm\Internal\Provider\Providers;
use Psalm\Internal\RuntimeCaches;
use Psalm\Report;
use Psalm\Report\ReportOptions;
use Roave\InfectionStaticAnalysis\Psalm\RunStaticAnalysisAgainstMutant;

Expand Down Expand Up @@ -182,8 +181,7 @@ function hasMethod(object $input, string $method): bool {

$config = Config::getConfigForPath(
self::PSALM_WORKING_DIRECTORY,
self::PSALM_WORKING_DIRECTORY,
Report::TYPE_CONSOLE
self::PSALM_WORKING_DIRECTORY
);

$config->setIncludeCollector(new IncludeCollector());
Expand All @@ -210,8 +208,7 @@ public function testWillConsiderMutantValidIfNoErrorsAreDetectedByStaticAnalysis
{
$psalmConfig = Config::getConfigForPath(
self::PSALM_WORKING_DIRECTORY,
self::PSALM_WORKING_DIRECTORY,
Report::TYPE_CONSOLE
self::PSALM_WORKING_DIRECTORY
);

$psalmConfig->setIncludeCollector(new IncludeCollector());
Expand All @@ -223,8 +220,7 @@ public function testWillConsiderMutantInvalidIfErrorsAreDetectedByStaticAnalysis
{
$psalmConfig = Config::getConfigForPath(
self::PSALM_WORKING_DIRECTORY,
self::PSALM_WORKING_DIRECTORY,
Report::TYPE_CONSOLE
self::PSALM_WORKING_DIRECTORY
);

$psalmConfig->setIncludeCollector(new IncludeCollector());
Expand All @@ -236,8 +232,7 @@ public function testWillConsiderMutantReferencingProjectFilesAsValid(): void
{
$psalmConfig = Config::getConfigForPath(
self::PSALM_WORKING_DIRECTORY,
self::PSALM_WORKING_DIRECTORY,
Report::TYPE_CONSOLE
self::PSALM_WORKING_DIRECTORY
);

$psalmConfig->setIncludeCollector(new IncludeCollector());
Expand All @@ -249,8 +244,7 @@ public function testWillConsiderMutantReferencingReflectionApiAsValid(): void
{
$psalmConfig = Config::getConfigForPath(
self::PSALM_WORKING_DIRECTORY,
self::PSALM_WORKING_DIRECTORY,
Report::TYPE_CONSOLE
self::PSALM_WORKING_DIRECTORY
);

$psalmConfig->setIncludeCollector(new IncludeCollector());
Expand Down

0 comments on commit d8e1351

Please sign in to comment.