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

Require PHP 8.1 #2556

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Require PHP 8.1 #2556

merged 1 commit into from
Oct 24, 2023

Conversation

malarzm
Copy link
Member

@malarzm malarzm commented Oct 23, 2023

Q A
Type task
BC Break no
Fixed issues

Summary

Continuing #2546 (comment)

[PHP] 8.0 usage in 2.5.x is rather minimal: https://packagist.org/packages/doctrine/mongodb-odm/php-stats#2.5

@malarzm malarzm added the Task label Oct 23, 2023
@malarzm malarzm added this to the 2.6.0 milestone Oct 23, 2023
@@ -57,11 +57,6 @@ public static function mappingNotFoundByDbName(string $className, string $dbFiel
return new self(sprintf("No mapping found for field by DB name '%s' in class '%s'.", $dbFieldName, $className));
}

public static function duplicateFieldMapping(string $document, string $fieldName): self
Copy link
Member Author

Choose a reason for hiding this comment

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

Technically these removals are BC breaks but come on :)

Copy link
Member

Choose a reason for hiding this comment

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

Are all those factories unused? o.O

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup. I was surprised a bit but figured they were just leftovers. Haven't investigated the reason tho

@malarzm malarzm merged commit df768ee into doctrine:2.6.x Oct 24, 2023
12 checks passed
@malarzm malarzm deleted the require-php-8-1 branch October 24, 2023 20:40
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