Skip to content

Bump phpstan/phpstan from 1.10.8 to 1.11.10 #194

Bump phpstan/phpstan from 1.10.8 to 1.11.10

Bump phpstan/phpstan from 1.10.8 to 1.11.10 #194

Workflow file for this run

name: PHPStan CI
on: push
jobs:
phpstan:
name: PHPStan Analysis
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Startup
uses: actions/checkout@v3
- name: Install FFI
run: sudo apt install -y libffi7
- name: Download PHP Release
uses: dsaltares/[email protected]
with:
file: PHP-Linux-x86_64-PM5.tar.gz
repo: NetherGamesMC/php-build-scripts
version: "tags/php-8.3-ffi-latest"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Unpack PHP Release
run: tar -xzvf PHP-Linux-x86_64-PM5.tar.gz
- name: Download Composer
run: curl -o ./bin/composer.phar "https://getcomposer.org/composer-stable.phar"
- name: Install Composer dependencies
run: ./bin/php7/bin/php ./bin/composer.phar install --prefer-dist --no-interaction
- name: Run PHPStan
run: ./bin/php7/bin/php vendor/bin/phpstan.phar analyze --no-progress