Refactor code to use parameter, return type hints #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP Linting (Pint) | |
on: [push, pull_request] | |
jobs: | |
phplint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Composer Install | |
run: composer install --no-interaction | |
- name: Run Laravel Pint | |
run: composer format | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: PHP Linting (Pint) - Fix styling | |
skip_fetch: true |