Skip to content

Use rector-src:dev-main (#350) #1174

Use rector-src:dev-main (#350)

Use rector-src:dev-main (#350) #1174

name: Code Analysis
on:
pull_request: null
push:
branches:
- main
env:
# see https://github.com/composer/composer/issues/9368#issuecomment-718112361
COMPOSER_ROOT_VERSION: "dev-main"
jobs:
code_analysis:
strategy:
fail-fast: false
matrix:
actions:
-
name: 'Active Classes'
run: vendor/bin/class-leak check config src rules --skip-suffix "Rector"
name: ${{ matrix.actions.name }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
-
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: none
- uses: "ramsey/composer-install@v2"
- run: ${{ matrix.actions.run }}