You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace deprecated ->file with ->getFile() if method exists (#326)
* Allow rector ^2.4.1 and replace file with getFile() if method exists
* Fix ternary check
* fix Use item usage
* fix Use item usage
* build: fix php codestyle issue
* build: add ignore to baseline for BC code
* build: don't be more specific on rector version
---------
Co-authored-by: Björn Brala <bjorn@swis.nl>
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -572,3 +572,9 @@ parameters:
572
572
identifier:property.deprecated
573
573
count:3
574
574
path:src/Rector/Convert/HookConvertRector.php
575
+
576
+
-
577
+
message:'#^Call to function method_exists\(\) with \$this\(DrupalRector\\Rector\\Convert\\HookConvertRector\) and ''getFile'' will always evaluate to true\.$#'
0 commit comments