We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05301ae commit 279452fCopy full SHA for 279452f
scripts/qa/extensions.xml.php
@@ -83,6 +83,16 @@
83
$debug['bogus-membership'][] = array($ext, $m);
84
}
85
86
+ if (preg_match('/<!-- State: (\w+)/S', $file, $match)) {
87
+ switch ($match[1]) {
88
+ case 'experimental':
89
+ case 'deprecated':
90
+ $State[$match[1]][$ext] = 1;
91
+ break;
92
+ default:
93
+ $debug['bogus-state'][] = array($ext, $match[1]);
94
+ }
95
96
97
98
@@ -166,6 +176,12 @@
166
176
print_r($debug['bogus-membership']);
167
177
168
178
179
+if (isset($debug['bogus-state'])) {
180
+ echo "\nExtensions with bogus State:\n";
181
+ $status = 2;
182
+ print_r($debug['bogus-state']);
183
+}
184
+
169
185
if (isset($debug['unknown-extension'])) {
170
186
echo "\nExtensions with unknown extension title:\n";
171
187
$status = 2;
0 commit comments