Skip to content

Commit 0476c89

Browse files
committed
Dont always return false
1 parent add0750 commit 0476c89

File tree

2 files changed

+48
-50
lines changed

2 files changed

+48
-50
lines changed

README.md

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -213,51 +213,51 @@ To run in this mode, change the Docker CMD to be /start-worker.sh instead of the
213213
# PHP Modules
214214
| Module | 5.6 | 7.1 | 7.2 | 7.3 | 7.4 | 8.0 |
215215
| --- | --- | --- | --- | --- | --- | --- |
216-
| atatus | | | | | | |
217-
| bcmath | | | | | | |
218-
| calendar | | | | | | |
219-
| Core | | | | | | |
220-
| ctype | | | | | | |
221-
| curl | | | | | | |
222-
| date | | | | | | |
223-
| dom | | | | | | |
224-
| exif | | | | | | |
225-
| fileinfo | | | | | | |
226-
| filter | | | | | | |
227-
| ftp | | | | | | |
228-
| gd | | | | | | |
229-
| gettext | | | | | | |
230-
| hash | | | | | | |
231-
| iconv | | | | | | |
232-
| igbinary | ✖ | ✖ | ✖ | ✖ | | |
233-
| intl | | | | | | |
234-
| json | | | | | | |
235-
| ldap | | | | | | |
236-
| libxml | | | | | | |
237-
| mbstring | | | | | | |
238-
| mysqli | | | | | | |
239-
| mysqlnd | | | | | | |
240-
| openssl | | | | | | |
241-
| pcntl | | | | | | |
242-
| pcre | | | | | | |
243-
| PDO | | | | | | |
244-
| pdo_mysql | | | | | | |
245-
| pdo_sqlite | | | | | | |
246-
| Phar | | | | | | |
247-
| posix | | | | | | |
248-
| readline | | | | | | |
249-
| redis | | | | | | |
250-
| Reflection | | | | | | |
251-
| session | | | | | | |
252-
| SimpleXML | | | | | | |
253-
| soap | | | | | | |
254-
| sockets | | | | | | |
255-
| SPL | | | | | | |
256-
| sqlite3 | | | | | | |
257-
| standard | | | | | | |
258-
| tokenizer | | | | | | |
259-
| xmlreader | | | | | | |
260-
| xsl | | | | | | |
216+
| atatus | | | | | | |
217+
| bcmath | | | | | | |
218+
| calendar | | | | | | |
219+
| Core | | | | | | |
220+
| ctype | | | | | | |
221+
| curl | | | | | | |
222+
| date | | | | | | |
223+
| dom | | | | | | |
224+
| exif | | | | | | |
225+
| fileinfo | | | | | | |
226+
| filter | | | | | | |
227+
| ftp | | | | | | |
228+
| gd | | | | | | |
229+
| gettext | | | | | | |
230+
| hash | | | | | | |
231+
| iconv | | | | | | |
232+
| igbinary | ✖ | ✖ | ✖ | ✖ | | |
233+
| intl | | | | | | |
234+
| json | | | | | | |
235+
| ldap | | | | | | |
236+
| libxml | | | | | | |
237+
| mbstring | | | | | | |
238+
| mysqli | | | | | | |
239+
| mysqlnd | | | | | | |
240+
| openssl | | | | | | |
241+
| pcntl | | | | | | |
242+
| pcre | | | | | | |
243+
| PDO | | | | | | |
244+
| pdo_mysql | | | | | | |
245+
| pdo_sqlite | | | | | | |
246+
| Phar | | | | | | |
247+
| posix | | | | | | |
248+
| readline | | | | | | |
249+
| redis | | | | | | |
250+
| Reflection | | | | | | |
251+
| session | | | | | | |
252+
| SimpleXML | | | | | | |
253+
| soap | | | | | | |
254+
| sockets | | | | | | |
255+
| SPL | | | | | | |
256+
| sqlite3 | | | | | | |
257+
| standard | | | | | | |
258+
| tokenizer | | | | | | |
259+
| xmlreader | | | | | | |
260+
| xsl | | | | | | |
261261
| Zend OPcache | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
262-
| zip | | | | | | |
263-
| zlib | | | | | | |
262+
| zip | | | | | | |
263+
| zlib | | | | | | |

test/modules/GenerateReadMe.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
foreach ($moduleList as $moduleExistsKey => $moduleExists) {
3636
if ($moduleExists === $module) {
3737
$allModules[$module][$phpVersion] = TRUE;
38-
} else {
39-
$allModules[$module][$phpVersion] = FALSE;
4038
}
4139
}
4240
}
@@ -58,7 +56,7 @@
5856
foreach ($allModules as $moduleName => $moduleVersions) {
5957
$output .= '| ' . $moduleName . ' |';
6058
foreach ($phpVersions as $key => $phpVersion) {
61-
if ($moduleVersions[$phpVersion] === TRUE) {
59+
if (isset($moduleVersions[$phpVersion])) {
6260
$output .= ' ✓ |';
6361
}
6462
else {

0 commit comments

Comments
 (0)