From 1caf5860a8c3ad1d9429c342f2cf535bdeacce94 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Mon, 17 Feb 2020 17:46:01 +0300 Subject: [PATCH 01/44] move robofile --- .gitignore | 2 +- .travis.yml | 3 ++- composer.json | 2 +- .env-dist => tests/.env-dist | 0 RoboFile.php => tests/RoboFile.php | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) rename .env-dist => tests/.env-dist (100%) rename RoboFile.php => tests/RoboFile.php (99%) diff --git a/.gitignore b/.gitignore index c534094..2086c68 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,4 @@ /vendor /www /bin -.env +tests/.env diff --git a/.travis.yml b/.travis.yml index f24d3ae..246aa50 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ php: env: global: + - ROBO_CONFIG=$(TRAVIS_BUILD_DIR)/tests/robo.yml - OC_DB_HOSTNAME=localhost - OC_DB_USERNAME=root - OC_DB_PASSWORD=root @@ -27,7 +28,7 @@ before_script: - composer install - composer setup - - bin/robo project:deploy + - bin/robo --load-from tests/RoboFile.php project:deploy - (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null - sleep 2 diff --git a/composer.json b/composer.json index b541a38..d9269cb 100644 --- a/composer.json +++ b/composer.json @@ -31,6 +31,6 @@ "@test-admin", "@test-catalog" ], - "setup" : "bin/robo opencart:setup" + "setup" : "bin/robo --load-from tests/RoboFile.php opencart:setup" } } diff --git a/.env-dist b/tests/.env-dist similarity index 100% rename from .env-dist rename to tests/.env-dist diff --git a/RoboFile.php b/tests/RoboFile.php similarity index 99% rename from RoboFile.php rename to tests/RoboFile.php index 6be3b39..94dc446 100644 --- a/RoboFile.php +++ b/tests/RoboFile.php @@ -1,7 +1,7 @@ Date: Mon, 17 Feb 2020 17:56:13 +0300 Subject: [PATCH 02/44] fix vendor dir --- tests/RoboFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/RoboFile.php b/tests/RoboFile.php index 94dc446..6a80bd3 100644 --- a/tests/RoboFile.php +++ b/tests/RoboFile.php @@ -1,6 +1,6 @@ Date: Mon, 17 Feb 2020 23:07:01 +0300 Subject: [PATCH 03/44] fix path --- tests/RoboFile.php | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/tests/RoboFile.php b/tests/RoboFile.php index 6a80bd3..c683d91 100644 --- a/tests/RoboFile.php +++ b/tests/RoboFile.php @@ -25,6 +25,8 @@ class RoboFile extends \Robo\Tasks */ private $server_url = 'http://localhost'; + private $root_dir = __DIR__ . '/../'; + public function __construct() { if ($_ENV) { @@ -72,10 +74,19 @@ class RoboFile extends \Robo\Tasks { $this->taskDeleteDir('www')->run(); $this->taskFileSystemStack() - ->mirror('vendor/opencart/opencart/upload', 'www') - ->copy('vendor/beyondit/opencart-test-suite/src/upload/system/config/test-config.php','www/system/config/test-config.php') - ->copy('vendor/beyondit/opencart-test-suite/src/upload/catalog/controller/startup/test_startup.php','www/catalog/controller/startup/test_startup.php') - ->chmod('www', 0777, 0000, true) + ->mirror( + $this->root_dir . 'vendor/opencart/opencart/upload', + $this->root_dir . 'www' + ) + ->copy( + $this->root_dir . 'vendor/beyondit/opencart-test-suite/src/upload/system/config/test-config.php', + $this->root_dir . 'www/system/config/test-config.php' + ) + ->copy( + $this->root_dir . 'vendor/beyondit/opencart-test-suite/src/upload/catalog/controller/startup/test_startup.php', + $this->root_dir . 'www/catalog/controller/startup/test_startup.php' + ) + ->chmod($this->root_dir . 'www', 0777, 0000, true) ->run(); // Create new database, drop if exists already @@ -90,12 +101,12 @@ class RoboFile extends \Robo\Tasks $this->printTaskError(" Could not connect ot database..."); } - $install = $this->taskExec('php')->arg('www/install/cli_install.php')->arg('install'); + $install = $this->taskExec('php')->arg($this->root_dir . 'www/install/cli_install.php')->arg('install'); foreach ($this->opencart_config as $option => $value) { $install->option($option, $value); } $install->run(); - $this->taskDeleteDir('www/install')->run(); + $this->taskDeleteDir($this->root_dir . 'www/install')->run(); $this->restoreSampleData($conn); @@ -105,14 +116,14 @@ class RoboFile extends \Robo\Tasks public function opencartRun() { $this->taskServer($this->server_port) - ->dir('www') + ->dir($this->root_dir . 'www') ->run(); } public function projectDeploy() { $this->taskFileSystemStack() - ->mirror('src/upload', 'www') + ->mirror($this->root_dir . 'src/upload', $this->root_dir . 'www') // ->copy('src/install.xml','www/system/install.ocmod.xml') if exist modification for OCMOD ->run(); } @@ -122,10 +133,10 @@ class RoboFile extends \Robo\Tasks $this->projectDeploy(); $this->taskWatch() - ->monitor('composer.json', function () { + ->monitor($this->root_dir . 'composer.json', function () { $this->taskComposerUpdate()->run(); $this->projectDeploy(); - })->monitor('src/', function () { + })->monitor($this->root_dir . 'src/', function () { $this->projectDeploy(); })->run(); } From 3516378d7ed3f1d6b87c4a0b7b0b45abc010c629 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Mon, 17 Feb 2020 23:12:51 +0300 Subject: [PATCH 04/44] fix path in restore data --- tests/RoboFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/RoboFile.php b/tests/RoboFile.php index c683d91..e7d36d4 100644 --- a/tests/RoboFile.php +++ b/tests/RoboFile.php @@ -168,7 +168,7 @@ class RoboFile extends \Robo\Tasks private function restoreSampleData($conn) { - $sql = file_get_contents('tests/opencart_sample_data.sql'); + $sql = file_get_contents($this->root_dir . 'tests/opencart_sample_data.sql'); $conn->exec("USE " . $this->opencart_config['db_database']); From 799c2601891b77fa1036ba366c8a3f1c150b6b56 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 00:11:29 +0300 Subject: [PATCH 05/44] 'stages' --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 246aa50..40722ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,8 +32,10 @@ before_script: - (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null - sleep 2 -script: - - composer test +jobs: + include: + - stage: test + script: composer test deploy: skip_cleanup: true From 033bac97cf235bd32dbb0d2629ff3ea9cc1f7ba2 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 00:29:19 +0300 Subject: [PATCH 06/44] fix stages --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 40722ae..09a4c06 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,6 @@ dist: trusty sudo: false -php: - - 7.0 - - 7.1 - env: global: - ROBO_CONFIG=$(TRAVIS_BUILD_DIR)/tests/robo.yml @@ -36,6 +32,10 @@ jobs: include: - stage: test script: composer test + php: 7.0 + - stage: test + script: composer test + php: 7.1 deploy: skip_cleanup: true From 090a4b6cfa80f4b874020670005dba64725247e6 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 09:41:43 +0300 Subject: [PATCH 07/44] update travis config --- .travis.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 09a4c06..ae37782 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,10 @@ dist: trusty sudo: false +php: + - 7.0 + - 7.1 + env: global: - ROBO_CONFIG=$(TRAVIS_BUILD_DIR)/tests/robo.yml @@ -30,12 +34,7 @@ before_script: jobs: include: - - stage: test - script: composer test - php: 7.0 - - stage: test - script: composer test - php: 7.1 + - script: composer test deploy: skip_cleanup: true From 9e1edf2fcc9851b4513989d6a4cd95f1878440e1 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 10:11:51 +0300 Subject: [PATCH 08/44] test deploy --- .travis.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index ae37782..6c3dd86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,15 +32,20 @@ before_script: - (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null - sleep 2 +script: + - composer test + jobs: include: - - script: composer test - -deploy: - skip_cleanup: true - provider: script - script: make - on: - php: 7.1 - branch: master - condition: "$DEPLOY = true" + - stage: GitHub Release + script: make build_archive + before_deploy: + - `cat VERSION|awk '{print "export ARCHIVE_NAME=retailcrm-"$1".zip"}'` + deploy: + provider: releases + api_key: $GITHUB_OAUTH_TOKEN + skip_cleanup: true + file: $ARCHIVE_NAME + on: + php: 7.1 + branch: master \ No newline at end of file From 2f099d477cfe5526bb2854162ed4982e165333ca Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 10:19:05 +0300 Subject: [PATCH 09/44] fix --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6c3dd86..f54a8bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,8 @@ jobs: - stage: GitHub Release script: make build_archive before_deploy: - - `cat VERSION|awk '{print "export ARCHIVE_NAME=retailcrm-"$1".zip"}'` + - export VERSION = `cat VERSION` + - export ARCHIVE_NAME = '/tmp/retailcrm-'$(VERSION)'.zip' deploy: provider: releases api_key: $GITHUB_OAUTH_TOKEN From de3a1ae7e7655864394e768fc1837512199a1b34 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 10:26:27 +0300 Subject: [PATCH 10/44] test deploy --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f54a8bd..f5f882e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,5 +48,4 @@ jobs: skip_cleanup: true file: $ARCHIVE_NAME on: - php: 7.1 branch: master \ No newline at end of file From c8690e8252926de72b2ed4ceb33f06398da852fe Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 10:50:40 +0300 Subject: [PATCH 11/44] update travis config --- .travis.yml | 20 +++++--------------- Makefile | 11 ++++++++++- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index f5f882e..f78fa1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,26 +22,16 @@ env: - SERVER_PORT=8000 - SERVER_URL=http://localhost -before_script: - # Change MySQL root password - - echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root - - - composer install - - composer setup - - bin/robo --load-from tests/RoboFile.php project:deploy - - (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null - - sleep 2 - -script: - - composer test - jobs: include: + - stage: test + script: composer test + before_script: make before_script - stage: GitHub Release script: make build_archive before_deploy: - - export VERSION = `cat VERSION` - - export ARCHIVE_NAME = '/tmp/retailcrm-'$(VERSION)'.zip' + - export VERSION=`cat VERSION` + - export ARCHIVE_NAME='/tmp/retailcrm-'$(VERSION)'.zip' deploy: provider: releases api_key: $GITHUB_OAUTH_TOKEN diff --git a/Makefile b/Makefile index 779039e..1bd8b47 100644 --- a/Makefile +++ b/Makefile @@ -11,4 +11,13 @@ send_to_ftp: curl -T $(ARCHIVE_NAME) -u $(FTP_USER):$(FTP_PASSWORD) ftp://$(FTP_HOST) delete_archive: - rm -f $(ARCHIVE_NAME) \ No newline at end of file + rm -f $(ARCHIVE_NAME) + +before_script: + # Change MySQL root password + echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root + composer install + composer setup + bin/robo --load-from tests/RoboFile.php project:deploy + (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null + sleep 2 \ No newline at end of file From 979fdf58b6a5b145b3dbe0bb71342e5bbbb81971 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 11:27:56 +0300 Subject: [PATCH 12/44] update travis config --- .travis.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index f78fa1f..26d1a09 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,12 +22,17 @@ env: - SERVER_PORT=8000 - SERVER_URL=http://localhost +stages: + - test + - deploy + +before_script: make before_script + +script: composer test + jobs: include: - - stage: test - script: composer test - before_script: make before_script - - stage: GitHub Release + - stage: deploy script: make build_archive before_deploy: - export VERSION=`cat VERSION` From 6d1cfa4d0cc52908bd2128d8dd56129682207e78 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 11:38:11 +0300 Subject: [PATCH 13/44] update travis config --- .travis.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 26d1a09..61d284a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,6 @@ php: env: global: - - ROBO_CONFIG=$(TRAVIS_BUILD_DIR)/tests/robo.yml - OC_DB_HOSTNAME=localhost - OC_DB_USERNAME=root - OC_DB_PASSWORD=root @@ -26,21 +25,21 @@ stages: - test - deploy -before_script: make before_script - -script: composer test - jobs: include: + - stage: test + before_script: make before_script + script: composer test - stage: deploy script: make build_archive before_deploy: - export VERSION=`cat VERSION` - - export ARCHIVE_NAME='/tmp/retailcrm-'$(VERSION)'.zip' + - export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip deploy: provider: releases api_key: $GITHUB_OAUTH_TOKEN skip_cleanup: true file: $ARCHIVE_NAME + php: 7.1 on: branch: master \ No newline at end of file From 1cce01d50e1a6d470324f437d0e8aaf6a314caed Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 11:39:43 +0300 Subject: [PATCH 14/44] skip install script --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 61d284a..b4ff744 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,12 +25,14 @@ stages: - test - deploy +before_script: make before_script + +script: composer test + jobs: include: - - stage: test - before_script: make before_script - script: composer test - stage: deploy + before_script: skip script: make build_archive before_deploy: - export VERSION=`cat VERSION` From 7c0f4d519709577bfae74043d0d9e0ad49b84bd1 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 12:33:54 +0300 Subject: [PATCH 15/44] test deploy --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b4ff744..1ac93b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,11 +37,15 @@ jobs: before_deploy: - export VERSION=`cat VERSION` - export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip + - git config --local user.name "retailCRM" + - git config --local user.email "support@retailcrm.ru" + - export TRAVIS_TAG=v$VERSION + - git tag $TRAVIS_TAG deploy: provider: releases api_key: $GITHUB_OAUTH_TOKEN skip_cleanup: true file: $ARCHIVE_NAME - php: 7.1 + if: branch = master AND type = push on: - branch: master \ No newline at end of file + php: 7.1 \ No newline at end of file From 353557effe00f03fb56c79eaf9cc63cc6aa8e1c9 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 12:44:08 +0300 Subject: [PATCH 16/44] test deploy conditions --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1ac93b3..457618b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,6 +46,6 @@ jobs: api_key: $GITHUB_OAUTH_TOKEN skip_cleanup: true file: $ARCHIVE_NAME - if: branch = master AND type = push + if: (branch = master) AND (type = push) AND (fork = true) on: php: 7.1 \ No newline at end of file From 24413ee15b5004334e9e7074e1285d445d641b09 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 12:53:31 +0300 Subject: [PATCH 17/44] update deploy --- .travis.yml | 18 +++++++----------- Makefile | 10 +++++++++- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 457618b..7e5da15 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,7 @@ env: stages: - test + - build - deploy before_script: make before_script @@ -31,21 +32,16 @@ script: composer test jobs: include: - - stage: deploy + - stage: build before_script: skip script: make build_archive - before_deploy: - - export VERSION=`cat VERSION` - - export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip - - git config --local user.name "retailCRM" - - git config --local user.email "support@retailcrm.ru" - - export TRAVIS_TAG=v$VERSION - - git tag $TRAVIS_TAG + - stage: deploy + before_script: skip + before_deploy: make tag deploy: provider: releases api_key: $GITHUB_OAUTH_TOKEN skip_cleanup: true file: $ARCHIVE_NAME - if: (branch = master) AND (type = push) AND (fork = true) - on: - php: 7.1 \ No newline at end of file + if: (branch = master) AND (type = push) AND (fork = true) + after_deploy: make delete_archive \ No newline at end of file diff --git a/Makefile b/Makefile index 1bd8b47..1ae58e1 100644 --- a/Makefile +++ b/Makefile @@ -20,4 +20,12 @@ before_script: composer setup bin/robo --load-from tests/RoboFile.php project:deploy (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null - sleep 2 \ No newline at end of file + sleep 2 + +tag: + export VERSION=`cat VERSION` + export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip + git config --local user.name "retailCRM" + git config --local user.email "support@retailcrm.ru" + export TRAVIS_TAG=v$VERSION + git tag $TRAVIS_TAG \ No newline at end of file From 5f60b761f0f688ec03d4822b484ab654ad0b5bf6 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 13:00:33 +0300 Subject: [PATCH 18/44] fix deploy --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 7e5da15..ddab3f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,6 +37,7 @@ jobs: script: make build_archive - stage: deploy before_script: skip + script: skip before_deploy: make tag deploy: provider: releases From bc0d3660ad32fe9501a73909fd137757390e0698 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 13:09:49 +0300 Subject: [PATCH 19/44] update travis config --- .travis.yml | 8 +++++++- Makefile | 8 -------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index ddab3f0..360bd3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,7 +38,13 @@ jobs: - stage: deploy before_script: skip script: skip - before_deploy: make tag + before_deploy: + - export VERSION=`cat VERSION` + - export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip + - git config --local user.name "retailCRM" + - git config --local user.email "support@retailcrm.ru" + - export TRAVIS_TAG=v$VERSION + - git tag $TRAVIS_TAG deploy: provider: releases api_key: $GITHUB_OAUTH_TOKEN diff --git a/Makefile b/Makefile index 1ae58e1..63cffa5 100644 --- a/Makefile +++ b/Makefile @@ -21,11 +21,3 @@ before_script: bin/robo --load-from tests/RoboFile.php project:deploy (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null sleep 2 - -tag: - export VERSION=`cat VERSION` - export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip - git config --local user.name "retailCRM" - git config --local user.email "support@retailcrm.ru" - export TRAVIS_TAG=v$VERSION - git tag $TRAVIS_TAG \ No newline at end of file From 04da58c185e68288f6bb64d701a2ee0979529eab Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 14:28:55 +0300 Subject: [PATCH 20/44] skipping builds on tags --- .travis.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 360bd3c..0d2e985 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,8 @@ dist: trusty sudo: false +if: tag IS blank + php: - 7.0 - 7.1 @@ -23,7 +25,6 @@ env: stages: - test - - build - deploy before_script: make before_script @@ -32,12 +33,9 @@ script: composer test jobs: include: - - stage: build - before_script: skip - script: make build_archive - stage: deploy before_script: skip - script: skip + script: make build_archive before_deploy: - export VERSION=`cat VERSION` - export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip @@ -50,5 +48,5 @@ jobs: api_key: $GITHUB_OAUTH_TOKEN skip_cleanup: true file: $ARCHIVE_NAME - if: (branch = master) AND (type = push) AND (fork = true) + if: (branch = master) AND (type = push) AND (fork = false) after_deploy: make delete_archive \ No newline at end of file From f8b651c70f5754289699d54f00fcebb9d41741af Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 16:16:39 +0300 Subject: [PATCH 21/44] codecov --- .travis.yml | 2 ++ Makefile | 2 +- VERSION | 2 +- phpunit.xml.dist | 12 ++++++++++++ 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d2e985..937dd95 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,6 +33,8 @@ script: composer test jobs: include: + - stage: test + after_success: bash <(curl -s https://codecov.io/bash) - stage: deploy before_script: skip script: make build_archive diff --git a/Makefile b/Makefile index 63cffa5..345e542 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ FILE = $(TRAVIS_BUILD_DIR)/VERSION VERSION = `cat $(FILE)` -ARCHIVE_NAME = '/tmp/retailcrm-'$(VERSION)'.zip' +ARCHIVE_NAME = '/tmp/retailcrm-'$(VERSION)'.ocmod.zip' all: build_archive send_to_ftp delete_archive diff --git a/VERSION b/VERSION index fa7adc7..9c25013 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.3.5 +3.3.6 diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 90272e8..dd3060a 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -20,4 +20,16 @@ + + + src/upload + + + src/upload/admin/language + src/upload/admin/view + + + + + \ No newline at end of file From 1317770335328a06552c84437c8852f45e27188b Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 16:18:15 +0300 Subject: [PATCH 22/44] codecov --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 937dd95..40f9efa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,10 +31,10 @@ before_script: make before_script script: composer test +after_success: bash <(curl -s https://codecov.io/bash) + jobs: include: - - stage: test - after_success: bash <(curl -s https://codecov.io/bash) - stage: deploy before_script: skip script: make build_archive From 2014deda25f5a5c4942adc451ca82b53f35f0add Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 17:29:05 +0300 Subject: [PATCH 23/44] fix for coverage --- phpunit.xml.dist | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index dd3060a..4990776 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -22,12 +22,13 @@ - src/upload + ./www/admin/controller + ./www/admin/model/extension/retailcrm + ./www/catalog/controller + ./www/catalog/controller + ./www/catalog/model/extension/retailcrm + ./www/system/library/retailcrm - - src/upload/admin/language - src/upload/admin/view - From b29b4e1a51652ef57c5ce741c4f5e015a82f08df Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 18:01:27 +0300 Subject: [PATCH 24/44] fix for coverage --- composer.json | 7 +------ phpunit.xml.dist | 7 ++----- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index d9269cb..13a09e2 100644 --- a/composer.json +++ b/composer.json @@ -25,12 +25,7 @@ "opencart-dir" : "www" }, "scripts" : { - "test-admin": "bin/phpunit --testsuite admin-tests --colors=always", - "test-catalog": "bin/phpunit --testsuite catalog-tests --colors=always", - "test": [ - "@test-admin", - "@test-catalog" - ], + "test": "bin/phpunit --testsuite tests --colors=always", "setup" : "bin/robo --load-from tests/RoboFile.php opencart:setup" } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 4990776..43dc74b 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -10,11 +10,8 @@ stopOnFailure="false" syntaxCheck="false"> - - ./tests/catalog/ - - - ./tests/admin/ + + ./tests/ From 4a8875dc8d3c056ebc827dc137a7886df1e0c281 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 18:11:23 +0300 Subject: [PATCH 25/44] fix for coverage --- phpunit.xml.dist | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 43dc74b..4990776 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -10,8 +10,11 @@ stopOnFailure="false" syntaxCheck="false"> - - ./tests/ + + ./tests/catalog/ + + + ./tests/admin/ From 2551e11e4c890e0d5bb358094140c2e84a1e0b9c Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 18:17:59 +0300 Subject: [PATCH 26/44] merge coverage --- .travis.yml | 4 +++- Makefile | 3 +++ composer.json | 7 ++++++- phpunit.xml.dist | 3 --- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 40f9efa..e381ed5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,9 @@ before_script: make before_script script: composer test -after_success: bash <(curl -s https://codecov.io/bash) +after_success: + - make covegare + - bash <(curl -s https://codecov.io/bash) jobs: include: diff --git a/Makefile b/Makefile index 345e542..c060a84 100644 --- a/Makefile +++ b/Makefile @@ -21,3 +21,6 @@ before_script: bin/robo --load-from tests/RoboFile.php project:deploy (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null sleep 2 + +covegare: + wget https://phar.phpunit.de/phpcov.phar && php phpcov.phar merge coverage/cov --clover coverage.xml diff --git a/composer.json b/composer.json index 13a09e2..e457089 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,12 @@ "opencart-dir" : "www" }, "scripts" : { - "test": "bin/phpunit --testsuite tests --colors=always", + "test-admin": "bin/phpunit --coverage-php coverage/cov/admin.cov --testsuite tests --colors=always", + "test-catalog": "bin/phpunit --coverage-php coverage/cov/catalog.cov --testsuite catalog-tests --colors=always", + "test": [ + "@test-admin", + "@test-catalog" + ], "setup" : "bin/robo --load-from tests/RoboFile.php opencart:setup" } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 4990776..8e8e34f 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -30,7 +30,4 @@ ./www/system/library/retailcrm - - - \ No newline at end of file From 670e7ecfbdd308e798dd75114af7dd60cc480b01 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 18:22:03 +0300 Subject: [PATCH 27/44] merge coverage --- Makefile | 3 ++- composer.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c060a84..344a6d0 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,7 @@ delete_archive: rm -f $(ARCHIVE_NAME) before_script: + mkdir coverage # Change MySQL root password echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root composer install @@ -23,4 +24,4 @@ before_script: sleep 2 covegare: - wget https://phar.phpunit.de/phpcov.phar && php phpcov.phar merge coverage/cov --clover coverage.xml + wget https://phar.phpunit.de/phpcov.phar && php phpcov.phar merge coverage/ --clover coverage.xml diff --git a/composer.json b/composer.json index e457089..cde8ddf 100644 --- a/composer.json +++ b/composer.json @@ -25,8 +25,8 @@ "opencart-dir" : "www" }, "scripts" : { - "test-admin": "bin/phpunit --coverage-php coverage/cov/admin.cov --testsuite tests --colors=always", - "test-catalog": "bin/phpunit --coverage-php coverage/cov/catalog.cov --testsuite catalog-tests --colors=always", + "test-admin": "bin/phpunit --coverage-php coverage/admin.cov --testsuite tests --colors=always", + "test-catalog": "bin/phpunit --coverage-php coverage/catalog.cov --testsuite catalog-tests --colors=always", "test": [ "@test-admin", "@test-catalog" From dc9458f434860356a4af075094852da4c8608650 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 21:39:46 +0300 Subject: [PATCH 28/44] update phpcov --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 344a6d0..bc44694 100644 --- a/Makefile +++ b/Makefile @@ -24,4 +24,4 @@ before_script: sleep 2 covegare: - wget https://phar.phpunit.de/phpcov.phar && php phpcov.phar merge coverage/ --clover coverage.xml + wget https://phar.phpunit.de/phpcov-2.0.2.phar && php phpcov-2.0.2.phar merge coverage/ --clover coverage.xml From 74a36756f6824d2bf8696f607b317cfffd8e9f41 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 21:42:50 +0300 Subject: [PATCH 29/44] fix test script --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index cde8ddf..523ce12 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "opencart-dir" : "www" }, "scripts" : { - "test-admin": "bin/phpunit --coverage-php coverage/admin.cov --testsuite tests --colors=always", + "test-admin": "bin/phpunit --coverage-php coverage/admin.cov --testsuite admin-tests --colors=always", "test-catalog": "bin/phpunit --coverage-php coverage/catalog.cov --testsuite catalog-tests --colors=always", "test": [ "@test-admin", From d0467c020e6d95bd20dfa6cbeb8e21b4dbd01fe4 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 10:50:24 +0300 Subject: [PATCH 30/44] test matrix --- .travis.yml | 12 +- Makefile | 2 +- composer.json | 8 - composer.lock | 3197 ------------------------------------------------- 4 files changed, 9 insertions(+), 3210 deletions(-) delete mode 100644 composer.lock diff --git a/.travis.yml b/.travis.yml index e381ed5..023a73c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,6 @@ sudo: false if: tag IS blank -php: - - 7.0 - - 7.1 - env: global: - OC_DB_HOSTNAME=localhost @@ -37,6 +33,14 @@ after_success: jobs: include: + - php: 7.0 + env: TEST_SUITE=2.3 + - php: 7.1 + env: TEST_SUITE=2.3 + - php: 7.2 + env: TEST_SUITE=2.3 + - php: 7.3 + env: TEST_SUITE=2.3 - stage: deploy before_script: skip script: make build_archive diff --git a/Makefile b/Makefile index bc44694..f68b0f0 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ before_script: mkdir coverage # Change MySQL root password echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root - composer install + composer require --dev beyondit/opencart-test-suite ~$(TEST_SUITE) composer setup bin/robo --load-from tests/RoboFile.php project:deploy (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null diff --git a/composer.json b/composer.json index 523ce12..29a2ebb 100644 --- a/composer.json +++ b/composer.json @@ -9,14 +9,6 @@ "email": "integration@retailcrm.ru" } ], - "require-dev": { - "opencart/opencart" : "2.3.0.2", - "vlucas/phpdotenv": "~1.1.0", - "phpunit/phpunit" : "~4.0", - "beyondit/opencart-test-suite": "~2.3.0", - "consolidation/robo": "~1", - "henrikbjorn/lurker": "^1.2" - }, "config": { "bin-dir": "bin/", "preferred-install": "source" diff --git a/composer.lock b/composer.lock deleted file mode 100644 index 4f6742b..0000000 --- a/composer.lock +++ /dev/null @@ -1,3197 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", - "This file is @generated automatically" - ], - "hash": "d99f618b88f08898e6a4fef93d970c82", - "content-hash": "ca0e4df35c14fb6adac2eb994bcf9e44", - "packages": [], - "packages-dev": [ - { - "name": "beyondit/opencart-extension-installer", - "version": "2.3.2", - "source": { - "type": "git", - "url": "https://github.com/beyondit/opencart-extension-installer.git", - "reference": "eeb6d7b65924122b48a846814863ab2ec9b01638" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/beyondit/opencart-extension-installer/zipball/eeb6d7b65924122b48a846814863ab2ec9b01638", - "reference": "eeb6d7b65924122b48a846814863ab2ec9b01638", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0" - }, - "require-dev": { - "composer/composer": "^1.1", - "phpunit/phpunit": "~4" - }, - "type": "composer-plugin", - "extra": { - "class": "BeyondIT\\Composer\\OpenCartExtensionInstallerPlugin" - }, - "autoload": { - "psr-4": { - "BeyondIT\\Composer\\": "src/BeyondIT/Composer" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL 3.0" - ], - "authors": [ - { - "name": "Stefan Huber", - "email": "stefan.huber@beyondit.at" - } - ], - "description": "Custom Composer Installer for installing OpenCart Extensions", - "time": "2017-08-18 08:14:10" - }, - { - "name": "beyondit/opencart-test-suite", - "version": "2.3.0", - "source": { - "type": "git", - "url": "https://github.com/beyondit/opencart-test-suite.git", - "reference": "066f980fcef884409e606302bf028d04157d83b2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/beyondit/opencart-test-suite/zipball/066f980fcef884409e606302bf028d04157d83b2", - "reference": "066f980fcef884409e606302bf028d04157d83b2", - "shasum": "" - }, - "require": { - "beyondit/opencart-extension-installer": "~2.3.0", - "phpunit/phpunit": "4.*" - }, - "require-dev": { - "consolidation/robo": "^1.0", - "opencart/opencart": "2.3.0.2", - "phpunit/phpunit": "4.*", - "vlucas/phpdotenv": "~1.1.0" - }, - "type": "opencart-extension", - "extra": { - "src-dir": "src/upload", - "mappings": [ - "system/config/test-config.php", - "catalog/controller/startup/test_startup.php" - ] - }, - "autoload": { - "files": [ - "src/OpenCartTest.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-3.0" - ], - "authors": [ - { - "name": "Stefan Huber", - "email": "stefan.huber@beyondit.at", - "homepage": "http://www.beyondit.at", - "role": "Developer" - } - ], - "description": "Testing Suite for OpenCart Development", - "time": "2016-12-02 10:08:16" - }, - { - "name": "braintree/braintree_php", - "version": "3.2.0", - "source": { - "type": "git", - "url": "https://github.com/braintree/braintree_php.git", - "reference": "c7e0e2d1ae21d659cddb5507fb0bf181813b5733" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/braintree/braintree_php/zipball/c7e0e2d1ae21d659cddb5507fb0bf181813b5733", - "reference": "c7e0e2d1ae21d659cddb5507fb0bf181813b5733", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "ext-dom": "*", - "ext-hash": "*", - "ext-openssl": "*", - "ext-xmlwriter": "*", - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "3.7.*" - }, - "type": "library", - "autoload": { - "psr-0": { - "Braintree": "lib" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Braintree", - "homepage": "http://www.braintreepayments.com" - } - ], - "description": "Braintree PHP Client Library", - "time": "2015-07-15 15:07:13" - }, - { - "name": "cardinity/cardinity-sdk-php", - "version": "v1.0.3", - "source": { - "type": "git", - "url": "https://github.com/cardinity/cardinity-sdk-php.git", - "reference": "f51f6fbacee393b4eeff7b80be2b1cee77896b4c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/cardinity/cardinity-sdk-php/zipball/f51f6fbacee393b4eeff7b80be2b1cee77896b4c", - "reference": "f51f6fbacee393b4eeff7b80be2b1cee77896b4c", - "shasum": "" - }, - "require": { - "guzzlehttp/guzzle": "~5.1", - "guzzlehttp/log-subscriber": "~1.0", - "guzzlehttp/oauth-subscriber": "0.2.*", - "php": ">=5.4.0", - "symfony/validator": "~2.6" - }, - "require-dev": { - "monolog/monolog": "~1.0", - "phpspec/phpspec": "~2.1", - "phpunit/phpunit": "~4.3" - }, - "type": "library", - "autoload": { - "psr-4": { - "Cardinity\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Client library for Cardinity credit card processing API", - "homepage": "http://cardinity.com", - "time": "2016-12-29 09:57:23" - }, - { - "name": "consolidation/annotated-command", - "version": "2.8.4", - "source": { - "type": "git", - "url": "https://github.com/consolidation/annotated-command.git", - "reference": "651541a0b68318a2a202bda558a676e5ad92223c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/consolidation/annotated-command/zipball/651541a0b68318a2a202bda558a676e5ad92223c", - "reference": "651541a0b68318a2a202bda558a676e5ad92223c", - "shasum": "" - }, - "require": { - "consolidation/output-formatters": "^3.1.12", - "php": ">=5.4.0", - "psr/log": "^1", - "symfony/console": "^2.8|^3|^4", - "symfony/event-dispatcher": "^2.5|^3|^4", - "symfony/finder": "^2.5|^3|^4" - }, - "require-dev": { - "g1a/composer-test-scenarios": "^2", - "phpunit/phpunit": "^6", - "satooshi/php-coveralls": "^2", - "squizlabs/php_codesniffer": "^2.7" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, - "autoload": { - "psr-4": { - "Consolidation\\AnnotatedCommand\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Greg Anderson", - "email": "greg.1.anderson@greenknowe.org" - } - ], - "description": "Initialize Symfony Console commands from annotated command class methods.", - "time": "2018-05-25 18:04:25" - }, - { - "name": "consolidation/config", - "version": "1.0.11", - "source": { - "type": "git", - "url": "https://github.com/consolidation/config.git", - "reference": "ede41d946078e97e7a9513aadc3352f1c26817af" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/consolidation/config/zipball/ede41d946078e97e7a9513aadc3352f1c26817af", - "reference": "ede41d946078e97e7a9513aadc3352f1c26817af", - "shasum": "" - }, - "require": { - "dflydev/dot-access-data": "^1.1.0", - "grasmash/expander": "^1", - "php": ">=5.4.0" - }, - "require-dev": { - "g1a/composer-test-scenarios": "^1", - "phpunit/phpunit": "^4", - "satooshi/php-coveralls": "^1.0", - "squizlabs/php_codesniffer": "2.*", - "symfony/console": "^2.5|^3|^4", - "symfony/yaml": "^2.8.11|^3|^4" - }, - "suggest": { - "symfony/yaml": "Required to use Consolidation\\Config\\Loader\\YamlConfigLoader" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Consolidation\\Config\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Greg Anderson", - "email": "greg.1.anderson@greenknowe.org" - } - ], - "description": "Provide configuration services for a commandline tool.", - "time": "2018-05-27 01:17:02" - }, - { - "name": "consolidation/log", - "version": "1.0.6", - "source": { - "type": "git", - "url": "https://github.com/consolidation/log.git", - "reference": "dfd8189a771fe047bf3cd669111b2de5f1c79395" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/consolidation/log/zipball/dfd8189a771fe047bf3cd669111b2de5f1c79395", - "reference": "dfd8189a771fe047bf3cd669111b2de5f1c79395", - "shasum": "" - }, - "require": { - "php": ">=5.5.0", - "psr/log": "~1.0", - "symfony/console": "^2.8|^3|^4" - }, - "require-dev": { - "g1a/composer-test-scenarios": "^1", - "phpunit/phpunit": "4.*", - "satooshi/php-coveralls": "^2", - "squizlabs/php_codesniffer": "2.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Consolidation\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Greg Anderson", - "email": "greg.1.anderson@greenknowe.org" - } - ], - "description": "Improved Psr-3 / Psr\\Log logger based on Symfony Console components.", - "time": "2018-05-25 18:14:39" - }, - { - "name": "consolidation/output-formatters", - "version": "3.2.1", - "source": { - "type": "git", - "url": "https://github.com/consolidation/output-formatters.git", - "reference": "d78ef59aea19d3e2e5a23f90a055155ee78a0ad5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/d78ef59aea19d3e2e5a23f90a055155ee78a0ad5", - "reference": "d78ef59aea19d3e2e5a23f90a055155ee78a0ad5", - "shasum": "" - }, - "require": { - "php": ">=5.4.0", - "symfony/console": "^2.8|^3|^4", - "symfony/finder": "^2.5|^3|^4" - }, - "require-dev": { - "g1a/composer-test-scenarios": "^2", - "phpunit/phpunit": "^5.7.27", - "satooshi/php-coveralls": "^2", - "squizlabs/php_codesniffer": "^2.7", - "symfony/console": "3.2.3", - "symfony/var-dumper": "^2.8|^3|^4", - "victorjonsson/markdowndocs": "^1.3" - }, - "suggest": { - "symfony/var-dumper": "For using the var_dump formatter" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Consolidation\\OutputFormatters\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Greg Anderson", - "email": "greg.1.anderson@greenknowe.org" - } - ], - "description": "Format text by applying transformations provided by plug-in formatters.", - "time": "2018-05-25 18:02:34" - }, - { - "name": "consolidation/robo", - "version": "1.3.0", - "source": { - "type": "git", - "url": "https://github.com/consolidation/Robo.git", - "reference": "ac563abfadf7cb7314b4e152f2b5033a6c255f6f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/consolidation/Robo/zipball/ac563abfadf7cb7314b4e152f2b5033a6c255f6f", - "reference": "ac563abfadf7cb7314b4e152f2b5033a6c255f6f", - "shasum": "" - }, - "require": { - "consolidation/annotated-command": "^2.8.2", - "consolidation/config": "^1.0.10", - "consolidation/log": "~1", - "consolidation/output-formatters": "^3.1.13", - "grasmash/yaml-expander": "^1.3", - "league/container": "^2.2", - "php": ">=5.5.0", - "symfony/console": "^2.8|^3|^4", - "symfony/event-dispatcher": "^2.5|^3|^4", - "symfony/filesystem": "^2.5|^3|^4", - "symfony/finder": "^2.5|^3|^4", - "symfony/process": "^2.5|^3|^4" - }, - "replace": { - "codegyre/robo": "< 1.0" - }, - "require-dev": { - "codeception/aspect-mock": "^1|^2.1.1", - "codeception/base": "^2.3.7", - "codeception/verify": "^0.3.2", - "g1a/composer-test-scenarios": "^2", - "goaop/framework": "~2.1.2", - "goaop/parser-reflection": "^1.1.0", - "natxet/cssmin": "3.0.4", - "nikic/php-parser": "^3.1.5", - "patchwork/jsqueeze": "~2", - "pear/archive_tar": "^1.4.2", - "phpunit/php-code-coverage": "~2|~4", - "satooshi/php-coveralls": "^2", - "squizlabs/php_codesniffer": "^2.8" - }, - "suggest": { - "henrikbjorn/lurker": "For monitoring filesystem changes in taskWatch", - "natxet/CssMin": "For minifying CSS files in taskMinify", - "patchwork/jsqueeze": "For minifying JS files in taskMinify", - "pear/archive_tar": "Allows tar archives to be created and extracted in taskPack and taskExtract, respectively." - }, - "bin": [ - "robo" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev", - "dev-state": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Robo\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Davert", - "email": "davert.php@resend.cc" - } - ], - "description": "Modern task runner", - "time": "2018-05-27 01:42:53" - }, - { - "name": "container-interop/container-interop", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/container-interop/container-interop.git", - "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8", - "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8", - "shasum": "" - }, - "require": { - "psr/container": "^1.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Interop\\Container\\": "src/Interop/Container/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Promoting the interoperability of container objects (DIC, SL, etc.)", - "homepage": "https://github.com/container-interop/container-interop", - "time": "2017-02-14 19:40:03" - }, - { - "name": "dflydev/dot-access-data", - "version": "v1.1.0", - "source": { - "type": "git", - "url": "https://github.com/dflydev/dflydev-dot-access-data.git", - "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/3fbd874921ab2c041e899d044585a2ab9795df8a", - "reference": "3fbd874921ab2c041e899d044585a2ab9795df8a", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-0": { - "Dflydev\\DotAccessData": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Dragonfly Development Inc.", - "email": "info@dflydev.com", - "homepage": "http://dflydev.com" - }, - { - "name": "Beau Simensen", - "email": "beau@dflydev.com", - "homepage": "http://beausimensen.com" - }, - { - "name": "Carlos Frutos", - "email": "carlos@kiwing.it", - "homepage": "https://github.com/cfrutos" - } - ], - "description": "Given a deep data structure, access data by dot notation.", - "homepage": "https://github.com/dflydev/dflydev-dot-access-data", - "keywords": [ - "access", - "data", - "dot", - "notation" - ], - "time": "2017-01-20 21:14:22" - }, - { - "name": "divido/divido-php", - "version": "v1.15-stable", - "source": { - "type": "git", - "url": "git@github.com:DividoFinancialServices/divido-api-php.git", - "reference": "8edd902ec2be8151331985021107031292b41ca1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/DividoFinancialServices/divido-api-php/zipball/8edd902ec2be8151331985021107031292b41ca1", - "reference": "8edd902ec2be8151331985021107031292b41ca1", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "php": ">=5.2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "master": "2.0-dev", - "v1.1.1": "1.1.1-dev" - } - }, - "autoload": { - "psr-0": { - "Divido": "lib" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Divido PHP library", - "homepage": "https://www.divido.com/", - "keywords": [ - "api", - "divido", - "finance", - "instalments", - "payment processing" - ], - "time": "2018-01-21 15:38:57" - }, - { - "name": "doctrine/instantiator", - "version": "1.0.5", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", - "shasum": "" - }, - "require": { - "php": ">=5.3,<8.0-DEV" - }, - "require-dev": { - "athletic/athletic": "~0.1.8", - "ext-pdo": "*", - "ext-phar": "*", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://github.com/doctrine/instantiator", - "keywords": [ - "constructor", - "instantiate" - ], - "time": "2015-06-14 21:17:01" - }, - { - "name": "grasmash/expander", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/grasmash/expander.git", - "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/grasmash/expander/zipball/95d6037344a4be1dd5f8e0b0b2571a28c397578f", - "reference": "95d6037344a4be1dd5f8e0b0b2571a28c397578f", - "shasum": "" - }, - "require": { - "dflydev/dot-access-data": "^1.1.0", - "php": ">=5.4" - }, - "require-dev": { - "greg-1-anderson/composer-test-scenarios": "^1", - "phpunit/phpunit": "^4|^5.5.4", - "satooshi/php-coveralls": "^1.0.2|dev-master", - "squizlabs/php_codesniffer": "^2.7" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Grasmash\\Expander\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Matthew Grasmick" - } - ], - "description": "Expands internal property references in PHP arrays file.", - "time": "2017-12-21 22:14:55" - }, - { - "name": "grasmash/yaml-expander", - "version": "1.4.0", - "source": { - "type": "git", - "url": "https://github.com/grasmash/yaml-expander.git", - "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/grasmash/yaml-expander/zipball/3f0f6001ae707a24f4d9733958d77d92bf9693b1", - "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1", - "shasum": "" - }, - "require": { - "dflydev/dot-access-data": "^1.1.0", - "php": ">=5.4", - "symfony/yaml": "^2.8.11|^3|^4" - }, - "require-dev": { - "greg-1-anderson/composer-test-scenarios": "^1", - "phpunit/phpunit": "^4.8|^5.5.4", - "satooshi/php-coveralls": "^1.0.2|dev-master", - "squizlabs/php_codesniffer": "^2.7" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Grasmash\\YamlExpander\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Matthew Grasmick" - } - ], - "description": "Expands internal property references in a yaml file.", - "time": "2017-12-16 16:06:03" - }, - { - "name": "guzzlehttp/guzzle", - "version": "5.3.2", - "source": { - "type": "git", - "url": "https://github.com/guzzle/guzzle.git", - "reference": "f9acb4761844317e626a32259205bec1f1bc60d2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/f9acb4761844317e626a32259205bec1f1bc60d2", - "reference": "f9acb4761844317e626a32259205bec1f1bc60d2", - "shasum": "" - }, - "require": { - "guzzlehttp/ringphp": "^1.1", - "php": ">=5.4.0", - "react/promise": "^2.2" - }, - "require-dev": { - "ext-curl": "*", - "phpunit/phpunit": "^4.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "GuzzleHttp\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "rest", - "web service" - ], - "time": "2018-01-15 07:18:01" - }, - { - "name": "guzzlehttp/log-subscriber", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/guzzle/log-subscriber.git", - "reference": "99c3c0004165db721d8ef7bbef60c996210e538a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/log-subscriber/zipball/99c3c0004165db721d8ef7bbef60c996210e538a", - "reference": "99c3c0004165db721d8ef7bbef60c996210e538a", - "shasum": "" - }, - "require": { - "guzzlehttp/guzzle": "~4.0 | ~5.0", - "php": ">=5.4.0", - "psr/log": "~1.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Subscriber\\Log\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Logs HTTP requests and responses as they are sent over the wire (Guzzle 4+)", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "Guzzle", - "log", - "plugin" - ], - "time": "2014-10-13 03:31:43" - }, - { - "name": "guzzlehttp/oauth-subscriber", - "version": "0.2.0", - "source": { - "type": "git", - "url": "https://github.com/guzzle/oauth-subscriber.git", - "reference": "03f1ebe31d3112526106d0570c80eba6820e86e5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/oauth-subscriber/zipball/03f1ebe31d3112526106d0570c80eba6820e86e5", - "reference": "03f1ebe31d3112526106d0570c80eba6820e86e5", - "shasum": "" - }, - "require": { - "guzzlehttp/guzzle": "~4.0|~5.0", - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.1-dev" - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Subscriber\\Oauth\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Guzzle OAuth 1.0 subscriber", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "Guzzle", - "oauth" - ], - "time": "2014-10-23 22:19:02" - }, - { - "name": "guzzlehttp/ringphp", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/guzzle/RingPHP.git", - "reference": "dbbb91d7f6c191e5e405e900e3102ac7f261bc0b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/RingPHP/zipball/dbbb91d7f6c191e5e405e900e3102ac7f261bc0b", - "reference": "dbbb91d7f6c191e5e405e900e3102ac7f261bc0b", - "shasum": "" - }, - "require": { - "guzzlehttp/streams": "~3.0", - "php": ">=5.4.0", - "react/promise": "~2.0" - }, - "require-dev": { - "ext-curl": "*", - "phpunit/phpunit": "~4.0" - }, - "suggest": { - "ext-curl": "Guzzle will use specific adapters if cURL is present" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Ring\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Provides a simple API and specification that abstracts away the details of HTTP into a single PHP function.", - "time": "2015-05-20 03:37:09" - }, - { - "name": "guzzlehttp/streams", - "version": "3.0.0", - "source": { - "type": "git", - "url": "https://github.com/guzzle/streams.git", - "reference": "47aaa48e27dae43d39fc1cea0ccf0d84ac1a2ba5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/streams/zipball/47aaa48e27dae43d39fc1cea0ccf0d84ac1a2ba5", - "reference": "47aaa48e27dae43d39fc1cea0ccf0d84ac1a2ba5", - "shasum": "" - }, - "require": { - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Stream\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Provides a simple abstraction over streams of data", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "Guzzle", - "stream" - ], - "time": "2014-10-12 19:18:40" - }, - { - "name": "henrikbjorn/lurker", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/flint/Lurker.git", - "reference": "712d3ef19bef161daa2ba0e0237c6b875587a089" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/flint/Lurker/zipball/712d3ef19bef161daa2ba0e0237c6b875587a089", - "reference": "712d3ef19bef161daa2ba0e0237c6b875587a089", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "symfony/config": "^2.2|^3.0", - "symfony/event-dispatcher": "^2.2|^3.0" - }, - "suggest": { - "ext-inotify": ">=0.1.6" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-0": { - "Lurker": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Yaroslav Kiliba", - "email": "om.dattaya@gmail.com" - }, - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com" - }, - { - "name": "Henrik Bjrnskov", - "email": "henrik@bjrnskov.dk" - } - ], - "description": "Resource Watcher.", - "keywords": [ - "filesystem", - "resource", - "watching" - ], - "time": "2016-03-16 15:22:20" - }, - { - "name": "klarna/kco_rest", - "version": "v2.2.0", - "source": { - "type": "git", - "url": "https://github.com/klarna/kco_rest_php.git", - "reference": "8a2142a2ebb087bb61901d51d1bb9698790e78c5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/klarna/kco_rest_php/zipball/8a2142a2ebb087bb61901d51d1bb9698790e78c5", - "reference": "8a2142a2ebb087bb61901d51d1bb9698790e78c5", - "shasum": "" - }, - "require": { - "guzzlehttp/guzzle": ">=4.2,<6.0", - "php": ">=5.4.0" - }, - "require-dev": { - "apigen/apigen": "4.0.*", - "klarna/apigen-theme": "~1.0", - "phploc/phploc": "2.0.*", - "phpmd/phpmd": "2.1.*", - "phpunit/phpunit": "4.2.*", - "satooshi/php-coveralls": "0.6.*", - "sebastian/phpcpd": "2.0.*", - "squizlabs/php_codesniffer": "1.5.*" - }, - "type": "library", - "autoload": { - "psr-4": { - "": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Klarna AB", - "email": "integration@klarna.com" - } - ], - "description": "Klarna Checkout PHP SDK", - "homepage": "http://developers.klarna.com", - "time": "2015-12-07 09:51:35" - }, - { - "name": "leafo/scssphp", - "version": "v0.0.12", - "source": { - "type": "git", - "url": "https://github.com/leafo/scssphp.git", - "reference": "ff76df3e45af45e808f3fcd516a2cb5cbc77f45e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/leafo/scssphp/zipball/ff76df3e45af45e808f3fcd516a2cb5cbc77f45e", - "reference": "ff76df3e45af45e808f3fcd516a2cb5cbc77f45e", - "shasum": "" - }, - "require": { - "php": ">=5.2.0" - }, - "require-dev": { - "php": ">=5.3.0", - "phpunit/phpunit": "3.7.*" - }, - "bin": [ - "pscss" - ], - "type": "library", - "autoload": { - "classmap": [ - "scss.inc.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT", - "GPL-3.0" - ], - "authors": [ - { - "name": "Leaf Corcoran", - "email": "leafot@gmail.com", - "homepage": "http://leafo.net" - } - ], - "description": "scssphp is a compiler for SCSS written in PHP.", - "homepage": "http://leafo.net/scssphp/", - "time": "2014-07-07 01:51:39" - }, - { - "name": "league/container", - "version": "2.4.1", - "source": { - "type": "git", - "url": "https://github.com/thephpleague/container.git", - "reference": "43f35abd03a12977a60ffd7095efd6a7808488c0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/container/zipball/43f35abd03a12977a60ffd7095efd6a7808488c0", - "reference": "43f35abd03a12977a60ffd7095efd6a7808488c0", - "shasum": "" - }, - "require": { - "container-interop/container-interop": "^1.2", - "php": "^5.4.0 || ^7.0" - }, - "provide": { - "container-interop/container-interop-implementation": "^1.2", - "psr/container-implementation": "^1.0" - }, - "replace": { - "orno/di": "~2.0" - }, - "require-dev": { - "phpunit/phpunit": "4.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-2.x": "2.x-dev", - "dev-1.x": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "League\\Container\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Phil Bennett", - "email": "philipobenito@gmail.com", - "homepage": "http://www.philipobenito.com", - "role": "Developer" - } - ], - "description": "A fast and intuitive dependency injection container.", - "homepage": "https://github.com/thephpleague/container", - "keywords": [ - "container", - "dependency", - "di", - "injection", - "league", - "provider", - "service" - ], - "time": "2017-05-10 09:20:27" - }, - { - "name": "opencart/opencart", - "version": "2.3.0.2", - "source": { - "type": "git", - "url": "https://github.com/opencart/opencart.git", - "reference": "85e0f35ae96197e0aa92a4aedd3aad76eebd2961" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opencart/opencart/zipball/85e0f35ae96197e0aa92a4aedd3aad76eebd2961", - "reference": "85e0f35ae96197e0aa92a4aedd3aad76eebd2961", - "shasum": "" - }, - "require": { - "braintree/braintree_php": "3.2.0", - "cardinity/cardinity-sdk-php": "^1.0", - "divido/divido-php": ">=1.1.1", - "klarna/kco_rest": "^2.2", - "leafo/scssphp": "0.0.12", - "php": ">=5.4.0" - }, - "type": "project", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-3.0+" - ], - "description": "OpenCart", - "homepage": "http://www.opencart.com", - "keywords": [ - "ecommerce", - "framework", - "opencart", - "opensource" - ], - "time": "2016-08-01 13:43:14" - }, - { - "name": "phpdocumentor/reflection-common", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", - "shasum": "" - }, - "require": { - "php": ">=5.5" - }, - "require-dev": { - "phpunit/phpunit": "^4.6" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jaap van Otterdijk", - "email": "opensource@ijaap.nl" - } - ], - "description": "Common reflection classes used by phpdocumentor to reflect the code structure", - "homepage": "http://www.phpdoc.org", - "keywords": [ - "FQSEN", - "phpDocumentor", - "phpdoc", - "reflection", - "static analysis" - ], - "time": "2017-09-11 18:02:19" - }, - { - "name": "phpdocumentor/reflection-docblock", - "version": "4.3.0", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08", - "shasum": "" - }, - "require": { - "php": "^7.0", - "phpdocumentor/reflection-common": "^1.0.0", - "phpdocumentor/type-resolver": "^0.4.0", - "webmozart/assert": "^1.0" - }, - "require-dev": { - "doctrine/instantiator": "~1.0.5", - "mockery/mockery": "^1.0", - "phpunit/phpunit": "^6.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - } - ], - "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2017-11-30 07:14:17" - }, - { - "name": "phpdocumentor/type-resolver", - "version": "0.4.0", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7", - "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7", - "shasum": "" - }, - "require": { - "php": "^5.5 || ^7.0", - "phpdocumentor/reflection-common": "^1.0" - }, - "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^5.2||^4.8.24" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - } - ], - "time": "2017-07-14 14:27:02" - }, - { - "name": "phpspec/prophecy", - "version": "1.7.6", - "source": { - "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/33a7e3c4fda54e912ff6338c48823bd5c0f0b712", - "reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.2", - "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", - "sebastian/comparator": "^1.1|^2.0|^3.0", - "sebastian/recursion-context": "^1.0|^2.0|^3.0" - }, - "require-dev": { - "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.7.x-dev" - } - }, - "autoload": { - "psr-0": { - "Prophecy\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" - } - ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", - "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" - ], - "time": "2018-04-18 13:57:24" - }, - { - "name": "phpunit/php-code-coverage", - "version": "2.2.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979", - "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "phpunit/php-file-iterator": "~1.3", - "phpunit/php-text-template": "~1.2", - "phpunit/php-token-stream": "~1.3", - "sebastian/environment": "^1.3.2", - "sebastian/version": "~1.0" - }, - "require-dev": { - "ext-xdebug": ">=2.1.4", - "phpunit/phpunit": "~4" - }, - "suggest": { - "ext-dom": "*", - "ext-xdebug": ">=2.2.1", - "ext-xmlwriter": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": [ - "coverage", - "testing", - "xunit" - ], - "time": "2015-10-06 15:47:00" - }, - { - "name": "phpunit/php-file-iterator", - "version": "1.4.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": [ - "filesystem", - "iterator" - ], - "time": "2017-11-27 13:52:08" - }, - { - "name": "phpunit/php-text-template", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], - "time": "2015-06-21 13:50:34" - }, - { - "name": "phpunit/php-timer", - "version": "1.0.9", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": [ - "timer" - ], - "time": "2017-02-26 11:10:40" - }, - { - "name": "phpunit/php-token-stream", - "version": "1.4.12", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16", - "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Wrapper around PHP's tokenizer extension.", - "homepage": "https://github.com/sebastianbergmann/php-token-stream/", - "keywords": [ - "tokenizer" - ], - "time": "2017-12-04 08:55:13" - }, - { - "name": "phpunit/phpunit", - "version": "4.8.36", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "46023de9a91eec7dfb06cc56cb4e260017298517" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517", - "reference": "46023de9a91eec7dfb06cc56cb4e260017298517", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-json": "*", - "ext-pcre": "*", - "ext-reflection": "*", - "ext-spl": "*", - "php": ">=5.3.3", - "phpspec/prophecy": "^1.3.1", - "phpunit/php-code-coverage": "~2.1", - "phpunit/php-file-iterator": "~1.4", - "phpunit/php-text-template": "~1.2", - "phpunit/php-timer": "^1.0.6", - "phpunit/phpunit-mock-objects": "~2.3", - "sebastian/comparator": "~1.2.2", - "sebastian/diff": "~1.2", - "sebastian/environment": "~1.3", - "sebastian/exporter": "~1.2", - "sebastian/global-state": "~1.0", - "sebastian/version": "~1.0", - "symfony/yaml": "~2.1|~3.0" - }, - "suggest": { - "phpunit/php-invoker": "~1.1" - }, - "bin": [ - "phpunit" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.8.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", - "keywords": [ - "phpunit", - "testing", - "xunit" - ], - "time": "2017-06-21 08:07:12" - }, - { - "name": "phpunit/phpunit-mock-objects", - "version": "2.3.8", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983", - "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.2", - "php": ">=5.3.3", - "phpunit/php-text-template": "~1.2", - "sebastian/exporter": "~1.2" - }, - "require-dev": { - "phpunit/phpunit": "~4.4" - }, - "suggest": { - "ext-soap": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Mock Object library for PHPUnit", - "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", - "keywords": [ - "mock", - "xunit" - ], - "time": "2015-10-02 06:51:40" - }, - { - "name": "psr/container", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "time": "2017-02-14 16:28:37" - }, - { - "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-10 12:19:37" - }, - { - "name": "react/promise", - "version": "v2.6.0", - "source": { - "type": "git", - "url": "https://github.com/reactphp/promise.git", - "reference": "5e60e5596a5422287f9d2205f405bef2ae0cef4b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/reactphp/promise/zipball/5e60e5596a5422287f9d2205f405bef2ae0cef4b", - "reference": "5e60e5596a5422287f9d2205f405bef2ae0cef4b", - "shasum": "" - }, - "require": { - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.8" - }, - "type": "library", - "autoload": { - "psr-4": { - "React\\Promise\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jan Sorgalla", - "email": "jsorgalla@gmail.com" - } - ], - "description": "A lightweight implementation of CommonJS Promises/A for PHP", - "keywords": [ - "promise", - "promises" - ], - "time": "2018-06-11 11:05:43" - }, - { - "name": "sebastian/comparator", - "version": "1.2.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", - "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "sebastian/diff": "~1.2", - "sebastian/exporter": "~1.2 || ~2.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "http://www.github.com/sebastianbergmann/comparator", - "keywords": [ - "comparator", - "compare", - "equality" - ], - "time": "2017-01-29 09:50:25" - }, - { - "name": "sebastian/diff", - "version": "1.4.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4", - "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4-dev" - } - }, - "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" - } - ], - "description": "Diff implementation", - "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": [ - "diff" - ], - "time": "2017-05-22 07:24:03" - }, - { - "name": "sebastian/environment", - "version": "1.3.8", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea", - "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.8 || ^5.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], - "time": "2016-08-18 05:49:44" - }, - { - "name": "sebastian/exporter", - "version": "1.2.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4", - "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "sebastian/recursion-context": "~1.0" - }, - "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "~4.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - } - ], - "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", - "keywords": [ - "export", - "exporter" - ], - "time": "2016-06-17 09:04:28" - }, - { - "name": "sebastian/global-state", - "version": "1.1.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.2" - }, - "suggest": { - "ext-uopz": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": [ - "global state" - ], - "time": "2015-10-12 03:26:01" - }, - { - "name": "sebastian/recursion-context", - "version": "1.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7", - "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - } - ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2016-10-03 07:41:43" - }, - { - "name": "sebastian/version", - "version": "1.0.6", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6", - "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6", - "shasum": "" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "time": "2015-06-21 13:59:46" - }, - { - "name": "symfony/config", - "version": "v3.4.11", - "source": { - "type": "git", - "url": "https://github.com/symfony/config.git", - "reference": "73e055cf2e6467715f187724a0347ea32079967c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/73e055cf2e6467715f187724a0347ea32079967c", - "reference": "73e055cf2e6467715f187724a0347ea32079967c", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/filesystem": "~2.8|~3.0|~4.0", - "symfony/polyfill-ctype": "~1.8" - }, - "conflict": { - "symfony/dependency-injection": "<3.3", - "symfony/finder": "<3.3" - }, - "require-dev": { - "symfony/dependency-injection": "~3.3|~4.0", - "symfony/event-dispatcher": "~3.3|~4.0", - "symfony/finder": "~3.3|~4.0", - "symfony/yaml": "~3.0|~4.0" - }, - "suggest": { - "symfony/yaml": "To use the yaml reference dumper" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Config\\": "" - }, - "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 Config Component", - "homepage": "https://symfony.com", - "time": "2018-05-14 16:49:53" - }, - { - "name": "symfony/console", - "version": "v3.4.11", - "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-16 08:49:21" - }, - { - "name": "symfony/debug", - "version": "v3.4.11", - "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-16 14:03:39" - }, - { - "name": "symfony/event-dispatcher", - "version": "v3.4.11", - "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-06 07:35:25" - }, - { - "name": "symfony/filesystem", - "version": "v3.4.11", - "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-16 08:49:21" - }, - { - "name": "symfony/finder", - "version": "v3.4.11", - "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-16 08:49:21" - }, - { - "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-30 19:57:29" - }, - { - "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-26 10:06:28" - }, - { - "name": "symfony/process", - "version": "v3.4.11", - "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-16 08:49:21" - }, - { - "name": "symfony/translation", - "version": "v3.0.9", - "source": { - "type": "git", - "url": "https://github.com/symfony/translation.git", - "reference": "eee6c664853fd0576f21ae25725cfffeafe83f26" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/eee6c664853fd0576f21ae25725cfffeafe83f26", - "reference": "eee6c664853fd0576f21ae25725cfffeafe83f26", - "shasum": "" - }, - "require": { - "php": ">=5.5.9", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/config": "<2.8" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~2.8|~3.0", - "symfony/intl": "~2.8|~3.0", - "symfony/yaml": "~2.8|~3.0" - }, - "suggest": { - "psr/log": "To use logging capability in translator", - "symfony/config": "", - "symfony/yaml": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Translation\\": "" - }, - "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 Translation Component", - "homepage": "https://symfony.com", - "time": "2016-07-30 07:22:48" - }, - { - "name": "symfony/validator", - "version": "v2.8.41", - "source": { - "type": "git", - "url": "https://github.com/symfony/validator.git", - "reference": "96bbfd5534d2e07ba45255bad27ee90d3bc121a3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/96bbfd5534d2e07ba45255bad27ee90d3bc121a3", - "reference": "96bbfd5534d2e07ba45255bad27ee90d3bc121a3", - "shasum": "" - }, - "require": { - "php": ">=5.3.9", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.0", - "symfony/translation": "~2.4|~3.0.0" - }, - "require-dev": { - "doctrine/annotations": "~1.0", - "doctrine/cache": "~1.0", - "egulias/email-validator": "^1.2.1", - "symfony/config": "~2.2|~3.0.0", - "symfony/expression-language": "~2.4|~3.0.0", - "symfony/http-foundation": "~2.3|~3.0.0", - "symfony/intl": "~2.7.25|^2.8.18|~3.2.5", - "symfony/property-access": "~2.3|~3.0.0", - "symfony/yaml": "^2.0.5|~3.0.0" - }, - "suggest": { - "doctrine/annotations": "For using the annotation mapping. You will also need doctrine/cache.", - "doctrine/cache": "For using the default cached annotation reader and metadata cache.", - "egulias/email-validator": "Strict (RFC compliant) email validation", - "symfony/config": "", - "symfony/expression-language": "For using the 2.4 Expression validator", - "symfony/http-foundation": "", - "symfony/intl": "", - "symfony/property-access": "For using the 2.4 Validator API", - "symfony/yaml": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.8-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Validator\\": "" - }, - "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 Validator Component", - "homepage": "https://symfony.com", - "time": "2018-05-07 06:57:27" - }, - { - "name": "symfony/yaml", - "version": "v3.4.11", - "source": { - "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "c5010cc1692ce1fa328b1fb666961eb3d4a85bb0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/c5010cc1692ce1fa328b1fb666961eb3d4a85bb0", - "reference": "c5010cc1692ce1fa328b1fb666961eb3d4a85bb0", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/polyfill-ctype": "~1.8" - }, - "conflict": { - "symfony/console": "<3.4" - }, - "require-dev": { - "symfony/console": "~3.4|~4.0" - }, - "suggest": { - "symfony/console": "For validating YAML files using the lint command" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Yaml\\": "" - }, - "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 Yaml Component", - "homepage": "https://symfony.com", - "time": "2018-05-03 23:18:14" - }, - { - "name": "vlucas/phpdotenv", - "version": "v1.1.1", - "source": { - "type": "git", - "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "0cac554ce06277e33ddf9f0b7ade4b8bbf2af3fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/0cac554ce06277e33ddf9f0b7ade4b8bbf2af3fa", - "reference": "0cac554ce06277e33ddf9f0b7ade4b8bbf2af3fa", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "autoload": { - "psr-0": { - "Dotenv": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD" - ], - "authors": [ - { - "name": "Vance Lucas", - "email": "vance@vancelucas.com", - "homepage": "http://www.vancelucas.com" - } - ], - "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", - "homepage": "http://github.com/vlucas/phpdotenv", - "keywords": [ - "dotenv", - "env", - "environment" - ], - "time": "2015-05-30 15:59:26" - }, - { - "name": "webmozart/assert", - "version": "1.3.0", - "source": { - "type": "git", - "url": "https://github.com/webmozart/assert.git", - "reference": "0df1908962e7a3071564e857d86874dad1ef204a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a", - "reference": "0df1908962e7a3071564e857d86874dad1ef204a", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], - "time": "2018-01-29 19:49:41" - } - ], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": [], - "platform-dev": [] -} From c0f46cb672bcc011207f7c1dd14fb9df2d3a9209 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 11:49:32 +0300 Subject: [PATCH 31/44] test matrix --- .travis.yml | 16 ++++++++++++---- Makefile | 1 + composer.json | 3 +++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 023a73c..8f29b57 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,13 +34,21 @@ after_success: jobs: include: - php: 7.0 - env: TEST_SUITE=2.3 + env: + - TEST_SUITE=2.3 + - OPENCART=2.3 - php: 7.1 - env: TEST_SUITE=2.3 + env: + - TEST_SUITE=2.3 + - OPENCART=2.3 - php: 7.2 - env: TEST_SUITE=2.3 + env: + - TEST_SUITE=2.3 + - OPENCART=2.3 - php: 7.3 - env: TEST_SUITE=2.3 + env: + - TEST_SUITE=2.3 + - OPENCART=2.3 - stage: deploy before_script: skip script: make build_archive diff --git a/Makefile b/Makefile index f68b0f0..cb286ce 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ before_script: # Change MySQL root password echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root composer require --dev beyondit/opencart-test-suite ~$(TEST_SUITE) + composer require --dev opencart/opencart ~$(OPENCART) composer setup bin/robo --load-from tests/RoboFile.php project:deploy (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null diff --git a/composer.json b/composer.json index 29a2ebb..fc8517e 100644 --- a/composer.json +++ b/composer.json @@ -24,5 +24,8 @@ "@test-catalog" ], "setup" : "bin/robo --load-from tests/RoboFile.php opencart:setup" + }, + "require-dev": { + "consolidation/robo": "~1.0" } } From 6bf58537ee7098e235b9a88f4956b7124503288c Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 12:09:17 +0300 Subject: [PATCH 32/44] update matrix --- .travis.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8f29b57..80e51b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,14 +41,22 @@ jobs: env: - TEST_SUITE=2.3 - OPENCART=2.3 + - php: 7.0 + env: + - TEST_SUITE=3.0 + - OPENCART=3.0 + - php: 7.1 + env: + - TEST_SUITE=3.0 + - OPENCART=3.0 - php: 7.2 env: - - TEST_SUITE=2.3 - - OPENCART=2.3 + - TEST_SUITE=3.0 + - OPENCART=3.0 - php: 7.3 env: - - TEST_SUITE=2.3 - - OPENCART=2.3 + - TEST_SUITE=3.0 + - OPENCART=3.0 - stage: deploy before_script: skip script: make build_archive From 5d6fd908f250360cdb4acca8f9f86ef9041e7a17 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 12:37:03 +0300 Subject: [PATCH 33/44] update for OC 3.0 --- tests/2.3/TestCase.php | 5 +++++ tests/3.0/TestCase.php | 5 +++++ tests/admin/ControllerRetailcrmAdminTest.php | 4 +++- tests/admin/ModelRetailcrmCustomerAdminTest.php | 4 +++- tests/admin/ModelRetailcrmEventAdminTest.php | 4 +++- tests/admin/ModelRetailcrmOrderAdminTest.php | 4 +++- tests/admin/ModelRetailcrmPricesAdminTest.php | 4 +++- tests/catalog/ControllerRetailcrmApiCatalogTest.php | 4 +++- tests/catalog/ModelRetailcrmCustomerCatalogTest.php | 4 +++- tests/catalog/ModelRetailcrmOrderCatalogTest.php | 4 +++- 10 files changed, 34 insertions(+), 8 deletions(-) create mode 100644 tests/2.3/TestCase.php create mode 100644 tests/3.0/TestCase.php diff --git a/tests/2.3/TestCase.php b/tests/2.3/TestCase.php new file mode 100644 index 0000000..06cc76f --- /dev/null +++ b/tests/2.3/TestCase.php @@ -0,0 +1,5 @@ + Date: Wed, 19 Feb 2020 12:45:02 +0300 Subject: [PATCH 34/44] update setUp --- tests/admin/ModelRetailcrmEventAdminTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/admin/ModelRetailcrmEventAdminTest.php b/tests/admin/ModelRetailcrmEventAdminTest.php index f48efb9..91e55d2 100644 --- a/tests/admin/ModelRetailcrmEventAdminTest.php +++ b/tests/admin/ModelRetailcrmEventAdminTest.php @@ -6,7 +6,7 @@ class ModelRetailcrmEventAdminTest extends TestCase { const CODE = 'test'; - protected function setUp() + public function setUp() { parent::setUp(); From f0f3b65c0269afc1af6bb5a4e05880cd7ac3e9ef Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 13:01:38 +0300 Subject: [PATCH 35/44] update phpunit config --- phpunit.xml.dist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 8e8e34f..531d08b 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -19,6 +19,8 @@ + + From 137c83aa666c27dbd464eeeb29650fb26465c4ef Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 14:05:24 +0300 Subject: [PATCH 36/44] test deployment --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 80e51b3..72ac7a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,10 +67,11 @@ jobs: - git config --local user.email "support@retailcrm.ru" - export TRAVIS_TAG=v$VERSION - git tag $TRAVIS_TAG + - export DEPLOY=true deploy: provider: releases api_key: $GITHUB_OAUTH_TOKEN skip_cleanup: true file: $ARCHIVE_NAME - if: (branch = master) AND (type = push) AND (fork = false) + if: branch = master AND type = push AND env(DEPLOY) = true after_deploy: make delete_archive \ No newline at end of file From 4b57be19e189c9a31cfbf0017072be955da14c2d Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 15:15:21 +0300 Subject: [PATCH 37/44] test --- .travis.yml | 3 +-- Makefile | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 72ac7a8..d5b56b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,11 +67,10 @@ jobs: - git config --local user.email "support@retailcrm.ru" - export TRAVIS_TAG=v$VERSION - git tag $TRAVIS_TAG - - export DEPLOY=true deploy: provider: releases api_key: $GITHUB_OAUTH_TOKEN skip_cleanup: true file: $ARCHIVE_NAME - if: branch = master AND type = push AND env(DEPLOY) = true + if: branch = master AND type = push AND env(CURRENT_VERSION) != env(LAST_TAG) after_deploy: make delete_archive \ No newline at end of file diff --git a/Makefile b/Makefile index cb286ce..9b5ceb9 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,7 @@ before_script: bin/robo --load-from tests/RoboFile.php project:deploy (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null sleep 2 - + export LAST_TAG=`git describe --abbrev=0 --tags` + export CURRENT_VERSION=v`cat VERSION` covegare: wget https://phar.phpunit.de/phpcov-2.0.2.phar && php phpcov-2.0.2.phar merge coverage/ --clover coverage.xml From 3b6b3d0d9d3b813e2fa8e1405a514b1a99b898c7 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 15:17:18 +0300 Subject: [PATCH 38/44] test --- .travis.yml | 4 ++++ Makefile | 3 +-- VERSION | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d5b56b7..821db2a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,10 @@ stages: - test - deploy +before_install: + - export LAST_TAG=`git describe --abbrev=0 --tags` + - export CURRENT_VERSION=v`cat VERSION` + before_script: make before_script script: composer test diff --git a/Makefile b/Makefile index 9b5ceb9..cb286ce 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,6 @@ before_script: bin/robo --load-from tests/RoboFile.php project:deploy (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null sleep 2 - export LAST_TAG=`git describe --abbrev=0 --tags` - export CURRENT_VERSION=v`cat VERSION` + covegare: wget https://phar.phpunit.de/phpcov-2.0.2.phar && php phpcov-2.0.2.phar merge coverage/ --clover coverage.xml diff --git a/VERSION b/VERSION index 9c25013..86fb650 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.3.6 +3.3.7 From 27af27c1eb1b41f0fd197e33540fd3d87ae985a2 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 15:24:33 +0300 Subject: [PATCH 39/44] test --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 821db2a..2163365 100644 --- a/.travis.yml +++ b/.travis.yml @@ -76,5 +76,5 @@ jobs: api_key: $GITHUB_OAUTH_TOKEN skip_cleanup: true file: $ARCHIVE_NAME - if: branch = master AND type = push AND env(CURRENT_VERSION) != env(LAST_TAG) + if: branch = master AND type = push AND fork = true after_deploy: make delete_archive \ No newline at end of file From 1971aa0cb46ec7ae47a9d5ee5ef3169e8af5e0ba Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 15:47:19 +0300 Subject: [PATCH 40/44] fix archive name --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2163365..27346c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,7 +66,7 @@ jobs: script: make build_archive before_deploy: - export VERSION=`cat VERSION` - - export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip + - export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.ocmod.zip - git config --local user.name "retailCRM" - git config --local user.email "support@retailcrm.ru" - export TRAVIS_TAG=v$VERSION From 752b11a2b6e175839d1eb14774a4ae6f97a7527e Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 16:53:05 +0300 Subject: [PATCH 41/44] test deploy condition --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 27346c5..715a51f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -76,5 +76,7 @@ jobs: api_key: $GITHUB_OAUTH_TOKEN skip_cleanup: true file: $ARCHIVE_NAME + on: + condition: "$LAST_TAG != $CURRENT_VERSION" if: branch = master AND type = push AND fork = true after_deploy: make delete_archive \ No newline at end of file From 5b58d030c9eff2e0a1b12c0dabff2084dd225343 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 16:58:45 +0300 Subject: [PATCH 42/44] update fork condition --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 715a51f..323224e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,5 +78,5 @@ jobs: file: $ARCHIVE_NAME on: condition: "$LAST_TAG != $CURRENT_VERSION" - if: branch = master AND type = push AND fork = true + if: branch = master AND type = push AND fork = false after_deploy: make delete_archive \ No newline at end of file From 9c8ad156c76c95d33067d73c02542072a4f1f6fc Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 17:01:35 +0300 Subject: [PATCH 43/44] update version --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 86fb650..fa7adc7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.3.7 +3.3.5 From d7221ecd9b6d8deae09c976c9fb00f266741255f Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 17:29:21 +0300 Subject: [PATCH 44/44] update changelog --- .travis.yml | 2 +- CHANGELOG.md | 3 +++ Makefile | 2 +- VERSION | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 323224e..29d961b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ before_script: make before_script script: composer test after_success: - - make covegare + - make coverage - bash <(curl -s https://codecov.io/bash) jobs: diff --git a/CHANGELOG.md b/CHANGELOG.md index b84aca4..f636108 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## v.3.3.7 +* Изменена конфигурация travis-ci для сборки и развертывания + ## v.3.3.6 * Небольшие фиксы diff --git a/Makefile b/Makefile index cb286ce..d696803 100644 --- a/Makefile +++ b/Makefile @@ -24,5 +24,5 @@ before_script: (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null sleep 2 -covegare: +coverage: wget https://phar.phpunit.de/phpcov-2.0.2.phar && php phpcov-2.0.2.phar merge coverage/ --clover coverage.xml diff --git a/VERSION b/VERSION index fa7adc7..86fb650 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.3.5 +3.3.7