Update collision to v2 and add phpunit support

This commit is contained in:
Jonny Barnes 2018-02-19 13:43:48 +00:00
parent c426ef078c
commit bedfa2dc0e
3 changed files with 18 additions and 14 deletions

View file

@ -40,7 +40,7 @@
"jakub-onderka/php-parallel-lint": "^0.9.2", "jakub-onderka/php-parallel-lint": "^0.9.2",
"laravel/dusk": "^3.0", "laravel/dusk": "^3.0",
"mockery/mockery": "~1.0", "mockery/mockery": "~1.0",
"nunomaduro/collision": "^1.1", "nunomaduro/collision": "^2.0",
"phpunit/phpunit": "~7.0", "phpunit/phpunit": "~7.0",
"symfony/thanks": "~1.0" "symfony/thanks": "~1.0"
}, },

27
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "29bd1c9eb818792be63df2236acbc433", "content-hash": "aed3eb2290fa82e4a26de954e94f2230",
"packages": [ "packages": [
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
@ -5499,26 +5499,27 @@
}, },
{ {
"name": "nunomaduro/collision", "name": "nunomaduro/collision",
"version": "v1.1.22", "version": "v2.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nunomaduro/collision.git", "url": "https://github.com/nunomaduro/collision.git",
"reference": "236609bd5a067587f600bc55c5d683b840798b22" "reference": "4e310ef9384f53ee8dda8736afb3cbaf320753a0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nunomaduro/collision/zipball/236609bd5a067587f600bc55c5d683b840798b22", "url": "https://api.github.com/repos/nunomaduro/collision/zipball/4e310ef9384f53ee8dda8736afb3cbaf320753a0",
"reference": "236609bd5a067587f600bc55c5d683b840798b22", "reference": "4e310ef9384f53ee8dda8736afb3cbaf320753a0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"filp/whoops": "^2.1.4", "filp/whoops": "^2.1.4",
"jakub-onderka/php-console-highlighter": "0.3.*",
"php": "^7.1", "php": "^7.1",
"symfony/console": "~2.8|~3.3|~4.0" "symfony/console": "~2.8|~3.3|~4.0"
}, },
"require-dev": { "require-dev": {
"laravel/framework": "5.5.*", "laravel/framework": "5.6.*",
"phpunit/phpunit": "~6.5" "phpunit/phpunit": "~7.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@ -5556,7 +5557,7 @@
"php", "php",
"symfony" "symfony"
], ],
"time": "2018-02-07T10:42:20+00:00" "time": "2018-02-18T12:29:27+00:00"
}, },
{ {
"name": "phar-io/manifest", "name": "phar-io/manifest",
@ -5814,16 +5815,16 @@
}, },
{ {
"name": "phpspec/prophecy", "name": "phpspec/prophecy",
"version": "1.7.4", "version": "1.7.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpspec/prophecy.git", "url": "https://github.com/phpspec/prophecy.git",
"reference": "9f901e29c93dae4aa77c0bb161df4276f9c9a1be" "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/9f901e29c93dae4aa77c0bb161df4276f9c9a1be", "url": "https://api.github.com/repos/phpspec/prophecy/zipball/dfd6be44111a7c41c2e884a336cc4f461b3b2401",
"reference": "9f901e29c93dae4aa77c0bb161df4276f9c9a1be", "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5873,7 +5874,7 @@
"spy", "spy",
"stub" "stub"
], ],
"time": "2018-02-11T18:49:29+00:00" "time": "2018-02-19T10:16:54+00:00"
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",

View file

@ -22,6 +22,9 @@
<directory suffix=".php">./app</directory> <directory suffix=".php">./app</directory>
</whitelist> </whitelist>
</filter> </filter>
<listeners>
<listener class="NunoMaduro\Collision\Adapters\Phpunit\Listener" />
</listeners>
<php> <php>
<env name="APP_ENV" value="testing"/> <env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/> <env name="CACHE_DRIVER" value="array"/>