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
$deprecations[] = sprintf('The "%s" %s %s "%s" that is deprecated%s.', $class, $type, $verb, $use, self::$deprecated[$use]);
266
266
}
267
-
if (isset(self::$internal[$use]) && \strncmp($ns, \str_replace('_', '\\', $use), $len)) {
267
+
if (isset(self::$internal[$use]) && strncmp($ns, str_replace('_', '\\', $use), $len)) {
268
268
$deprecations[] = sprintf('The "%s" %s is considered internal%s. It may change without further notice. You should not use it from "%s".', $use, class_exists($use, false) ? 'class' : (interface_exists($use, false) ? 'interface' : 'trait'), self::$internal[$use], $class);
269
269
}
270
270
}
271
271
272
-
if (\trait_exists($class)) {
272
+
if (trait_exists($class)) {
273
273
return$deprecations;
274
274
}
275
275
@@ -296,7 +296,7 @@ public function checkAnnotations(\ReflectionClass $refl, $class)
296
296
297
297
if (isset(self::$internalMethods[$class][$method->name])) {
$deprecations[] = sprintf('The "%s::%s()" method is considered internal%s. It may change without further notice. You should not extend it from "%s".', $declaringClass, $method->name, $message, $class);
301
301
}
302
302
}
@@ -307,7 +307,7 @@ public function checkAnnotations(\ReflectionClass $refl, $class)
0 commit comments