Skip to content

Commit add0750

Browse files
committed
fix trailing newline
1 parent a925287 commit add0750

File tree

2 files changed

+51
-50
lines changed

2 files changed

+51
-50
lines changed

README.md

Lines changed: 48 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -213,52 +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 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
261-
| Zend OPcache | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
262-
| zip | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
263-
| zlib | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
264-
| | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
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 | ✖ | ✖ | ✖ | ✖ | ✖ | ✖ |
261+
| Zend OPcache | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
262+
| zip | ✖ | ✖ | ✖ | ✖ | ✖ | ✖ |
263+
| zlib | ✖ | ✖ | ✖ | ✖ | ✖ | ✖ |

test/modules/GenerateReadMe.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
$modules = array();
1111
foreach ($phpVersions as $key => $phpVersion) {
1212

13-
$modules[$phpVersion] = explode("\n", file_get_contents(__DIR__. '/moduleList/' . $phpVersion . '.list'));
13+
$modules[$phpVersion] = preg_split('/\r\n|\r|\n/', file_get_contents(__DIR__. '/moduleList/' . $phpVersion . '.list'));
1414

1515
// Filter some lines out
1616
foreach ($modules[$phpVersion] as $lineKey => $line) {
@@ -35,6 +35,8 @@
3535
foreach ($moduleList as $moduleExistsKey => $moduleExists) {
3636
if ($moduleExists === $module) {
3737
$allModules[$module][$phpVersion] = TRUE;
38+
} else {
39+
$allModules[$module][$phpVersion] = FALSE;
3840
}
3941
}
4042
}

0 commit comments

Comments
 (0)