Skip to content

📝 Added documents for Japanese #27

📝 Added documents for Japanese

📝 Added documents for Japanese #27

Workflow file for this run

name: PHPStan
on: pull_request
jobs:
analyse:
name: PHPStan (PHP ${{ matrix.php-versions }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-versions: ["8.1", "8.2", "8.3"]
steps:
- name: Checkout the code
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Composer cache
id: composer_cache
uses: actions/cache@v3
with:
path: ./vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Install composer
shell: bash
if: steps.composer_cache.outputs.cache-hit != 'true'
run: |
echo 'Install packages'
composer install -n --prefer-dist
- name: Run phpstan
run: vendor/bin/phpstan analyse --memory-limit=-1