diff --git a/composer.json b/composer.json index ddbff51..02de3f6 100644 --- a/composer.json +++ b/composer.json @@ -12,9 +12,16 @@ }, "require": { "php": ">=7.0.0 <=7.2.99", - "typo3/cms-core": ">=8.7.0,<8.9.99" + "typo3/cms-core": "^8.7.0", + "typo3/cms-form": "^8.7.0" + }, + "require-dev": { + "squizlabs/php_codesniffer": "^3.2.0" }, "scripts": { + "lint": [ + "./vendor/bin/phpcs" + ], "post-install-cmd": [ "npm install" ] diff --git a/phpcs.xml.dist b/phpcs.xml.dist new file mode 100644 index 0000000..4bf161b --- /dev/null +++ b/phpcs.xml.dist @@ -0,0 +1,17 @@ + + + The coding standard for this extension. + + ./Classes/ + + + + + + + + + + + +