Skip to content

Commit 774e536

Browse files
committed
Applied suggestions from self QA ;-)
1 parent 20fd411 commit 774e536

File tree

3 files changed

+186
-159
lines changed

3 files changed

+186
-159
lines changed

src/main/java/fr/adrienbrault/idea/symfony2plugin/lang/StringLiteralLanguageInjector.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,21 @@ public class StringLiteralLanguageInjector implements MultiHostInjector {
4747
.matchingFunctionCallArgument("\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\expr", "expression", 0)
4848
.matchingMethodCallArgument("\\Symfony\\Component\\ExpressionLanguage\\ExpressionLanguage", "evaluate", "expression", 0)
4949
.matchingMethodCallArgument("\\Symfony\\Component\\ExpressionLanguage\\ExpressionLanguage", "compile", "expression", 0)
50+
.matchingMethodCallArgument("\\Symfony\\Component\\ExpressionLanguage\\ExpressionLanguage", "parse", "expression", 0)
5051
.matchingMethodCallArgument("\\Symfony\\Component\\Routing\\Loader\\Configurator\\Traits\\RouteTrait", "condition", "condition", 0)
5152
.matchingAttributeArgument("\\Symfony\\Component\\Validator\\Constraints\\Expression", "expression", 0)
5253
.matchingAttributeArgument("\\Symfony\\Component\\Routing\\Annotation\\Route", "condition", 9)
5354
.matchingAttributeArgument("\\Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Cache", "lastModified", 7)
5455
.matchingAttributeArgument("\\Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Cache", "etag", 8)
5556
.matchingAttributeArgument("\\Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Security", "data", 0)
5657
.matchingAttributeArgument("\\Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Entity", "expr", 1)
57-
.matchingAttributeArgument("\\Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\ParamConverter", "expr", 1)
58-
.matchingAttributeArgument("\\Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route", "condition", 9)
5958
.matchingAnnotationProperty("\\Symfony\\Component\\Validator\\Constraints\\Expression", "expression", true)
6059
.matchingAnnotationProperty("\\Symfony\\Component\\Routing\\Annotation\\Route", "condition", false)
60+
.matchingAnnotationProperty("\\Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route", "condition", false)
6161
.matchingAnnotationProperty("\\Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Security", "expression", true)
6262
.matchingAnnotationProperty("\\Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Cache", "lastModified", false)
6363
.matchingAnnotationProperty("\\Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Cache", "Etag", false)
6464
.matchingAnnotationProperty("\\Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Entity", "expr", false)
65-
.matchingAnnotationProperty("\\Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\ParamConverter", "expr", false)
6665
.build()
6766
};
6867

0 commit comments

Comments
 (0)