Skip to content

Commit e11efa7

Browse files
committed
Remove Dead Code Detector as an extra analysis
This reverts most of d9df9e2 #332
1 parent 4f86d50 commit e11efa7

File tree

3 files changed

+0
-35
lines changed

3 files changed

+0
-35
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
phpcs.xml export-ignore
66
phpstan.neon export-ignore
77
phpstan-attributes.php export-ignore
8-
phpstan-dead-code-detector.neon export-ignore
9-
phpstan-dead-code-detector-no-tests.neon export-ignore
108
phpstan-exclude-paths.php export-ignore
119
phpstan-ignore-errors.php export-ignore
1210
phpunit.xml export-ignore

.github/workflows/php.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -143,34 +143,3 @@ jobs:
143143

144144
- name: Run tests
145145
run: composer phpunit
146-
147-
dead-code-detector:
148-
runs-on: ubuntu-latest
149-
150-
strategy:
151-
matrix:
152-
php-version:
153-
- "8.4"
154-
run:
155-
- composer phpstan-dead-code-detector
156-
- composer phpstan-dead-code-detector-no-tests
157-
158-
steps:
159-
- uses: actions/checkout@v4
160-
161-
- name: "Install PHP"
162-
uses: shivammathur/setup-php@v2
163-
with:
164-
coverage: "none"
165-
php-version: "${{ matrix.php-version }}"
166-
167-
- name: PHP info
168-
run: |
169-
php -v
170-
php -m
171-
172-
- name: Install dependencies
173-
run: composer update --no-progress --no-interaction
174-
175-
- name: Run tests
176-
run: ${{ matrix.run }}

composer.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@
5050
"phpcs": "vendor/bin/phpcs src/ tests/",
5151
"cs-fix": "vendor/bin/phpcbf src/ tests/",
5252
"phpstan": "vendor/bin/phpstan --ansi analyse --configuration phpstan.neon",
53-
"phpstan-dead-code-detector": "vendor/bin/phpstan --ansi analyse --configuration phpstan-dead-code-detector.neon",
54-
"phpstan-dead-code-detector-no-tests": "vendor/bin/phpstan --ansi analyse --configuration phpstan-dead-code-detector-no-tests.neon",
5553
"phpunit": "php -d zend.assertions=1 vendor/bin/phpunit --colors=always",
5654
"test": [
5755
"@lint",

0 commit comments

Comments
 (0)