diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 0000000..b086fff --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1,4 @@ +# for php-coveralls +service_name: travis-ci +src_dir: lib +coverage_clover: build/logs/clover*.xml diff --git a/.travis.yml b/.travis.yml index 00340d8..b54bc0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,40 @@ +sudo: false + language: php +cache: + directories: + - $HOME/.composer/cache + - vendor + php: - - 5.3 - - 5.4 - 5.5 + env: + - EXECUTE_CS_CHECK=true - 5.6 + env: + - EXECUTE_COVERAGE=true + - 7.0 - hhvm matrix: allow_failures: - php: hhvm + - php: 7.0 -before_script: +before_install: + - if [[ $EXECUTE_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi - composer self-update - - composer install --dev --prefer-source + - if [[ $EXECUTE_COVERAGE == 'true' ]]; then composer require --no-update satooshi/php-coveralls:dev-master ; fi + +install: + - travis_retry composer install --no-interaction --ignore-platform-reqs --prefer-source + - composer info -i script: - - ./vendor/bin/phpunit - - ./vendor/bin/phpcs --standard=PSR2 ./src/ ./test + - if [[ $EXECUTE_COVERAGE == 'true' ]]; then ./vendor/bin/phpunit ; fi + - if [[ $EXECUTE_COVERAGE != 'true' ]]; then ./vendor/bin/phpunit --no-coverage ; fi + - if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/phpcs --standard=PSR2 ./src/ ./test ; fi after_script: - php vendor/bin/coveralls -v diff --git a/CHANGELOG.md b/CHANGELOG.md index ff202d7..b65522b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # BlockchainWalletApi CHANGELOG +## Version 2.0.0 TBA + +* Uses module config cache now, removed module feature providers + ## Version 1.0.0 - (2014-07-01) * Satoshi view helper which converts satoshi to other unit e.g. bitcoin diff --git a/composer.json b/composer.json index ff8091a..17f4311 100644 --- a/composer.json +++ b/composer.json @@ -1,49 +1,80 @@ { - "name": "sandrokeil/blockchain-wallet-api", - "description": "Zend Framework 2 (ZF2) client library for blockchain wallet api. Configure request, call the service and access the response data via objects.", - "homepage": "https://github.com/sandrokeil/BlockchainWalletApi", - "license": "BSD-3-Clause", - "type": "library", - "keywords": [ - "blockchain", - "bitcoin", - "zf2", - "blockchain wallet api", - "wallet", - "api", - "webservice", - "client", - "payment" - ], - "authors": [ - {"name": "Sandro Keil", "homepage": "https://github.com/sandrokeil"} - ], - "autoload": { - "psr-4": { - "Sake\\BlockchainWalletApi\\": "src/", - "SakeTest\\BlockchainWalletApi\\": "test/" - } - }, - "require": { - "php": "~5.3", - "zendframework/zend-servicemanager": "~2.2", - "zendframework/zend-stdlib": "~2.2", - "zendframework/zend-http": "~2.2", - "zendframework/zend-filter": "~2.2", - "sandrokeil/easy-config": "~1.0" - }, - "require-dev": { - "zendframework/zend-test": "~2.2", - "zendframework/zend-config": "~2.2", - "zendframework/zend-form": "~2.2", - "zendframework/zend-serializer": "~2.2", - "zendframework/zend-log": "~2.2", - "zendframework/zend-modulemanager": "~2.2", - "zendframework/zend-view": "~2.2", - "sandrokeil/citools": "~1.0" - }, - "suggest": { - "zendframework/zend-view": "Zend\\View to use satoshi view helper", - "zendframework/zend-modulemanager": "Zend\\ModuleManager to use default module configuration e.g. services" + "name": "sandrokeil/blockchain-wallet-api", + "description": "Zend Framework 2 (ZF2) client library for blockchain wallet api. Configure request, call the service and access the response data via objects.", + "homepage": "https://github.com/sandrokeil/BlockchainWalletApi", + "license": "BSD-3-Clause", + "type": "library", + "keywords": [ + "blockchain", + "bitcoin", + "zf2", + "blockchain wallet api", + "wallet", + "api", + "webservice", + "client", + "payment" + ], + "authors": [ + { + "name": "Sandro Keil", + "homepage": "https://sandro-keil.de" } + ], + "support": { + "issues": "https://github.com/sandrokeil/BlockchainWalletApi/issues", + "source": "https://github.com/sandrokeil/BlockchainWalletApi", + "docs": "https://github.com/sandrokeil/BlockchainWalletApi" + }, + "repositories": [ + { + "type": "composer", + "url": "https://packages.zendframework.com/" + } + ], + "autoload": { + "psr-4": { + "Sake\\BlockchainWalletApi\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "SakeTest\\BlockchainWalletApi\\": "test/" + } + }, + "require": { + "php": "~5.5", + "sandrokeil/easy-config": "~1.0", + "zendframework/zend-http": "~2.4", + "zendframework/zend-inputfilter": "~2.5", + "zendframework/zend-servicemanager": "~2.6", + "zendframework/zend-stdlib": "~2.5" + }, + "require-dev": { + "phpunit/phpunit": "~4.8", + "sandrokeil/citools": "~2.0", + "sebastian/peek-and-poke": "1.0.x-dev", + "zendframework/zend-view": "~2.4" + }, + "suggest": { + "zendframework/zend-view": "Zend\\View to use satoshi view helper", + "zendframework/zend-modulemanager": "Zend\\ModuleManager to use default module configuration e.g. services" + }, + "minimum-stability": "dev", + "prefer-stable": true, + "extra": { + "branch-alias": { + "dev-master": "2.0-dev", + "dev-develop": "2.1-dev" + } + }, + "archive": { + "exclude": [ + "test", + "phpunit.xml*", + ".travis.yml", + ".scrutinizer.yml", + ".coveralls.yml" + ] + } } diff --git a/config/module.config.php b/config/module.config.php new file mode 100644 index 0000000..de5c1e9 --- /dev/null +++ b/config/module.config.php @@ -0,0 +1,13 @@ + require __DIR__ . '/service_manager.config.php', + 'view_helper' => require __DIR__ . '/view_helper.config.php', +); diff --git a/config/service_manager.config.php b/config/service_manager.config.php index dfcb631..f68f358 100644 --- a/config/service_manager.config.php +++ b/config/service_manager.config.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/config/view_helper.config.php b/config/view_helper.config.php index fe06a31..134bc34 100644 --- a/config/view_helper.config.php +++ b/config/view_helper.config.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/phpunit.xml.dist b/phpunit.xml.dist index c6245a1..31fcdf1 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -2,7 +2,6 @@ getServiceConfig(); + $config = $cut->getConfig(); $this->assertSame( - @include 'config/service_manager.config.php', + @include 'config/module.config.php', $config, - 'Service manager configuration could not be read' - ); - } - - /** - * Tests getViewHelperConfig() should should return view helper configuration - * - * @covers \Sake\BlockchainWalletApi\Module::getViewHelperConfig - */ - public function testGetViewHelperConfig() - { - $cut = new Module(); - $config = $cut->getViewHelperConfig(); - $this->assertSame( - @include 'config/view_helper.config.php', - $config, - 'View helper configuration could not be read' + 'Module configuration could not be read' ); } } diff --git a/test/Request/AddressArchiveTest.php b/test/Request/AddressArchiveTest.php index f33c6c5..0257989 100644 --- a/test/Request/AddressArchiveTest.php +++ b/test/Request/AddressArchiveTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Request/AddressBalanceTest.php b/test/Request/AddressBalanceTest.php index f344661..ac9db7d 100644 --- a/test/Request/AddressBalanceTest.php +++ b/test/Request/AddressBalanceTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Request/AddressUnarchiveTest.php b/test/Request/AddressUnarchiveTest.php index 120bc5d..7723acc 100644 --- a/test/Request/AddressUnarchiveTest.php +++ b/test/Request/AddressUnarchiveTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Request/AutoConsolidateAddressesTest.php b/test/Request/AutoConsolidateAddressesTest.php index 32df0fb..e0da8af 100644 --- a/test/Request/AutoConsolidateAddressesTest.php +++ b/test/Request/AutoConsolidateAddressesTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Request/ListAddressesTest.php b/test/Request/ListAddressesTest.php index c3ae4e5..c3385d5 100644 --- a/test/Request/ListAddressesTest.php +++ b/test/Request/ListAddressesTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Request/NewAddressTest.php b/test/Request/NewAddressTest.php index 7ccf15e..c993101 100644 --- a/test/Request/NewAddressTest.php +++ b/test/Request/NewAddressTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Request/RecipientTest.php b/test/Request/RecipientTest.php index c97c4e9..e504c51 100644 --- a/test/Request/RecipientTest.php +++ b/test/Request/RecipientTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Request/SendManyTest.php b/test/Request/SendManyTest.php index 8f5600b..b4c619d 100644 --- a/test/Request/SendManyTest.php +++ b/test/Request/SendManyTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Request/SendTest.php b/test/Request/SendTest.php index d135c6e..b19af70 100644 --- a/test/Request/SendTest.php +++ b/test/Request/SendTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Request/WalletBalanceTest.php b/test/Request/WalletBalanceTest.php index bb6bafc..ecaf502 100644 --- a/test/Request/WalletBalanceTest.php +++ b/test/Request/WalletBalanceTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Response/AddressArchiveTest.php b/test/Response/AddressArchiveTest.php index db86cd3..89ff2e1 100644 --- a/test/Response/AddressArchiveTest.php +++ b/test/Response/AddressArchiveTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Response/AddressBalanceTest.php b/test/Response/AddressBalanceTest.php index abd226c..3b5177b 100644 --- a/test/Response/AddressBalanceTest.php +++ b/test/Response/AddressBalanceTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Response/AddressTest.php b/test/Response/AddressTest.php index 8e4cde3..d3054c8 100644 --- a/test/Response/AddressTest.php +++ b/test/Response/AddressTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Response/AddressUnarchiveTest.php b/test/Response/AddressUnarchiveTest.php index f123192..4186807 100644 --- a/test/Response/AddressUnarchiveTest.php +++ b/test/Response/AddressUnarchiveTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Response/AutoConsolidateAddressesTest.php b/test/Response/AutoConsolidateAddressesTest.php index 21e33e3..ac5ecd9 100644 --- a/test/Response/AutoConsolidateAddressesTest.php +++ b/test/Response/AutoConsolidateAddressesTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Response/ListAddressesTest.php b/test/Response/ListAddressesTest.php index 8620c5e..b4ff747 100644 --- a/test/Response/ListAddressesTest.php +++ b/test/Response/ListAddressesTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Response/NewAddressTest.php b/test/Response/NewAddressTest.php index da11608..39e2cf9 100644 --- a/test/Response/NewAddressTest.php +++ b/test/Response/NewAddressTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Response/SendManyTest.php b/test/Response/SendManyTest.php index 4d7c2d6..ed324ae 100644 --- a/test/Response/SendManyTest.php +++ b/test/Response/SendManyTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Response/SendTest.php b/test/Response/SendTest.php index d29ae5b..54ff3b9 100644 --- a/test/Response/SendTest.php +++ b/test/Response/SendTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Response/WalletBalanceTest.php b/test/Response/WalletBalanceTest.php index 910ddac..ae38e8c 100644 --- a/test/Response/WalletBalanceTest.php +++ b/test/Response/WalletBalanceTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/AbstractFactoryTestCase.php b/test/Service/AbstractFactoryTestCase.php index 2b2c24d..c12a859 100644 --- a/test/Service/AbstractFactoryTestCase.php +++ b/test/Service/AbstractFactoryTestCase.php @@ -3,13 +3,13 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ namespace SakeTest\BlockchainWalletApi\Service; -use Zend\Test\Util\ModuleLoader; +use Zend\ServiceManager\ServiceManager; use PHPUnit_Framework_TestCase as TestCase; /** @@ -24,11 +24,6 @@ abstract class AbstractFactoryTestCase extends TestCase */ protected $serviceManager; - /** - * @var ModuleLoader - */ - protected $moduleLoader; - /** * Setup tests */ @@ -38,11 +33,16 @@ public function setUp() // Load the user-defined test configuration file, if it exists; otherwise, load default if (is_readable('test/TestConfig.php')) { - $testConfig = require 'test/TestConfig.php'; + $testConfig = require 'test/testing.config.php'; } else { - $testConfig = require 'test/TestConfig.php.dist'; + $testConfig = require 'test/testing.config.php.dist'; } - $this->moduleLoader = new ModuleLoader($testConfig); - $this->serviceManager = $this->moduleLoader->getServiceManager(); + + $config = require 'config/module.config.php'; + + $this->serviceManager = new ServiceManager( + new \Zend\ServiceManager\Config($config['service_manager']) + ); + $this->serviceManager->setService('Configuration', $testConfig); } } diff --git a/test/Service/BlockchainWalletFactoryTest.php b/test/Service/BlockchainWalletFactoryTest.php index ab403de..37cede9 100644 --- a/test/Service/BlockchainWalletFactoryTest.php +++ b/test/Service/BlockchainWalletFactoryTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ @@ -34,7 +34,8 @@ public function testCreateService() ->method('getClient') ->will($this->returnValue(new Http\Client(null, array('adapter' => new Http\Client\Adapter\Test())))); - $config = $this->serviceManager->get('Config'); + $config = $this->serviceManager->get('Configuration'); + $config = $config['sake_bwa']['connection']['default']['options']; /* @var $service \Sake\BlockchainWalletApi\Service\BlockchainWallet */ diff --git a/test/Service/BlockchainWalletOptionsTest.php b/test/Service/BlockchainWalletOptionsTest.php index df1a843..af2ed5c 100644 --- a/test/Service/BlockchainWalletOptionsTest.php +++ b/test/Service/BlockchainWalletOptionsTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/BlockchainWalletTest.php b/test/Service/BlockchainWalletTest.php index ffe6124..cfe11f2 100644 --- a/test/Service/BlockchainWalletTest.php +++ b/test/Service/BlockchainWalletTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/HydratorFactoryTest.php b/test/Service/HydratorFactoryTest.php index 96f93b6..06b3698 100644 --- a/test/Service/HydratorFactoryTest.php +++ b/test/Service/HydratorFactoryTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/HydratorApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/HydratorApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/InputFilter/AddressArchiveFactoryTest.php b/test/Service/InputFilter/AddressArchiveFactoryTest.php index 0076c17..0607039 100644 --- a/test/Service/InputFilter/AddressArchiveFactoryTest.php +++ b/test/Service/InputFilter/AddressArchiveFactoryTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/InputFilter/AddressBalanceFactoryTest.php b/test/Service/InputFilter/AddressBalanceFactoryTest.php index 74132b5..abfabb4 100644 --- a/test/Service/InputFilter/AddressBalanceFactoryTest.php +++ b/test/Service/InputFilter/AddressBalanceFactoryTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/InputFilter/AddressUnarchiveFactoryTest.php b/test/Service/InputFilter/AddressUnarchiveFactoryTest.php index 895e5a8..bc92393 100644 --- a/test/Service/InputFilter/AddressUnarchiveFactoryTest.php +++ b/test/Service/InputFilter/AddressUnarchiveFactoryTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/InputFilter/AutoConsolidateAddressesFactoryTest.php b/test/Service/InputFilter/AutoConsolidateAddressesFactoryTest.php index c87802a..5642ab0 100644 --- a/test/Service/InputFilter/AutoConsolidateAddressesFactoryTest.php +++ b/test/Service/InputFilter/AutoConsolidateAddressesFactoryTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/InputFilter/ListAddressesFactoryTest.php b/test/Service/InputFilter/ListAddressesFactoryTest.php index 107c759..62ecbf9 100644 --- a/test/Service/InputFilter/ListAddressesFactoryTest.php +++ b/test/Service/InputFilter/ListAddressesFactoryTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/InputFilter/NewAddressFactoryTest.php b/test/Service/InputFilter/NewAddressFactoryTest.php index 040ab12..8111d60 100644 --- a/test/Service/InputFilter/NewAddressFactoryTest.php +++ b/test/Service/InputFilter/NewAddressFactoryTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/InputFilter/SendFactoryTest.php b/test/Service/InputFilter/SendFactoryTest.php index cba258a..d2270c0 100644 --- a/test/Service/InputFilter/SendFactoryTest.php +++ b/test/Service/InputFilter/SendFactoryTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/InputFilter/SendManyFactoryTest.php b/test/Service/InputFilter/SendManyFactoryTest.php index 5612a6f..26d9bab 100644 --- a/test/Service/InputFilter/SendManyFactoryTest.php +++ b/test/Service/InputFilter/SendManyFactoryTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/InputFilter/WalletBalanceFactoryTest.php b/test/Service/InputFilter/WalletBalanceFactoryTest.php index c5a27b8..a740e3b 100644 --- a/test/Service/InputFilter/WalletBalanceFactoryTest.php +++ b/test/Service/InputFilter/WalletBalanceFactoryTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/InputFilterPluginManagerTest.php b/test/Service/InputFilterPluginManagerTest.php index 26631c7..ea833a1 100644 --- a/test/Service/InputFilterPluginManagerTest.php +++ b/test/Service/InputFilterPluginManagerTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/RequestPluginManagerTest.php b/test/Service/RequestPluginManagerTest.php index 0696fc9..f3f6a95 100644 --- a/test/Service/RequestPluginManagerTest.php +++ b/test/Service/RequestPluginManagerTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/Service/ResponsePluginManagerTest.php b/test/Service/ResponsePluginManagerTest.php index ec599a2..62da8bf 100644 --- a/test/Service/ResponsePluginManagerTest.php +++ b/test/Service/ResponsePluginManagerTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/TestConfig.php.dist b/test/TestConfig.php.dist deleted file mode 100644 index 98e5f68..0000000 --- a/test/TestConfig.php.dist +++ /dev/null @@ -1,22 +0,0 @@ - array( - 'Sake\BlockchainWalletApi', - ), - 'module_listener_options' => array( - 'config_glob_paths' => array( - __DIR__ . '/testing.config.php', - ), - 'module_paths' => array( - 'src', - ), - ), -); diff --git a/test/Validator/BitcoinAddressTest.php b/test/Validator/BitcoinAddressTest.php index 1035e82..6fde89b 100644 --- a/test/Validator/BitcoinAddressTest.php +++ b/test/Validator/BitcoinAddressTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/View/Helper/SatoshiTest.php b/test/View/Helper/SatoshiTest.php index baaa190..989bb54 100644 --- a/test/View/Helper/SatoshiTest.php +++ b/test/View/Helper/SatoshiTest.php @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */ diff --git a/test/testing.config.php b/test/testing.config.php.dist similarity index 94% rename from test/testing.config.php rename to test/testing.config.php.dist index d38406e..0a12d1e 100644 --- a/test/testing.config.php +++ b/test/testing.config.php.dist @@ -3,7 +3,7 @@ * Sake * * @link http://github.com/sandrokeil/BlockchainWalletApi for the canonical source repository - * @copyright Copyright (c) 2014 Sandro Keil + * @copyright Copyright (c) 2014 - 2015 Sandro Keil * @license http://github.com/sandrokeil/BlockchainWalletApi/blob/master/LICENSE.txt New BSD License */