Skip to content

Commit 2991ae2

Browse files
committed
Fix travis build script
This fixes: - Could not parse version constraint :~1.5.0 - Whitespace in ReferencePreservingRevealer - Remove accidentially added SandboxTest - Tests don't run under PHP-5.5 due to PHPUnit-5 dependency
1 parent 03bf5d5 commit 2991ae2

File tree

4 files changed

+3
-137
lines changed

4 files changed

+3
-137
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ matrix:
2727
- php: hhvm
2828

2929
install:
30-
- composer require phpspec/prophecy :${PROPHECY_VERSION}
30+
- composer require phpspec/prophecy:${PROPHECY_VERSION}
3131
- composer require squizlabs/php_codesniffer
3232
- composer require phpmd/phpmd
3333

classes/ReferencePreservingRevealer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct(RevealerInterface $revealer)
3131
}
3232

3333
/**
34-
* @SuppressWarnings(PHPMD)
34+
* @SuppressWarnings(PHPMD)
3535
*/
3636
public function reveal($value)
3737
{

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"phpspec/prophecy": "^1"
2626
},
2727
"require-dev": {
28-
"phpunit/phpunit": "^5"
28+
"phpunit/phpunit": "^4|^5"
2929
},
3030
"archive": {
3131
"exclude": ["/tests"]

tests/SandboxTest.php

Lines changed: 0 additions & 134 deletions
This file was deleted.

0 commit comments

Comments
 (0)