Skip to content

Commit

Permalink
Merge branch '7.1' into 7.2
Browse files Browse the repository at this point in the history
* 7.1:
  bump lowest required TypeInfo component version
  [PropertyInfo] Fix generic enum test
  • Loading branch information
xabbuh committed Dec 12, 2024
2 parents 8c05131 + 15937b8 commit eb5ab67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/Extractor/PhpStanExtractorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ public static function allowPrivateAccessProvider(): array
public function testGenericInterface()
{
$this->assertEquals(
Type::generic(Type::object(\BackedEnum::class), Type::string()),
Type::generic(Type::enum(\BackedEnum::class), Type::string()),
$this->extractor->getType(Dummy::class, 'genericInterface'),
);
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"require": {
"php": ">=8.2",
"symfony/string": "^6.4|^7.0",
"symfony/type-info": "^7.1"
"symfony/type-info": "~7.1.9|^7.2.2"
},
"require-dev": {
"symfony/serializer": "^6.4|^7.0",
Expand Down

0 comments on commit eb5ab67

Please sign in to comment.