per-coding-style
per-coding-style copied to clipboard
PER coding style
Are there any requirements regarding spaces in type casting? There is the requirement: Type casting operators MUST NOT have any space within the parentheses But what about the space between...
Replaces #24
This is based on what I've seen in the wild, with a healthy dose of my own judgement. It seems consistent with the rest of the document. Resolves #8
Has switching to tabs instead of spaces been considered for accessibility reasons? This tweet has been making the rounds recently: https://twitter.com/Rich_Harris/status/1541761871585464323 Kirby CMS recently made the switch too: https://github.com/getkirby/kirby/pull/4454
To the best of my recollection in all of the code I've encountered, despite functioning correctly in either order, attributes are placed between any docblock and the target they apply...
I've gone through the PHP versions since 7.3 which was the most recently released when PSR-12 was accepted and gathered a list of syntax that we may want to cover...
Need to check the following issues and discussions that came after PSR-12 was accepted: - [ ] https://github.com/php-fig/fig-standards/pull/1206 - [ ] https://groups.google.com/g/php-fig/c/LItcyM27ll0/m/0Iq00esqBgAJ - [ ] https://groups.google.com/g/php-fig/c/4gZe07mWWvk/m/up8rgfe4AgAJ - [ ] https://groups.google.com/g/php-fig/c/nbpm5wLTt2w/m/mlYP5lXFAwAJ...
I wanted to clearly define what "major" "minor" and "patch" mean in the context of this PER and how we will handle versioning for v1.0.0 and after. This is an...
There's likely to be discussion on this, but this PR gets us started. Discuss.
let me know if you think something like this should be done. the first thing I wanted to take care of was to allow to break a function call or...