Skip to content

Commit 0dead55

Browse files
authored
Replace maglnet/composer-require-checker with shipmonk/composer-dependency-analyser (#990)
1 parent 6d05631 commit 0dead55

File tree

4 files changed

+103
-149
lines changed

4 files changed

+103
-149
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php declare(strict_types=1);
2+
3+
/*
4+
* This file is part of PHP CS Fixer: custom fixers.
5+
*
6+
* (c) 2018 Kuba Werłos
7+
*
8+
* For the full copyright and license information, please view
9+
* the LICENSE file that was distributed with this source code.
10+
*/
11+
12+
use ShipMonk\ComposerDependencyAnalyser\Config\Configuration;
13+
14+
$config = new Configuration();
15+
16+
return $config
17+
->addPathToScan(__DIR__ . '/../src', false)
18+
->addPathToExclude(__DIR__ . '/src')
19+
->addPathToExclude(__DIR__ . '/../tests');

.dev-tools/composer-require-checker.json

Lines changed: 0 additions & 54 deletions
This file was deleted.

.dev-tools/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
"require": {
44
"php": "^8.3",
55
"ergebnis/composer-normalize": "^2.43",
6-
"infection/infection": "^0.27.11",
6+
"infection/infection": "^0.29.6",
77
"kubawerlos/composer-smaller-lock": "^1.0.1",
88
"kubawerlos/php-cs-fixer-config": "^4.0",
9-
"maglnet/composer-require-checker": "^4.12",
109
"mi-schi/phpmd-extension": "^4.3",
1110
"phpmd/phpmd": "^2.15",
1211
"phpstan/extension-installer": "^1.4.3",
1312
"phpstan/phpstan": "^1.12.4",
1413
"phpstan/phpstan-phpunit": "^1.4",
1514
"phpstan/phpstan-strict-rules": "^1.6.1",
15+
"shipmonk/composer-dependency-analyser": "^1.7",
1616
"squizlabs/php_codesniffer": "^3.10.3"
1717
},
1818
"autoload": {
@@ -37,7 +37,7 @@
3737
"@composer validate --strict --working-dir=..",
3838
"@composer normalize --dry-run ../composer.json",
3939
"@composer normalize --dry-run",
40-
"composer-require-checker check ../composer.json --config-file composer-require-checker.json",
40+
"composer-dependency-analyser --composer-json=../composer.json",
4141
"phpcs",
4242
"phpmd ../src text phpmd.xml",
4343
"phpstan analyse --no-progress"

.dev-tools/composer.lock

Lines changed: 81 additions & 92 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)