Skip to content

Commit

Permalink
Merge pull request #94 from nucleos/renovate/vimeo-psalm-5.x
Browse files Browse the repository at this point in the history
Update dependency vimeo/psalm to v5
  • Loading branch information
core23 committed Feb 26, 2023
2 parents 8a31b06 + c29d288 commit 48cffa1
Show file tree
Hide file tree
Showing 4 changed files with 626 additions and 682 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@ public function testProcess(

$this->autoConfigureAdminClassesCompilerPass->process($this->containerBuilder);

static::assertInstanceOf(
Definition::class,
$adminDefinition = $this->containerBuilder->getDefinition($definitionId)
);
$adminDefinition = $this->containerBuilder->getDefinition($definitionId);

static::assertSame(
$tagOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ public function testProcess(string $extensionServiceId, array $expectedTags = []

$this->autoconfigureExtensionsCompilerPass->process($this->containerBuilder);

static::assertInstanceOf(
Definition::class,
$extensionDefinition = $this->containerBuilder->getDefinition($extensionServiceId)
);
$extensionDefinition = $this->containerBuilder->getDefinition($extensionServiceId);

$actualTags = $extensionDefinition->getTag('sonata.admin.extension');
foreach ($expectedTags as $i => $expectedTag) {
Expand Down
4 changes: 2 additions & 2 deletions vendor-bin/tools/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"phpstan/phpstan-symfony": "^1.0",
"phpunit/phpunit": "^9.5",
"psalm/plugin-phpunit": "^0.18",
"psalm/plugin-symfony": "^4.0",
"psalm/plugin-symfony": "^5.0",
"symfony/phpunit-bridge": "^6.0",
"vimeo/psalm": "^4.13"
"vimeo/psalm": "^5.0"
},
"config": {
"bin-dir": "../../vendor/bin",
Expand Down

0 comments on commit 48cffa1

Please sign in to comment.