Skip to content

Commit 8ae1ca9

Browse files
committed
Tweak
1 parent dbf253e commit 8ae1ca9

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
/captainhook.json export-ignore
66
/composer.json
77
/composer.lock export-ignore
8+
/composer-dependency-analyser.php export-ignore
89
/phpstan.neon export-ignore
910
/phpstan.php export-ignore
1011
/phpunit.xml export-ignore

.php-cs-fixer.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
->in(__DIR__ . '/examples')
1111
->in(__DIR__ . '/src')
1212
->in(__DIR__ . '/tests')
13-
->append([__DIR__ . '/.php-cs-fixer.php']);
13+
->append([
14+
__DIR__ . '/.php-cs-fixer.php',
15+
__DIR__ . '/composer-dependency-analyser.php',
16+
__DIR__ . '/phpstan.php',
17+
]);
1418

1519
return PhpCsFixerConfigFactory::create(TicketSwapRuleSet::create())->setFinder($finder);

composer-dependency-analyser.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use ShipMonk\ComposerDependencyAnalyser\Config\Configuration;
6+
7+
$config = new Configuration();
8+
9+
return $config;

phpstan.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
return [
46
'parameters' => [

0 commit comments

Comments
 (0)