From dca5047c58c6cd2a7a40467b20f02534e50ed0c8 Mon Sep 17 00:00:00 2001 From: Ravan Scafi Date: Wed, 3 Oct 2018 11:17:23 -0300 Subject: [PATCH] Create composer structure --- .gitignore | 3 +++ composer.json | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .gitignore create mode 100644 composer.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..273e197 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +vendor +composer.lock +phpcs.xml diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..cb796ab --- /dev/null +++ b/composer.json @@ -0,0 +1,34 @@ +{ + "name": "leroy-merlin-br/coding-standard", + "description": "The coding standard for PHP projects on LMBR", + "type": "phpcodesniffer-standard", + "license": "MIT", + "keywords": [ + "leroy-merlin", + "php", + "coding", + "standard", + "cs", + "code", + "style", + "sniffer", + "rules", + "sniffs", + "checks" + ], + "authors": [ + { + "name": "Boitatá", + "email": "boitata@leroymerlin.com.br" + } + ], + "require": { + "php": "^7.1", + "dealerdirect/phpcodesniffer-composer-installer": "^0.4.4", + "slevomat/coding-standard": "^4.8.0", + "squizlabs/php_codesniffer": "^3.3.2" + }, + "config": { + "sort-packages": true + } +}