Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

Change default coding style to PSR-12 #9

Merged
merged 2 commits into from
Nov 18, 2019
Merged

Change default coding style to PSR-12 #9

merged 2 commits into from
Nov 18, 2019

Conversation

jaylinski
Copy link
Contributor

  • Dropped support for phpspec v4
  • Updated deps

CHANGELOG.md Show resolved Hide resolved
@@ -16,7 +16,7 @@ class CodeStyleFixer implements ComposerScriptInterface
*
* @var string
*/
private static $command = 'php-cs-fixer fix src --rules=@PSR2 --using-cache=false';
private static $command = 'phpcbf src --standard=PSR12';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

php-cs-fixer doesn't support PSR-12 yet: PHP-CS-Fixer/PHP-CS-Fixer#4502

README.md Show resolved Hide resolved
Jakob Linskeseder added 2 commits November 18, 2019 11:58
* Dropped support for phpspec v4
* Updated deps
@jaylinski
Copy link
Contributor Author

I tried to change the .styleci.yml preset to preset: psr12, but it seems it isn't supported yet.

See also https://twitter.com/GrahamJCampbell/status/1161012976499011585.

@jaylinski jaylinski merged commit 029268d into karriereat:master Nov 18, 2019
@jaylinski jaylinski deleted the dev/psr12 branch November 18, 2019 13:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants