vektah/psr2

There is no license information available for the latest version (1.0.0) of this package.

A slightly relaxed PSR-2 phpcs ruleset

1.0.0 2013-09-12 00:24 UTC

This package is not auto-updated.

Last update: 2020-09-13 19:59:26 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',
	]
);