Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 59e8351

Browse files
committed
AC-1537: Added UCT error codes coming from magento-coding-standards
1 parent c18a7ae commit 59e8351

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/_includes/upgrade/uct-error-reference.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Critical errors of custom code compatibility are raised when the custom code is
2121
| - | - | - |
2222
| 1110 | Instantiating non-existent Adobe Commerce class/interface | Update code to use a class marked as `@api`. Instantiating non-existent Adobe Commerce class/interface |
2323
| 1111 | Extending from non-existent Adobe Commerce class | The extended class is no longer present in the codebase. Inheritance is not recommended way of extending Adobe Commerce functionality. Update code to use a class marked as `@api`. |
24-
| 1112 | Importing non Adobe Commerce class | Update code to use a class marked as `@api`. |
25-
| 1113 | Loading non Adobe Commerce class | Update code to use a class marked as `@api`. |
26-
| 1114 | Using non Adobe Commerce class | Update code to use a class marked as `@api`. |
24+
| 1112 | Importing non existing Adobe Commerce class | Update code to use a class marked as `@api`. |
25+
| 1113 | Loading non existing Adobe Commerce class | Update code to use a class marked as `@api`. |
26+
| 1114 | Using non existing Adobe Commerce class | Update code to use a class marked as `@api`. |
2727
| 1214 | Using non-existent Adobe Commerce constant | Consider introducing and using a private constant of the required value within the custom code instead. |
2828
| 1215 | Overriding non-existent Adobe Commerce constant | Consider introducing and using a private constant of the required value within the custom code instead. |
2929
| 1216 | Assignation of non-existent Adobe Commerce constant | Consider introducing and using a private constant of the required value within the custom code instead. |
@@ -69,10 +69,10 @@ Custom code errors are raised when custom code is using the Adobe Commerce entry
6969
| Error code | Error description | Suggested action |
7070
| - | - | - |
7171
| 1104 | Using non API class that is inheriting API interface | Classes that are not marked as `@api` may be changed. Consider updating the code to rely on the interface marked as `@api` instead. Otherwise, the functionality relying on this implementation should be tested after the upgrade. |
72-
| 1121 | Extending from non existing Adobe Commerce API class | The extended class is no longer present in the codebase. Inheritance is not recommended way of extending Adobe Commerce functionality. Update code to use a class marked as `@api`. |
73-
| 1122 | Importing non existing Adobe Commerce API class | The extended class is no longer present in the codebase. Update code to use a class marked as `@api`. Otherwise, the functionality relying on this implementation should be tested after the upgrade. |
74-
| 1123 | Loading non existing Adobe Commerce API class | The extended class is no longer present in the codebase. Update code to use a class marked as `@api`. Otherwise, the functionality relying on this implementation should be tested after the upgrade. |
75-
| 1124 | Using non existing Adobe Commerce API class | The extended class is no longer present in the codebase. Update code to use a class marked as `@api`. Otherwise, the functionality relying on this implementation should be tested after the upgrade. |
72+
| 1121 | Extending from non Adobe Commerce API class | The extended class is no longer present in the codebase. Inheritance is not recommended way of extending Adobe Commerce functionality. Update code to use a class marked as `@api`. |
73+
| 1122 | Importing non Adobe Commerce API class | The extended class is no longer present in the codebase. Update code to use a class marked as `@api`. Otherwise, the functionality relying on this implementation should be tested after the upgrade. |
74+
| 1123 | Loading non Adobe Commerce API class | The extended class is no longer present in the codebase. Update code to use a class marked as `@api`. Otherwise, the functionality relying on this implementation should be tested after the upgrade. |
75+
| 1124 | Using non Adobe Commerce API class | The extended class is no longer present in the codebase. Update code to use a class marked as `@api`. Otherwise, the functionality relying on this implementation should be tested after the upgrade. |
7676
| 1224 | Using non Adobe Commerce API constant | Constants that are not marked as `@api` may be changed. Consider introducing and using a private constant of the required value within the custom code instead. |
7777
| 1225 | Overriding non Adobe Commerce API constant | Constants that are not marked as `@api` may be changed. Consider introducing and using a private constant of the required value within the custom code instead. |
7878
| 1226 | Assignation of non Adobe Commerce API constant | Constants that are not marked as `@api` may be changed. Consider introducing and using a private constant of the required value within the custom code instead. |
@@ -94,7 +94,7 @@ Custom code errors are raised when custom code is using the Adobe Commerce entry
9494
| Error code | Error description | Suggested action |
9595
| - | - | - |
9696
| 5001 | Call-time pass-by-reference calls are prohibited | Passing by reference is not supported after PHP 5.6 |
97-
| 5002 | The opening PHP tag must be the first content in the file | Ensure there is no content in the file before the PHP opening tag |
97+
| 5002 | The opening PHP tag must be the first content in the file | Ensure there is no content in the file before the PHP opening tag |
9898
| 5003 | Function has been deprecated | Please use a replacement suggested in the error message. If the message does not provide the replacement suggestion, this case requires a close review to select an alternative safe function or implementation |
9999
| 5005 | PHP syntax error | The code requires to be updated to comply with the PHP interpretation |
100100
| 5006 | Proxies and interceptors MUST never be explicitly requested in constructors | The original class should be declared as a type of the constructor parameter, the Interceptor/Proxy class will be passed by the framework dependency injection implemtation |
@@ -212,8 +212,8 @@ Custom code warnings are raised when the references to deprecated code are detec
212212
| 1234 | Using Adobe Commerce `@deprecated` constant | The deprecated constant will be removed in upcoming versions. Consider using a constant marked as `@api` or a private constant within your implementation instead. |
213213
| 1235 | Overriding Adobe Commerce `@deprecated` constant | The deprecated constant will be removed in upcoming versions. Consider using a constant marked as `@api` or a private constant within your implementation instead. |
214214
| 1236 | Assignation of Adobe Commerce `@deprecated` constant | The deprecated constant will be removed in upcoming versions. Consider using a constant marked as `@api` or a private constant within your implementation instead. |
215-
| 1332 | Imported Adobe Commerce `@deprecated` interface | The deprecated interface will be removed in upcoming versions. Consider using an interface or class marked as `@api` instead. |
216-
| 1334 | Used Adobe Commerce `@deprecated` interface | The deprecated interface will be removed in upcoming versions. Consider using an interface or class marked as `@api` instead. |
215+
| 1332 | Imported Adobe Commerce `@deprecated` interface | The deprecated interface will be removed in upcoming versions. Consider using an interface or class marked as `@api` instead. |
216+
| 1334 | Used Adobe Commerce `@deprecated` interface | The deprecated interface will be removed in upcoming versions. Consider using an interface or class marked as `@api` instead. |
217217
| 1337 | Inherited from Adobe Commerce `@deprecated` interface | The deprecated interface will be removed in upcoming versions. Consider removing the interface inheritance, using an interface marked as `@api` or an interface introduced within your implementation instead. |
218218
| 1338 | Implemented Adobe Commerce `@deprecated` interface | The deprecated interface will be removed in upcoming versions. Consider removing the interface inheritance, using an interface marked as `@api` or an interface introduced within your implementation instead. |
219219
| 1430 | Call not declared dataobject method | The magic methods that are not declared may be changed. Consider relying on interface methods instead. |

0 commit comments

Comments
 (0)