PHP heredoc injections
authorAlexey Gopachenko <alexey.gopachenko@jetbrains.com>
Tue, 16 Feb 2010 07:24:43 +0000 (16 10:24 +0300)
committerAlexey Gopachenko <alexey.gopachenko@jetbrains.com>
Tue, 16 Feb 2010 07:24:43 +0000 (16 10:24 +0300)
plugins/IntelliLang/src/LanguageInjectionConfiguration.xml

index fd31db1..a49b71d 100644 (file)
     <place><![CDATA[xmlAttribute().withLocalName(not(string().matches("id|type"))).withText(string().matches("[^${}/\\]+")).inside(xmlTag().withNamespace(string().matches("http://tapestry.apache.org/schema/tapestry_5_1_0.xsd|http://tapestry.apache.org/schema/tapestry_5_0_0.xsd")))]]></place>
     <place><![CDATA[xmlAttribute().withLocalName(not(string().matches("id|type"))).withText(string().matches("[^${}/\\]+")).withNamespace(string().matches("http://tapestry.apache.org/schema/tapestry_5_1_0.xsd|http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"))]]></place>
   </injection>
-  <!--
   <injection language="CSS" injector-id="php">
     <display-name>&lt;&lt;&lt; CSS</display-name>
-    <place><![CDATA[heredocWithName("CSS")]]></place>
+    <place><![CDATA[phpLiteralExpression("CSS")]]></place>
   </injection>
   <injection language="SQL" injector-id="php">
     <display-name>&lt;&lt;&lt; SQL</display-name>
-    <place><![CDATA[heredocWithName("SQL")]]></place>
+    <place><![CDATA[phpLiteralExpression("SQL")]]></place>
   </injection>
   <injection language="HTML" injector-id="php">
     <display-name>&lt;&lt;&lt; HTML</display-name>
-    <place><![CDATA[heredocWithName("HTML")]]></place>
+    <place><![CDATA[phpLiteralExpression("HTML")]]></place>
   </injection>
-  -->
 </component>