-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I am not a snippets kinda guy, but when I use the built-in ones, I am not quite pleased. ### Remove things we should discourage - globals - defining constants with define() - declaring array literals using `[]` (removed in new hhvm versions) - declaring array literals using array() (pending removal) ### De PHPify - Class variables with `var` - methods / functions without types - methods without accessibility modifiers ### Things that won't work - Heredoc (since the closing `HTML` is not in the left margin, this is a parse error) ### Formatting - Drop PSR-2 support and using hackfmt compatible whitespace ### Misc - Escaping dollar signs, where this was the intent
- Loading branch information
Showing
1 changed file
with
13 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters