Closes #3281: removed strict rule about using "new" from code style

This commit is contained in:
Alexander Makarov
2014-05-05 02:13:56 +04:00
parent 0ad7c05e6c
commit 8b4dbff56c

View File

@ -139,7 +139,6 @@ class Foo
### 4.5 Constructors
- `__construct` should be used instead of PHP 4 style constructors.
- When instantiating class it should be `new MyClass();` instead of `new MyClass;`.
## 5 PHP