Skip to content

Added possibility to define Paysera application routes via environment variables #14

Added possibility to define Paysera application routes via environment variables

Added possibility to define Paysera application routes via environment variables #14

Workflow file for this run

name: Check styling
on: [pull_request]
permissions:
contents: read
jobs:
style:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup PHP for checking styling
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
coverage: none
extensions: mbstring, pdo, xml, xdebug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install PHP dependencies for checking styling
run: composer install --no-cache --no-interaction --no-progress --ignore-platform-reqs
- name: Check styling
run: vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --dry-run --stop-on-violation --using-cache=no --path-mode=intersection ./src ./tests