diff --git a/.travis.yml b/.travis.yml index 4f1007e..f819e25 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,5 @@ language: php php: - - '5.5' - - '5.6' - '7.0' before_install: @@ -9,6 +7,6 @@ before_install: install: - composer install - - composer --working-dir=./tests install --prefer-source --no-interaction + - composer --working-dir=./tests install script: cd ./tests && vendor/bin/phpspec run -v --format progress diff --git a/tests/composer.json b/tests/composer.json index 1d08d0e..a256f27 100644 --- a/tests/composer.json +++ b/tests/composer.json @@ -1,7 +1,6 @@ { "require": { - "phpspec/phpspec": "^2.4", - "phpspec/nyan-formatters": "^1.0" + "phpspec/phpspec": "^4.2" }, "autoload": { "psr-4": {"Nonce\\": "../src/"}, diff --git a/tests/composer.lock b/tests/composer.lock index bcdf982..1629677 100644 --- a/tests/composer.lock +++ b/tests/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "4f4a12d4c4b1d5911035a3af572cd78e", - "content-hash": "8a16b41925fd7fbbe6042e77c41d67e4", + "hash": "55f12c55127e78994a85010413e09363", + "content-hash": "5d65f7895eac095f2242660c24ed717d", "packages": [ { "name": "doctrine/instantiator", @@ -208,72 +208,25 @@ "time": "2017-07-14 14:27:02" }, { - "name": "phpspec/nyan-formatters", - "version": "1.0.1", + "name": "phpspec/php-diff", + "version": "v1.1.0", "source": { "type": "git", - "url": "https://github.com/phpspec/nyan-formatters.git", - "reference": "4aaef7454dc037208074798a34844e02300c33df" + "url": "https://github.com/phpspec/php-diff.git", + "reference": "0464787bfa7cd13576c5a1e318709768798bec6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/nyan-formatters/zipball/4aaef7454dc037208074798a34844e02300c33df", - "reference": "4aaef7454dc037208074798a34844e02300c33df", + "url": "https://api.github.com/repos/phpspec/php-diff/zipball/0464787bfa7cd13576c5a1e318709768798bec6a", + "reference": "0464787bfa7cd13576c5a1e318709768798bec6a", "shasum": "" }, - "require": { - "php": ">=5.3.3", - "phpspec/phpspec": "~2.0", - "whatthejeff/nyancat-scoreboard": "~1.1" - }, - "type": "extension", + "type": "library", "extra": { "branch-alias": { "dev-master": "1.0.x-dev" } }, - "autoload": { - "psr-0": { - "PhpSpec\\NyanFormattersExtension": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Matthew Davis", - "email": "matt@mattdavis.co.uk" - } - ], - "description": "PHPSpec Nyan Formatter Extension", - "homepage": "https://github.com/phpspec/nyan-formatters", - "keywords": [ - "nyan", - "phpspec" - ], - "time": "2014-07-16 13:27:03" - }, - { - "name": "phpspec/php-diff", - "version": "v1.0.2", - "source": { - "type": "git", - "url": "https://github.com/phpspec/php-diff.git", - "reference": "30e103d19519fe678ae64a60d77884ef3d71b28a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpspec/php-diff/zipball/30e103d19519fe678ae64a60d77884ef3d71b28a", - "reference": "30e103d19519fe678ae64a60d77884ef3d71b28a", - "shasum": "" - }, - "type": "library", "autoload": { "psr-0": { "Diff": "lib/" @@ -286,48 +239,46 @@ "authors": [ { "name": "Chris Boulton", - "homepage": "http://github.com/chrisboulton", - "role": "Original developer" + "homepage": "http://github.com/chrisboulton" } ], "description": "A comprehensive library for generating differences between two hashable objects (strings or arrays).", - "time": "2013-11-01 13:02:21" + "time": "2016-04-07 12:29:16" }, { "name": "phpspec/phpspec", - "version": "2.5.8", + "version": "4.2.1", "source": { "type": "git", "url": "https://github.com/phpspec/phpspec.git", - "reference": "d8a153dcb52f929b448c0bf2cc19c7388951adb1" + "reference": "6f0997236f35b7994b8898fba3b5f82f1336fe50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/phpspec/zipball/d8a153dcb52f929b448c0bf2cc19c7388951adb1", - "reference": "d8a153dcb52f929b448c0bf2cc19c7388951adb1", + "url": "https://api.github.com/repos/phpspec/phpspec/zipball/6f0997236f35b7994b8898fba3b5f82f1336fe50", + "reference": "6f0997236f35b7994b8898fba3b5f82f1336fe50", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.0.1", + "doctrine/instantiator": "^1.0.5", "ext-tokenizer": "*", - "php": ">=5.3.3", - "phpspec/php-diff": "~1.0.0", - "phpspec/prophecy": "~1.4", - "sebastian/exporter": "~1.0|~2.0|^3.0", - "symfony/console": "~2.3|~3.0,!=3.2.8", - "symfony/event-dispatcher": "~2.1|~3.0", - "symfony/finder": "~2.1|~3.0", - "symfony/process": "^2.6|~3.0", - "symfony/yaml": "~2.1|~3.0" + "php": "^7.0,<7.3", + "phpspec/php-diff": "^1.0.0", + "phpspec/prophecy": "^1.5", + "sebastian/exporter": "^1.0 || ^2.0 || ^3.0", + "symfony/console": "^3.2", + "symfony/event-dispatcher": "^3.2", + "symfony/finder": "^3.2", + "symfony/process": "^3.2", + "symfony/yaml": "^3.2" }, "require-dev": { - "behat/behat": "^3.0.11,!=3.3.1", - "ciaranmcnulty/versionbasedtestskipper": "^0.2.1", - "phpunit/phpunit": "~4.4", - "symfony/filesystem": "~2.1|~3.0" + "behat/behat": "^3.3", + "phpunit/phpunit": "^5.7|^6.0", + "symfony/filesystem": "^3.2" }, "suggest": { - "phpspec/nyan-formatters": "~1.0 – Adds Nyan formatters" + "phpspec/nyan-formatters": "Adds Nyan formatters" }, "bin": [ "bin/phpspec" @@ -335,7 +286,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.5.x-dev" + "dev-master": "4.2.x-dev" } }, "autoload": { @@ -356,9 +307,13 @@ { "name": "Marcello Duarte", "homepage": "http://marcelloduarte.net/" + }, + { + "name": "Ciaran McNulty", + "homepage": "https://ciaranmcnulty.com/" } ], - "description": "Specification-oriented BDD framework for PHP 5.3+", + "description": "Specification-oriented BDD framework for PHP 5.6+", "homepage": "http://phpspec.net/", "keywords": [ "BDD", @@ -369,7 +324,7 @@ "testing", "tests" ], - "time": "2017-07-29 17:19:38" + "time": "2017-11-10 17:03:02" }, { "name": "phpspec/prophecy", @@ -1165,113 +1120,6 @@ "validate" ], "time": "2016-11-23 20:04:58" - }, - { - "name": "whatthejeff/fab", - "version": "v1.0.0", - "source": { - "type": "git", - "url": "https://github.com/whatthejeff/fab.git", - "reference": "1f9d9cdc354cabda0d7b72b7e2ab5fdfb747b8ef" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/whatthejeff/fab/zipball/1f9d9cdc354cabda0d7b72b7e2ab5fdfb747b8ef", - "reference": "1f9d9cdc354cabda0d7b72b7e2ab5fdfb747b8ef", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "3.7.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-0": { - "Fab": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - } - ], - "description": "Make your output fabulous!", - "homepage": "http://github.com/whatthejeff/fab", - "keywords": [ - "colorful", - "fab", - "fabulous", - "rainbow" - ], - "time": "2013-02-14 01:28:47" - }, - { - "name": "whatthejeff/nyancat-scoreboard", - "version": "v1.1.1", - "source": { - "type": "git", - "url": "https://github.com/whatthejeff/nyancat-scoreboard.git", - "reference": "ab5e68605d4950f299684f4e161d56e96be6994c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/whatthejeff/nyancat-scoreboard/zipball/ab5e68605d4950f299684f4e161d56e96be6994c", - "reference": "ab5e68605d4950f299684f4e161d56e96be6994c", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "whatthejeff/fab": "~1.0" - }, - "require-dev": { - "pear-pear/pear": "1.9.4", - "phpunit/php-code-coverage": "1.3.*@dev", - "phpunit/phpunit": "3.8.*@dev", - "phpunit/phpunit-mock-objects": "1.3.*@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1.x-dev" - } - }, - "autoload": { - "psr-0": { - "NyanCat": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - } - ], - "description": "Nyan Cat Scoreboard", - "homepage": "http://github.com/whatthejeff/nyancat-scoreboard", - "keywords": [ - "cat", - "nyan", - "rainbow", - "scoreboard", - "tests" - ], - "time": "2014-02-12 22:16:49" } ], "packages-dev": [], diff --git a/tests/phpspec.yml b/tests/phpspec.yml index 0f1973c..bc6e869 100644 --- a/tests/phpspec.yml +++ b/tests/phpspec.yml @@ -1,7 +1,4 @@ suites: default: namespace: Nonce - psr4_prefix: Nonce -extensions: - - PhpSpec\NyanFormattersExtension\Extension -formatter.name: nyan.cat + psr4_prefix: Nonce \ No newline at end of file