Skip to content

Standalone Install

Standalone Install #26

name: Standalone Install
on: [pull_request, push]
jobs:
standalone_install:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php_version: ['7.4', '8.0', '8.3']
steps:
# prepare empty composer.json that allows the phpstan extension plugin
- run: composer init --name just/for-test --quiet
- run: composer config --no-plugins allow-plugins.phpstan/extension-installer true
- run: composer require phpstan/phpstan phpstan/extension-installer --dev
- run: composer require symplify/phpstan-rules:dev-main --dev