File tree Expand file tree Collapse file tree 4 files changed +30
-9
lines changed Expand file tree Collapse file tree 4 files changed +30
-9
lines changed Original file line number Diff line number Diff line change 1
- [ ![ Latest Stable Version] ( https://poser.pugx.org/thecodingmachine/phpstan-safe-rules/v/stable )] ( https://packagist.org/packages/thecodingmachine/phpstan-safe-rules )
2
- [ ![ Total Downloads] ( https://poser.pugx.org/thecodingmachine/phpstan-safe-rules/downloads )] ( https://packagist.org/packages/thecodingmachine/phpstan-safe-rules )
3
- [ ![ Latest Unstable Version] ( https://poser.pugx.org/thecodingmachine/phpstan-safe-rules/v/unstable )] ( https://packagist.org/packages/thecodingmachine/phpstan-safe-rules )
4
- [ ![ License] ( https://poser.pugx.org/thecodingmachine/phpstan-safe-rules/license )] ( https://packagist.org/packages/thecodingmachine/phpstan-safe-rules )
5
- [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/thecodingmachine/phpstan-safe-rules/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/thecodingmachine/phpstan-safe-rules/?branch=master )
6
- [ ![ Build Status] ( https://travis-ci.org/thecodingmachine/phpstan-safe-rules.svg?branch=master )] ( https://travis-ci.org/thecodingmachine/phpstan-safe-rules )
7
- [ ![ Coverage Status] ( https://coveralls.io/repos/thecodingmachine/phpstan-safe-rules/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/thecodingmachine/phpstan-safe-rules?branch=master )
1
+ [ ![ Latest Stable Version] ( https://poser.pugx.org/thecodingmachine/phpstan-safe-rule/v/stable )] ( https://packagist.org/packages/thecodingmachine/phpstan-safe-rule )
2
+ [ ![ Total Downloads] ( https://poser.pugx.org/thecodingmachine/phpstan-safe-rule/downloads )] ( https://packagist.org/packages/thecodingmachine/phpstan-safe-rule )
3
+ [ ![ Latest Unstable Version] ( https://poser.pugx.org/thecodingmachine/phpstan-safe-rule/v/unstable )] ( https://packagist.org/packages/thecodingmachine/phpstan-safe-rule )
4
+ [ ![ License] ( https://poser.pugx.org/thecodingmachine/phpstan-safe-rule/license )] ( https://packagist.org/packages/thecodingmachine/phpstan-safe-rule )
5
+ [ ![ Build Status] ( https://travis-ci.org/thecodingmachine/phpstan-safe-rule.svg?branch=master )] ( https://travis-ci.org/thecodingmachine/phpstan-safe-rule )
6
+ [ ![ Coverage Status] ( https://coveralls.io/repos/thecodingmachine/phpstan-safe-rule/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/thecodingmachine/phpstan-safe-rule?branch=master )
8
7
9
8
10
9
PHPStan rules for thecodingmachine/safe
Original file line number Diff line number Diff line change 38
38
"branch-alias" : {
39
39
"dev-master" : " 0.1-dev"
40
40
}
41
- }
41
+ },
42
+ "minimum-stability" : " dev" ,
43
+ "prefer-stable" : true
42
44
}
Original file line number Diff line number Diff line change
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 >
Original file line number Diff line number Diff line change 3
3
4
4
namespace TheCodingMachine \Safe \PHPStan \Utils ;
5
5
6
-
7
6
use PHPStan \Analyser \Scope ;
8
7
use PHPStan \Reflection \FunctionReflection ;
9
8
use PHPStan \Reflection \MethodReflection ;
You can’t perform that action at this time.
0 commit comments