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: src/HttpKernel/TestKernel.php
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,10 @@ public function requireBundleSets(array $names)
122
122
*/
123
123
publicfunctionrequireBundleSet($name)
124
124
{
125
+
if ('sonata_admin' === $name) {
126
+
@trigger_error('The "sonata_admin" bundleset is deprecated since version 1.1 and will be removed in 2.0. Use the "sonata_admin_phpcr" bundleset instead.', E_USER_DEPRECATED);
127
+
}
128
+
125
129
if (!isset($this->bundleSets[$name])) {
126
130
thrownew \InvalidArgumentException(sprintf(
127
131
'Bundle set %s has not been registered, available bundle sets: %s',
0 commit comments