chore(deps): update dependency phpstan/phpstan-phpunit to v1.4.1 (#1641) #879
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: Autoformat | |
on: | |
push: | |
jobs: | |
composer-normalize: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- uses: shivammathur/setup-php@v2 | |
with: | |
coverage: none | |
extensions: mbstring | |
php-version: 8.3 | |
- uses: ramsey/composer-install@v2 | |
- run: composer normalize | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Normalize composer.json | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.GA_PAT == '' && secrets.GA_PAT || secrets.GITHUB_TOKEN }} | |
- uses: shivammathur/setup-php@v2 | |
with: | |
coverage: none | |
extensions: mbstring | |
php-version: 8.3 | |
- uses: ramsey/composer-install@v2 | |
- run: composer docs | |
- uses: creyD/[email protected] | |
with: | |
prettier_options: --write --tab-width=2 *.md **/*.md | |
commit_message: Prettify docs | |
php-cs-fixer: | |
runs-on: ubuntu-latest | |
permissions: | |
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository. | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.GA_PAT == '' && secrets.GA_PAT || secrets.GITHUB_TOKEN }} | |
- uses: shivammathur/setup-php@v2 | |
with: | |
coverage: none | |
extensions: mbstring | |
php-version: 8.3 | |
- uses: ramsey/composer-install@v2 | |
- run: vendor/bin/php-cs-fixer fix | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Apply php-cs-fixer changes |