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
Copy file name to clipboardExpand all lines: lib/Doctrine/ODM/MongoDB/Aggregation/Expr.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ public function field($fieldName)
73
73
protectedfunctionensureArray($expression)
74
74
{
75
75
if (self::class !== static::class) {
76
-
@trigger_error(sprintf('The "%s" method will be private in MongoDB ODM 2.0. You should not rely on calling this method.', __METHOD__), E_USER_DEPRECATED);
76
+
@trigger_error(sprintf('The "%s" method will be private in doctrine/mongodb-odm 2.0. You should not rely on calling this method.', __METHOD__), E_USER_DEPRECATED);
Copy file name to clipboardExpand all lines: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Bucket.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ public function __construct(Builder $builder, DocumentManager $documentManager,
48
48
protectedfunctionconvertExpression($expression)
49
49
{
50
50
if (self::class !== static::class) {
51
-
@trigger_error(sprintf('The "%s" method will be private in MongoDB ODM 2.0. You should not rely on calling this method.', __METHOD__), E_USER_DEPRECATED);
51
+
@trigger_error(sprintf('The "%s" method will be private in doctrine/mongodb-odm 2.0. You should not rely on calling this method.', __METHOD__), E_USER_DEPRECATED);
Copy file name to clipboardExpand all lines: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/BucketAuto.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ public function __construct(Builder $builder, DocumentManager $documentManager,
48
48
protectedfunctionconvertExpression($expression)
49
49
{
50
50
if (self::class !== static::class) {
51
-
@trigger_error(sprintf('The "%s" method will be private in MongoDB ODM 2.0. You should not rely on calling this method.', __METHOD__), E_USER_DEPRECATED);
51
+
@trigger_error(sprintf('The "%s" method will be private in doctrine/mongodb-odm 2.0. You should not rely on calling this method.', __METHOD__), E_USER_DEPRECATED);
Copy file name to clipboardExpand all lines: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/GraphLookup.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -156,7 +156,7 @@ private function fromReference($fieldName)
156
156
protectedfunctionconvertExpression($expression)
157
157
{
158
158
if (self::class !== static::class) {
159
-
@trigger_error(sprintf('The "%s" method will be private in MongoDB ODM 2.0. You should not rely on calling this method.', __METHOD__), E_USER_DEPRECATED);
159
+
@trigger_error(sprintf('The "%s" method will be private in doctrine/mongodb-odm 2.0. You should not rely on calling this method.', __METHOD__), E_USER_DEPRECATED);
160
160
}
161
161
162
162
if (is_array($expression)) {
@@ -171,7 +171,7 @@ protected function convertExpression($expression)
@trigger_error(sprintf('The "%s" method will be private in MongoDB ODM 2.0. You should not rely on calling this method.', __METHOD__), E_USER_DEPRECATED);
174
+
@trigger_error(sprintf('The "%s" method will be private in doctrine/mongodb-odm 2.0. You should not rely on calling this method.', __METHOD__), E_USER_DEPRECATED);
Copy file name to clipboardExpand all lines: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Match.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ public function includesReferenceTo($document)
60
60
*/
61
61
publicfunctiondebug($name = null)
62
62
{
63
-
@trigger_error(sprintf('The "%s" method is deprecated and will be removed in MongoDB ODM 2.0.', __METHOD__), E_USER_DEPRECATED);
63
+
@trigger_error(sprintf('The "%s" method is deprecated and will be removed in doctrine/mongodb-odm 2.0.', __METHOD__), E_USER_DEPRECATED);
64
64
65
65
returnparent::debug($name);
66
66
}
@@ -71,7 +71,7 @@ public function debug($name = null)
71
71
publicfunctiongeoWithinPolygon()
72
72
{
73
73
if (func_num_args() < 3) {
74
-
@trigger_error(sprintf('Calling "%s" with fewer than 3 arguments was deprecated in MongoDB ODM 1.3 and will require at least 3 arguments in 2.0.', __METHOD__), E_USER_DEPRECATED);
74
+
@trigger_error(sprintf('Calling "%s" with fewer than 3 arguments was deprecated in doctrine/mongodb-odm 1.3 and will require at least 3 arguments in 2.0.', __METHOD__), E_USER_DEPRECATED);
Copy file name to clipboardExpand all lines: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/ReplaceRoot.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ public function __construct(Builder $builder, DocumentManager $documentManager,
48
48
protectedfunctionconvertExpression($expression)
49
49
{
50
50
if (self::class !== static::class) {
51
-
@trigger_error(sprintf('The "%s" method will be private in MongoDB ODM 2.0. You should not rely on calling this method.', __METHOD__), E_USER_DEPRECATED);
51
+
@trigger_error(sprintf('The "%s" method will be private in doctrine/mongodb-odm 2.0. You should not rely on calling this method.', __METHOD__), E_USER_DEPRECATED);
Copy file name to clipboardExpand all lines: lib/Doctrine/ODM/MongoDB/Configuration.php
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -247,14 +247,14 @@ public function setAutoGenerateProxyClasses($autoGenerateProxyClasses)
247
247
{
248
248
if (is_bool($autoGenerateProxyClasses)) {
249
249
@trigger_error(
250
-
sprintf('Passing boolean value to %s is deprecated, please use constants of %s instead.', __METHOD__, AbstractProxyFactory::class),
250
+
sprintf('Passing boolean value to "%s" is deprecated, please use constants of "%s" instead.', __METHOD__, AbstractProxyFactory::class),
251
251
E_USER_DEPRECATED
252
252
);
253
253
}
254
254
255
255
if ($autoGenerateProxyClasses === AbstractProxyFactory::AUTOGENERATE_ALWAYS || $autoGenerateProxyClasses === AbstractProxyFactory::AUTOGENERATE_NEVER) {
256
256
@trigger_error(
257
-
sprintf('The "AUTOGENERATE_ALWAYS" and "AUTOGENERATE_NEVER" strategies for proxy generation are deprecated and will be dropped in 2.0. Please use "AUTOGENERATE_FILE_NOT_EXISTS" and "AUTOGENERATE_EVAL".'),
257
+
sprintf('The "AUTOGENERATE_ALWAYS" and "AUTOGENERATE_NEVER" strategies for proxy generation are deprecated and will be dropped in doctrine/mongodb-odm 2.0. Please use "AUTOGENERATE_FILE_NOT_EXISTS" and "AUTOGENERATE_EVAL".'),
258
258
E_USER_DEPRECATED
259
259
);
260
260
}
@@ -326,7 +326,7 @@ public function setAutoGenerateHydratorClasses($bool)
326
326
{
327
327
if (is_bool($bool)) {
328
328
@trigger_error(
329
-
sprintf('Passing boolean value to %s is deprecated, please use AUTOGENERATE_* constants of %s instead.', __METHOD__, self::class),
329
+
sprintf('Passing boolean value to "%s" is deprecated, please use "AUTOGENERATE_*" constants of "%s" instead.', __METHOD__, self::class),
330
330
E_USER_DEPRECATED
331
331
);
332
332
}
@@ -545,7 +545,7 @@ public function getFilterParameters($name)
sprintf('"%s" was deprecated in MongoDB ODM 1.2 and will be removed in 2.0. Please use "%s::setDefaultDocumentRepositoryClassName" instead.', __METHOD__, __CLASS__),
548
+
sprintf('"%s" was deprecated in doctrine/mongodb-odm 1.2 and will be removed in 2.0. Please use "%s::setDefaultDocumentRepositoryClassName" instead.', __METHOD__, __CLASS__),
@@ -561,7 +561,7 @@ public function setDefaultRepositoryClassName($className)
561
561
publicfunctiongetDefaultRepositoryClassName()
562
562
{
563
563
@trigger_error(
564
-
sprintf('"%s" was deprecated in MongoDB ODM 1.2 and will be removed in 2.0. Please use "%s::getDefaultDocumentRepositoryClassName" instead.', __METHOD__, __CLASS__),
564
+
sprintf('"%s" was deprecated in doctrine/mongodb-odm 1.2 and will be removed in 2.0. Please use "%s::getDefaultDocumentRepositoryClassName" instead.', __METHOD__, __CLASS__),
Copy file name to clipboardExpand all lines: lib/Doctrine/ODM/MongoDB/Cursor.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -559,7 +559,7 @@ public function slaveOkay($ok = true)
559
559
$ok = (boolean) $ok;
560
560
if ($ok) {
561
561
@trigger_error(
562
-
sprintf('%s was deprecated in version 1.2 - use setReadPreference on the query instead.', __METHOD__),
562
+
sprintf('The "%s" method was deprecated in doctrine/mongodb-odm 1.2 and will be removed in 2.0. Use setReadPreference on the query instead.', __METHOD__),
@trigger_error('The ' . __METHOD__ . 'method has been deprecated and will be removed in ODM 2.0. Use createReference() instead.', E_USER_DEPRECATED);
802
+
@trigger_error(sprintf('The "%s" method has been deprecated and will be removed in doctrine/mongodb-odm 2.0. Use createReference() instead.', __METHOD__), E_USER_DEPRECATED);
@trigger_error(sprintf('The class "%s" extends "%s" which will be final in MongoDB ODM 2.0.', static::class, self::class), E_USER_DEPRECATED);
36
+
@trigger_error(sprintf('The class "%s" extends "%s" which will be final in doctrine/mongodb-odm 2.0.', static::class, self::class), E_USER_DEPRECATED);
0 commit comments