Skip to content

Commit fc1df3f

Browse files
Laravel: suppress PhanDeprecatedClassConstant for deprecated sem-conv attributes.
1 parent 16dc809 commit fc1df3f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/Instrumentation/Laravel/src/Watchers/QueryWatcher.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ public function register(Application $app): void
2727

2828
/**
2929
* Record a query.
30+
*
31+
* @psalm-suppress UndefinedThisPropertyFetch
32+
* @phan-suppress PhanDeprecatedClassConstant
3033
*/
31-
/** @psalm-suppress UndefinedThisPropertyFetch */
3234
public function recordQuery(QueryExecuted $query): void
3335
{
3436
$nowInNs = (int) (microtime(true) * 1E9);

src/Instrumentation/Laravel/src/Watchers/RedisCommand/RedisCommandWatcher.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ public function register(Application $app): void
3737

3838
/**
3939
* Record a Redis command.
40+
*
41+
* @psalm-suppress UndefinedThisPropertyFetch
42+
* @phan-suppress PhanDeprecatedClassConstant
4043
*/
41-
/** @psalm-suppress UndefinedThisPropertyFetch */
4244
public function recordRedisCommand(CommandExecuted $event): void
4345
{
4446
$nowInNs = (int) (microtime(true) * 1E9);

0 commit comments

Comments
 (0)