vektah / psr2
A slightly relaxed PSR-2 phpcs ruleset
Installs: 421
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
pkg:composer/vektah/psr2
This package is not auto-updated.
Last update: 2025-10-06 21:31:10 UTC
README
This is a slightly releaxed PSR-2 ruleset for phpcs.
- Does not check line length: Screens keep getting wider, why doesnt our code?
- Does not limit to one param per line for multi line functions: Its often much clearer to have:
foo([
'asdf' => 'hjkl',
]);
compared to
foo(
[
'asdf' => 'hjkl',
]
);