10
10
import com .intellij .psi .xml .XmlTokenType ;
11
11
import com .magento .idea .magento2plugin .magento .files .MftfActionGroup ;
12
12
import com .magento .idea .magento2plugin .magento .files .MftfTest ;
13
- import com .magento .idea .magento2plugin .php .util .PhpRegex ;
14
13
import com .magento .idea .magento2plugin .reference .provider .*;
15
14
import com .magento .idea .magento2plugin .reference .provider .mftf .*;
16
15
import com .magento .idea .magento2plugin .util .RegExUtil ;
17
- import com .magento .idea .magento2plugin .util .Regex ;
18
16
import org .jetbrains .annotations .NotNull ;
19
17
import static com .intellij .patterns .XmlPatterns .*;
20
18
@@ -163,7 +161,7 @@ public void registerReferenceProviders(@NotNull PsiReferenceRegistrar registrar)
163
161
// <someXmlTag userInput="{{someValue}}" />
164
162
registrar .registerReferenceProvider (
165
163
XmlPatterns .xmlAttributeValue ().withValue (
166
- string ().matches (Regex .MFTF_CURLY_BRACES )
164
+ string ().matches (RegExUtil . Magento .MFTF_CURLY_BRACES )
167
165
).withParent (XmlPatterns .xmlAttribute ().withName (
168
166
MftfActionGroup .USER_INPUT_TAG
169
167
)),
@@ -175,7 +173,7 @@ public void registerReferenceProviders(@NotNull PsiReferenceRegistrar registrar)
175
173
// <someXmlTag url="{{someValue}}" /> in MFTF Tests and ActionGroups
176
174
registrar .registerReferenceProvider (
177
175
XmlPatterns .xmlAttributeValue ().withValue (
178
- string ().matches (Regex .MFTF_CURLY_BRACES )
176
+ string ().matches (RegExUtil . Magento .MFTF_CURLY_BRACES )
179
177
).withParent (XmlPatterns .xmlAttribute ().withName (
180
178
MftfActionGroup .URL_ATTRIBUTE
181
179
).withParent (XmlPatterns .xmlTag ().withParent (XmlPatterns .xmlTag ().withName (
@@ -187,7 +185,7 @@ public void registerReferenceProviders(@NotNull PsiReferenceRegistrar registrar)
187
185
);
188
186
registrar .registerReferenceProvider (
189
187
XmlPatterns .xmlAttributeValue ().withValue (
190
- string ().matches (Regex .MFTF_CURLY_BRACES )
188
+ string ().matches (RegExUtil . Magento .MFTF_CURLY_BRACES )
191
189
).withParent (XmlPatterns .xmlAttribute ().withName (
192
190
MftfActionGroup .URL_ATTRIBUTE
193
191
).withParent (XmlPatterns .xmlTag ().withParent (XmlPatterns .xmlTag ().withParent (
0 commit comments