[ SYSTEM ]: Windows NT SWD-ELEARN-11 10.0 build 20348 (Windows Server 2016) AMD64
[ SERVER ]: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.9 | PHP: 7.3.9
[ USER ]: Elearn | IP: 10.201.204.156
GEFORCE FILE MANAGER
/
C:
/
xampp
/
htdocs
/
Ajaji
/
libraries
/
vendor
/
joomla
/
oauth1
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 src
SET
[ DEL ]
📄 .drone.jsonnet
3,476 B
SET
[ EDIT ]
|
[ DEL ]
📄 LICENSE
17,816 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: .drone.jsonnet
local volumes = [ { name: "composer-cache", path: "/tmp/composer-cache", }, ]; local hostvolumes = [ { name: "composer-cache", host: {path: "/tmp/composer-cache"} }, ]; local composer(phpversion, params) = { name: "composer", image: "joomlaprojects/docker-images:php" + phpversion, volumes: volumes, commands: [ "php -v", "composer update " + params, ] }; local phpunit(phpversion) = { name: "PHPUnit", image: "joomlaprojects/docker-images:php" + phpversion, [if phpversion == "8.2" then "failure"]: "ignore", commands: ["vendor/bin/phpunit"] }; local pipeline(name, phpversion, params) = { kind: "pipeline", name: "PHP " + name, volumes: hostvolumes, steps: [ composer(phpversion, params), phpunit(phpversion) ], }; [ { kind: "pipeline", name: "Codequality", volumes: hostvolumes, steps: [ { name: "composer", image: "joomlaprojects/docker-images:php7.4", volumes: volumes, commands: [ "php -v", "composer update", "composer require phpmd/phpmd phpstan/phpstan" ] }, { name: "phpcs", image: "joomlaprojects/docker-images:php7.4", depends: [ "composer" ], commands: [ "vendor/bin/phpcs --config-set installed_paths vendor/joomla/coding-standards", "vendor/bin/phpcs --standard=ruleset.xml src/" ] }, { name: "phpmd", image: "joomlaprojects/docker-images:php7.4", depends: [ "composer" ], failure: "ignore", commands: [ "vendor/bin/phpmd src text cleancode", "vendor/bin/phpmd src text codesize", "vendor/bin/phpmd src text controversial", "vendor/bin/phpmd src text design", "vendor/bin/phpmd src text unusedcode", ] }, { name: "phpstan", image: "joomlaprojects/docker-images:php7.4", depends: [ "composer" ], failure: "ignore", commands: [ "vendor/bin/phpstan analyse src", ] }, { name: "phploc", image: "joomlaprojects/docker-images:php7.4", depends: [ "composer" ], failure: "ignore", commands: [ "phploc src", ] }, { name: "phpcpd", image: "joomlaprojects/docker-images:php7.4", depends: [ "composer" ], failure: "ignore", commands: [ "phpcpd src", ] } ] }, pipeline("7.2 lowest", "7.2", "--prefer-stable --prefer-lowest"), pipeline("7.2", "7.2", "--prefer-stable"), pipeline("7.3", "7.3", "--prefer-stable"), pipeline("7.4", "7.4", "--prefer-stable"), pipeline("8.0", "8.0", "--prefer-stable"), pipeline("8.1", "8.1", "--prefer-stable"), pipeline("8.2", "8.2", "--prefer-stable --ignore-platform-reqs"), ]