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

Installs: 421

Dependents: 6

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

pkg:composer/vektah/psr2

1.0.0 2013-09-12 00:24 UTC

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',
	]
);