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

Lint PHP files in CI #39

Merged
merged 1 commit into from
Mar 9, 2025
Merged

Lint PHP files in CI #39

merged 1 commit into from
Mar 9, 2025

Conversation

jparise
Copy link
Member

@jparise jparise commented Mar 9, 2025

php -l didn't handle multiple source file arguments until PHP 8.2 so
we need to use a loop to process everything.

We have an outstanding lint error in Log/sql.php under PHP 7.x ("mixed
property cannot have a default value"). For now, just skip running lint
on that version.

@jparise jparise force-pushed the ci-lint branch 4 times, most recently from 562ada5 to d3ef3f3 Compare March 9, 2025 13:00
`php -l` didn't handle multiple source file arguments until PHP 8.2 so
we need to use a loop to process everything.

We have an outstanding lint error in Log/sql.php under PHP 7.x ("mixed
property cannot have a default value"). For now, just skip running lint
on that version.
@jparise jparise merged commit d846594 into master Mar 9, 2025
6 checks passed
@jparise jparise deleted the ci-lint branch March 9, 2025 13:04
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.

1 participant