Skip to content

Update phpstan/phpstan-nette requirement from ^0.12.6 to ^1.3.2 #19

Update phpstan/phpstan-nette requirement from ^0.12.6 to ^1.3.2

Update phpstan/phpstan-nette requirement from ^0.12.6 to ^1.3.2 #19

Workflow file for this run

name: Integrity check
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install PHP
uses: shivammathur/setup-php@master
with:
php-version: 7.4
- name: Install composer deps
run: |
composer create-project nette/code-checker temp/code-checker ^3 --no-progress
composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
# Install app deps
composer install --no-interaction --prefer-dist
# Check code checker and coding standards
- name: Check coding standards
run: |
php temp/code-checker/code-checker --short-arrays --strict-types --fix --no-progress
php temp/coding-standard/ecs check src --config temp/coding-standard/coding-standard-php71.yml
- name: Check PHPStan rules
run: composer phpstan