Skip to content

Commit 1f450e1

Browse files
committed
Ignore phpstan issue
1 parent 1e25f40 commit 1f450e1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Collection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public function __construct(JSON $composerFile, JSON $lockFile, ?string $vendorD
6868
*/
6969
public function buildCollection(): void
7070
{
71+
// @phpstan-ignore-next-line
7172
$istTest = \defined('\IS_PHPUNIT_TEST') && \IS_PHPUNIT_TEST;
7273

7374
$this->add('php', [

src/ComposerGraph.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public function __construct(Collection $collection, array $params = [])
121121
*/
122122
public function build(): string
123123
{
124+
// @phpstan-ignore-next-line
124125
$isSafeMode = \defined('\IS_PHPUNIT_TEST') && !\IS_PHPUNIT_TEST;
125126
Node::safeMode($isSafeMode);
126127

0 commit comments

Comments
 (0)