This repository was archived by the owner on Feb 23, 2018. It is now read-only.
File tree 4 files changed +15
-0
lines changed
4 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ class AtomConfig extends Config
28
28
@ set (' showUnknownGlobalFunctions' , atom .config .get (" #{ @packageName } .showUnknownGlobalFunctions" ))
29
29
@ set (' showUnknownGlobalConstants' , atom .config .get (" #{ @packageName } .showUnknownGlobalConstants" ))
30
30
@ set (' showUnusedUseStatements' , atom .config .get (" #{ @packageName } .showUnusedUseStatements" ))
31
+ @ set (' showMissingDocs' , atom .config .get (" #{ @packageName } .showMissingDocs" ))
31
32
@ set (' validateDocblockCorrectness' , atom .config .get (" #{ @packageName } .validateDocblockCorrectness" ))
32
33
33
34
### *
@@ -49,5 +50,8 @@ class AtomConfig extends Config
49
50
atom .config .onDidChange " #{ @packageName } .showUnusedUseStatements" , () =>
50
51
@ set (' showUnusedUseStatements' , atom .config .get (" #{ @packageName } .showUnusedUseStatements" ))
51
52
53
+ atom .config .onDidChange " #{ @packageName } .showMissingDocs" , () =>
54
+ @ set (' showMissingDocs' , atom .config .get (" #{ @packageName } .showMissingDocs" ))
55
+
52
56
atom .config .onDidChange " #{ @packageName } .validateDocblockCorrectness" , () =>
53
57
@ set (' validateDocblockCorrectness' , atom .config .get (" #{ @packageName } .validateDocblockCorrectness" ))
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ class Config
27
27
showUnknownGlobalFunctions : true
28
28
showUnknownGlobalConstants : true
29
29
showUnusedUseStatements : true
30
+ showMissingDocs : true
30
31
validateDocblockCorrectness : true
31
32
32
33
@ load ()
Original file line number Diff line number Diff line change @@ -48,6 +48,15 @@ module.exports =
48
48
default : true
49
49
order : 5
50
50
51
+ showMissingDocs :
52
+ title : ' Show missing phpdocumentations'
53
+ description : '''
54
+ Highlights any missing php documentation on functions/methods/classes/fields.
55
+ '''
56
+ type : ' boolean'
57
+ default : true
58
+ order : 6
59
+
51
60
validateDocblockCorrectness :
52
61
title : ' Validate docblock correctness'
53
62
description : '''
Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ class IndexingProvider
140
140
noUnknownGlobalFunctions : not @config .get (' showUnknownGlobalFunctions' )
141
141
noUnknownGlobalConstants : not @config .get (' showUnknownGlobalConstants' )
142
142
noUnusedUseStatements : not @config .get (' showUnusedUseStatements' )
143
+ noMissingDocs : not @config .get (' showMissingDocs' )
143
144
noDocblockCorrectness : not @config .get (' validateDocblockCorrectness' )
144
145
}
145
146
You can’t perform that action at this time.
0 commit comments