Skip to content

old code removed

old code removed #612

Workflow file for this run

#php code fixer
name: phpfixer
on:
push:
branches:
- master
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: install phpdocumentator
run: curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.16.3/php-cs-fixer.phar > php-cs-fixer.phar
- name: run phpfixer
run: php php-cs-fixer.phar fix ./src
- name: commit fix
run: |
git config user.email "workflow@github.actions"
git config user.name "Github Actions Workflow"
git add *
git commit -a -m 'PHP code fixes' || true
git push origin || true