diff --git a/.idea/oliverdavies-uk.iml b/.idea/oliverdavies-uk.iml
index 8a6bfe3..82132bb 100644
--- a/.idea/oliverdavies-uk.iml
+++ b/.idea/oliverdavies-uk.iml
@@ -16,6 +16,7 @@
+
@@ -24,6 +25,7 @@
+
@@ -48,6 +50,7 @@
+
diff --git a/.idea/php.xml b/.idea/php.xml
index 28c4894..8d668da 100644
--- a/.idea/php.xml
+++ b/.idea/php.xml
@@ -83,6 +83,9 @@
+
+
+
diff --git a/composer.json b/composer.json
index 515cb16..9ca6d34 100644
--- a/composer.json
+++ b/composer.json
@@ -30,6 +30,8 @@
"tightenco/collect": "^6.15"
},
"require-dev": {
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2",
+ "drupal/coder": "^8.3"
},
"conflict": {
"drupal/drupal": "*"
diff --git a/composer.lock b/composer.lock
index 44792eb..b15cb33 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "dde2e85b8d9bae5545c6f59b95d23fde",
+ "content-hash": "f2ce3e97747f0c6a54eb150036f7c674",
"packages": [
{
"name": "asm89/stack-cors",
@@ -6219,7 +6219,163 @@
"time": "2018-08-28T21:34:05+00:00"
}
],
- "packages-dev": [],
+ "packages-dev": [
+ {
+ "name": "dealerdirect/phpcodesniffer-composer-installer",
+ "version": "v0.6.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git",
+ "reference": "8001af8eb107fbfcedc31a8b51e20b07d85b457a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/8001af8eb107fbfcedc31a8b51e20b07d85b457a",
+ "reference": "8001af8eb107fbfcedc31a8b51e20b07d85b457a",
+ "shasum": ""
+ },
+ "require": {
+ "composer-plugin-api": "^1.0",
+ "php": "^5.3|^7",
+ "squizlabs/php_codesniffer": "^2|^3"
+ },
+ "require-dev": {
+ "composer/composer": "*",
+ "phpcompatibility/php-compatibility": "^9.0",
+ "sensiolabs/security-checker": "^4.1.0"
+ },
+ "type": "composer-plugin",
+ "extra": {
+ "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"
+ },
+ "autoload": {
+ "psr-4": {
+ "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Franck Nijhof",
+ "email": "franck.nijhof@dealerdirect.com",
+ "homepage": "http://www.frenck.nl",
+ "role": "Developer / IT Manager"
+ }
+ ],
+ "description": "PHP_CodeSniffer Standards Composer Installer Plugin",
+ "homepage": "http://www.dealerdirect.com",
+ "keywords": [
+ "PHPCodeSniffer",
+ "PHP_CodeSniffer",
+ "code quality",
+ "codesniffer",
+ "composer",
+ "installer",
+ "phpcs",
+ "plugin",
+ "qa",
+ "quality",
+ "standard",
+ "standards",
+ "style guide",
+ "stylecheck",
+ "tests"
+ ],
+ "time": "2020-01-29T20:22:20+00:00"
+ },
+ {
+ "name": "drupal/coder",
+ "version": "8.3.8",
+ "source": {
+ "type": "git",
+ "url": "https://git.drupalcode.org/project/coder.git",
+ "reference": "e53e75b45842a5d2b454b08c318a17f57339e60e"
+ },
+ "require": {
+ "ext-mbstring": "*",
+ "php": ">=7.0.8",
+ "squizlabs/php_codesniffer": "^3.5.4",
+ "symfony/yaml": ">=2.0.5"
+ },
+ "require-dev": {
+ "phpstan/phpstan": "^0.12.5",
+ "phpunit/phpunit": "^6.0 || ^7.0"
+ },
+ "type": "phpcodesniffer-standard",
+ "autoload": {
+ "psr-4": {
+ "Drupal\\": "coder_sniffer/Drupal/",
+ "DrupalPractice\\": "coder_sniffer/DrupalPractice/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "GPL-2.0+"
+ ],
+ "description": "Coder is a library to review Drupal code.",
+ "homepage": "https://www.drupal.org/project/coder",
+ "keywords": [
+ "code review",
+ "phpcs",
+ "standards"
+ ],
+ "time": "2020-03-08T19:03:35+00:00"
+ },
+ {
+ "name": "squizlabs/php_codesniffer",
+ "version": "3.5.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
+ "reference": "dceec07328401de6211037abbb18bda423677e26"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dceec07328401de6211037abbb18bda423677e26",
+ "reference": "dceec07328401de6211037abbb18bda423677e26",
+ "shasum": ""
+ },
+ "require": {
+ "ext-simplexml": "*",
+ "ext-tokenizer": "*",
+ "ext-xmlwriter": "*",
+ "php": ">=5.4.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
+ },
+ "bin": [
+ "bin/phpcs",
+ "bin/phpcbf"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.x-dev"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Greg Sherwood",
+ "role": "lead"
+ }
+ ],
+ "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
+ "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
+ "keywords": [
+ "phpcs",
+ "standards"
+ ],
+ "time": "2020-01-30T22:20:29+00:00"
+ }
+ ],
"aliases": [],
"minimum-stability": "dev",
"stability-flags": [],