Skip to content

Fix some phpstan issues #303

Fix some phpstan issues

Fix some phpstan issues #303

Workflow file for this run

name: ExtDN PHPStan
on: [push, pull_request]
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Determine composer cache directory"
id: "determine-composer-cache-directory"
run: "echo \"::set-output name=directory::$(composer config cache-dir)\""
- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: "${{ steps.determine-composer-cache-directory.outputs.directory }}"
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: extdn/github-actions-m2/magento-phpstan/8.3@master
with:
composer_name: yireo/magento2-next-gen-images
composer_version: 2
phpstan_level: 2
magento_pre_install_script: .github/workflows/extdn-phpstan-pre-install.sh