Releases: php-fig/per-coding-style
Releases · php-fig/per-coding-style
3.0.0
Readyness vote: https://groups.google.com/g/php-fig/c/mRCVE6qk1hk/m/A3oUGTaEBQAJ
Approval vote: https://groups.google.com/g/php-fig/c/p3TET3uDAgw/m/Py3r6qb8BAAJ
What's Changed
- Remove Woody Gilk from the working group as he is stepping down by @KorvinSzanto in #68
- Modified Keywords code sample contains parse errors by @jrfnl in #73
- Change editor over to Larry Garfield by @KorvinSzanto in #69
- Do not mention PHP support by @ravage84 in #77
- Link to published version of the specification by @ravage84 in #76
- Remove superfluous leading blank line in code example by @ravage84 in #80
- Replace all structure body comments with simple ellipsis by @ravage84 in #79
- Expand Properties and Constants on constants where it makes sense by @samdark in #72
- Add migration document re differences between PER-CS v1.0 and PER-CS v2.0 by @kenguest in #82
- Add links to migration document in README and meta documents by @kenguest in #84
- Update
spec.md
for typo by @TravisCarden in #86 - Fix indents in Heredoc/Nowdoc samples by @roxblnfk in #87
- Add missing const visibility modifier in enum example by @TimWolla in #71
- Add missing space in example for anonymous class declaration by @rikvdh in #90
- Add ternary operator on multi-line by @JesusValeraDev in #93
- Section 10/heredoc, nowdoc: minor fixes by @jrfnl in #104
- Clarify that php open tags must be lowercase by @Crell in #100
- Add section on abbreviation naming by @Crell in #102
- fix wrong indent level by @hms5232 in #105
- Remove contradictory statements by @JesusValeraDev in #103
- Document how to use aviz by @Crell in #99
- Add handling for compound types. by @Crell in #45
- Switch from RFC 2119 to BCP-14 which includes RFC 8174 by @KorvinSzanto in #111
- Recommend to always use
exit()
instead ofexit
by @TimWolla in #109 - Recommend omitting wrapping parenthesis when immediately calling a method on a new instance by @KorvinSzanto in #110
- Fix typo in paragraph about omitting parentheses by @devfrey in #112
- Specify hooks formatting by @Crell in #108
- Undo capitalization of
// no break
to prevent tooling issues by @vdelau in #113 - Clarify what visibility must be declared. by @Crell in #115
- 3.0 changelog by @Crell in #116
- Trim out useless metadoc legacy by @Crell in #117
- Fix renumbering by @Crell in #118
New Contributors
- @jrfnl made their first contribution in #73
- @ravage84 made their first contribution in #77
- @kenguest made their first contribution in #82
- @TravisCarden made their first contribution in #86
- @rikvdh made their first contribution in #90
- @hms5232 made their first contribution in #105
- @devfrey made their first contribution in #112
- @vdelau made their first contribution in #113
Full Changelog: 2.0.0...3.0.0
2.0.0
Readiness vote: https://groups.google.com/g/php-fig/c/Bf9IFbFUxPM
Approval vote: https://groups.google.com/g/php-fig/c/VOqnAu95xS8
What's Changed
- Add section describing nowdoc and heredoc by @KorvinSzanto in #5
- Add a section on short-lambdas by @Crell in #17
- Add a section on trailing commas by @Crell in #18
- Update the abstract/final section to cover all modifier keywords by @Crell in #19
- Rephrase “MUST … no” to “MUST NOT … any” by @TimWolla in #23
- Add section on enumerations. by @Crell in #7
- Add method chaining style specification by @vjik in #16
- Add missing ending delimiter of a code block in spec.md by @TimWolla in #31
- Update examples to match spec changes by @KorvinSzanto in #28
- Use correct terminology in heredoc/nowdoc example by @TimWolla in #34
- Add First Class Closure rules by @Crell in #27
- Add function parameter example to nowdoc section by @TimWolla in #33
- Update link to RFC 2119 by @KorvinSzanto in #32
- Fix first capital letter in
enum
declaration example by @roxblnfk in #36 - Add match section by @JesusValera in #21
- Fix #38: replace CamelCase to PascalCase in Enum case declarations by @vjik in #39
- Omit () on zero-argument anonymous classes. by @Crell in #37
- Spaces in type casting by @vjik in #40
- Add Attributes style guide by @Crell in #26
- Clarify that classes should follow the same modifier order as methods. by @Crell in #41
- Describe named arguments. by @Crell in #42
- Allow abbreviated empty bodies. by @Crell in #44
- Added Arrays as Section 12 by @mbniebergall in #48
- Clarify wording around namespace grouping. by @Crell in #52
- Update Short Closures spec to remove space after
fn
keyword by @theodorejb in #53 - Clarify
fn
keyword's usage as argument by @KorvinSzanto in #55 - Update to step away from the working group. by @BinaryKitten in #57
- Assorted formatting and wording cleanup. by @Crell in #56
- Clarify empty statement rules by @samdark in #59
- Add missing to by @samdark in #58
- Add a section about versioning to the meta document by @lpd-au in #62
- Use term closure consistently by @lpd-au in #66
- Document considered but unresolved scope clarifications for 2.0 in the meta document by @lpd-au in #64
Full Changelog: 1.0.0...2.0.0
1.0.0
1.0.0 release
Readiness vote: https://groups.google.com/g/php-fig/c/bBh4Y-R5gxE
Approval vote: https://groups.google.com/g/php-fig/c/Kocp3DI7Oi0