diff --git a/composer.lock b/composer.lock index ccabe6b..17e170a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,24 +4,24 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b6b5c80db9be68c2bde44e98ccc3a63b", + "content-hash": "d2c28685bf9c7130a6eb24563494c838", "packages": [ { "name": "phpstan/phpstan", - "version": "1.12.4", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "ffa517cb918591b93acc9b95c0bebdcd0e4538bd" + "reference": "72115ab2bf1e40af1f9b238938d493ba7f3221e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ffa517cb918591b93acc9b95c0bebdcd0e4538bd", - "reference": "ffa517cb918591b93acc9b95c0bebdcd0e4538bd", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/72115ab2bf1e40af1f9b238938d493ba7f3221e7", + "reference": "72115ab2bf1e40af1f9b238938d493ba7f3221e7", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -62,7 +62,7 @@ "type": "github" } ], - "time": "2024-09-19T07:58:01+00:00" + "time": "2024-11-11T07:06:55+00:00" } ], "packages-dev": [ @@ -1810,13 +1810,13 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { "php": "^7.4|^8.0" }, - "platform-dev": [], + "platform-dev": {}, "platform-overrides": { "php": "7.4" }, diff --git a/src/TicketSwapErrorFormatter.php b/src/TicketSwapErrorFormatter.php index 67a8e96..4b8d994 100644 --- a/src/TicketSwapErrorFormatter.php +++ b/src/TicketSwapErrorFormatter.php @@ -168,7 +168,7 @@ public static function link( '{absolutePath}' => $absolutePath, '{editorUrl}' => $editorUrl === null ? '' : str_replace( ['%relFile%', '%file%', '%line%'], - [$relativePath, $absolutePath, $line], + [$relativePath, $absolutePath, (string) $line], $editorUrl, ), '{relativePath}' => $relativePath,