File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,15 @@ METRICS_STATUS="✅ ${TOTAL_LINES} lines"
110110CRITICAL_PASSED=0
111111CRITICAL_TOTAL=3
112112
113- if [[ " $PHPSTAN_STATUS " == * " PASSED" * ]]; then (( CRITICAL_PASSED++ )) ; fi
114- if [[ " $CODESTYLE_STATUS " == * " PASSED" * ]]; then (( CRITICAL_PASSED++ )) ; fi
115- if [[ " $SECURITY_STATUS " == * " PASSED" * ]]; then (( CRITICAL_PASSED++ )) ; fi
113+ if [[ " $PHPSTAN_STATUS " == * " PASSED" * ]]; then
114+ CRITICAL_PASSED=$(( CRITICAL_PASSED + 1 ))
115+ fi
116+ if [[ " $CODESTYLE_STATUS " == * " PASSED" * ]]; then
117+ CRITICAL_PASSED=$(( CRITICAL_PASSED + 1 ))
118+ fi
119+ if [[ " $SECURITY_STATUS " == * " PASSED" * ]]; then
120+ CRITICAL_PASSED=$(( CRITICAL_PASSED + 1 ))
121+ fi
116122
117123QUALITY_SCORE=$(( CRITICAL_PASSED * 100 / CRITICAL_TOTAL))
118124
You can’t perform that action at this time.
0 commit comments