Skip to content

Commit

Permalink
Merge pull request #646 from Ocramius/renovate/all-minor-patch
Browse files Browse the repository at this point in the history
Update dependency vimeo/psalm to ^5.4.0
  • Loading branch information
Ocramius committed Dec 20, 2022
2 parents c879ca3 + b81dd37 commit 2928def
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -30,7 +30,7 @@
"phpunit/phpunit": "^9.5.27",
"psalm/plugin-phpunit": "^0.18.4",
"roave/infection-static-analysis-plugin": "^1.26.0",
"vimeo/psalm": "^5.3.0"
"vimeo/psalm": "^5.4.0"
},
"autoload": {
"psr-4": {
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

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

Expand Up @@ -35,7 +35,7 @@ class HydratorGeneratorTest extends TestCase
public function testGeneratesValidCode(string $className): void
{
$generator = new DefaultHydratorGenerator();
/** @psalm-var class-string $generatedClassName */
/** @psalm-var class-string<HydratorInterface> $generatedClassName */
$generatedClassName = UniqueIdentifierGenerator::getIdentifier('HydratorGeneratorTest');
$originalClass = new ReflectionClass($className);
$generatorStrategy = new EvaluatingGeneratorStrategy();
Expand Down Expand Up @@ -67,7 +67,7 @@ public function getTestedImplementations(): array
];
}

/** @psalm-return non-empty-list<class-string> */
/** @psalm-return non-empty-list<interface-string> */
protected function getExpectedImplementedInterfaces(): array
{
return [
Expand Down
Expand Up @@ -167,7 +167,6 @@ private function recursiveFindInitialData(

$propertyName = $property->getName();

$property->setAccessible(true);
$initialData[$propertyName] = $property->getValue($instance);
$newData[$propertyName] = $property->getName() . '__new__value';
}
Expand Down Expand Up @@ -199,7 +198,6 @@ private function recursiveFindInspectionData(

$propertyName = $property->getName();

$property->setAccessible(true);
$inspectionData[$propertyName] = $property->getValue($instance);
}
}
Expand Down

0 comments on commit 2928def

Please sign in to comment.