Skip to content
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

Merged
merged 7 commits into from
May 22, 2022
Merged

Bump dep #416

merged 7 commits into from
May 22, 2022

Conversation

VincentLanglet
Copy link
Member

@VincentLanglet VincentLanglet commented May 22, 2022

Subject

I am targeting this branch, because {reason}.

Closes #{put_issue_number_here}.

Changelog

### Removed
- Support for doctrine/persistence 1
- Support for php 7.4

@VincentLanglet VincentLanglet requested review from jordisala1991 and a team May 22, 2022 13:10
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",
Copy link
Member

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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

multiline

jordisala1991
jordisala1991 previously approved these changes May 22, 2022
Copy link
Member

@jordisala1991 jordisala1991 left a 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();
Copy link
Member

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)

@VincentLanglet
Copy link
Member Author

Build is failing tho

Any idea why @jordisala1991 ?
I tried bumping multiples dependencies without success

"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",
Copy link
Member

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?

@jordisala1991
Copy link
Member

Build is failing tho

Any idea why @jordisala1991 ? I tried bumping multiples dependencies without success

Maybe the minimum of2.0 of persistence?

@VincentLanglet
Copy link
Member Author

Build is failing tho

Any idea why @jordisala1991 ? I tried bumping multiples dependencies without success

Maybe the minimum of2.0 of persistence?

I found a way to solve them.

@VincentLanglet VincentLanglet merged commit df15067 into sonata-project:2.x May 22, 2022
"friendsofphp/php-cs-fixer": "^3.4",
"jackalope/jackalope-doctrine-dbal": "^1.0",
"jackalope/jackalope-doctrine-dbal": "^1.7.6",
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On it #417

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants