Skip to content

Allowed nette/utils v4 and symfony/translation v7 #7

Allowed nette/utils v4 and symfony/translation v7

Allowed nette/utils v4 and symfony/translation v7 #7

Workflow file for this run

name: Coding style
on:
push:
branches:
- master
tags:
- v*
pull_request:
branches:
- master
jobs:
php-cs-fixer:
name: Php-Cs-Fixer
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
tools: composer:v2
- name: Install dependencies
run: composer update --no-progress --prefer-dist --prefer-stable --optimize-autoloader --quiet
- name: Php-Cs-Fixer
run: vendor/bin/php-cs-fixer fix -v --dry-run
php-stan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
tools: composer:v2
- name: Install dependencies
run: |
composer update --no-progress --prefer-dist --prefer-stable --optimize-autoloader --quiet
composer update --no-progress --prefer-dist --prefer-stable --optimize-autoloader --quiet --working-dir=vendor-bin/contributte
- name: PhpStan (common)
run: vendor/bin/phpstan analyse -c phpstan.common.neon
- name: PhpStan (contributte)
run: vendor-bin/contributte/vendor/bin/phpstan analyse -c phpstan.contributte.neon