-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add PHP linter and PHP linting in GitHub Actions #109
Conversation
…Parameter.Found`.
…iableName.VariableNotSnakeCase`.
…le_get_contents_file_get_contents`.
…ile_system_operations_fopen`.
…ndition.FoundInWhileCondition`.
…nctionName.FunctionNameInvalid`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding PHP linter here. Tested locally and everything worked as expected.
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious can we use checkout@v4 (using Node.js v20 runtime)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considering the current .nvmrc is still lts/fermium
(v14), I plan to update it along with the work for #108.
Changes proposed in this Pull Request:
Implements parts of #4
Detailed test instructions:
composer install
npm run lint:php
locally to test the linter