File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,9 @@ public static function provideLinkFormats() : iterable
8989 {
9090 // Unix/Linux paths (forward slashes)
9191 yield 'Unix - DEFAULT with editor and decoration ' => [
92- "↳ <href=phpstorm://open?file=/www/project/src/Core/Admin/Controller/Dashboard/User/AddUserController.php&line=20>src/Core/Admin/Controller/Dashboard/User/AddUserController.php:20</> \n" ,
92+ self ::isWindows ()
93+ ? "↳ <href=phpstorm://open?file=/www/project/src/Core/Admin/Controller/Dashboard/User/AddUserController.php&line=20>src/Core/Admin/Controller/Dashboard/User/AddUserController.php:20</> \n"
94+ : "↳ <href=phpstorm://open?file=/www/project/src/Core/Admin/Controller/Dashboard/User/AddUserController.php&line=20>src/Core/Admin/.../User/AddUserController.php:20</> \n" ,
9395 TicketSwapErrorFormatter::LINK_FORMAT_DEFAULT ,
9496 20 ,
9597 '/www/project/src/Core/Admin/Controller/Dashboard/User/AddUserController.php ' ,
@@ -154,7 +156,9 @@ public static function provideLinkFormats() : iterable
154156
155157 // Windows paths (backslashes)
156158 yield 'Windows - DEFAULT with editor and decoration ' => [
157- "↳ <href=phpstorm://open?file=C: \\www \\project \\src \\Core \\Admin \\Controller \\Dashboard \\User \\AddUserController.php&line=20>src \\Core \\Admin \\... \\User \\AddUserController.php:20</> \n" ,
159+ self ::isWindows ()
160+ ? "↳ <href=phpstorm://open?file=C: \\www \\project \\src \\Core \\Admin \\Controller \\Dashboard \\User \\AddUserController.php&line=20>src \\Core \\Admin \\... \\User \\AddUserController.php:20</> \n"
161+ : "↳ <href=phpstorm://open?file=C:\www\project\src\Core\Admin\Controller\Dashboard\User\AddUserController.php&line=20>src\Core\Admin\Controller\Dashboard\User\AddUserController.php:20</> \n" ,
158162 TicketSwapErrorFormatter::LINK_FORMAT_DEFAULT ,
159163 20 ,
160164 'C: \\www \\project \\src \\Core \\Admin \\Controller \\Dashboard \\User \\AddUserController.php ' ,
You can’t perform that action at this time.
0 commit comments