1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

memory_limit specified as int to resolve windows-related issue #842 without requiring --use-ini-defaults argument to be passed (#860)

This commit is contained in:
SignpostMarv 2018-07-03 22:22:04 +01:00 committed by Matthew Brown
parent b8636eb326
commit 76a3fbbdf0

View File

@ -22,7 +22,7 @@ $options = getopt(
if (!array_key_exists('use-ini-defaults', $options)) {
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
ini_set('memory_limit', '4096M');
ini_set('memory_limit', 4 * 1024 * 1024 * 1024);
}
if (array_key_exists('help', $options)) {