Skip to content

Addresses Content-Type mismatch on HTTP 301 Moved Permanently with FileGetContents #73

Addresses Content-Type mismatch on HTTP 301 Moved Permanently with FileGetContents

Addresses Content-Type mismatch on HTTP 301 Moved Permanently with FileGetContents #73

Workflow file for this run

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