danger-php_codesniffer 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3958989102cf082e0ef7331eee78d9d6571cb64c2402bca26b7a68abb8bf19b7
4
- data.tar.gz: e1e6cbf0dea85bdf67940bc88c04c977f64a347e5996918fbb7c716a5b8bc1e1
3
+ metadata.gz: 101c0b07ba7569699cf30572eec0b1ee2fc4eb503e89ff2633f335033bc360bf
4
+ data.tar.gz: 581009845ba504f0c0aaed6cce0622a4a2904b77c57cff05c634316c6d0e40ca
5
5
  SHA512:
6
- metadata.gz: dee201089acee1f5351f5a5748394844129cdd7d9a6691047605d28c27705a073b10649e91ba0f71087f69383ce932b0b56a1d25648a04e16cdd8baba4b15e87
7
- data.tar.gz: 43aca5edc28171ff03ed2e1c74059720695a30a56c8905ceafc363820094c2858e65b9059779ecbbabde78b64f3d8c2818f1dab6d266eaf014e7aeed4581cf34
6
+ metadata.gz: 4d6534ea147cdef626d5d882f54cfecbbc7baf111168f45965f7a3e773ebbdffe28ca661863efef65cfb21382eed0d1c3eac7e28996fd9d405e88650688f46d7
7
+ data.tar.gz: e724027628c001370647742fc78ebece6ea05eb8f2a74a521f6e2eb22d46f9043c66bff2d00741649fd367a1b1b9f67d5fa5a2a11455632394f62686342a6f11
data/.travis.yml CHANGED
@@ -4,9 +4,10 @@ cache:
4
4
  - bundle
5
5
 
6
6
  rvm:
7
- - 2.0
8
- - 2.1.3
9
- - 2.3.1
7
+ - 2.3.8
8
+ - 2.4.5
9
+ - 2.5.3
10
+ - 2.6.0
10
11
 
11
12
  script:
12
13
  - bundle exec rake spec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-php_codesniffer (0.1.2)
4
+ danger-php_codesniffer (0.1.3)
5
5
  danger-plugin-api (~> 1.0)
6
6
 
7
7
  GEM
data/Rakefile CHANGED
@@ -8,15 +8,9 @@ task default: :specs
8
8
 
9
9
  task :spec do
10
10
  Rake::Task['specs'].invoke
11
- Rake::Task['rubocop'].invoke
12
11
  Rake::Task['spec_docs'].invoke
13
12
  end
14
13
 
15
- desc 'Run RuboCop on the lib/specs directory'
16
- RuboCop::RakeTask.new(:rubocop) do |task|
17
- task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
18
- end
19
-
20
14
  desc 'Ensure that the plugin passes `danger plugins lint`'
21
15
  task :spec_docs do
22
16
  sh 'bundle exec danger plugins lint'
@@ -1,3 +1,3 @@
1
1
  module PhpCodesniffer
2
- VERSION = "0.1.2".freeze
2
+ VERSION = "0.1.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-php_codesniffer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ymhuang0808
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-22 00:00:00.000000000 Z
11
+ date: 2019-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger-plugin-api
@@ -158,7 +158,6 @@ extensions: []
158
158
  extra_rdoc_files: []
159
159
  files:
160
160
  - ".gitignore"
161
- - ".rubocop.yml"
162
161
  - ".travis.yml"
163
162
  - Gemfile
164
163
  - Gemfile.lock
