diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32a8cd1..2ea3836 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,6 @@ name: CI env: COMPOSE_INTERACTIVE_NO_CLI: 1 PHP_CS_FIXER_IGNORE_ENV: 1 - MYSQL_PORT: 3307 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} on: @@ -18,24 +17,11 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Start docker containers - run: docker-compose up -d - name: Install composer dependencies run: composer install - name: Run tests run: vendor/bin/pest - phpstan: - name: Static analysis (PHPStan) - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Install composer dependencies - run: composer install - - name: Run phpstan - run: vendor/bin/phpstan analyse - php-cs-fixer: name: Code style (php-cs-fixer) runs-on: ubuntu-latest diff --git a/check b/check index 3d24b54..305d51e 100755 --- a/check +++ b/check @@ -36,13 +36,6 @@ else esac fi -if (./vendor/bin/phpstan analyse > /dev/null 2>/dev/null); then - echo '✅ PHPStan OK' -else - echo '❌ PHPStan FAIL' - offer_run './vendor/bin/phpstan analyse' -fi - if (./vendor/bin/pest > /dev/null 2>/dev/null); then echo '✅ PEST OK' else diff --git a/composer.json b/composer.json index 7e9d189..da6c065 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,6 @@ }, "require-dev": { "orchestra/testbench": "^6.9", - "nunomaduro/larastan": "^0.6.10", "pestphp/pest": "^1.2", "pestphp/pest-plugin-laravel": "^1.0" } diff --git a/phpstan.neon b/phpstan.neon deleted file mode 100644 index 5b8dfd1..0000000 --- a/phpstan.neon +++ /dev/null @@ -1,24 +0,0 @@ -includes: - - ./vendor/nunomaduro/larastan/extension.neon - -parameters: - paths: - - src - - level: 8 - - universalObjectCratesClasses: - - Illuminate\Routing\Route - - ignoreErrors: - # - - # message: '#Offset (.*?) does not exist on array\|null#' - # paths: - # - tests/* - # - - # message: '#expects resource, resource\|false given#' - # paths: - # - tests/* - # - '#should return \$this#' - - checkMissingIterableValueType: false