From 1fc231067f728c9bc95da6dd6790ed76ab0d8ea9 Mon Sep 17 00:00:00 2001 From: Luciano Righetti Date: Mon, 4 Dec 2023 11:47:27 +0100 Subject: [PATCH] fix: [cs] add PSR-12 stantard, fix array autoformating --- composer.json | 1 + phpcs.xml | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 75fa80615..b541961d6 100644 --- a/composer.json +++ b/composer.json @@ -30,6 +30,7 @@ "fakerphp/faker": "^1.21", "josegonzalez/dotenv": "^3.2", "league/openapi-psr7-validator": "^0.17", + "phpcsstandards/phpcsextra": "^1.2.0", "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.5", "psy/psysh": "@stable", diff --git a/phpcs.xml b/phpcs.xml index 9cb031e28..723d91695 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -14,13 +14,20 @@ + + + + + + + + error - @@ -55,11 +62,6 @@ - - - - - 0