Skip to content
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

QA: lint PHP files in this repo #358

Merged
merged 1 commit into from
Oct 5, 2019
Merged

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Sep 19, 2019

This PR adds linting of the PHP files in the repo against every supported PHP version to the Travis build.

The vendor directory is excluded by default.
For PHP 5.2, the tests/phpunit6-compat.php file is excluded as it uses namespaces and is only loaded on PHP 7+ anyway.
For PHP < 5.4, the examples/cookie_jar.php file is excluded as it uses short arrays.

This PR adds linting of the PHP files against every PHP version to the Travis build.

The `vendor` directory is excluded by default.
For PHP 5.2, the `tests/phpunit6-compat.php` file is excluded as it uses namespaces.
For PHP < 5.4, the `examples/cookie_jar.php` file is excluded as it uses short arrays.
@jrfnl jrfnl added this to the 1.7.1 milestone Sep 19, 2019
@jrfnl jrfnl requested a review from rmccue September 19, 2019 00:28
@ntwb ntwb merged commit a356400 into master Oct 5, 2019
@ntwb ntwb deleted the feature/travis-add-php-linting branch October 5, 2019 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants