Skip to content

Conversation

@ikari7789
Copy link
Collaborator

@ikari7789 ikari7789 commented Nov 25, 2025

Added missing PHP versions.

Copy link

@flightsupport flightsupport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hope we can get this released soon together with #96

if [ "$?" != 0 ]; then
echo "Expected PHP version ${{ matrix.php-version}} failed to switch."
exit 0
fi

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This block runs with set -xe
Therefore it exits anyway for a non-zero exit code.
Could be rewritten as:
./phpswitch.sh ${{ matrix.php-version }} -s || { echo "switch failed"; exit 1; }
Also, the code fails (exit 1) Why use exit 0 here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants