Skip to content

Releases: php-fig/per-coding-style

2.0.0

04 Apr 16:46
0e0fc1d
Compare
Choose a tag to compare

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

09 Jun 23:12
b5cac84
Compare
Choose a tag to compare