Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
a6ff325
Some initial notes re differences between PSR12 and PERCSv2.0
kenguest Oct 12, 2023
3ccb609
Rename
kenguest Oct 12, 2023
9aed798
Rename
kenguest Oct 12, 2023
aaf2b42
Improve markup
kenguest Oct 12, 2023
91819f2
Fix markup for sections on short closures and enums
kenguest Oct 12, 2023
3b29740
Tidy up
kenguest Oct 12, 2023
5cd50f2
Add link to autogenerated changelog
kenguest Oct 13, 2023
209c586
Call this a migration document
kenguest Oct 13, 2023
2734f41
Additional changes as suggested by Crell
kenguest Oct 15, 2023
3635c2e
Remove unnecessary empty line
kenguest Oct 15, 2023
feb4e9d
Remove text from previous PSRs that are not new to PER-CS v2
kenguest Oct 17, 2023
05a0748
Method chaining
kenguest Oct 17, 2023
7aa1183
file name - drop the version being migrated from
kenguest Oct 17, 2023
6fbc900
Oxford comma...
kenguest Oct 19, 2023
e116298
Update migration-2.0.md
kenguest Oct 19, 2023
e354506
Update migration-2.0.md
kenguest Oct 19, 2023
40f0c37
Update migration-2.0.md
kenguest Oct 19, 2023
2960dec
Update migration-2.0.md
kenguest Oct 19, 2023
e0baa66
Update migration-2.0.md
kenguest Oct 19, 2023
303fcb7
Update migration-2.0.md
kenguest Oct 19, 2023
ea0002e
Update migration-2.0.md
kenguest Oct 19, 2023
838bcad
Update migration-2.0.md
kenguest Oct 19, 2023
d1490b4
Update migration-2.0.md
kenguest Oct 19, 2023
50e058a
Consistency
kenguest Oct 19, 2023
6e92d9b
Update migration-2.0.md
kenguest Oct 23, 2023
62f4377
Update migration-2.0.md
kenguest Oct 23, 2023
a90e814
Update migration-2.0.md
kenguest Oct 23, 2023
4c160bd
Apply suggestions from review
kenguest Oct 23, 2023
fae5c1e
Update migration-2.0.md
kenguest Oct 23, 2023
62e3123
More concise, with examples.
kenguest Oct 26, 2023
9a4d7e2
Syntax highlighting for example php code
kenguest Oct 27, 2023
a217170
Fix syntax re syntax highlighting
kenguest Oct 27, 2023
c789b06
Syntax highlighting for example php code
kenguest Oct 27, 2023
3dff722
Add some more examples.
kenguest Oct 28, 2023
f7b112c
Forgot closing syntax markers
kenguest Oct 28, 2023
4ec7bb5
Add some more examples.
kenguest Oct 28, 2023
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove text from previous PSRs that are not new to PER-CS v2
  • Loading branch information
kenguest authored Oct 17, 2023
commit feb4e9d29dcb14591e55df88b22353c0f925d527
21 changes: 2 additions & 19 deletions migration-1.0-2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,8 @@ by a single space.

## [Section 4.7 - Method and Function Calls](https://www.php-fig.org/per/coding-style/#47-method-and-function-calls)

Named arguments and method chaining

When making a method or function call, there MUST NOT be a space between
the method or function name and the opening parenthesis, there MUST NOT
be a space after the opening parenthesis, and there MUST NOT be a space
before the closing parenthesis.

In the argument list, there MUST NOT be a space before each comma,
and there MUST be one space after each comma.

Argument lists MAY be split across multiple lines, where each subsequent
line is indented once. When doing so, the first item in the list MUST be
on the next line, and there MUST be only one argument per line. A single
argument being split across multiple lines (as might be the case with a
closure or array) does not constitute splitting the argument list itself.

If using named arguments, there MUST NOT be a space between the argument
name and colon, and there MUST be a single space between the colon and
the argument value.
If using named arguments, there MUST NOT be a space between the argument name and colon,
and there MUST be a single space between the colon and the argument value.

## [Section 4.8 - Function Callable References](https://www.php-fig.org/per/coding-style/#48-function-callable-references)

Expand Down