File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -385,26 +385,32 @@ runs:
385385 echo "phpunit.xml not found in plugin – skipping PHPUnit."
386386 else
387387 if [[ -z "${{ inputs.test_suites }}" ]]; then
388- vendor/bin/phpunit \
389- --fail-on-risky \
390- --fail-on-warning \
391- --config="$CONFIG_DIR" \
392- --no-coverage \
393- --bootstrap="source/bootstrap.php"
388+ php \
389+ -d error_reporting="E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED" \
390+ -d display_errors=Off \
391+ vendor/bin/phpunit \
392+ --fail-on-risky \
393+ --fail-on-warning \
394+ --config="$CONFIG_DIR" \
395+ --no-coverage \
396+ --bootstrap="source/bootstrap.php"
394397 else
395398 IFS=',' read -ra SUITES <<< "${{ inputs.test_suites }}"
396399
397400 for SUITE in "${SUITES[@]}"; do
398401 SUITE="$(echo "$SUITE" | xargs)"
399402 echo "Running test suite: $SUITE"
400403
401- vendor/bin/phpunit \
402- --fail-on-risky \
403- --fail-on-warning \
404- --config="$CONFIG_DIR" \
405- --no-coverage \
406- --bootstrap="source/bootstrap.php" \
407- --testsuite="$SUITE"
404+ php \
405+ -d error_reporting="E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED" \
406+ -d display_errors=Off \
407+ vendor/bin/phpunit \
408+ --fail-on-risky \
409+ --fail-on-warning \
410+ --config="$CONFIG_DIR" \
411+ --no-coverage \
412+ --bootstrap="source/bootstrap.php" \
413+ --testsuite="$SUITE"
408414 done
409415 fi
410416 fi
You can’t perform that action at this time.
0 commit comments