-
-
Notifications
You must be signed in to change notification settings - Fork 406
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
drop PHP 7.x support #1122
drop PHP 7.x support #1122
Conversation
public function isDoctrineSupportingAttributes(): bool | ||
{ | ||
return $this->isDoctrineInstalled() && $this->attributeMappingSupport && $this->phpCompatUtil->canUseAttributes(); | ||
return $this->isDoctrineInstalled() && $this->attributeMappingSupport; | ||
} | ||
|
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.
We will handle bringing doctrine related makers up to PHP8 standards in a separate PR to avoid too much bloat in this one.
/** @legacy Drop when Annotations are no longer supported */ | ||
private function doesEntityUseAttributeMapping(string $className): bool | ||
{ | ||
if (!$this->phpCompatUtil->canUseAttributes()) { | ||
return false; | ||
} | ||
|
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.
Handled under a separate PR dedicated to doctrine.
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.
🔥 just need to get the test to pass
appveyor.yml
Outdated
@@ -27,7 +27,7 @@ environment: | |||
TEST_DATABASE_DSN: mysql://root:Password12!@127.0.0.1:3306/test_maker | |||
matrix: | |||
- dependencies: highest | |||
php_ver_target: 7.2.5 | |||
php_ver_target: 8.0.0 |
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.
Tests failing, looks like we may need to bump this to 8.0.SOMETHING that actually works, which is fine.
PhpCompatUtil::class
- that will be handled under a separate PR.