33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-10 23:31:01 +00:00

Merge pull request #59 from 810/drone

Add drone with codestyle check
This commit is contained in:
Anibal Sanchez 2019-10-15 10:50:07 +02:00 committed by GitHub
commit c8c9f778af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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