Commit Graph

  • deb353a9db Merge pull request #129 from kenguest/master master Larry Garfield 2026-02-18 10:15:39 -06:00
  • 42b55d9d12 Ever so small tweak to sample code Ken Guest 2026-02-17 11:13:02 +00:00
  • c4ebadcc9a Add trivial body to example code Ken Guest 2026-02-17 11:01:18 +00:00
  • 44a464e731 Add note for new sample code re spreading a case statement over multiple lines Ken Guest 2026-02-12 23:20:50 +00:00
  • 64d3c26495 Updated as per PR discussions Ken Guest 2026-02-12 13:47:01 +00:00
  • 8b8a57cb9a Merge pull request #136 from KorvinSzanto/feature/anonymous-class-attributes Larry Garfield 2026-02-11 12:35:53 -06:00
  • 86e94c0ace Clarify the placement of the following class declaration Korvin Szanto 2026-02-11 10:04:50 -08:00
  • 71b2c47bec Specify anonymous class attributes Korvin Szanto 2026-02-07 11:36:55 -08:00
  • 80d7a7cd20 Merge pull request #133 from mspirkov/add-example-for-empty-closures Larry Garfield 2026-02-01 19:09:11 -06:00
  • 6794b0a483 Allow 2 syntaxes Максим Спирков 2026-01-20 23:55:20 +04:00
  • 07e0467128 Update spec.md Maksim Spirkov 2026-01-15 20:06:34 +04:00
  • 3bb12a7c21 CR fix Максим Спирков 2026-01-15 12:19:25 +04:00
  • 4ef68f7f30 Add an example for closure with an empty body Максим Спирков 2026-01-07 14:52:09 +04:00
  • c83ab63979 Merge pull request #132 from lpd-au/pipe-operator Larry Garfield 2025-12-01 14:34:28 -06:00
  • 03416a4938 Include pipe examples lpd-au 2025-11-30 13:49:53 +11:00
  • 1c12e559ed Reorganise for clarity lpd-au 2025-11-30 13:36:30 +11:00
  • e5793f134c Mention pipe operator lpd-au 2025-11-30 13:25:53 +11:00
  • 49970b4fcf Reword section about colon usage in switch statement Ken Guest 2025-11-26 20:40:45 +00:00
  • a405c77f09 Merge pull request #130 from kenguest/this-standard Larry Garfield 2025-11-20 08:38:50 -06:00
  • c5baae4567 No need for Standard to be all uppercase Ken Guest 2025-11-20 09:09:35 +00:00
  • d3b3bb2caf The PER shouldn't refer to itself as a PSR Ken Guest 2025-11-19 22:23:16 +00:00
  • f6126d9bfa switch case and default must not have semicolons Ken Guest 2025-11-19 17:38:58 +00:00
  • 9724d445fc Merge pull request #125 from Crell/extra-link Larry Garfield 2025-11-10 14:31:01 -06:00
  • 8261991ef3 Fix missing README link. Larry Garfield 2025-11-10 14:18:44 -06:00
  • 2d833d8388 Merge pull request #123 from DanielEScherzer/patch-2 Larry Garfield 2025-09-10 17:58:02 -05:00
  • e57d051a04 Merge pull request #122 from DanielEScherzer/patch-1 Larry Garfield 2025-09-10 17:57:46 -05:00
  • d26a46a318 Spec section 4: static methods should be called statically Daniel Scherzer 2025-09-10 15:02:44 -07:00
  • b89eef2232 Spec section 4: static properties need a $ Daniel Scherzer 2025-09-10 14:59:36 -07:00
  • 1dc452f619 Remove incorrect line from Migration Guide. 3.0.1 Larry Garfield 2025-08-23 12:05:49 -05:00
  • 1a5a69b977 Merge pull request #118 from php-fig/Crell-patch-1 3.0.0 Larry Garfield 2025-06-16 13:05:48 -05:00
  • 692455b030 Fix renumbering Larry Garfield 2025-06-16 12:48:36 -05:00
  • efcc1f256e Merge pull request #117 from Crell/meta-trim Larry Garfield 2025-06-11 08:07:59 -05:00
  • d022fcbbef Link to the new migration doc. Larry Garfield 2025-06-10 23:20:30 -05:00
  • 0c3248cfcf Remove old PSR-2 justifications that are no longer relevant. Larry Garfield 2025-06-10 23:20:19 -05:00
  • 12e50f99e4 Merge pull request #116 from Crell/3.0-changelog Larry Garfield 2025-06-10 23:02:55 -05:00
  • 24ec353352 Update title Larry Garfield 2025-06-07 23:12:54 -05:00
  • 0ac5a51199 Merge pull request #115 from Crell/visibility Larry Garfield 2025-06-03 12:11:40 -05:00
  • b6bb327a7e Spelling fix. Larry Garfield 2025-05-31 02:29:43 -05:00
  • 28e777e88b Add a v3 migration document. Larry Garfield 2025-05-31 02:29:36 -05:00
  • 4ef4f17cec Clarify what visibility must be declared. Larry Garfield 2025-05-31 01:51:50 -05:00
  • 859b866031 Merge pull request #113 from vdelau/lowercase_no_break Larry Garfield 2025-05-13 12:39:35 -05:00
  • 9e70dce39e Undo capitalization of // no break to prevent tooling issues Vincent de Lau 2025-05-13 17:52:12 +02:00
  • 5229526467 Merge pull request #108 from Crell/hooks Larry Garfield 2025-04-22 21:31:42 -05:00
  • 0a13031a22 Disallow wrapping in inline hook bodies. Larry Garfield 2025-04-05 21:31:38 -05:00
  • e3e40370df Soften rules for short-hooks. Larry Garfield 2025-04-05 21:30:01 -05:00
  • a027285bad Merge pull request #112 from devfrey/patch-1 Larry Garfield 2025-03-29 00:53:55 -04:00
  • a8d1a28ee2 Clarify abstract properties with partial implementation. Larry Garfield 2025-03-28 23:59:51 -04:00
  • ee90554541 Fix typo in paragraph about omitting parentheses Jeffrey Angenent 2025-03-27 16:16:42 +01:00
  • 5e2d262c6e Merge pull request #110 from KorvinSzanto/new-class-no-parenthesis Larry Garfield 2025-03-26 13:46:46 -05:00
  • d34e77a56b Merge pull request #109 from TimWolla/patch-1 Larry Garfield 2025-01-28 20:59:22 -06:00
  • 81328fff49 Spelling fix Larry Garfield 2025-01-21 22:35:45 -06:00
  • 6dfd0abfa3 Disallow very-long short-hooks. Larry Garfield 2025-01-21 22:35:04 -06:00
  • ddd8d9c7ae Merge pull request #111 from KorvinSzanto/update-rfc-2119-to-bcp-14 Larry Garfield 2025-01-21 22:31:48 -06:00
  • b59af428d7 Switch from RFC 2119 to BCP-14 Korvin Szanto 2025-01-21 13:10:35 -08:00
  • e85163021a Make it clear that this applies when accessing any class member and not just methods. Korvin Szanto 2025-01-21 12:53:34 -08:00
  • bdbf3ee4ca Recommend omitting wrapping parenthesis when immediately calling a method on a new instance Korvin Szanto 2025-01-21 12:47:29 -08:00
  • 7901d61064 Show extra-long version. Larry Garfield 2025-01-21 11:52:10 -06:00
  • 3273f94363 Interface properties. Larry Garfield 2025-01-20 17:52:45 -06:00
  • 8320af5162 Restructure hook descriptions. Larry Garfield 2025-01-20 17:45:41 -06:00
  • 5a7b88e4b5 Typo fix. Larry Garfield 2025-01-20 17:28:07 -06:00
  • 314954d28c Restore original section order. Larry Garfield 2025-01-20 17:22:46 -06:00
  • 7ce5844fcd Merge pull request #45 from Crell/compound-types Larry Garfield 2025-01-20 17:03:59 -06:00
  • 0132601873 Merge pull request #99 from Crell/aviz Larry Garfield 2025-01-19 00:34:32 -06:00
  • 941ec645c9 Recommend to always use exit() instead of exit Tim Düsterhus 2025-01-04 16:33:28 +01:00
  • 2bb708db8d Update exception-unions to be consistent. Larry Garfield 2025-01-03 18:21:59 -06:00
  • 9774e155e3 Typo fix Larry Garfield 2022-09-20 18:52:48 -05:00
  • 226f5af30a Add handling for compound types. Larry Garfield 2022-09-12 15:29:56 -05:00
  • 4b2b715bf3 Document hooks formatting. Larry Garfield 2025-01-03 18:15:26 -06:00
  • 7096729e0e Merge pull request #103 from JesusValeraDev/master Larry Garfield 2025-01-03 18:13:19 -06:00
  • 55b222df68 Merge pull request #105 from hms5232/fix-indent Larry Garfield 2025-01-03 18:11:54 -06:00
  • 7538cc1543 Renumber object sections to make room for property hooks next to properties. Larry Garfield 2025-01-03 17:35:20 -06:00
  • 329136fb12 Merge pull request #102 from Crell/class-abbrev Larry Garfield 2025-01-03 17:21:04 -06:00
  • aad4d72e6c Merge pull request #100 from Crell/php-tag-case Larry Garfield 2025-01-03 17:17:10 -06:00
  • dfd023b185 fix wrong indent level hms5232 2024-11-06 16:26:10 +08:00
  • 5724087c87 Soften requirements around omitting public. Larry Garfield 2024-10-19 01:41:15 -05:00
  • db4e4e2d5d Merge pull request #104 from jrfnl/feature/section-10-minor-fixes Larry Garfield 2024-10-19 05:25:43 +00:00
  • 71e70f1e88 Section 10/heredoc, nowdoc: minor fixes jrfnl 2024-10-19 00:13:30 +02:00
  • 515f1274c5 Remove contradictory statement JesusValera 2024-10-16 15:18:15 +02:00
  • d002b02b71 Standardize "lower case" terminology. Larry Garfield 2024-10-16 05:53:59 -05:00
  • 3ed8b01ec3 Add section on abbreviation naming. Larry Garfield 2024-10-15 15:46:31 -05:00
  • e50409df7b Clarify that php open tags must be lowercase. Larry Garfield 2024-10-15 12:59:27 -05:00
  • b4b67f5691 Document how to use aviz. Larry Garfield 2024-10-15 12:53:41 -05:00
  • f8ced3ad9e Merge pull request #93 from JesusValera/patch-1 Larry Garfield 2024-10-15 17:46:22 +00:00
  • f6998a25df Apply suggestions to "Operators placement" section JesusValera 2024-10-06 18:22:10 +02:00
  • 145af4e442 Create "Operators placement" section JesusValera 2024-10-03 17:48:45 +02:00
  • 1e76f5e684 Add ternary operator on multi-line Jesus Valera Reales 2024-08-12 15:50:44 +02:00
  • 58a17b49ff Merge pull request #90 from rikvdh/master Larry Garfield 2024-07-25 16:48:23 +00:00
  • dd515bf274 add missing space for class declaration Rik van der Heijden 2024-07-21 15:57:11 +02:00
  • 7c5d15d221 Merge pull request #71 from TimWolla/patch-1 Larry Garfield 2024-05-08 14:33:19 -05:00
  • 03a37867d2 Merge pull request #87 from roxblnfk/patch-1 Larry Garfield 2024-05-07 11:18:21 -05:00
  • ec0204ac21 Fix indents in Heredoc/Nowdoc samples Aleksei Gagarin 2024-05-06 20:47:19 +04:00
  • 45e7b47f3a Merge pull request #86 from TravisCarden/patch-1 Larry Garfield 2024-03-27 13:55:05 +00:00
  • 48dfc80426 Update spec.md for typo. Travis Carden 2024-03-26 19:07:28 -04:00
  • d07a088c58 Merge pull request #84 from kenguest/links Larry Garfield 2023-11-10 11:25:07 -06:00
  • 130e4f3efe Add links to migration document Ken Guest 2023-11-10 14:29:32 +00:00
  • 246f784436 Merge pull request #82 from kenguest/master Larry Garfield 2023-11-09 11:52:48 -06:00
  • 4ec7bb5d19 Add some more examples. Ken Guest 2023-10-28 20:51:33 +01:00
  • f7b112caec Forgot closing syntax markers Ken Guest 2023-10-28 20:59:54 +01:00
  • 3dff7220cb Add some more examples. Ken Guest 2023-10-28 20:51:33 +01:00
  • c789b0603e Syntax highlighting for example php code Ken Guest 2023-10-27 08:36:38 +01:00