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/internal/Magento/Framework/Code/Generator/EntityAbstract.php
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -108,12 +108,13 @@ public function generate()
108
108
}
109
109
}
110
110
} catch (FileSystemException$e) {
111
-
$message = <<<'EOT'
112
-
Error: an object of a generated class may be a dependency for another object, but this dependency has not been defined or set correctly in the signature of the related construct method.
113
-
Due to the current error, executing the CLI commands `bin/magento setup:di:compile` or `bin/magento deploy:mode:set production` does not create the required generated classes.
114
-
Magento cannot write a class file to the "generated" directory that is read-only. Before using the read-only file system, the classes to be generated must be created beforehand in the "generated" directory.
115
-
For details, see the "File systems access permissions" topic at http://devdocs.magento.com.
116
-
EOT;
111
+
$message = 'Error: an object of a generated class may be a dependency for another object, but this '
112
+
. 'dependency has not been defined or set correctly in the signature of the related construct method.'
113
+
. 'Due to the current error, executing the CLI commands `bin/magento setup:di:compile` or `bin/magento '
114
+
. 'deploy:mode:set production` does not create the required generated classes.'
115
+
. 'Magento cannot write a class file to the "generated" directory that is read-only. Before using the '
116
+
. 'read-only file system, the classes to be generated must be created beforehand in the "generated" directory.'
117
+
. 'For details, see the "File systems access permissions" topic at http://devdocs.magento.com.';
0 commit comments