Skip to content

Commit

Permalink
Revert "[Tests] Move to phpunit 7 & add paratest" (#95)
Browse files Browse the repository at this point in the history
This reverts commit 26b4217.
  • Loading branch information
andrerom committed Apr 30, 2019
1 parent 26b4217 commit 033704a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"ezsystems/ezplatform-richtext": "^1.1"
},
"require-dev": {
"phpunit/phpunit": "^7.5",
"matthiasnoback/symfony-dependency-injection-test": "^3.1.0",
"phpunit/phpunit": "^6.5.9",
"matthiasnoback/symfony-dependency-injection-test": "^2.3.1",
"ezsystems/ezplatform-solr-search-engine": "^1.5.7",
"friendsofphp/php-cs-fixer": "v2.14.2"
},
Expand Down
3 changes: 2 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true">
convertWarningsToExceptions="true"
syntaxCheck="true">
<testsuites>
<testsuite name="XmlText field type unit tests">
<directory suffix="Test.php">./tests/bundle/</directory>
Expand Down
4 changes: 2 additions & 2 deletions tests/lib/FieldType/Converter/MethodCallCountConstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function __construct($expectedCount)
* @return mixed|void
* @throws PHPUnit_Framework_ExpectationFailedException
*/
public function invoked(Invocation $invocation): void
public function invoked(Invocation $invocation)
{
parent::invoked($invocation);

Expand All @@ -62,7 +62,7 @@ public function invoked(Invocation $invocation): void
*
* @return string
*/
public function toString(): string
public function toString()
{
return 'MethodCallCountConstraint';
}
Expand Down

0 comments on commit 033704a

Please sign in to comment.