Add drone with codestyle check

This commit is contained in:
Jelle Kok 2019-10-13 10:03:41 +02:00
parent f00b011082
commit 3043f6eb3b
No known key found for this signature in database
GPG Key ID: EC8776F3C011B1D1
3 changed files with 1602 additions and 0 deletions

18
.drone.yml Normal file
View File

@ -0,0 +1,18 @@
kind: pipeline
name: default
clone:
depth: 42
steps:
- name: composer
image: joomlaprojects/docker-tools:develop
commands:
- composer validate --no-check-all --strict
- composer install --no-progress --no-suggest
- name: phpcs
image: joomlaprojects/docker-images:php7.2
commands:
- echo $(date)
- ./vendor/bin/phpcs --report=full --encoding=utf-8 --extensions=php -p --standard=./vendor/joomla/coding-standards/Joomla ./src
- echo $(date)

20
composer.json Normal file
View File

@ -0,0 +1,20 @@
{
"name" : "joomla-extensions/jedchecker",
"description": "Joomla extension to check components, modules or plugins for possible problems for submission to the JED",
"license" : "GPL-2.0-or-later",
"config": {
"platform": {
"php": "7.2.23"
}
},
"require" : {
"php": ">=7.2.0"
},
"require-dev": {
"joomla/cms-coding-standards": "~2.0.0-alpha2@dev",
"joomla/coding-standards": "~3.0@dev",
"friendsofphp/php-cs-fixer": "~2.12",
"squizlabs/php_codesniffer": "~3.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0"
}
}

1564
composer.lock generated Normal file

File diff suppressed because it is too large Load Diff