Replies: 1 comment
-
This seems duplicate of #6245 In the Test fixture generate would need an upgrade for this change. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am in the process of building a custom rector rule.
I want the rule to skip certain files since the rule itself is only useful in a specific context.
Already tried things like
$this->currentFileProvider->getFile()->getSmartFileInfo()->getRelativeFilePath()
but this gets me a temporary file-path like..../Local/Temp/_temp_fixture_easy_testing/input_7cfc30fd43dbaab65d33_complex-prop.php
, not the path of the original file.I don't want the user of my rule needs to specifiy the very specific filesystem related needs for my rule.
is there an easy way to get the path to the file my rector rule is beeing applied on?
Beta Was this translation helpful? Give feedback.
All reactions