Skip to content

Commit 8c198f3

Browse files
committed
Fix CS and drop 7.1
1 parent 1e232ab commit 8c198f3

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
22

33
php:
4-
- 7.1
54
- 7.2
65
- 7.3
76
- 7.4

composer.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
}
1010
],
1111
"require": {
12+
"php": "^7.2",
1213
"psr/log": "^1.0",
1314
"webmozart/path-util": "^2.3"
1415
},
@@ -32,5 +33,12 @@
3233
"branch-alias": {
3334
"dev-master": "0.4.x-dev"
3435
}
36+
},
37+
"scripts": {
38+
"integrate": [
39+
"vendor/bin/php-cs-fixer fix --dry-run",
40+
"vendor/bin/phpstan analyse lib -c phpstan.neon",
41+
"vendor/bin/phpunit"
42+
]
3543
}
36-
}
44+
}

lib/Adapter/Composer/ComposerClassToFile.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ private function getFileCandidates(ClassName $className, array $prefixes)
9898
$candidates = [];
9999

100100
foreach ($prefixes as $prefix => $paths) {
101-
102101
if (is_int($prefix)) {
103102
$prefix = '';
104103
}

0 commit comments

Comments
 (0)