Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Composer/Ant: move the build scripts to the Composer configuration
As this is a PHP project and the build steps are relatively simple, it will make it more intuitive for contributors to use Composer scripts to run CI checks, than to have to install Ant for this.
This commit creates the same build/CI scripts as were previously available via Ant in the Composer configuration file.
Notes:
mkdir
and file deletions won't automatically be done anymore.Generally speaking, the
mkdir
should only need to be run once anyway and the file deletes should not be necessary as the log files will just be overwritten by the tools, so I deemed this an acceptable trade-off.colors
argument won't be set anymore.For most tools, this means, the tool will default to automatically determining whether the CLI used supports colourized output.
As the determination of this in most tools has become pretty good, I, again, deemed this an acceptable trade-off.
CI: switch to GitHub Actions
This commit:
cs
workflow for the code style and vardump checks which were previously run on Travis.These checks only need to run against one PHP version as the results will be the same independently of the PHP version these checks are run on.
test
workflow for the linting and unit test checks which were previously run on Travis.cs2pr
tool to display the results of the PHP linting and the results of the PHP code style check in-line in the file diff in the PR..travis.yml
configuration..gitattributes
file.Fixes #13
Fixes #22