Skip to content

Commit 1afa001

Browse files
committed
regenerate phpstan baseline
1 parent fc2b2b6 commit 1afa001

4 files changed

Lines changed: 292 additions & 0 deletions
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# total 17 errors
2+
3+
parameters:
4+
ignoreErrors:
5+
-
6+
message: '#^Direct global assignment to \$_SERVER is not allowed\.$#'
7+
count: 1
8+
path: ../../tests/system/Config/BaseConfigTest.php
9+
10+
-
11+
message: '#^Direct global assignment to \$_SERVER is not allowed\.$#'
12+
count: 1
13+
path: ../../tests/system/Config/ServicesTest.php
14+
15+
-
16+
message: '#^Direct global assignment to \$_SERVER is not allowed\.$#'
17+
count: 2
18+
path: ../../tests/system/ControllerTest.php
19+
20+
-
21+
message: '#^Direct global assignment to \$_SERVER is not allowed\.$#'
22+
count: 1
23+
path: ../../tests/system/Filters/FiltersTest.php
24+
25+
-
26+
message: '#^Direct global assignment to \$_COOKIE is not allowed\.$#'
27+
count: 1
28+
path: ../../tests/system/HTTP/IncomingRequestTest.php
29+
30+
-
31+
message: '#^Direct global assignment to \$_GET is not allowed\.$#'
32+
count: 1
33+
path: ../../tests/system/HTTP/IncomingRequestTest.php
34+
35+
-
36+
message: '#^Direct global assignment to \$_POST is not allowed\.$#'
37+
count: 1
38+
path: ../../tests/system/HTTP/IncomingRequestTest.php
39+
40+
-
41+
message: '#^Direct global assignment to \$_REQUEST is not allowed\.$#'
42+
count: 1
43+
path: ../../tests/system/HTTP/IncomingRequestTest.php
44+
45+
-
46+
message: '#^Direct global assignment to \$_SERVER is not allowed\.$#'
47+
count: 1
48+
path: ../../tests/system/HTTP/IncomingRequestTest.php
49+
50+
-
51+
message: '#^Direct global assignment to \$_GET is not allowed\.$#'
52+
count: 1
53+
path: ../../tests/system/HTTP/SiteURIFactoryDetectRoutePathTest.php
54+
55+
-
56+
message: '#^Direct global assignment to \$_SERVER is not allowed\.$#'
57+
count: 1
58+
path: ../../tests/system/HTTP/SiteURIFactoryDetectRoutePathTest.php
59+
60+
-
61+
message: '#^Direct global assignment to \$_COOKIE is not allowed\.$#'
62+
count: 1
63+
path: ../../tests/system/Helpers/CookieHelperTest.php
64+
65+
-
66+
message: '#^Direct global assignment to \$_GET is not allowed\.$#'
67+
count: 1
68+
path: ../../tests/system/Helpers/FormHelperTest.php
69+
70+
-
71+
message: '#^Direct global assignment to \$_POST is not allowed\.$#'
72+
count: 1
73+
path: ../../tests/system/Helpers/FormHelperTest.php
74+
75+
-
76+
message: '#^Direct global assignment to \$_SERVER is not allowed\.$#'
77+
count: 1
78+
path: ../../tests/system/Helpers/URLHelper/SiteUrlCliTest.php
79+
80+
-
81+
message: '#^Direct global assignment to \$_SERVER is not allowed\.$#'
82+
count: 1
83+
path: ../../tests/system/Helpers/URLHelper/SiteUrlTest.php
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
# total 35 errors
2+
3+
parameters:
4+
ignoreErrors:
5+
-
6+
message: '#^Direct access to \$_SERVER\[''argv''\] is not allowed\.$#'
7+
count: 2
8+
path: ../../system/Boot.php
9+
10+
-
11+
message: '#^Direct access to \$_SERVER\[''ANSICON''\] is not allowed\.$#'
12+
count: 1
13+
path: ../../system/CLI/CLI.php
14+
15+
-
16+
message: '#^Direct access to \$_SERVER\[''NO_COLOR''\] is not allowed\.$#'
17+
count: 1
18+
path: ../../system/CLI/CLI.php
19+
20+
-
21+
message: '#^Direct access to \$_SERVER\[''argv''\] is not allowed\.$#'
22+
count: 1
23+
path: ../../system/CLI/CLI.php
24+
25+
-
26+
message: '#^Direct access to \$_SERVER\[''REMOTE_ADDR''\] is not allowed\.$#'
27+
count: 1
28+
path: ../../system/Common.php
29+
30+
-
31+
message: '#^Direct access to \$_SERVER\[''REQUEST_METHOD''\] is not allowed\.$#'
32+
count: 1
33+
path: ../../system/Common.php
34+
35+
-
36+
message: '#^Direct access to \$_SERVER\[\$key\] is not allowed\.$#'
37+
count: 1
38+
path: ../../system/Common.php
39+
40+
-
41+
message: '#^Direct access to \$_SERVER\[''CI_ENVIRONMENT''\] is not allowed\.$#'
42+
count: 2
43+
path: ../../system/Config/AutoloadConfig.php
44+
45+
-
46+
message: '#^Direct access to \$_SERVER\["\{\$prefix\}\.\{\$property\}"\] is not allowed\.$#'
47+
count: 1
48+
path: ../../system/Config/BaseConfig.php
49+
50+
-
51+
message: '#^Direct access to \$_SERVER\["\{\$prefix\}_\{\$underscoreProperty\}"\] is not allowed\.$#'
52+
count: 1
53+
path: ../../system/Config/BaseConfig.php
54+
55+
-
56+
message: '#^Direct access to \$_SERVER\["\{\$shortPrefix\}\.\{\$property\}"\] is not allowed\.$#'
57+
count: 1
58+
path: ../../system/Config/BaseConfig.php
59+
60+
-
61+
message: '#^Direct access to \$_SERVER\["\{\$shortPrefix\}_\{\$underscoreProperty\}"\] is not allowed\.$#'
62+
count: 1
63+
path: ../../system/Config/BaseConfig.php
64+
65+
-
66+
message: '#^Direct access to \$_COOKIE\[\$this\-\>config\-\>cookieName\] is not allowed\.$#'
67+
count: 5
68+
path: ../../system/Session/Session.php
69+
70+
-
71+
message: '#^Direct access to \$_SERVER\[''BAR''\] is not allowed\.$#'
72+
count: 1
73+
path: ../../tests/system/Config/DotEnvTest.php
74+
75+
-
76+
message: '#^Direct access to \$_SERVER\[''FOO''\] is not allowed\.$#'
77+
count: 1
78+
path: ../../tests/system/Config/DotEnvTest.php
79+
80+
-
81+
message: '#^Direct access to \$_SERVER\[''NULL''\] is not allowed\.$#'
82+
count: 1
83+
path: ../../tests/system/Config/DotEnvTest.php
84+
85+
-
86+
message: '#^Direct access to \$_SERVER\[''SPACED''\] is not allowed\.$#'
87+
count: 1
88+
path: ../../tests/system/Config/DotEnvTest.php
89+
90+
-
91+
message: '#^Direct access to \$_SERVER\[''SimpleConfig_simple_name''\] is not allowed\.$#'
92+
count: 1
93+
path: ../../tests/system/Config/DotEnvTest.php
94+
95+
-
96+
message: '#^Direct access to \$_SERVER\[''QUERY_STRING''\] is not allowed\.$#'
97+
count: 1
98+
path: ../../tests/system/HTTP/SiteURIFactoryDetectRoutePathTest.php
99+
100+
-
101+
message: '#^Direct access to \$_COOKIE\[''custom_cookie''\] is not allowed\.$#'
102+
count: 1
103+
path: ../../tests/system/SuperglobalsTest.php
104+
105+
-
106+
message: '#^Direct access to \$_COOKIE\[''session''\] is not allowed\.$#'
107+
count: 1
108+
path: ../../tests/system/SuperglobalsTest.php
109+
110+
-
111+
message: '#^Direct access to \$_GET\[''custom_get''\] is not allowed\.$#'
112+
count: 1
113+
path: ../../tests/system/SuperglobalsTest.php
114+
115+
-
116+
message: '#^Direct access to \$_GET\[''test''\] is not allowed\.$#'
117+
count: 1
118+
path: ../../tests/system/SuperglobalsTest.php
119+
120+
-
121+
message: '#^Direct access to \$_POST\[''custom_post''\] is not allowed\.$#'
122+
count: 1
123+
path: ../../tests/system/SuperglobalsTest.php
124+
125+
-
126+
message: '#^Direct access to \$_POST\[''test''\] is not allowed\.$#'
127+
count: 1
128+
path: ../../tests/system/SuperglobalsTest.php
129+
130+
-
131+
message: '#^Direct access to \$_REQUEST\[''custom_request''\] is not allowed\.$#'
132+
count: 1
133+
path: ../../tests/system/SuperglobalsTest.php
134+
135+
-
136+
message: '#^Direct access to \$_REQUEST\[''test''\] is not allowed\.$#'
137+
count: 1
138+
path: ../../tests/system/SuperglobalsTest.php
139+
140+
-
141+
message: '#^Direct access to \$_SERVER\[''CUSTOM_SERVER''\] is not allowed\.$#'
142+
count: 1
143+
path: ../../tests/system/SuperglobalsTest.php
144+
145+
-
146+
message: '#^Direct access to \$_SERVER\[''TEST_KEY''\] is not allowed\.$#'
147+
count: 1
148+
path: ../../tests/system/SuperglobalsTest.php
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# total 5 errors
2+
3+
parameters:
4+
ignoreErrors:
5+
-
6+
message: '#^Direct assignment of string\|null to \$_COOKIE\[''csrf_cookie_name''\] is not allowed\.$#'
7+
count: 1
8+
path: ../../system/Test/Mock/MockSecurity.php
9+
10+
-
11+
message: '#^Direct assignment of ''1'' to \$_SERVER\[''CODEIGNITER_SCREAM_DEPRECATIONS''\] is not allowed\.$#'
12+
count: 1
13+
path: ../../tests/system/Debug/ExceptionsTest.php
14+
15+
-
16+
message: '#^Direct assignment of ''test'' to \$_SERVER\[''HTTPS''\] is not allowed\.$#'
17+
count: 1
18+
path: ../../tests/system/HomeTest.php
19+
20+
-
21+
message: '#^Direct assignment of ''test'' to \$_SERVER\[''HTTPS''\] is not allowed\.$#'
22+
count: 1
23+
path: ../../tests/system/Test/FeatureTestAutoRoutingImprovedTest.php
24+
25+
-
26+
message: '#^Direct assignment of ''test'' to \$_SERVER\[''HTTPS''\] is not allowed\.$#'
27+
count: 1
28+
path: ../../tests/system/Test/FeatureTestTraitTest.php
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# total 7 errors
2+
3+
parameters:
4+
ignoreErrors:
5+
-
6+
message: '#^Direct unset of \$_SERVER\[''encryption\.key''\] is not allowed\.$#'
7+
count: 1
8+
path: ../../system/Commands/Encryption/GenerateKey.php
9+
10+
-
11+
message: '#^Direct unset of \$_COOKIE\[\$this\-\>config\-\>cookieName\] is not allowed\.$#'
12+
count: 1
13+
path: ../../system/Session/Session.php
14+
15+
-
16+
message: '#^Direct unset of \$_SERVER\[''foo''\] is not allowed\.$#'
17+
count: 1
18+
path: ../../tests/system/CommonFunctionsSendTest.php
19+
20+
-
21+
message: '#^Direct unset of \$_SERVER\[''foo''\] is not allowed\.$#'
22+
count: 1
23+
path: ../../tests/system/CommonFunctionsTest.php
24+
25+
-
26+
message: '#^Direct unset of \$_SERVER\[''encryption\.key''\] is not allowed\.$#'
27+
count: 2
28+
path: ../../tests/system/Config/DotEnvTest.php
29+
30+
-
31+
message: '#^Direct unset of \$_SERVER\[''CODEIGNITER_SCREAM_DEPRECATIONS''\] is not allowed\.$#'
32+
count: 1
33+
path: ../../tests/system/Debug/ExceptionsTest.php

0 commit comments

Comments
 (0)