You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make PHPUnit more strict and verbose, and fix issues (#2873)
* Trigger deprecation on not using native lazy objects only when accessing the value
* Fix access to deprecated reflProperties in ClassMetadataTest
And fix assertNotEmpty for array
* Restore the default map of types to cancel side-effects
* Remove usage of deprecated Aggregation\Builder::execute() and test it aside
* Deprecation messages are expected for the CHANGETRACKING_NOTIFY feature
* Replace deprecated type 'boolean' with 'bool'
* Ignore deprecation on PrimingIteratorTest that uses NOTIFY tracking policy
* Replace partial clear by explicit detach, and add a test on UoW::clear($class)
* Don't use clear by class name when not necessary
* Avoid call to getAllMetadata() since ProfileNotify uses deprecated NOTIFY tracking policy
* Ignore deprecation on NOTIFY change tracker
* Replace deprected @indexes annotation, already covered by DeprecatedIndexesPropertyAnnotation
* Make PHPUnit more strict and verbose
* Do not fail on deprecation
Currently jmikola/geojson: 1.0.0 triggers PHP deprecation on Return type of GeoJson\GeoJson::jsonSerialize()
Copy file name to clipboardExpand all lines: src/Configuration.php
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -703,10 +703,6 @@ public function setUseLazyGhostObject(bool $flag): void
703
703
trigger_deprecation('doctrine/mongodb-odm', '2.10', 'Using "friendsofphp/proxy-manager-lts" is deprecated. Use "symfony/var-exporter" LazyGhostObjects instead.');
704
704
}
705
705
706
-
if ($flag === true && PHP_VERSION_ID >= 80400) {
707
-
trigger_deprecation('doctrine/mongodb-odm', '2.14', 'Using "symfony/var-exporter" lazy ghost objects is deprecated and will be impossible in Doctrine MongoDB ODM 3.0.');
0 commit comments