-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[2.7] Fix issues found by PHPStan #25558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -1103,8 +1102,7 @@ public function testLoaderCaching() | |||
$repo = $this->em->getRepository(self::SINGLE_IDENT_CLASS); | |||
|
|||
$entityType = new EntityType( | |||
$this->emRegistry, | |||
PropertyAccess::createPropertyAccessor() | |||
$this->emRegistry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
single line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, fixed
94b797b
to
afa1f14
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fixes. Wrong namespaces and wrong spelling of PHP functions is always hard to detect. Thanks!
Thank you @dkarlovi. |
This PR was merged into the 2.7 branch. Discussion ---------- [2.7] Fix issues found by PHPStan | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - This is the subpart of #25536 that applies on 2.7. ping @dkarlovi FYI. Commits ------- afa1f14 [2.7] Fix issues found by PHPStan
Now merged up to master. |
Nice. 👍 |
This is the subpart of #25536 that applies on 2.7.
ping @dkarlovi FYI.