\NOOP_Translations
Provides the same interface as Translations, but doesn't do anything
Synopsis
- // methods
- public void add_entry()
- public void set_header()
- public void set_headers()
- public false get_header()
- public false translate_entry()
- public void translate()
- public bool select_plural_form()
- public int get_plural_forms_count()
- public void translate_plural()
- public void merge_with()
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
283 | UnusedFormalParameter | Avoid unused parameters such as '$entry'. |
292 | UnusedFormalParameter | Avoid unused parameters such as '$header'. |
292 | UnusedFormalParameter | Avoid unused parameters such as '$value'. |
299 | UnusedFormalParameter | Avoid unused parameters such as '$headers'. |
306 | UnusedFormalParameter | Avoid unused parameters such as '$header'. |
314 | UnusedFormalParameter | Avoid unused parameters such as '$entry'. |
322 | UnusedFormalParameter | Avoid unused parameters such as '$context'. |
348 | UnusedFormalParameter | Avoid unused parameters such as '$context'. |
355 | UnusedFormalParameter | Avoid unused parameters such as '$other'. |
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
280 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
280 | 5 | error | Line indented incorrectly; expected at least 8 spaces, found 4 |
280 | 9 | error | The var keyword must not be used to declare a property |
280 | 9 | error | Visibility must be declared on property "$entries" |
281 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
281 | 5 | error | Line indented incorrectly; expected at least 8 spaces, found 4 |
281 | 9 | error | The var keyword must not be used to declare a property |
281 | 9 | error | Visibility must be declared on property "$headers" |
283 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
283 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
283 | 5 | error | Method name "NOOP_Translations::add_entry" is not in camel caps format |
283 | 5 | error | Visibility must be declared on method "add_entry" |
283 | 32 | error | Opening brace should be on a new line |
284 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
284 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
285 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
285 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
292 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
292 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
292 | 5 | error | Method name "NOOP_Translations::set_header" is not in camel caps format |
292 | 5 | error | Visibility must be declared on method "set_header" |
292 | 42 | error | Opening brace should be on a new line |
293 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
293 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
299 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
299 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
299 | 5 | error | Method name "NOOP_Translations::set_headers" is not in camel caps format |
299 | 5 | error | Visibility must be declared on method "set_headers" |
299 | 36 | error | Opening brace should be on a new line |
300 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
300 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
306 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
306 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
306 | 5 | error | Method name "NOOP_Translations::get_header" is not in camel caps format |
306 | 5 | error | Visibility must be declared on method "get_header" |
306 | 34 | error | Opening brace should be on a new line |
307 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
307 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
308 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
308 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
314 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
314 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
314 | 5 | error | Method name "NOOP_Translations::translate_entry" is not in camel caps format |
314 | 5 | error | Visibility must be declared on method "translate_entry" |
314 | 39 | error | Opening brace should be on a new line |
315 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
315 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
316 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
316 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
322 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
322 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
322 | 5 | error | Visibility must be declared on method "translate" |
322 | 43 | error | Incorrect spacing between argument "$context" and equals sign; expected 1 but found 0 |
322 | 43 | error | Incorrect spacing between default value and equals sign for argument "$context"; expected 1 but found 0 |
322 | 50 | error | Opening brace should be on a new line |
323 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
323 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
324 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
324 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
331 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
331 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
331 | 5 | error | Method name "NOOP_Translations::select_plural_form" is not in camel caps format |
331 | 5 | error | Visibility must be declared on method "select_plural_form" |
331 | 41 | error | Opening brace should be on a new line |
332 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
332 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
333 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
333 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
338 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
338 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
338 | 5 | error | Method name "NOOP_Translations::get_plural_forms_count" is not in camel caps format |
338 | 5 | error | Visibility must be declared on method "get_plural_forms_count" |
338 | 39 | error | Opening brace should be on a new line |
339 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
339 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
340 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
340 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
348 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
348 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
348 | 5 | error | Method name "NOOP_Translations::translate_plural" is not in camel caps format |
348 | 5 | error | Visibility must be declared on method "translate_plural" |
348 | 76 | error | Opening brace should be on a new line |
349 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
350 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
350 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
355 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
355 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
355 | 5 | error | Method name "NOOP_Translations::merge_with" is not in camel caps format |
355 | 5 | error | Visibility must be declared on method "merge_with" |
355 | 34 | error | Opening brace should be on a new line |
356 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
356 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
Members
public
- $entries
- $headers
Methods
public
History
-
2017-05-29T22:42:45+00:00 (commit #ba5872a)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Core remastered to Bootstrap CSS framework.
-
2017-05-17T09:50:09+00:00 (commit #bcd6e9c)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
PSR-2
-
2017-05-16T19:52:59+00:00 (commit #fd0a296)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
PSR-2 applied
-
2016-01-25T17:45:50+00:00 (commit #97e2af2)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Pre v.3.0
-
2015-03-28T21:15:41+00:00 (commit #158813e)
Author: Калёнов Денис Михайлович (a-KaDeMi-k@yandex.ru) / Commiter: Калёнов Денис Михайлович (a-KaDeMi-k@yandex.ru)
ję v2
-
2015-03-17T22:34:17+00:00 (commit #28c49e6)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
#23: Написать автоматические тесты для всей системы https://github.com/Limych/GeniBase/issues/issue/23
-
2015-03-13T19:41:13+00:00 (commit #839eee5)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Setting user ID cookie and some minor code changes. #50
-
2015-03-11T20:40:06+00:00 (commit #d811aca)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Added actions.