Skip to content

Commit 378ffbb

Browse files
Update all non-major dependencies (#63)
* Update all non-major dependencies | datasource | package | from | to | | ---------- | --------------- | ------ | ------ | | packagist | phpstan/phpstan | 2.1.36 | 2.1.37 | | packagist | phpunit/phpunit | 12.5.6 | 12.5.7 | | packagist | symfony/console | 8.0.3 | 8.0.4 | * CS Fix --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Filippo Tessarotto <zoeslam@gmail.com>
1 parent 26e4dce commit 378ffbb

3 files changed

Lines changed: 6 additions & 6 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

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
"php": "~8.4.0 || ~8.5.0"
1515
},
1616
"require-dev": {
17-
"phpstan/phpstan": "^2.1.36",
17+
"phpstan/phpstan": "^2.1.37",
1818
"phpstan/phpstan-phpunit": "^2.0.12",
1919
"phpstan/phpstan-strict-rules": "^2.0.7",
20-
"phpunit/phpunit": "^12.5.6",
20+
"phpunit/phpunit": "^12.5.7",
2121
"slam/php-cs-fixer-extensions": "^3.14.0",
22-
"symfony/console": "^8.0.3"
22+
"symfony/console": "^8.0.4"
2323
},
2424
"autoload": {
2525
"psr-4": {

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)