Skip to content

Bump friendsofphp/php-cs-fixer from 3.58.0 to 3.58.1 #480

Bump friendsofphp/php-cs-fixer from 3.58.0 to 3.58.1

Bump friendsofphp/php-cs-fixer from 3.58.0 to 3.58.1 #480

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.4', '8.0', '8.1', '8.2']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install PHP
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-versions }}
extensions: dom
coverage: xdebug
- name: Install dependencies
run: composer install --prefer-dist --no-interaction --ignore-platform-reqs
- name: PHP Code Sniffer
if: matrix.php-versions == '8.1'
run: composer phpcs
- name: PHP Mess Detector
if: matrix.php-versions == '8.1'
run: composer phpmd
- name: PHP Unit Tests with coverage
if: matrix.php-versions == '8.1'
run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- name: PHP Unit Tests
if: matrix.php-versions != '8.1'
run: composer test
- name: Send to coveralls
if: matrix.php-versions == '8.1'
run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}