-
-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '2.6.x' into 2.5.x-merge-up-into-2.6.x_tl7iY60u
* 2.6.x: (32 commits) Deprecate DocumentRepository::clear (#2584) Support minDistance and maxDistance options for $near and $nearSphere operators (#2583) Remove API link from README Aggregation uses CursorInterface instead of Cursor Deprecate legacy commit options (#2578) Improve handling of circular type reference errors in Phpstan Add missing phpdoc Fix return type for overridden methods Fix phpstan errors Add sort operator to $search stage Bump actions/upload-artifact from 2 to 3 (#2572) Implement ObjectManager::isUninitializedObject (#2569) Use PHPUnit 10 (#2564) Test Symfony 7 Support Symfony 7 by adding return types conditionally PHPCS is now happy with new syntax Stop suppressing UndefinedAttributeClass Drop support for old symfony components ReferenceMany: insert an empty array feat: Symfony 7 support ...
- Loading branch information
Showing
348 changed files
with
15,261 additions
and
8,372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ vendor/ | |
.phpunit.cache | ||
.phpunit.result.cache | ||
phpcs.xml | ||
psalm.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# UPGRADE FROM to 2.6 | ||
|
||
## PHP requirements | ||
|
||
* MongoDB ODM 2.6 requires PHP 8.1 or newer. If you're not running PHP 8.1 yet, | ||
it's recommended that you upgrade to PHP 8.1 before upgrading ODM. | ||
|
||
## `Match` classes were removed | ||
|
||
Minimal requirement of PHP 8.1 has rendered `Match` classes useless as one may | ||
not use them for backward compatibility purposes as `match` is a reserved keyword. | ||
|
||
Following classes were removed: | ||
- `\Doctrine\ODM\MongoDB\Aggregation\Stage\GraphLookup\Match` | ||
- `\Doctrine\ODM\MongoDB\Aggregation\Stage\Match` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
{ "name": "Fran Moreno", "email": "[email protected]" } | ||
], | ||
"require": { | ||
"php": "^7.4 || ^8.0", | ||
"php": "^8.1", | ||
"ext-mongodb": "^1.11", | ||
"doctrine/annotations": "^1.12 || ^2.0", | ||
"doctrine/cache": "^1.11 || ^2.0", | ||
|
@@ -33,19 +33,20 @@ | |
"jean85/pretty-package-versions": "^1.3.0 || ^2.0.1", | ||
"mongodb/mongodb": "^1.10.0", | ||
"psr/cache": "^1.0 || ^2.0 || ^3.0", | ||
"symfony/console": "^3.4 || ^4.1 || ^5.0 || ^6.0", | ||
"symfony/console": "^5.4 || ^6.0 || ^7.0", | ||
"symfony/deprecation-contracts": "^2.2 || ^3.0", | ||
"symfony/var-dumper": "^3.4 || ^4.1 || ^5.0 || ^6.0" | ||
"symfony/var-dumper": "^5.4 || ^6.0 || ^7.0" | ||
}, | ||
"require-dev": { | ||
"ext-bcmath": "*", | ||
"doctrine/coding-standard": "^12.0", | ||
"jmikola/geojson": "^1.0", | ||
"phpbench/phpbench": "^1.0.0@dev", | ||
"phpbench/phpbench": "^1.0.0", | ||
"phpstan/phpstan": "^1.10.11", | ||
"phpstan/phpstan-phpunit": "^1.0", | ||
"phpunit/phpunit": "^9.5.5 || ^10.0.15", | ||
"symfony/cache": "^4.4 || ^5.0 || ^6.0", | ||
"phpunit/phpunit": "^10.4", | ||
"squizlabs/php_codesniffer": "^3.5", | ||
"symfony/cache": "^5.4 || ^6.0 || ^7.0", | ||
"vimeo/psalm": "^5.9.0" | ||
}, | ||
"suggest": { | ||
|
@@ -59,7 +60,6 @@ | |
"Doctrine\\ODM\\MongoDB\\Benchmark\\": "benchmark", | ||
"Doctrine\\ODM\\MongoDB\\Tests\\": "tests/Doctrine/ODM/MongoDB/Tests", | ||
"Documents\\": "tests/Documents", | ||
"Documents74\\": "tests/Documents74", | ||
"Documents81\\": "tests/Documents81", | ||
"Stubs\\": "tests/Stubs", | ||
"TestDocuments\\" :"tests/Doctrine/ODM/MongoDB/Tests/Mapping/Driver/fixtures" | ||
|
Oops, something went wrong.