Show all usages when --show-all-usages is combined with --verbose #91
Workflow file for this run
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
name: E2E | |
on: | |
pull_request: | |
jobs: | |
e2e: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- | |
repo: phpstan/phpstan-src | |
name: phpstan | |
args: --config=build/composer-dependency-analyser.php | |
- | |
repo: shipmonk-rnd/phpstan-rules | |
name: shipmonk-rules | |
args: '' | |
- | |
repo: qossmic/deptrac-src | |
name: deptrac | |
args: '' | |
- | |
repo: kreait/firebase-php | |
name: firebase | |
args: '' | |
- | |
repo: rectorphp/rector-src | |
name: rector | |
args: '' | |
- | |
repo: inspirum/balikobot-php | |
name: balikobot | |
args: '' | |
- | |
repo: tomasvotruba/unused-public | |
name: unused-public | |
args: '' | |
fail-fast: false | |
steps: | |
- | |
name: Install jq | |
run: sudo apt install jq | |
- | |
name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
path: analyser | |
- | |
name: Clone ${{ matrix.repo }} | |
uses: actions/checkout@v4 | |
with: | |
path: ${{ matrix.name }} | |
repository: ${{ matrix.repo }} | |
- | |
name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
- | |
name: Install analyser dependencies | |
working-directory: analyser | |
run: composer install --no-progress --prefer-dist --no-interaction | |
- | |
name: Disable autoloader prepend | |
working-directory: ${{ matrix.name }} | |
run: | | |
echo "$(jq --indent 4 '.config += {"prepend-autoloader": false}' composer.json)" > composer.json | |
- | |
name: Install ${{ matrix.name }} dependencies | |
working-directory: ${{ matrix.name }} | |
run: composer install --no-progress --prefer-dist --no-interaction --ignore-platform-reqs | |
- | |
name: Run analyser | |
working-directory: ${{ matrix.name }} | |
run: php ../analyser/bin/composer-dependency-analyser ${{ matrix.args }} |