Methods cannot be marked as both abstract and private. This language construct will cause a fatal error:
PHP Fatal error: Abstract function X::Y() cannot be declared private in /home/josh/workspace/github.com/phacility/arcanist/test.php on line 4
Differential D14558
Add a linter rule for `abstract private` methods joshuaspence on Nov 23 2015, 8:28 PM. Authored by Tags None Referenced Files
Subscribers
Details
Methods cannot be marked as both abstract and private. This language construct will cause a fatal error: PHP Fatal error: Abstract function X::Y() cannot be declared private in /home/josh/workspace/github.com/phacility/arcanist/test.php on line 4 Added unit tests.
Diff Detail
|