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
Copy file name to clipboardexpand all lines: README.md
-8
Original file line number
Diff line number
Diff line change
@@ -275,14 +275,6 @@ With this style method call chains can be formatted with indented continuation a
275
275
276
276
This style is used widely throughout Symfony2 source code even if it is not explicitly mentioned in their conventions documents.
277
277
278
-
### Extra Constants
279
-
280
-
If you commonly use a framework or library that defines a set of constants then you may wish to customize the value of `php-extra-constants`. It is a list of strings that PHP Mode will treat as additional constants, i.e. providing them the same level syntax highlighting that PHP Mode uses for built-in constants.
281
-
282
-
### Web Mode Constants and Keywords
283
-
284
-
If you use [Web Mode][] then PHP Mode will attempt to use any additional PHP constants and keywords that Web Mode allows you to define.
285
-
286
278
### Avoid HTML Template Compatibility
287
279
288
280
Many developers use PHP Mode to edit pure PHP scripts (e.g. files with only PHP and no HTML). A basic compatibility layer with HTML has historically been part of PHP Mode but it does not work perfectly and can cause some bad side effects such as slowness and incorrect font locking. Configuring the `php-template-compatibility` property with a `nil` will cancel any attempt of HTML compatibility. [Web Mode](http://web-mode.org/) is a great alternative to PHP Mode if you need to work with PHP scripts that do contain HTML and other markup.
0 commit comments