-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Bump dep #416
Bump dep #416
Conversation
composer.json
Outdated
@@ -21,9 +21,9 @@ | |||
], | |||
"homepage": "https://github.com/sonata-project/sonata-doctrine-extensions", | |||
"require": { | |||
"php": "^7.4 || ^8.0", | |||
"php": "^8.0", | |||
"doctrine/dbal": "^2.13 || ^3.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.
we could also drop dbal 2
/** | ||
* NEXT_MAJOR: Make the arguments mandatory. | ||
*/ | ||
private function __construct(?string $type = null, ?string $fieldName = null, ?string $targetEntity = null) | ||
private function __construct(private ?string $type = null, ?string $fieldName = null, ?string $targetEntity = 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.
multiline
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.
Build is failing tho
* @psalm-suppress UndefinedPropertyFetch | ||
*/ | ||
$container = method_exists($this, 'getContainer') ? static::getContainer() : static::$container; | ||
$container = static::getContainer(); |
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 guess you can avoid OTV (one time variable)
Any idea why @jordisala1991 ? |
"doctrine/persistence": "^1.3.6 || ^2.0 || ^3.0" | ||
"php": "^8.0", | ||
"doctrine/dbal": "^3.3.6", | ||
"doctrine/persistence": "^2.0 || ^3.0" | ||
}, | ||
"require-dev": { | ||
"doctrine/common": "^2.7 || ^3.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.
this should be bumped too right?
Maybe the minimum of2.0 of persistence? |
I found a way to solve them. |
"friendsofphp/php-cs-fixer": "^3.4", | ||
"jackalope/jackalope-doctrine-dbal": "^1.0", | ||
"jackalope/jackalope-doctrine-dbal": "^1.7.6", |
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.
is this dependency still needed? I think it was used along with phpcr
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.
On it #417
Subject
I am targeting this branch, because {reason}.
Closes #{put_issue_number_here}.
Changelog