Skip to content

Add PHP linting to the CI build #214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2021

Conversation

oliverklee
Copy link
Collaborator

This ensures that the PHP files have valid syntax, and blocks the unit
tests if there are any errors found.

@oliverklee oliverklee force-pushed the feature/lint branch 4 times, most recently from de67905 to 6abc48f Compare April 21, 2021 18:27
runs-on: ubuntu-20.04
strategy:
matrix:
php-version: [ '5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4' ]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there some way to declare the php version list only once in the file?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, none that I'm currently aware of. (And unfortunately, GitHub Actions do not support YAML anchors yet.)

This ensures that the PHP files have valid syntax, and blocks the unit
tests if there are any errors found.
@sabberworm sabberworm merged commit 727f1ca into MyIntervals:master Apr 26, 2021
@oliverklee oliverklee deleted the feature/lint branch April 26, 2021 16:30
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.

2 participants