We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b71d5c9 commit e4276a7Copy full SHA for e4276a7
setup/src/Magento/Setup/Module/Di/Compiler/Log/Log.php
@@ -86,7 +86,9 @@ public function report()
86
{
87
$this->_successWriter->write($this->_successEntries);
88
$this->_errorWriter->write($this->_errorEntries);
89
- if (count($this->_errorEntries) > 0) {
+ //do not take into account empty items since they are initialized in constructor.
90
+ $errors = array_filter($this->_errorEntries);
91
+ if (count($errors) > 0) {
92
throw new \Magento\Framework\Validator\Exception(__('Error during compilation'));
93
}
94
0 commit comments