From 449ff636de0f2acb9f53c875d548dfcba5c3ef54 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 22 Nov 2018 17:42:58 +0545 Subject: [PATCH] Adjust CI scripts to current standard --- .drone.yml | 213 ++-- .gitignore | 14 +- Makefile | 93 +- composer.json | 9 +- composer.lock | 1131 +------------------ phpunit.xml | 26 + templates/settings.php | 2 +- tests/unit/phpunit.xml | 27 - vendor-bin/owncloud-codestyle/composer.json | 5 + 9 files changed, 297 insertions(+), 1223 deletions(-) create mode 100644 phpunit.xml delete mode 100644 tests/unit/phpunit.xml create mode 100644 vendor-bin/owncloud-codestyle/composer.json diff --git a/.drone.yml b/.drone.yml index b1340c22..0dfc9196 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,7 @@ workspace: branches: [master, release*, release/*] pipeline: - install-server: + install-core: image: owncloudci/core pull: true version: ${OC_VERSION} @@ -15,6 +15,9 @@ pipeline: db_username: ${DB_USERNAME} db_password: ${DB_PASSWORD} db_timeout: 120 + when: + matrix: + NEED_CORE: true prepare-objectstore: image: owncloudci/php:${PHP_VERSION} @@ -45,107 +48,110 @@ pipeline: - php occ app:enable files_antivirus - php occ app:enable testing - php occ app:list - - php occ config:system:set trusted_domains 1 --value=server + - php occ config:system:set trusted_domains 1 --value=owncloud - php occ log:manage --level 0 + when: + matrix: + NEED_INSTALL_APP: true - owncloud-log: - image: owncloud/ubuntu:16.04 - detach: true - pull: true - commands: - - tail -f /var/www/owncloud/data/owncloud.log - - code-compliance-check: + configure-app: image: owncloudci/php:${PHP_VERSION} pull: true commands: - # currently failing - #- make test-php-codecheck - - make test-php-lint - - make test-php-style + - cd /var/www/owncloud/ + - php occ config:app:set --value "clamav" files_antivirus av_host + - php occ config:app:set --value "daemon" files_antivirus av_mode + - php occ config:app:set --value "3310" files_antivirus av_port when: matrix: - TEST_SUITE: phpunit + TEST_SUITE: api-acceptance - phpunit: + fix-permissions: image: owncloudci/php:${PHP_VERSION} pull: true commands: - # dummy clamav required for unit tests - - php /var/www/owncloud/apps/files_antivirus/tests/util/avirserver.php& - # wait shortly for the server to be available - - wait-for-it 127.0.0.1:5555 - # required to pass the executable tests - - ln -s /var/www/owncloud/apps/files_antivirus/tests/util/avir.sh /usr/bin/clamscan - - cd /var/www/owncloud/apps/files_antivirus/tests/unit - - phpdbg -d memory_limit=4096M -rr ../../../../lib/composer/bin/phpunit --configuration phpunit.xml + - chown www-data /var/www/owncloud -R + - chmod 777 /var/www/owncloud/tests/acceptance/filesForUpload -R + - chmod +x /var/www/owncloud/tests/acceptance/run.sh when: matrix: - TEST_SUITE: phpunit + NEED_SERVER: true - codecov: - image: plugins/codecov:2 - secrets: [codecov_token] + owncloud-log: + image: owncloud/ubuntu:16.04 + detach: true pull: true - files: - - 'tests/unit/clover.xml' + commands: + - tail -f /var/www/owncloud/data/owncloud.log when: - local: false matrix: - TEST_SUITE: phpunit - PHP_VERSION: 7.0 + NEED_SERVER: true - configure-app: + owncloud-coding-standard: image: owncloudci/php:${PHP_VERSION} pull: true commands: - - cd /var/www/owncloud/ - - php occ config:app:set --value "clamav" files_antivirus av_host - - php occ config:app:set --value "daemon" files_antivirus av_mode - - php occ config:app:set --value "3310" files_antivirus av_port + - make test-php-style when: matrix: - TEST_SUITE: api-acceptance + TEST_SUITE: owncloud-coding-standard - fix-permissions: + phpunit-tests: image: owncloudci/php:${PHP_VERSION} pull: true + environment: + - COVERAGE=${COVERAGE} commands: - - cd /var/www/owncloud/ - - chown www-data * -R + # dummy clamav required for unit tests + - php /var/www/owncloud/apps/files_antivirus/tests/util/avirserver.php& + # wait shortly for the server to be available + - wait-for-it 127.0.0.1:5555 + # required to pass the executable tests + - ln -s /var/www/owncloud/apps/files_antivirus/tests/util/avir.sh /usr/bin/clamscan + - cd /var/www/owncloud/apps/files_antivirus + - if [ -z "${COVERAGE}" ]; then make test-php-unit; fi + - if [ "${COVERAGE}" = "true" ]; then make test-php-unit-dbg; fi when: matrix: - TEST_SUITE: api-acceptance + TEST_SUITE: phpunit api-acceptance-tests: image: owncloudci/php:${PHP_VERSION} pull: true environment: - - TEST_SERVER_URL=http://server + - TEST_SERVER_URL=http://owncloud - BEHAT_SUITE=${BEHAT_SUITE} commands: - - cd /var/www/owncloud/tests/acceptance - - chmod +x run.sh - - ./run.sh --config /var/www/owncloud/apps/files_antivirus/tests/acceptance/config/behat.yml + - make test-acceptance-api when: matrix: TEST_SUITE: api-acceptance + codecov: + image: plugins/codecov:2 + secrets: [codecov_token] + pull: true + paths: + - tests/output/*.xml + when: + matrix: + COVERAGE: true + notify: image: plugins/slack:1 pull: true - secrets: [ slack_webhook ] + secrets: [slack_webhook] channel: builds when: - status: [ failure, changed ] - event: [ push, tag ] + status: [failure, changed] + event: [push, tag] services: oci: image: deepdiver/docker-oracle-xe-11g environment: - - ORACLE_USER=autotest - - ORACLE_DB=XE + - ORACLE_USER=autotest + - ORACLE_DB=XE when: matrix: DB_TYPE: oci @@ -200,18 +206,24 @@ services: matrix: TEST_SUITE: api-acceptance - server: + owncloud: image: owncloudci/php:${PHP_VERSION} pull: true environment: - - APACHE_WEBROOT=/var/www/owncloud - command: [ "/usr/local/bin/apachectl", "-e", "debug" , "-D", "FOREGROUND" ] + - APACHE_WEBROOT=/var/www/owncloud/ + command: ["/usr/local/bin/apachectl", "-e", "debug", "-D", "FOREGROUND"] when: matrix: - USE_SERVER: true + NEED_SERVER: true matrix: include: + # owncloud-coding-standard + - PHP_VERSION: 7.2 + TEST_SUITE: owncloud-coding-standard + + - PHP_VERSION: 5.6 + TEST_SUITE: owncloud-coding-standard #UNIT TESTS #PHP 5.6 @@ -223,6 +235,8 @@ matrix: DB_NAME: oc_db DB_USERNAME: admin DB_PASSWORD: secret + NEED_CORE: true + NEED_INSTALL_APP: true - PHP_VERSION: 5.6 OC_VERSION: daily-stable10-qa @@ -232,6 +246,8 @@ matrix: DB_NAME: oc_db DB_USERNAME: admin DB_PASSWORD: secret + NEED_CORE: true + NEED_INSTALL_APP: true - PHP_VERSION: 5.6 OC_VERSION: daily-stable10-qa @@ -240,6 +256,8 @@ matrix: DB_HOST: oci DB_NAME: XE DB_USERNAME: autotest + NEED_CORE: true + NEED_INSTALL_APP: true #PHP 7.0 @@ -251,6 +269,8 @@ matrix: DB_NAME: oc_db DB_USERNAME: admin DB_PASSWORD: secret + NEED_CORE: true + NEED_INSTALL_APP: true #PHP 7.1 @@ -262,11 +282,15 @@ matrix: DB_NAME: oc_db DB_USERNAME: admin DB_PASSWORD: secret + NEED_CORE: true + NEED_INSTALL_APP: true - PHP_VERSION: 7.1 OC_VERSION: daily-stable10-qa TEST_SUITE: phpunit DB_TYPE: sqlite + NEED_CORE: true + NEED_INSTALL_APP: true - PHP_VERSION: 7.1 OC_VERSION: daily-stable10-qa @@ -276,6 +300,8 @@ matrix: DB_NAME: oc_db DB_USERNAME: admin DB_PASSWORD: secret + NEED_CORE: true + NEED_INSTALL_APP: true - PHP_VERSION: 7.1 OC_VERSION: daily-stable10-qa @@ -284,6 +310,8 @@ matrix: DB_HOST: oci DB_NAME: XE DB_USERNAME: autotest + NEED_CORE: true + NEED_INSTALL_APP: true - PHP_VERSION: 7.1 OC_VERSION: daily-stable10-qa @@ -293,6 +321,8 @@ matrix: DB_NAME: oc_db DB_USERNAME: admin DB_PASSWORD: secret + NEED_CORE: true + NEED_INSTALL_APP: true - PHP_VERSION: 7.1 OC_VERSION: daily-master-qa @@ -302,11 +332,16 @@ matrix: DB_NAME: oc_db DB_USERNAME: admin DB_PASSWORD: secret + COVERAGE: true + NEED_CORE: true + NEED_INSTALL_APP: true - PHP_VERSION: 7.1 OC_VERSION: daily-master-qa TEST_SUITE: phpunit DB_TYPE: sqlite + NEED_CORE: true + NEED_INSTALL_APP: true - PHP_VERSION: 7.1 OC_VERSION: daily-master-qa @@ -316,6 +351,8 @@ matrix: DB_NAME: oc_db DB_USERNAME: admin DB_PASSWORD: secret + NEED_CORE: true + NEED_INSTALL_APP: true - PHP_VERSION: 7.1 OC_VERSION: daily-master-qa @@ -325,6 +362,8 @@ matrix: DB_NAME: oc_db DB_USERNAME: admin DB_PASSWORD: secret + NEED_CORE: true + NEED_INSTALL_APP: true - PHP_VERSION: 7.1 OC_VERSION: daily-master-qa @@ -333,6 +372,8 @@ matrix: DB_HOST: oci DB_NAME: XE DB_USERNAME: autotest + NEED_CORE: true + NEED_INSTALL_APP: true #PHP 7.2 @@ -344,6 +385,8 @@ matrix: DB_NAME: oc_db DB_USERNAME: admin DB_PASSWORD: secret + NEED_CORE: true + NEED_INSTALL_APP: true - PHP_VERSION: 7.2 OC_VERSION: daily-stable10-qa @@ -353,20 +396,26 @@ matrix: DB_NAME: oc_db DB_USERNAME: admin DB_PASSWORD: secret + NEED_CORE: true + NEED_INSTALL_APP: true #Acceptance tests - PHP_VERSION: 5.6 OC_VERSION: daily-stable10-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: sqlite - PHP_VERSION: 5.6 OC_VERSION: daily-stable10-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: mysql DB_HOST: mysql DB_NAME: oc_db @@ -377,7 +426,9 @@ matrix: OC_VERSION: daily-stable10-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: pgsql DB_HOST: pgsql DB_NAME: oc_db @@ -388,7 +439,9 @@ matrix: OC_VERSION: daily-stable10-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: oci DB_HOST: oci DB_NAME: XE @@ -398,7 +451,9 @@ matrix: OC_VERSION: daily-stable10-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: mysql DB_HOST: mysql DB_NAME: oc_db @@ -409,7 +464,9 @@ matrix: OC_VERSION: daily-stable10-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: mysql DB_HOST: mysql DB_NAME: oc_db @@ -420,14 +477,18 @@ matrix: OC_VERSION: daily-master-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: sqlite - PHP_VERSION: 7.1 OC_VERSION: daily-master-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: mysql DB_HOST: mysql DB_NAME: oc_db @@ -438,7 +499,9 @@ matrix: OC_VERSION: daily-master-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: pgsql DB_HOST: pgsql DB_NAME: oc_db @@ -449,7 +512,9 @@ matrix: OC_VERSION: daily-master-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: oci DB_HOST: oci DB_NAME: XE @@ -459,7 +524,9 @@ matrix: OC_VERSION: daily-stable10-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: mysql DB_HOST: mysql DB_NAME: oc_db @@ -470,7 +537,9 @@ matrix: OC_VERSION: daily-master-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: mysql DB_HOST: mysql DB_NAME: oc_db @@ -483,7 +552,9 @@ matrix: OC_VERSION: daily-stable10-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: mysql DB_HOST: mysql DB_NAME: oc_db @@ -495,7 +566,9 @@ matrix: OC_VERSION: daily-master-qa TEST_SUITE: api-acceptance BEHAT_SUITE: apiAntivirus - USE_SERVER: true + NEED_CORE: true + NEED_SERVER: true + NEED_INSTALL_APP: true DB_TYPE: mysql DB_HOST: mysql DB_NAME: oc_db diff --git a/.gitignore b/.gitignore index a45f43da..917e0d88 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,15 @@ /build +/l10n/.transifexrc +.php_cs.cache + +# Composer /vendor +vendor-bin/**/vendor +vendor-bin/**/composer.lock + +# Tests - auto-generated files +/tests/acceptance/output* +/tests/output # just sane ignores .*.sw[po] @@ -44,7 +54,3 @@ nbproject # Mac OS .DS_Store - -tests/acceptance/output -tests/unit/clover.xml -.php_cs.cache \ No newline at end of file diff --git a/Makefile b/Makefile index c1b22865..31614eeb 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ composer_deps=vendor composer_dev_deps=vendor/php-cs-fixer COMPOSER_BIN=$(build_dir)/composer.phar - +# signing occ=$(CURDIR)/../../occ private_key=$(HOME)/.owncloud/certificates/$(app_name).key certificate=$(HOME)/.owncloud/certificates/$(app_name).crt @@ -29,6 +29,12 @@ endif endif endif +# bin file definitions +PHPUNIT=php -d zend.enable_gc=0 "$(PWD)/../../lib/composer/bin/phpunit" +PHPUNITDBG=phpdbg -qrr -d memory_limit=4096M -d zend.enable_gc=0 "$(PWD)/../../lib/composer/bin/phpunit" +PHP_CS_FIXER=php -d zend.enable_gc=0 vendor-bin/owncloud-codestyle/vendor/bin/php-cs-fixer +PHAN=php -d zend.enable_gc=0 vendor-bin/phan/vendor/bin/phan +PHPSTAN=php -d zend.enable_gc=0 vendor-bin/phpstan/vendor/bin/phpstan .PHONY: clean @@ -91,6 +97,55 @@ else endif tar -czf $(appstore_package_name).tar.gz -C $(appstore_package_name)/../ $(app_name) +## +## Tests +##-------------------------------------- + +.PHONY: test-php-unit +test-php-unit: ## Run php unit tests +test-php-unit: vendor/bin/phpunit + $(PHPUNIT) --configuration ./phpunit.xml --testsuite unit + +.PHONY: test-php-unit-dbg +test-php-unit-dbg: ## Run php unit tests using phpdbg +test-php-unit-dbg: vendor/bin/phpunit + $(PHPUNITDBG) --configuration ./phpunit.xml --testsuite unit + +.PHONY: test-php-style +test-php-style: ## Run php-cs-fixer and check owncloud code-style +test-php-style: vendor-bin/owncloud-codestyle/vendor + $(PHP_CS_FIXER) fix -v --diff --diff-format udiff --allow-risky yes --dry-run + +.PHONY: test-php-style-fix +test-php-style-fix: ## Run php-cs-fixer and fix code style issues +test-php-style-fix: vendor-bin/owncloud-codestyle/vendor + $(PHP_CS_FIXER) fix -v --diff --diff-format udiff --allow-risky yes + +.PHONY: test-php-phan +test-php-phan: ## Run phan +test-php-phan: vendor-bin/phan/vendor + $(PHAN) --config-file .phan/config.php --require-config-exists + +.PHONY: test-php-phpstan +test-php-phpstan: ## Run phpstan +test-php-phpstan: vendor-bin/phpstan/vendor + $(PHPSTAN) analyse --memory-limit=4G --configuration=./phpstan.neon --no-progress --level=5 appinfo lib + +.PHONY: test-acceptance-api +test-acceptance-api: ## Run API acceptance tests +test-acceptance-api: vendor/bin/phpunit + ../../tests/acceptance/run.sh --remote --type api + +.PHONY: test-acceptance-cli +test-acceptance-cli: ## Run CLI acceptance tests +test-acceptance-cli: vendor/bin/phpunit + ../../tests/acceptance/run.sh --remote --type cli + +.PHONY: test-acceptance-webui +test-acceptance-webui: ## Run webUI acceptance tests +test-acceptance-webui: vendor/bin/phpunit + ../../tests/acceptance/run.sh --remote --type webUI + .PHONY: test-php-codecheck test-php-codecheck: $(occ) app:check-code $(app_name) -c private -c strong-comparison @@ -100,6 +155,36 @@ test-php-codecheck: test-php-lint: ../../lib/composer/bin/parallel-lint . --exclude 3rdparty --exclude build . -.PHONY: test-php-style -test-php-style: $(composer_dev_deps) - $(composer_deps)/bin/php-cs-fixer fix -v --diff --diff-format udiff --dry-run --allow-risky yes +# +# Dependency management +#-------------------------------------- + +composer.lock: composer.json + @echo composer.lock is not up to date. + +vendor: composer.lock + composer install --no-dev + +vendor/bin/phpunit: composer.lock + composer install + +vendor/bamarni/composer-bin-plugin: composer.lock + composer install + +vendor-bin/owncloud-codestyle/vendor: vendor/bamarni/composer-bin-plugin vendor-bin/owncloud-codestyle/composer.lock + composer bin owncloud-codestyle install --no-progress + +vendor-bin/owncloud-codestyle/composer.lock: vendor-bin/owncloud-codestyle/composer.json + @echo owncloud-codestyle composer.lock is not up to date. + +vendor-bin/phan/vendor: vendor/bamarni/composer-bin-plugin vendor-bin/phan/composer.lock + composer bin phan install --no-progress + +vendor-bin/phan/composer.lock: vendor-bin/phan/composer.json + @echo phan composer.lock is not up to date. + +vendor-bin/phpstan/vendor: vendor/bamarni/composer-bin-plugin vendor-bin/phpstan/composer.lock + composer bin phpstan install --no-progress + +vendor-bin/phpstan/composer.lock: vendor-bin/phpstan/composer.json + @echo phpstan composer.lock is not up to date. diff --git a/composer.json b/composer.json index 559eb8c6..25ef01b6 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,14 @@ "php": "5.6" } }, + "require": { + }, "require-dev": { - "owncloud/coding-standard": "^1.0" + "bamarni/composer-bin-plugin": "^1.2" + }, + "extra": { + "bamarni-bin": { + "bin-links": false + } } } diff --git a/composer.lock b/composer.lock index 64a51509..bdf2fdb8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,1148 +4,47 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "61bdd00f66588ca34ce761d43b40b5a7", + "content-hash": "056a6d355b77766fe616121c6ebc1a99", "packages": [], "packages-dev": [ { - "name": "composer/semver", - "version": "1.4.2", + "name": "bamarni/composer-bin-plugin", + "version": "v1.2.0", "source": { "type": "git", - "url": "https://github.com/composer/semver.git", - "reference": "c7cb9a2095a074d131b65a8a0cd294479d785573" + "url": "https://github.com/bamarni/composer-bin-plugin.git", + "reference": "62fef740245a85f00665e81ea8f0aa0b72afe6e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/c7cb9a2095a074d131b65a8a0cd294479d785573", - "reference": "c7cb9a2095a074d131b65a8a0cd294479d785573", + "url": "https://api.github.com/repos/bamarni/composer-bin-plugin/zipball/62fef740245a85f00665e81ea8f0aa0b72afe6e7", + "reference": "62fef740245a85f00665e81ea8f0aa0b72afe6e7", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0" + "composer-plugin-api": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^4.5 || ^5.0.5", - "phpunit/phpunit-mock-objects": "2.3.0 || ^3.0" + "composer/composer": "dev-master", + "symfony/console": "^2.5 || ^3.0" }, - "type": "library", + "type": "composer-plugin", "extra": { + "class": "Bamarni\\Composer\\Bin\\Plugin", "branch-alias": { - "dev-master": "1.x-dev" + "dev-master": "1.1-dev" } }, "autoload": { "psr-4": { - "Composer\\Semver\\": "src" + "Bamarni\\Composer\\Bin\\": "src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Nils Adermann", - "email": "naderman@naderman.de", - "homepage": "http://www.naderman.de" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - }, - { - "name": "Rob Bast", - "email": "rob.bast@gmail.com", - "homepage": "http://robbast.nl" - } - ], - "description": "Semver library that offers utilities, version constraint parsing and validation.", - "keywords": [ - "semantic", - "semver", - "validation", - "versioning" - ], - "time": "2016-08-30T16:08:34+00:00" - }, - { - "name": "doctrine/annotations", - "version": "v1.4.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/annotations.git", - "reference": "54cacc9b81758b14e3ce750f205a393d52339e97" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/54cacc9b81758b14e3ce750f205a393d52339e97", - "reference": "54cacc9b81758b14e3ce750f205a393d52339e97", - "shasum": "" - }, - "require": { - "doctrine/lexer": "1.*", - "php": "^5.6 || ^7.0" - }, - "require-dev": { - "doctrine/cache": "1.*", - "phpunit/phpunit": "^5.7" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Docblock Annotations Parser", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "annotations", - "docblock", - "parser" - ], - "time": "2017-02-24T16:22:25+00:00" - }, - { - "name": "doctrine/lexer", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/doctrine/lexer.git", - "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/83893c552fd2045dd78aef794c31e694c37c0b8c", - "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\Common\\Lexer\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "lexer", - "parser" - ], - "time": "2014-09-09T13:34:57+00:00" - }, - { - "name": "friendsofphp/php-cs-fixer", - "version": "v2.11.1", - "source": { - "type": "git", - "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "ad94441c17b8ef096e517acccdbf3238af8a2da8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/ad94441c17b8ef096e517acccdbf3238af8a2da8", - "reference": "ad94441c17b8ef096e517acccdbf3238af8a2da8", - "shasum": "" - }, - "require": { - "composer/semver": "^1.4", - "doctrine/annotations": "^1.2", - "ext-json": "*", - "ext-tokenizer": "*", - "php": "^5.6 || >=7.0 <7.3", - "php-cs-fixer/diff": "^1.3", - "symfony/console": "^3.2 || ^4.0", - "symfony/event-dispatcher": "^3.0 || ^4.0", - "symfony/filesystem": "^3.0 || ^4.0", - "symfony/finder": "^3.0 || ^4.0", - "symfony/options-resolver": "^3.0 || ^4.0", - "symfony/polyfill-php70": "^1.0", - "symfony/polyfill-php72": "^1.4", - "symfony/process": "^3.0 || ^4.0", - "symfony/stopwatch": "^3.0 || ^4.0" - }, - "conflict": { - "hhvm": "*" - }, - "require-dev": { - "johnkary/phpunit-speedtrap": "^1.1 || ^2.0 || ^3.0", - "justinrainbow/json-schema": "^5.0", - "keradus/cli-executor": "^1.0", - "mikey179/vfsstream": "^1.6", - "php-coveralls/php-coveralls": "^2.0", - "php-cs-fixer/accessible-object": "^1.0", - "phpunit/phpunit": "^5.7.23 || ^6.4.3 || ^7.0", - "phpunitgoodpractices/traits": "^1.3.1", - "symfony/phpunit-bridge": "^3.2.2 || ^4.0" - }, - "suggest": { - "ext-mbstring": "For handling non-UTF8 characters in cache signature.", - "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible." - }, - "bin": [ - "php-cs-fixer" - ], - "type": "application", - "extra": { - "branch-alias": { - "dev-master": "2.11-dev" - } - }, - "autoload": { - "psr-4": { - "PhpCsFixer\\": "src/" - }, - "classmap": [ - "tests/Test/AbstractFixerTestCase.php", - "tests/Test/AbstractIntegrationCaseFactory.php", - "tests/Test/AbstractIntegrationTestCase.php", - "tests/Test/Assert/AssertTokensTrait.php", - "tests/Test/Constraint/SameStringsConstraint.php", - "tests/Test/Constraint/SameStringsConstraintForV5.php", - "tests/Test/Constraint/SameStringsConstraintForV7.php", - "tests/Test/IntegrationCase.php", - "tests/Test/IntegrationCaseFactory.php", - "tests/Test/IntegrationCaseFactoryInterface.php", - "tests/Test/InternalIntegrationCaseFactory.php", - "tests/TestCase.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Dariusz Rumiński", - "email": "dariusz.ruminski@gmail.com" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "A tool to automatically fix PHP code style", - "time": "2018-03-21T17:41:26+00:00" - }, - { - "name": "owncloud/coding-standard", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/owncloud/coding-standard.git", - "reference": "548ba3b83e590e946a5aa1da33f7f4c8a55e61c5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/owncloud/coding-standard/zipball/548ba3b83e590e946a5aa1da33f7f4c8a55e61c5", - "reference": "548ba3b83e590e946a5aa1da33f7f4c8a55e61c5", - "shasum": "" - }, - "require": { - "friendsofphp/php-cs-fixer": "^2.11" - }, - "type": "library", - "autoload": { - "psr-4": { - "OC\\CodingStandard\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "AGPL-3.0" - ], - "authors": [ - { - "name": "Thomas Müller", - "email": "thomas.mueller@tmit.eu" - }, - { - "name": "Patrick Jahns", - "email": "github@patrickjahns.de" - } - ], - "description": "ownCloud Coding Standard", - "homepage": "http://www.owncloud.org", - "keywords": [ - "code", - "coding", - "owncloud", - "php-cs-fixer", - "standard", - "style" - ], - "time": "2018-05-16T13:47:45+00:00" - }, - { - "name": "paragonie/random_compat", - "version": "v2.0.12", - "source": { - "type": "git", - "url": "https://github.com/paragonie/random_compat.git", - "reference": "258c89a6b97de7dfaf5b8c7607d0478e236b04fb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/258c89a6b97de7dfaf5b8c7607d0478e236b04fb", - "reference": "258c89a6b97de7dfaf5b8c7607d0478e236b04fb", - "shasum": "" - }, - "require": { - "php": ">=5.2.0" - }, - "require-dev": { - "phpunit/phpunit": "4.*|5.*" - }, - "suggest": { - "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." - }, - "type": "library", - "autoload": { - "files": [ - "lib/random.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Paragon Initiative Enterprises", - "email": "security@paragonie.com", - "homepage": "https://paragonie.com" - } - ], - "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", - "keywords": [ - "csprng", - "pseudorandom", - "random" - ], - "time": "2018-04-04T21:24:14+00:00" - }, - { - "name": "php-cs-fixer/diff", - "version": "v1.3.0", - "source": { - "type": "git", - "url": "https://github.com/PHP-CS-Fixer/diff.git", - "reference": "78bb099e9c16361126c86ce82ec4405ebab8e756" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/78bb099e9c16361126c86ce82ec4405ebab8e756", - "reference": "78bb099e9c16361126c86ce82ec4405ebab8e756", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.7.23 || ^6.4.3", - "symfony/process": "^3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "SpacePossum" - } - ], - "description": "sebastian/diff v2 backport support for PHP5.6", - "homepage": "https://github.com/PHP-CS-Fixer", - "keywords": [ - "diff" - ], - "time": "2018-02-15T16:58:55+00:00" - }, - { - "name": "psr/log", - "version": "1.0.2", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", - "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "Psr/Log/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "time": "2016-10-10T12:19:37+00:00" - }, - { - "name": "symfony/console", - "version": "v3.4.10", - "source": { - "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "36f83f642443c46f3cf751d4d2ee5d047d757a27" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/36f83f642443c46f3cf751d4d2ee5d047d757a27", - "reference": "36f83f642443c46f3cf751d4d2ee5d047d757a27", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/debug": "~2.8|~3.0|~4.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/dependency-injection": "<3.4", - "symfony/process": "<3.3" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~3.3|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/event-dispatcher": "~2.8|~3.0|~4.0", - "symfony/lock": "~3.4|~4.0", - "symfony/process": "~3.3|~4.0" - }, - "suggest": { - "psr/log-implementation": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Console Component", - "homepage": "https://symfony.com", - "time": "2018-05-16T08:49:21+00:00" - }, - { - "name": "symfony/debug", - "version": "v3.4.10", - "source": { - "type": "git", - "url": "https://github.com/symfony/debug.git", - "reference": "b28fd73fefbac341f673f5efd707d539d6a19f68" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/b28fd73fefbac341f673f5efd707d539d6a19f68", - "reference": "b28fd73fefbac341f673f5efd707d539d6a19f68", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "psr/log": "~1.0" - }, - "conflict": { - "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" - }, - "require-dev": { - "symfony/http-kernel": "~2.8|~3.0|~4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Debug\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Debug Component", - "homepage": "https://symfony.com", - "time": "2018-05-16T14:03:39+00:00" - }, - { - "name": "symfony/event-dispatcher", - "version": "v3.4.10", - "source": { - "type": "git", - "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "fdd5abcebd1061ec647089c6c41a07ed60af09f8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/fdd5abcebd1061ec647089c6c41a07ed60af09f8", - "reference": "fdd5abcebd1061ec647089c6c41a07ed60af09f8", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8" - }, - "conflict": { - "symfony/dependency-injection": "<3.3" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~2.8|~3.0|~4.0", - "symfony/dependency-injection": "~3.3|~4.0", - "symfony/expression-language": "~2.8|~3.0|~4.0", - "symfony/stopwatch": "~2.8|~3.0|~4.0" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\EventDispatcher\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony EventDispatcher Component", - "homepage": "https://symfony.com", - "time": "2018-04-06T07:35:25+00:00" - }, - { - "name": "symfony/filesystem", - "version": "v3.4.10", - "source": { - "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "8e03ca3fa52a0f56b87506f38cf7bd3f9442b3a0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/8e03ca3fa52a0f56b87506f38cf7bd3f9442b3a0", - "reference": "8e03ca3fa52a0f56b87506f38cf7bd3f9442b3a0", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/polyfill-ctype": "~1.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Filesystem\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Filesystem Component", - "homepage": "https://symfony.com", - "time": "2018-05-16T08:49:21+00:00" - }, - { - "name": "symfony/finder", - "version": "v3.4.10", - "source": { - "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "472a92f3df8b247b49ae364275fb32943b9656c6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/472a92f3df8b247b49ae364275fb32943b9656c6", - "reference": "472a92f3df8b247b49ae364275fb32943b9656c6", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Finder\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Finder Component", - "homepage": "https://symfony.com", - "time": "2018-05-16T08:49:21+00:00" - }, - { - "name": "symfony/options-resolver", - "version": "v3.4.10", - "source": { - "type": "git", - "url": "https://github.com/symfony/options-resolver.git", - "reference": "f3109a6aedd20e35c3a33190e932c2b063b7b50e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/f3109a6aedd20e35c3a33190e932c2b063b7b50e", - "reference": "f3109a6aedd20e35c3a33190e932c2b063b7b50e", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\OptionsResolver\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony OptionsResolver Component", - "homepage": "https://symfony.com", - "keywords": [ - "config", - "configuration", - "options" - ], - "time": "2018-01-11T07:56:07+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.8.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/7cc359f1b7b80fc25ed7796be7d96adc9b354bae", - "reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - }, - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "time": "2018-04-30T19:57:29+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.8.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "3296adf6a6454a050679cde90f95350ad604b171" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/3296adf6a6454a050679cde90f95350ad604b171", - "reference": "3296adf6a6454a050679cde90f95350ad604b171", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "time": "2018-04-26T10:06:28+00:00" - }, - { - "name": "symfony/polyfill-php70", - "version": "v1.8.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "77454693d8f10dd23bb24955cffd2d82db1007a6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/77454693d8f10dd23bb24955cffd2d82db1007a6", - "reference": "77454693d8f10dd23bb24955cffd2d82db1007a6", - "shasum": "" - }, - "require": { - "paragonie/random_compat": "~1.0|~2.0", - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php70\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "time": "2018-04-26T10:06:28+00:00" - }, - { - "name": "symfony/polyfill-php72", - "version": "v1.8.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "a4576e282d782ad82397f3e4ec1df8e0f0cafb46" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/a4576e282d782ad82397f3e4ec1df8e0f0cafb46", - "reference": "a4576e282d782ad82397f3e4ec1df8e0f0cafb46", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "time": "2018-04-26T10:06:28+00:00" - }, - { - "name": "symfony/process", - "version": "v3.4.10", - "source": { - "type": "git", - "url": "https://github.com/symfony/process.git", - "reference": "4cbf2db9abcb01486a21b7a059e03a62fae63187" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/4cbf2db9abcb01486a21b7a059e03a62fae63187", - "reference": "4cbf2db9abcb01486a21b7a059e03a62fae63187", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Process\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Process Component", - "homepage": "https://symfony.com", - "time": "2018-05-16T08:49:21+00:00" - }, - { - "name": "symfony/stopwatch", - "version": "v3.4.10", - "source": { - "type": "git", - "url": "https://github.com/symfony/stopwatch.git", - "reference": "eb17cfa072cab26537ac37e9c4ece6c0361369af" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/eb17cfa072cab26537ac37e9c4ece6c0361369af", - "reference": "eb17cfa072cab26537ac37e9c4ece6c0361369af", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Stopwatch\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Stopwatch Component", - "homepage": "https://symfony.com", - "time": "2018-02-17T14:55:25+00:00" + "time": "2017-09-11T13:13:58+00:00" } ], "aliases": [], diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 00000000..4445b172 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,26 @@ + + + + ./tests/unit + + + + + . + + ./l10n + ./tests + + + + + + + + diff --git a/templates/settings.php b/templates/settings.php index a669d83c..ecb5b099 100644 --- a/templates/settings.php +++ b/templates/settings.php @@ -1,4 +1,4 @@ - diff --git a/tests/unit/phpunit.xml b/tests/unit/phpunit.xml deleted file mode 100644 index c1a0df00..00000000 --- a/tests/unit/phpunit.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - . - - - - - ../../../files_antivirus - - ../../../files_antivirus/l10n - ../../../files_antivirus/tests - - - - - - - - - diff --git a/vendor-bin/owncloud-codestyle/composer.json b/vendor-bin/owncloud-codestyle/composer.json new file mode 100644 index 00000000..64973219 --- /dev/null +++ b/vendor-bin/owncloud-codestyle/composer.json @@ -0,0 +1,5 @@ +{ + "require": { + "owncloud/coding-standard": "^1.0" + } +}