refactor: Remove dead block of code #72
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "PHPStan" | |
on: | |
- push | |
- pull_request | |
env: | |
COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" | |
jobs: | |
tests: | |
name: "PHPStan" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v2" | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: "none" | |
extensions: "intl, zip" | |
ini-values: "memory_limit=-1" | |
php-version: "7.4" | |
- name: "Update dependencies" | |
run: "composer update ${{ env.COMPOSER_FLAGS }}" | |
- name: Run PHPStan | |
run: | | |
composer require --dev phpstan/phpstan:^1.5 marc-mabe/php-enum-phpstan ${{ env.COMPOSER_FLAGS }} | |
vendor/bin/phpstan analyse |