Back

Did any of you manage to run phpstan on github actions?
This should be easy but It always errors on
this piece

Declaration of Larastan\Larastan\Types\ViewStringType::accepts(PHPStan\Type\Type $type, bool $strictTypes): PHPStan\TrinaryLogic must be compatible with PHPStan\Type\StringType::accepts(PHPStan\Type\Type $type, bool $strictTypes): PHPStan\Type\AcceptsResult

name: CI

on: [push]

jobs:
build-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
with:
php_extensions: intl dom pcntl zip
- uses: php-actions/phpstan@v3

image

40

  • No matching results...
  • Searching...

/ 1000