\POMO_FileReader
Synopsis
- // methods
- public void __construct()
- public void POMO_FileReader()
- public void read()
- public boolean seekto()
- public bool is_resource()
- public bool feof()
- public bool close()
- public string read_all()
- // Inherited methods from POMO_Reader
- public void __construct()
- public void POMO_Reader()
- public void setEndian()
- public mixed readint32()
- public mixed readint32array()
- public string substr()
- public int strlen()
- public array str_split()
- public int pos()
- public true is_resource()
- public true close()
Hierarchy
Extends
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
151 - 153 | ConstructorWithNameAsEnclosingClass | Classes should not have a constructor method with the same name as the class |
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
14 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
14 | 5 | error | Line indented incorrectly; expected at least 8 spaces, found 4 |
14 | 9 | error | The var keyword must not be used to declare a property |
14 | 9 | error | Visibility must be declared on property "$endian" |
15 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
15 | 5 | error | Line indented incorrectly; expected at least 8 spaces, found 4 |
15 | 9 | warning | Property name "$_post" should not be prefixed with an underscore to indicate visibility |
15 | 9 | error | The var keyword must not be used to declare a property |
15 | 9 | error | Visibility must be declared on property "$_post" |
20 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
20 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
20 | 5 | error | Visibility must be declared on method "__construct" |
20 | 28 | error | Opening brace should be on a new line |
21 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
21 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
22 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
22 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
23 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
23 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
28 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
28 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
28 | 12 | error | Method name "POMO_Reader::POMO_Reader" is not in camel caps format |
28 | 35 | error | Opening brace should be on a new line |
29 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
29 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
30 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
30 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
37 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
37 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
37 | 5 | error | Visibility must be declared on method "setEndian" |
37 | 33 | error | Opening brace should be on a new line |
38 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
38 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
39 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
39 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
47 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
47 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
47 | 5 | error | Visibility must be declared on method "readint32" |
47 | 26 | error | Opening brace should be on a new line |
48 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
48 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
49 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
49 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
49 | 9 | error | Inline control structures are not allowed |
50 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
51 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
51 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
52 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
52 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
53 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
53 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
53 | 16 | error | Space after opening parenthesis of function call prohibited |
53 | 16 | error | Expected 0 spaces before closing bracket; 1 found |
54 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
54 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
63 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
63 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
63 | 5 | error | Visibility must be declared on method "readint32array" |
63 | 37 | error | Opening brace should be on a new line |
64 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
64 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
65 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
65 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
65 | 9 | error | Inline control structures are not allowed |
66 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
67 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
67 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
68 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
68 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
69 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
69 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
77 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
77 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
77 | 5 | error | Visibility must be declared on method "substr" |
77 | 47 | error | Opening brace should be on a new line |
78 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
78 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
79 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
79 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
80 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
80 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
81 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
81 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
82 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
82 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
83 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
83 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
89 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
89 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
89 | 5 | error | Visibility must be declared on method "strlen" |
89 | 30 | error | Opening brace should be on a new line |
90 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
90 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
91 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
91 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
92 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
92 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
93 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
93 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
94 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
94 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
95 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
95 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
102 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
102 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
102 | 5 | error | Method name "POMO_Reader::str_split" is not in camel caps format |
102 | 5 | error | Visibility must be declared on method "str_split" |
102 | 46 | error | Opening brace should be on a new line |
103 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
103 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
104 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
104 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
105 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
105 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
106 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
106 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
106 | 13 | error | Inline control structures are not allowed |
107 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
108 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
108 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
109 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
109 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
110 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
110 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
110 | 20 | error | Space after opening parenthesis of function call prohibited |
110 | 20 | error | Expected 0 spaces before closing bracket; 1 found |
111 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
111 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
112 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
112 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
117 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
117 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
117 | 5 | error | Visibility must be declared on method "pos" |
117 | 20 | error | Opening brace should be on a new line |
118 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
118 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
119 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
119 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
124 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
124 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
124 | 5 | error | Method name "POMO_Reader::is_resource" is not in camel caps format |
124 | 5 | error | Visibility must be declared on method "is_resource" |
124 | 28 | error | Opening brace should be on a new line |
125 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
125 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
126 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
126 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
131 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
131 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
131 | 5 | error | Visibility must be declared on method "close" |
131 | 22 | error | Opening brace should be on a new line |
132 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
132 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
133 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
133 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
143 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
143 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
143 | 5 | error | Visibility must be declared on method "__construct" |
143 | 27 | error | Expected 0 spaces between opening bracket and argument "$filename"; 1 found |
143 | 37 | error | Expected 0 spaces between argument "$filename" and closing bracket; 1 found |
143 | 39 | error | Opening brace should be on a new line |
144 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
144 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
145 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
145 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
146 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
146 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
151 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
151 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
151 | 12 | error | Method name "POMO_FileReader::POMO_FileReader" is not in camel caps format |
151 | 38 | error | Expected 0 spaces between opening bracket and argument "$filename"; 1 found |
151 | 48 | error | Expected 0 spaces between argument "$filename" and closing bracket; 1 found |
151 | 50 | error | Opening brace should be on a new line |
152 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
152 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
152 | 15 | error | Space after opening parenthesis of function call prohibited |
152 | 15 | error | Expected 0 spaces before closing bracket; 1 found |
153 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
153 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
158 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
158 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
158 | 5 | error | Visibility must be declared on method "read" |
158 | 27 | error | Opening brace should be on a new line |
159 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
159 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
160 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
160 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
166 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
166 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
166 | 5 | error | Visibility must be declared on method "seekto" |
166 | 27 | error | Opening brace should be on a new line |
167 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
167 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
167 | 13 | error | Expected 0 spaces after opening bracket; 1 found |
168 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
168 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
169 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
169 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
170 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
170 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
171 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
171 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
172 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
172 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
177 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
177 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
177 | 5 | error | Method name "POMO_FileReader::is_resource" is not in camel caps format |
177 | 5 | error | Visibility must be declared on method "is_resource" |
177 | 28 | error | Opening brace should be on a new line |
178 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
178 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
179 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
179 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
184 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
184 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
184 | 5 | error | Visibility must be declared on method "feof" |
184 | 21 | error | Opening brace should be on a new line |
185 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
185 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
186 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
186 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
191 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
191 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
191 | 5 | error | Visibility must be declared on method "close" |
191 | 22 | error | Opening brace should be on a new line |
192 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
192 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
193 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
193 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
198 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
198 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
198 | 5 | error | Method name "POMO_FileReader::read_all" is not in camel caps format |
198 | 5 | error | Visibility must be declared on method "read_all" |
198 | 25 | error | Opening brace should be on a new line |
199 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
199 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
200 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
200 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
200 | 9 | error | Inline control structures are not allowed |
200 | 16 | error | Expected 0 spaces after opening bracket; 1 found |
200 | 31 | error | Expected 0 spaces before closing bracket; 1 found |
200 | 32 | error | Expected 0 spaces before semicolon; newline found |
201 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
202 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
202 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
203 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
203 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
Members
public
- $_post
- $endian
Methods
public
- __construct()
- POMO_FileReader() — PHP4 constructor.
- close()
- feof()
- is_resource()
- read()
- read_all()
- seekto()
Inherited from POMO_Reader
public
- POMO_Reader() — PHP4 constructor.
- close()
- is_resource()
- pos()
- readint32() — Reads a 32bit Integer from the Stream
- readint32array() — Reads an array of 32-bit Integers from the Stream
- setEndian() — Sets the endianness of the file.
- str_split()
- strlen()
- substr()
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-16T23:37:10+00:00 (commit #ad75944)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Fixes for PHP 7 compatibility
-
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.