diff --git a/composer.json b/composer.json index fa362908..d2b30f4c 100644 --- a/composer.json +++ b/composer.json @@ -18,8 +18,8 @@ "ezsystems/ezplatform-richtext": "^1.1" }, "require-dev": { - "phpunit/phpunit": "^6.5.9", - "matthiasnoback/symfony-dependency-injection-test": "^2.3.1", + "phpunit/phpunit": "^7.5", + "matthiasnoback/symfony-dependency-injection-test": "^3.1.0", "ezsystems/ezplatform-solr-search-engine": "^1.5.7", "friendsofphp/php-cs-fixer": "v2.14.2" }, diff --git a/phpunit.xml b/phpunit.xml index 786c7e36..9966e81b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -3,8 +3,7 @@ colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" - convertWarningsToExceptions="true" - syntaxCheck="true"> + convertWarningsToExceptions="true"> ./tests/bundle/ diff --git a/tests/lib/FieldType/Converter/MethodCallCountConstraint.php b/tests/lib/FieldType/Converter/MethodCallCountConstraint.php index 10fe9dc6..388ed3f1 100644 --- a/tests/lib/FieldType/Converter/MethodCallCountConstraint.php +++ b/tests/lib/FieldType/Converter/MethodCallCountConstraint.php @@ -44,7 +44,7 @@ public function __construct($expectedCount) * @return mixed|void * @throws PHPUnit_Framework_ExpectationFailedException */ - public function invoked(Invocation $invocation) + public function invoked(Invocation $invocation): void { parent::invoked($invocation); @@ -62,7 +62,7 @@ public function invoked(Invocation $invocation) * * @return string */ - public function toString() + public function toString(): string { return 'MethodCallCountConstraint'; }