rfc:attribute_amendments
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:attribute_amendments [2020/06/01 22:39] – Add paragraph about trailing commas in attribute group beberlei | rfc:attribute_amendments [2020/06/04 09:11] – beberlei | ||
---|---|---|---|
Line 11: | Line 11: | ||
This RFC discusses a few amendments to the [[https:// | This RFC discusses a few amendments to the [[https:// | ||
- | ===== Rename PhpAttribute class to Attributes\Attribute ===== | + | ===== Rename PhpAttribute class to Attribute ===== |
- | < | + | < |
The original RFC introduced a // | The original RFC introduced a // | ||
Line 21: | Line 21: | ||
In absence of a namespace policy, the global namespace is PHPs namespace. The | In absence of a namespace policy, the global namespace is PHPs namespace. The | ||
- | documentation states as much. But the set of all attributes is a logical unit of code and namespaces are a concept that helps grouping them. | + | documentation states as much and the vote on https:// |
- | We propose to rename // | + | Therefore we propose to rename // |
- | recommend that all internal/ | + | recommend that all internal/ |
- | Extensions providing non-core | + | Extensions providing non-core |
===== Group statement for Attributes ===== | ===== Group statement for Attributes ===== | ||
Line 185: | Line 185: | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
- | No breaks. | + | Introducing a class // |
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
Line 212: | Line 212: | ||
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
- | - Should // | + | - Should // |
- Should a secondary grouped syntax for attributes be introduced? | - Should a secondary grouped syntax for attributes be introduced? | ||
- Should attributes allow definition of target declarations? | - Should attributes allow definition of target declarations? |
rfc/attribute_amendments.txt · Last modified: 2020/06/29 09:07 by beberlei