File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ csfix: vendor
2222
2323.PHONY : static-analysis
2424static-analysis : vendor
25- $(DOCKER_PHP_EXEC ) php -d zend.assertions=1 vendor/bin/phpstan analyse $(PHPSTAN_ARGS )
25+ $(DOCKER_PHP_EXEC ) php -d zend.assertions=1 vendor/bin/phpstan analyse --memory-limit=512M $(PHPSTAN_ARGS )
2626
2727.PHONY : test
2828test : vendor
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public function testDefaultConfiguration(): void
5454
5555 $ errorHandler ->setCli (false );
5656 $ errorHandler ->setAutoExit (false );
57- $ errorHandler ->setTerminalWidth ($ width = \mt_rand (1 , 999 ));
57+ $ errorHandler ->setTerminalWidth ($ width = \random_int (1 , 999 ));
5858 $ errorHandler ->setErrorOutputStream ($ memoryStream = \fopen ('php://memory ' , 'r+ ' ));
5959 $ errorHandler ->setLogErrors (true );
6060
@@ -252,7 +252,7 @@ public function testUsernameInEmailSubject(): void
252252
253253 public function testTerminalWidthByEnv (): void
254254 {
255- $ width = \mt_rand (1000 , 9000 );
255+ $ width = \random_int (1000 , 9000 );
256256 \putenv (\sprintf ('COLUMNS=%s ' , $ width ));
257257
258258 $ errorHandler = new ErrorHandler (function (): void {});
You can’t perform that action at this time.
0 commit comments