Skip to content

Commit 29d0091

Browse files
committed
Fixing CI
1 parent c68a02b commit 29d0091

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

composer.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,7 @@
3838
"branch-alias": {
3939
"dev-master": "0.1-dev"
4040
}
41-
}
41+
},
42+
"minimum-stability": "dev",
43+
"prefer-stable": true
4244
}

phpcs.xml.dist

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="Expressive Skeleton coding standard">
3+
<description>Expressive Skeleton coding standard</description>
4+
5+
<!-- display progress -->
6+
<arg value="p"/>
7+
<arg name="colors"/>
8+
9+
<!-- inherit rules from: -->
10+
<rule ref="PSR2"/>
11+
12+
<!-- Paths to check -->
13+
<file>src</file>
14+
15+
<rule ref="Generic.Files.LineLength">
16+
<properties>
17+
<property name="lineLimit" value="300"/>
18+
<property name="absoluteLineLimit" value="500"/>
19+
</properties>
20+
</rule>
21+
</ruleset>

src/Utils/FunctionListLoader.php

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
namespace TheCodingMachine\Safe\PHPStan\Utils;
55

6-
76
use PHPStan\Analyser\Scope;
87
use PHPStan\Reflection\FunctionReflection;
98
use PHPStan\Reflection\MethodReflection;

0 commit comments

Comments
 (0)