[Issue] Catch php syntax errors (or other errors) in bin/magento and output the error instead of staying silent #32786
Labels
Component: Exception
Event: Adobe Summit Hackathon
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Progress: done
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Severity: S2
Major restrictions or short-term circumventions are required until a fix is available.
Projects
This issue is automatically created based on existing pull request: #32145: Catch php syntax errors (or other errors) in bin/magento and output the error instead of staying silent
Description (*)
When a PHP error occurs somewhere in code that is executed by
bin/magento
it should output that error instead of staying silentRelated Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
I'll update these steps with more concrete things, not much time at the moment to put a lot more info here, will try this weekend if I find more time
app/code
which uses PHP 7.4 specific syntax which doesn't work on PHP 7.3bin/magento
using PHP 7.3Expected
Actual
Questions or comments
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: