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
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
| 5032 |`loadLayout` method is deprecated | Please use `\Magento\Framework\View\Layout\Builder::build` instead. |
128
+
| 5033 |`renderLayout` method is deprecated | Please use `\Magento\Framework\Controller\ResultInterface::renderResult` instead. |
129
+
| 5034 |`_redirect` method is deprecated | Please use `\Magento\Backend\Model\View\Result\Redirect::render` instead. |
130
+
| 5035 |`_forward` method is deprecated | Please use `\Magento\Backend\Model\View\Result\Forward::forward` instead. |
131
+
| 5036 |`_setActiveMenu` method is deprecated | Please use `\Magento\Backend\Model\View\Result\Page::setActiveMenu` instead. |
132
+
| 5037 |`_addBreadcrumb` method is deprecated | Please use `\Magento\Backend\Model\View\Result\Page::addBreadcrumb` instead. |
133
+
| 5038 |`_addContent` method is deprecated | Please use `\Magento\Backend\Model\View\Result\Page::addContent` instead. |
134
+
| 5039 |`_addLeft` method is deprecated | Please use `\Magento\Backend\Model\View\Result\Page::addLeft` instead. |
135
+
| 5040 |`_addJs` method is deprecated | Please use `\Magento\Backend\Model\View\Result\Page::addJs` instead |
136
+
| 5041 |`_moveBlockToContainer` method is deprecated | Please use `\Magento\Backend\Model\View\Result\Page::moveBlockToContainer` instead. |
137
137
| 5042 | Incorrect format of PHP class reference | Check that class is referenced using only camelCased letters, numbers and no leading slash |
138
138
| 5043 | Incorrect format of module reference | Check that module is referenced using only letters, numbers, underscores and no leading slash |
139
-
| 5044 | Class 'Zend_Db_Select' is restricted | Suggested replacement: \Magento\Framework\DB\Select |
140
-
| 5045 | Class 'Zend_Db_Adapter_Pdo_Mysql' is restricted | Suggested replacement: \Magento\Framework\DB\Adapter\Pdo\Mysql |
141
-
| 5046 | Class 'Magento\Framework\Serialize\Serializer\Serialize' is restricted | Suggested replacement: Magento\Framework\Serialize\SerializerInterface |
142
-
| 5047 | Class 'ArrayObject' is restricted | Suggested replacement: Custom class, extended from ArrayObject with overwritten serialize/unserialize methods |
143
-
| 5048 | Class 'Magento\Framework\View\Element\UiComponent\ArrayObjectFactory' is restricted | Suggested replacement: Factory that creates custom class, extended from ArrayObject with overwritten serialize/unserialize methods |
144
-
| 5049 | Blocks \Magento\Theme\Block\Html\Head\{Css,Link,Script} are allowed within the "head" block only | Verify integrity of the nodes nesting |
139
+
| 5044 | Class `Zend_Db_Select` is restricted | Suggested replacement: `\Magento\Framework\DB\Select`|
140
+
| 5045 | Class `Zend_Db_Adapter_Pdo_Mysql` is restricted | Suggested replacement: `\Magento\Framework\DB\Adapter\Pdo\Mysql`|
141
+
| 5046 | Class `Magento\Framework\Serialize\Serializer\Serialize` is restricted | Suggested replacement: `Magento\Framework\Serialize\SerializerInterface`|
142
+
| 5047 | Class `ArrayObject` is restricted | Suggested replacement: Custom class, extended from `ArrayObject` with overwritten serialize/unserialize methods |
143
+
| 5048 | Class `Magento\Framework\View\Element\UiComponent\ArrayObjectFactory` is restricted | Suggested replacement: Factory that creates custom class, extended from `ArrayObject` with overwritten serialize/unserialize methods |
144
+
| 5049 | Blocks `\Magento\Theme\Block\Html\Head\{Css,Link,Script}` are allowed within the "head" block only | Verify integrity of the nodes nesting |
145
145
| 5050 | The block being referenced is removed | Remove reference to block |
146
-
| 5051 | output="toHtml" is obsolete | Use output="1" |
147
-
| 5052 | The class '\Magento\Framework\View\Element\Text\ListText' is not supposed to be used in layout anymore | Remove class '\Magento\Framework\View\Element\Text\ListText' from layout |
148
-
| 5053 | Call of method "xx" via layout instruction <action> is not allowed | Avoid using offending method in <action> |
| 5055 |'helper' attribute does not contain '::'| Add '::' to helper attribute |
146
+
| 5051 |`output="toHtml"` is obsolete | Use `output="1"`|
147
+
| 5052 | The class `\Magento\Framework\View\Element\Text\ListText` is not supposed to be used in layout anymore | Remove class `\Magento\Framework\View\Element\Text\ListText` from layout |
148
+
| 5053 | Call of method "xx" via layout instruction `<action>` is not allowed | Avoid using offending method in <action> |
| 5055 |`helper` attribute does not contain `::`| Add `::` to helper attribute |
151
151
| 5056 | Install scripts are obsolete | Please use declarative schema approach in module\'s etc/db_schema.xml file |
152
152
| 5057 | InstallSchema scripts are obsolete | Please use declarative schema approach in module\'s etc/db_schema.xml file |
153
153
| 5058 | InstallData scripts are obsolete | Please use data patches approach in module\'s Setup/Patch/Data dir |
@@ -160,13 +160,13 @@ Custom code errors are raised when custom code is using the Adobe Commerce entry
160
160
| 5065 | 'data' is in an invalid directory | Create a data patch within module's Setup/Patch/Data folder for data upgrades or use declarative schema approach in module's etc/db_schema.xml file for schema changes. |
161
161
| 5066 | 'sql' is in an invalid directory | Create a data patch within module's Setup/Patch/Data folder for data upgrades or use declarative schema approach in module's etc/db_schema.xml file for schema changes. |
162
162
| 5067 | Nodes identified by XPath 'xx' are obsolete | Use suggestion from error message itself |
163
-
| 5068 | Directive {{htmlescape}} is obsolete | Use {{var}} instead |
164
-
| 5069 | Directive {{escapehtml}} is obsolete | Use {{var}} instead |
165
-
| 5070 | 3rd parameter is not needed anymore for getChildHtml() | Remove 3rd parameter from call to getChildHtml() |
166
-
| 5071 | 4th parameter is not needed anymore for getChildHtml() | Remove 4th parameter from call to getChildHtml() |
163
+
| 5068 | Directive `{{htmlescape}}` is obsolete | Use `{{var}}` instead |
164
+
| 5069 | Directive `{{escapehtml}}` is obsolete | Use `{{var}}` instead |
165
+
| 5070 | 3rd parameter is not needed anymore for `getChildHtml()`| Remove 3rd parameter from call to `getChildHtml()`|
166
+
| 5071 | 4th parameter is not needed anymore for `getChildHtml()`| Remove 4th parameter from call to `getChildHtml()`|
167
167
| 5072 | Possible Magento 2 design violation. Detected typical Magento 1.x construction | Update construction to Magento 2 standards |
168
168
| 5073 | Legacy table names with slash must be fixed to direct table names | Use direct table name instead |
169
-
| 5074 | Use of deprecated method 'getResource()' to (save / load / delete) data detected. | Use a repository instead |
169
+
| 5074 | Use of deprecated method `getResource()` to (save / load / delete) data detected. | Use a repository instead |
170
170
| 5075 | Application modules should not use classes from test modules | Remove usage of classes from test modules |
171
171
| 5076 | Cannot use "xxx" in namespace as it is reserved since PHP 7 | Remove usage of "xxx" from namespace |
172
172
| 5077 | Cannot use "xxx" as class name as it is reserved since PHP 7 | Remove usage of "xxx" from class name |
@@ -177,15 +177,15 @@ Custom code errors are raised when custom code is using the Adobe Commerce entry
177
177
| 5082 | The use of $this in templates is deprecated | Use $block instead |
178
178
| 5083 | Constants are not allowed as the first argument of translation function | use string literal instead |
179
179
| 5084 | Please do not initialize JS component in php | Initialize JS component in template |
180
-
| 6001 | jQuery.andSelf() removed | Use jQuery.addBack() |
181
-
| 6002 | jQuery $.bind and $.unbind are deprecated | Use $.on and $.off instead |
0 commit comments