Skip to content

Commit ffeb015

Browse files
mglamanNiklan
andauthored
Add type specifier for Drupal\Component\Assertion\Inspector (#834)
* Add type specifier for Drupal\Component\Assertion\Inspector (#826) * WIP * WIP * WIP * WIP * Fix CI errors * Try TypeCombinator instead of UnionType --------- Co-authored-by: Matt Glaman <nmd.matt@gmail.com> (cherry picked from commit f7bc280) * fix compatibility with 1.x * adjust tests for 1.x --------- Co-authored-by: Nikita Malyshev <niklanrus@gmail.com>
1 parent 2b6930a commit ffeb015

File tree

4 files changed

+535
-0
lines changed

4 files changed

+535
-0
lines changed

extension.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,3 +335,7 @@ services:
335335
class: mglaman\PHPStanDrupal\DeprecatedScope\DeprecationHelperScope
336336
tags:
337337
- phpstan.deprecations.deprecatedScopeResolver
338+
-
339+
class: mglaman\PHPStanDrupal\Type\InspectorTypeExtension
340+
tags:
341+
- phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension

0 commit comments

Comments
 (0)