Skip to content

Commit

Permalink
refactor: phpstan function.notFound
Browse files Browse the repository at this point in the history
  • Loading branch information
neznaika0 committed Jan 3, 2025
1 parent 046967a commit ab687e8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion tests/system/CommonHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function foo_bar_baz(): string
}
}

$this->assertSame($this->dummyHelpers[0], foo_bar_baz());
$this->assertSame($this->dummyHelpers[0], foo_bar_baz()); // @phpstan-ignore-line function.notFound
}

public function testNamespacedHelperNotFound(): void
Expand Down
8 changes: 0 additions & 8 deletions utils/phpstan-baseline/function.notFound.neon

This file was deleted.

1 change: 0 additions & 1 deletion utils/phpstan-baseline/loader.neon
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ includes:
- expr.resultUnused.neon
- function.alreadyNarrowedType.neon
- function.inner.neon
- function.notFound.neon
- generator.returnType.neon
- generator.valueType.neon
- greaterOrEqual.invalid.neon
Expand Down

0 comments on commit ab687e8

Please sign in to comment.