Skip to content

Commit 27c6966

Browse files
Update dependency slam/php-cs-fixer-extensions to ^3.11.1 (#42)
* Update dependency slam/php-cs-fixer-extensions to ^3.11.1 | datasource | package | from | to | | ---------- | ---------------------------- | ------ | ------ | | packagist | slam/php-cs-fixer-extensions | 3.10.0 | 3.11.1 | * Fix --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Filippo Tessarotto <zoeslam@gmail.com>
1 parent 12ff185 commit 27c6966

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"phpstan/phpstan-phpunit": "^1.4.0",
1919
"phpstan/phpstan-strict-rules": "^1.6.0",
2020
"phpunit/phpunit": "^11.2.2",
21-
"slam/php-cs-fixer-extensions": "^3.10",
21+
"slam/php-cs-fixer-extensions": "^3.11.1",
2222
"symfony/console": "^7.1.1"
2323
},
2424
"autoload": {

lib/ErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ final class ErrorHandler
4949
private $emailCallback;
5050

5151
/** @var callable */
52-
private $errorLogCallback = '\\error_log';
52+
private $errorLogCallback = '\error_log';
5353

5454
/** @var array<int, bool> */
5555
private array $scream = [];

tests/ErrorHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public function test404ExceptionCanBeDisabledToSendEmail(): void
303303
public function testCanSetCustomErrorLogCallback(): void
304304
{
305305
$this->errorHandler->setLogErrors(true);
306-
self::assertSame('\\error_log', $this->errorHandler->getErrorLogCallback());
306+
self::assertSame('\error_log', $this->errorHandler->getErrorLogCallback());
307307

308308
$data = [];
309309
$customCallback = static function (string $text) use (& $data): void {

0 commit comments

Comments
 (0)