interface methods cannot contain a body. This construct will cause a fatal error:
PHP Fatal error: Interface function X::Y() cannot contain body in /home/josh/workspace/github.com/phacility/arcanist/test.php on line 4
Differential D14561
Add a linter rule for `interface` method bodies joshuaspence on Nov 23 2015, 9:13 PM. Authored by Tags None Referenced Files
Subscribers
Details
interface methods cannot contain a body. This construct will cause a fatal error: PHP Fatal error: Interface function X::Y() cannot contain body in /home/josh/workspace/github.com/phacility/arcanist/test.php on line 4 Added unit tests.
Diff Detail
|