Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Aug 29, 2025

GromNaN and others added 22 commits April 29, 2025 15:05
* Upgrade to PHPStan 1.12

* Ensure we don't have phpstan deprecation

* [doc] Set TKey type on Collection

https://github.com/doctrine/collections/blob/2eb07e5953eed811ce1b309a7478a3b236f2273d/src/Collection.php#L29

* Upgrade to phpstan 2

* Run PHPStan on PHP 8.4

* PersistentCollections is not always present

Path "tests/PersistentCollections" is neither a directory, nor a file path, nor a fnmatch pattern.

If the excluded path can sometimes exist, append (?)
to its config entry to mark it as optional. Example:

parameters:
	excludePaths:
		analyseAndScan:
			- tests/PersistentCollections (?)

* Keep type assertions even when type is declared

* Use @param-out for by-reference parameter

phpstan/phpstan#10823

* Set properties to null instead of unset, as property hooks could be used in child classes

* Fix generic types

* Fix property.unusedType on private collection property

* Fix type of $visited parameter set by-reference, changed since we use spl_object_id

* ReflectionProperty::isInitialized() is always available since PHP 8.4

* Ignore missingType.generics on UnitOfWork::$persisters

It should be a class-string-map, but not supported by phpstan

phpstan/phpstan#9521

* Don't check Metadata generic type

* Ignore arguments.count error on method calls with variable name

* Update baseline

* Fix type of Profile::$profileId

* Remove incorrect @throw annotation

* Make Expr constructor final, as it is instanciated with new static
…2773)

CommandSucceededEvent|CommandFailedEvent::getServer() has been deprecated in ext-mongodb 1.20 and removed in 2.0.0.
For backward compatibility: we keep this method in MongoDB ODM, but throw an exception the extension is not compatible. I'm not adding a trigger_deprecation as this is already triggered by the extension method call.

The new methods getPort() and getHost() are added as proxy to extension methods that are always available in the required ext-mongodb 1.21+.

This is not covered by tests, I can add tests on CommandLogger before merging.
* CursorInterface always extends Traversable, no need to assert on SPL Iterator
* Remove duplicate assert
Bumps [doctrine/.github](https://github.com/doctrine/.github) from 7.2.2 to 7.3.0.
- [Release notes](https://github.com/doctrine/.github/releases)
- [Commits](doctrine/.github@7.2.2...7.3.0)

---
updated-dependencies:
- dependency-name: doctrine/.github
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
If search indexes are not enabled on the server, we should simply skip
any search index operation. This commit adds an error code to the search
index error check already in place.
PHPORM-356: Skip search indexes not enabled exception
Highlights event names by formatting them as code in the doc
* Run tests with MongoDB 8.0 replica set

* Wait for replication to catch up if the read preference is not PRIMARY

* Disable transactions for TimeSeriesTest

Cannot insert into a time-series collection in a multi-document transaction: doctrine_odm_tests.TimeSeriesDocument
* Update maintained versions file

* Remove aliases
Merge release 2.11.3 into 2.12.x
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---------

Co-authored-by: Yevhen Sidelnyk <zsidelnik@gmail.com>
Add Automatic Queryable Encryption to the MongoDB Documents.
This feature requires a MongoDB Enterprise license or a MongoDB Atlas cluster.

https://jira.mongodb.org/browse/PHPORM-13

---------

Co-authored-by: Andreas Braun <git@alcaeus.org>
Co-authored-by: Jeremy Mikola <jmikola@gmail.com>
…chAfter` markers (#2808)

* feat: allow to paginate search aggregation with searchBefore and searchAfter markers

* chore: reduce testing scenarios

* chore: add new skip rules to phpstan-baseline.neon

---------

Co-authored-by: bitgandtter <yasmanycm@gmail.com>
@GromNaN GromNaN force-pushed the 2.12.x-merge-up-into-3.0.x_wpTxYBPD branch from 933eaee to c88837c Compare August 29, 2025 13:49
@GromNaN GromNaN enabled auto-merge August 29, 2025 13:53
@GromNaN GromNaN merged commit 1baa268 into 3.0.x Aug 29, 2025
44 checks passed
@GromNaN GromNaN deleted the 2.12.x-merge-up-into-3.0.x_wpTxYBPD branch August 29, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants