atk4 / schema

Few classes built on top of Agile Data that can take care of your SQL database schema
https://agiletoolkit.org/
MIT License
4 stars 5 forks source link

Fix CS to PSR-12 #35

Closed mvorisek closed 4 years ago

mvorisek commented 4 years ago

Add CS config and fix PSR-12 errors.

mvorisek commented 4 years ago

@DarkSide666 The StyleCI has to be reconfigured to PSR-12, can please do it?

And of course revert https://github.com/atk4/schema/commit/44376760aacfb921b5858aac136ea04abc558684 then.

UPDATE: StyleCI seems to friendsofphp/php-cs-fixer based and this CI fixer is also already added to atk4/core - what about migrating from squizlabs/php_codesniffer to friendsofphp/php-cs-fixer , at least for automatic fixing? Then the CS fixer should behave exactly the same as the StyleCI and maybe StyleCI config can be put in the repo too. See https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/3459#issuecomment-359234259