-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Support doctrine/annotations 2 #10320
Conversation
4a71cbb
to
5571569
Compare
@@ -78,6 +78,9 @@ jobs: | |||
run: "composer require doctrine/dbal ^${{ matrix.dbal-version }} --no-update" | |||
if: "${{ matrix.dbal-version != 'default' }}" | |||
|
|||
- name: "Uninstall PHPBench" | |||
run: "composer remove --dev --no-update phpbench/phpbench" |
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.
I'm looking into adding support for v2 to phpbench
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.
I ran the tests locally, and apart from an unrelated failure, all is well.
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.
I think, we can live with this hack in our CI until PHPBench has merged and released your PR.
f3d1c55
to
7e6c592
Compare
f783b84
to
3320e73
Compare
@@ -182,14 +183,21 @@ public function newDefaultAnnotationDriver($paths = [], $useSimpleAnnotationRead | |||
} | |||
|
|||
if ($useSimpleAnnotationReader) { |
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.
To be deprecated later on I suppose.
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.
The whole method is deprecated already and its replacement does not have that parameter anymore.
WIP until doctrine/annotations 2 has been released.
This PR allows the installation of Annotations 2 and fixes all failing tests.