Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F8730744
TextExtracts PHPCS errors
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
pmiazga
Jul 13 2017, 2:42 PM
2017-07-13 14:42:44 (UTC+0)
Size
3 KB
Referenced Files
None
Subscribers
None
TextExtracts PHPCS errors
View Options
FILE: /home/raynor/Work/wmf/mediawiki/mediawiki/extensions/TextExtracts/tests/phpunit/ExtractFormatterTest.php
--------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------------
22 | WARNING | Comments should start on new line.
179 | WARNING | Comments should start on new line.
--------------------------------------------------------------------------------------------------------------
FILE: /home/raynor/Work/wmf/mediawiki/mediawiki/extensions/TextExtracts/includes/Hooks.php
-----------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------
13 | ERROR | Doc comment for parameter "&$results" missing
15 | ERROR | Missing parameter comment
15 | ERROR | Doc comment for parameter $results does not match actual variable name &$results
-----------------------------------------------------------------------------------------------
FILE: /home/raynor/Work/wmf/mediawiki/mediawiki/extensions/TextExtracts/includes/ExtractFormatter.php
------------------------------------------------------------------------------------------------------
FOUND 11 ERRORS AND 7 WARNINGS AFFECTING 17 LINES
------------------------------------------------------------------------------------------------------
34 | ERROR | Doc comment for parameter "$text" missing
34 | ERROR | Doc comment for parameter "$plainText" missing
35 | ERROR | Doc comment for parameter $text: does not match actual variable name $text
36 | ERROR | Doc comment for parameter $plainText: does not match actual variable name $plainText
37 | ERROR | Missing parameter comment
53 | ERROR | Missing function doc comment
58 | WARNING | Comments should start on new line.
59 | WARNING | Comments should start on new line.
60 | WARNING | Comments should start on new line.
65 | ERROR | Missing function doc comment
78 | ERROR | Missing parameter comment
79 | ERROR | Missing parameter comment
89 | WARNING | Comments should start on new line.
90 | WARNING | Comments should start on new line.
91 | WARNING | Comments should start on new line.
92 | WARNING | Comments should start on new line.
117 | ERROR | Missing parameter comment
118 | ERROR | Missing parameter comment
------------------------------------------------------------------------------------------------------
FILE: /home/raynor/Work/wmf/mediawiki/mediawiki/extensions/TextExtracts/includes/ApiQueryExtracts.php
-----------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
-----------------------------------------------------------------------------------------------------
61 | ERROR | Missing function doc comment
66 | ERROR | Missing function doc comment
117 | ERROR | Missing function doc comment
275 | ERROR | Missing parameter comment
276 | ERROR | Missing parameter comment
371 | ERROR | Function name "doSection_wiki" should use lower camel case.
376 | ERROR | Function name "doSection_plain" should use lower camel case.
380 | ERROR | Missing function doc comment
414 | ERROR | Missing @return tag in function comment
422 | ERROR | Missing function doc comment
-----------------------------------------------------------------------------------------------------
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4774279
Default Alt Text
TextExtracts PHPCS errors (3 KB)
Attached To
Mode
P5743 TextExtracts PHPCS errors
Attached
Detach File
Event Timeline
Log In to Comment