-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Improve templating #9541
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
Improve templating #9541
Conversation
@@ -14,58 +15,93 @@ | |||
use function assert; | |||
use function is_string; | |||
use function is_subclass_of; | |||
use function sprintf; | |||
|
|||
/** | |||
* @internal |
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.
This allows me to do all sorts of BC-breaks.
The drop in coverage looks too high to be realistic. Let me write some tests and try again, to see how it affects the coverage. |
e8f31ec
to
bb1a72b
Compare
Maybe that's the issue… this is a 1-week old ancestor of 2.12.x EDIT: looks like my commit was based on that commit, and I just needed to rebase lol |
bb1a72b
to
521fd5f
Compare
The codecov comments seem to relate to a bad handling of multiline expressions. When I try using <line nr="68">
<covered by="Doctrine\Tests\ORM\Mapping\AttributeReaderTest::testItThrowsWhenGettingRepeatableAnnotationWithTheWrongMethod"/>
</line>
<line nr="74">
|
521fd5f
to
7034287
Compare
/** | ||
* @requires PHP 8.0 | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hidin 8000 g this comment
The reason will be displayed to describe this comment to others. Learn more.
/** | |
* @requires PHP 8.0 | |
*/ |
LGTM Please merge, once the redundant doc block that I commented on is removed. 🙂 |
This is helpful for static analysis
7034287
to
40af1fc
Compare
While working on #9528, which was getting bigger and bigger, I noticed some improvements that I feel deserve a separate PR, given the complexity.