Commit a0531b6
committed
fix: prevent PHP syntax check from failing on success
The grep command was returning exit code 1 when no syntax errors were
found, causing the workflow to fail. Fixed by:
- Capturing output in a variable with '|| true' to handle grep exit codes
- Checking if errors exist before failing
- Providing clear success/failure messages1 parent edb11d5 commit a0531b6
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
68 | 75 | | |
69 | 76 | | |
70 | 77 | | |
| |||
0 commit comments