core icon indicating copy to clipboard operation
core copied to clipboard

[General] PSR-12 support

Open Guite opened this issue 6 years ago • 2 comments

Since PSR-2 is deprecated consider switching to PSR-12

See also:

  • https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-12-extended-coding-style-guide-meta.md#5-changelog-from-psr-2
  • https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/4502
  • https://github.com/karriereat/php-code-quality/pull/9

Guite avatar Nov 16 '19 16:11 Guite

Reminder: put declare(strict_types=1); below the file comment block.

This includes updating StyleCI config because currently it does not like it (see aa4217c9d8a0e338000df684f2e34d05bfc051f6)

Guite avatar Dec 12 '19 15:12 Guite

https://docs.styleci.io/presets#psr12

Guite avatar Feb 12 '20 08:02 Guite