Skip to content

Remove composer.lock #116

Remove composer.lock

Remove composer.lock #116

Workflow file for this run

name: Format (PHP)
on:
push:
branches:
- '1.2'
pull_request:
paths:
- '**.php'
# Allow manually triggering the workflow.
workflow_dispatch:
jobs:
php-cs-fixer:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
# with:
# ref: ${{ github.head_ref }}
- uses: actions/cache@v3
with:
path: .php-cs-fixer.cache
key: ${{ runner.OS }}-${{ github.repository }}-phpcsfixer-${{ github.sha }}
restore-keys: |
${{ runner.OS }}-${{ github.repository }}-phpcsfixer-
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply php-cs-fixer changes
file_pattern: '*.php'