Downgrade PHPUnit to version 6.5.14 and return PHP versions 7.0/7.1

This commit is contained in:
gridnev 2020-02-17 10:22:49 +03:00
parent c92b57b15f
commit 2b41d9fe15
3 changed files with 4 additions and 3 deletions

View File

@ -5,9 +5,10 @@ install:
- mkdir -p build/logs - mkdir -p build/logs
php: php:
- 7.0
- 7.1
- 7.2 - 7.2
- 7.3 - 7.3
- 7.4
script: script:
- ./vendor/bin/phpunit - ./vendor/bin/phpunit

View File

@ -6,7 +6,7 @@
"php": "^7.0.0" "php": "^7.0.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^8.5.2", "phpunit/phpunit": "6.5.14",
"satooshi/php-coveralls": "^1.0.1", "satooshi/php-coveralls": "^1.0.1",
"codacy/coverage": "^1.0.3" "codacy/coverage": "^1.0.3"
}, },

View File

@ -20,7 +20,7 @@ class EditableEmailTest extends TestCase
$editable = new EditableEmail($email); $editable = new EditableEmail($email);
$new = $editable->removeFromLocalPart($toRemove); $new = $editable->removeFromLocalPart($toRemove);
$this->assertNotSame($editable, $new); $this->assertNotSame($editable, $new);
$this->assertStringNotContainsString((string) $new, $toRemove); $this->assertNotContains((string) $new, $toRemove);
$this->assertSame($email->getDomain(), $new->getDomain()); $this->assertSame($email->getDomain(), $new->getDomain());
} }