-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
[make:*] improve support for ORM 3.x / DBAL 4.x #1439
Conversation
2faf253
to
90a3123
Compare
<!-- Overrides process timeout when step debugging --> | ||
<!-- <env name="MAKER_PROCESS_TIMEOUT" value="null" /> --> |
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.
Allows for debugging Process::fromShellCommandLine()
which sets the process $timeout
to 60 seconds
* | ||
* @internal | ||
*/ | ||
final class ClassProperty |
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'll be able to do additional refactorings in CSM/Maker that will further utilize value object.. e.g. addProperty()
@@ -11,6 +11,7 @@ on: | |||
env: | |||
PHPUNIT_FLAGS: "-v" | |||
SYMFONY_PHPUNIT_DIR: "$HOME/symfony-bridge/.phpunit" | |||
MAKER_SKIP_MERCURE_TEST: 1 |
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.
ux-turbo
uses Doctrine\Commom\Util\ClassUtils::class
which no longer exists. As such, 2 MakeEntity
tests fail that use Mercure. Keep this here && create an maker bundle issue to fix? Or live with (for now) the red x's on all of our tests?
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.
Keep this for now. Then we'll fix it in ux-turbo at some point.
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 looks like very detailed work & solid 🦾. If any details were missed, the tests should have caught them.
@@ -11,6 +11,7 @@ on: | |||
env: | |||
PHPUNIT_FLAGS: "-v" | |||
SYMFONY_PHPUNIT_DIR: "$HOME/symfony-bridge/.phpunit" | |||
MAKER_SKIP_MERCURE_TEST: 1 |
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.
Keep this for now. Then we'll fix it in ux-turbo at some point.
doctrine/orm
version to^2.15|^3
doctrine/doctrine-bundle
to^2.10
FieldMapping
,ManyToOneMapping
, etc...)MAKER_PROCESS_TIMEOUT
env that can be set tonull
or a float. This overrides the defaultProcess::timeout
value of60
for shell commands in test. (Allows step debugging w/ XDebug)ux/turbo
usesDoctrine\Common\Util\ClassUtils
which no longer exists. (Fails all of our tests) See comment in review.ORM\..\DisconnectedClassMetadataFactory
is removed inorm 3.0
-> set theStaticReflectionService::class
manually when getting metadata for disconnected entities. (e.g. xml mapping) - Reference ClassMetadataInfo less and less doctrine/orm#9704