Make code more readable #7475
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
name: PHPStan Code Analysis | |
jobs: | |
phpstan: | |
name: PHPStan | |
runs-on: ubuntu-latest | |
steps: | |
- name: "📥 Fetching Repository Contents" | |
uses: actions/[email protected] | |
- name: "💽 Installing PHP, Composer, CS2PR" | |
uses: shivammathur/[email protected] | |
with: | |
php-version: 8.0 | |
coverage: none | |
ini-values: display_errors = on, error_reporting = E_ALL | |
tools: composer | |
- name: "💽 Installing Composer Packages" | |
run: composer install | |
- name: "🧪 Test" | |
run: vendor/bin/phpstan analyze ./ --memory-limit=2G |