rfc:allow-abstract-function-override
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rfc:allow-abstract-function-override [2017/03/01 02:06] – created wesnetmo | rfc:allow-abstract-function-override [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Version: 0.1 | * Version: 0.1 | ||
* Date: 2017-03-01 | * Date: 2017-03-01 | ||
- | * Author: @WesNetmo @ Twitter | + | * Author: @WesNetmo @ Twitter |
- | * Status: | + | * Status: |
- | * First Published at: #### | + | * First Published at: https:// |
===== Proposal ===== | ===== Proposal ===== | ||
Line 49: | Line 49: | ||
// This phpdoc syntax has quirks in phpdocumentor | // This phpdoc syntax has quirks in phpdocumentor | ||
- | // apigen and phpstorm, and it's almost unmanageable: | + | // apigen and phpstorm, and it's almost unmanageable |
+ | // as phpdoc interpreters have poor multiline support | ||
+ | // (imagine documenting all the parameters, the return | ||
+ | // type, all the throws...): | ||
/** @method B getOrigin() */ | /** @method B getOrigin() */ | ||
abstract class BProxy extends AProxy implements B{ | abstract class BProxy extends AProxy implements B{ | ||
Line 60: | Line 63: | ||
</ | </ | ||
- | And, obviously, it will come in handy when PHP will support a full-featured type variance. | + | And, obviously, it will gain more uses when PHP will support a full-featured type variance. |
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
Line 72: | Line 75: | ||
===== Voting ===== | ===== Voting ===== | ||
- | Will require | + | 2/3 majority |
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
- | N/A | + | Pull request to handle the change: https:// |
===== References ===== | ===== References ===== | ||
- | [[http:// | + | [[https:// |
rfc/allow-abstract-function-override.1488334016.txt.gz · Last modified: 2017/09/22 13:28 (external edit)