mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +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:
parent
b8636eb326
commit
76a3fbbdf0
@ -22,7 +22,7 @@ $options = getopt(
|
|||||||
if (!array_key_exists('use-ini-defaults', $options)) {
|
if (!array_key_exists('use-ini-defaults', $options)) {
|
||||||
ini_set('display_errors', 1);
|
ini_set('display_errors', 1);
|
||||||
ini_set('display_startup_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)) {
|
if (array_key_exists('help', $options)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user