data/.rubocop.yml DELETED
@@ -1,152 +0,0 @@
1
- # Defaults can be found here: https://github.com/bbatsov/rubocop/blob/master/config/default.yml
2
-
3
- # If you don't like these settings, just delete this file :)
4
-
5
- AllCops:
6
- TargetRubyVersion: 2.0
7
-
8
- Style/StringLiterals:
9
- EnforcedStyle: double_quotes
10
- Enabled: true
11
-
12
- # kind_of? is a good way to check a type
13
- Style/ClassCheck:
14
- EnforcedStyle: kind_of?
15
-
16
- # It's better to be more explicit about the type
17
- Style/BracesAroundHashParameters:
18
- Enabled: false
19
-
20
- # specs sometimes have useless assignments, which is fine
21
- Lint/UselessAssignment:
22
- Exclude:
23
- - '**/spec/**/*'
24
-
25
- # We could potentially enable the 2 below:
26
- Layout/IndentHash:
27
- Enabled: false
28
-
29
- Layout/AlignHash:
30
- Enabled: false
31
-
32
- # HoundCI doesn't like this rule
33
- Layout/DotPosition:
34
- Enabled: false
35
-
36
- # We allow !! as it's an easy way to convert ot boolean
37
- Style/DoubleNegation:
38
- Enabled: false
39
-
40
- # Cop supports --auto-correct.
41
- Lint/UnusedBlockArgument:
42
- Enabled: false
43
-
44
- # We want to allow class Fastlane::Class
45
- Style/ClassAndModuleChildren:
46
- Enabled: false
47
-
48
- Metrics/AbcSize:
49
- Max: 60
50
-
51
- # The %w might be confusing for new users
52
- Style/WordArray:
53
- MinSize: 19
54
-
55
- # raise and fail are both okay
56
- Style/SignalException:
57
- Enabled: false
58
-
59
- # Better too much 'return' than one missing
60
- Style/RedundantReturn:
61
- Enabled: false
62
-
63
- # Having if in the same line might not always be good
64
- Style/IfUnlessModifier:
65
- Enabled: false
66
-
67
- # and and or is okay
68
- Style/AndOr:
69
- Enabled: false
70
-
71
- # Configuration parameters: CountComments.
72
- Metrics/ClassLength:
73
- Max: 350
74
-
75
- Metrics/CyclomaticComplexity:
76
- Max: 17
77
-
78
- # Configuration parameters: AllowURI, URISchemes.
79
- Metrics/LineLength:
80
- Max: 370
81
-
82
- # Configuration parameters: CountKeywordArgs.
83
- Metrics/ParameterLists:
84
- Max: 10
85
-
86
- Metrics/PerceivedComplexity:
87
- Max: 18
88
-
89
- # Sometimes it's easier to read without guards
90
- Style/GuardClause:
91
- Enabled: false
92
-
93
- # something = if something_else
94
- # that's confusing
95
- Style/ConditionalAssignment:
96
- Enabled: false
97
-
98
- # Better to have too much self than missing a self
99
- Style/RedundantSelf:
100
- Enabled: false
101
-
102
- Metrics/MethodLength:
103
- Max: 60
104
-
105
- # We're not there yet
106
- Style/Documentation:
107
- Enabled: false
108
-
109
- # Adds complexity
110
- Style/IfInsideElse:
111
- Enabled: false
112
-
113
- # danger specific
114
-
115
- Style/BlockComments:
116
- Enabled: false
117
-
118
- Layout/MultilineMethodCallIndentation:
119
- EnforcedStyle: indented
120
-
121
- # FIXME: 25
122
- Metrics/BlockLength:
123
- Max: 345
124
- Exclude:
125
- - "**/*_spec.rb"
126
-
127
- Style/MixinGrouping:
128
- Enabled: false
129
-
130
- Style/FileName:
131
- Enabled: false
132
-
133
- Layout/IndentHeredoc:
134
- Enabled: false
135
-
136
- Style/SpecialGlobalVars:
137
- Enabled: false
138
-
139
- PercentLiteralDelimiters:
140
- PreferredDelimiters:
141
- "%": ()
142
- "%i": ()
143
- "%q": ()
144
- "%Q": ()
145
- "%r": "{}"
146
- "%s": ()
147
- "%w": ()
148
- "%W": ()
149
- "%x": ()
150
-
151
- Security/YAMLLoad:
152
- Enabled: false