Skip to content

[RAJ-1864] Add option to transform xml values before serializing them #56

[RAJ-1864] Add option to transform xml values before serializing them

[RAJ-1864] Add option to transform xml values before serializing them #56

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- name: Composer install
run: composer update
- name: Run phpspec
run: vendor/bin/phpspec run --config=phpspec.yml --no-interaction -vvv
- name: Run php-cs-fixer
run: vendor/bin/php-cs-fixer fix --config=.php_cs.dist --verbose --diff --dry-run
if: ${{ matrix.php-version == '8.0' }}
- name: Install phpstan
run: composer require --dev phpstan/phpstan:~0.12
if: ${{ matrix.php-version == '8.0' || matrix.php-version == '8.1' }}
- name: Run phpstan
run: vendor/bin/phpstan analyse -c phpstan.neon
if: ${{ matrix.php-version == '8.0' || matrix.php-version == '8.1' }}