Skip to content

Commit 4d6661d

Browse files
committed
CS Fix
1 parent ae39d9e commit 4d6661d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ csfix: vendor
2222

2323
.PHONY: static-analysis
2424
static-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
2828
test: vendor

tests/ErrorHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {});

0 commit comments

Comments
 (0)