Skip to content

Commit f334452

Browse files
committed
a better way to avoid phpstan ffi cdata errors
1 parent ac9c915 commit f334452

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

phpstan.neon.dist

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ parameters:
44
- src
55
- tests
66

7+
universalObjectCratesClasses:
8+
- FFI\CData
79
reportUnmatchedIgnoredErrors: false
810
ignoreErrors:
911
- '#Call to an undefined method FFI::Tcl_#'
1012
- '#Call to an undefined method FFI::Tk_#'
11-
- '#Access to an undefined property FFI\\CData::\$cdata#'
1213

0 commit comments

Comments
 (0)