Skip to content

Commit f50df5c

Browse files
mousetrapsfelixfbecker
authored andcommitted
Enforce memory limit in phpunit.xml (#320)
This will help highlight memory regressions, make it easier for newcomers to get started with the codebase w/o editing php.ini defaults (128M), and also keep things consistent between local and travis runs.
1 parent 14a6d65 commit f50df5c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@
1111
<directory>./src</directory>
1212
</whitelist>
1313
</filter>
14+
<php>
15+
<ini name="memory_limit" value="256M"/>
16+
</php>
1417
</phpunit>

0 commit comments

Comments
 (0)