TASK: Update to TYPO3 CMS 9.5 and PHPUnit 8.0

This commit is contained in:
Daniel Siepmann 2019-02-01 09:43:09 +01:00
parent a507875d28
commit 37dc2c7821
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 10 additions and 8 deletions

View file

@ -40,7 +40,7 @@ class FrontendUserControllerTest extends TestCase
*/
protected $viewMock;
public function setUp()
public function setUp(): void
{
$this->subject = new FrontendUserController();
$this->viewMock = $this->getMockBuilder(ViewInterface::class)->getMock();

View file

@ -15,15 +15,15 @@
}
},
"require": {
"typo3/cms-core": "^8.7"
"typo3/cms-core": "^9.5",
"typo3/cms-extbase": "^9.5"
},
"require-dev": {
"phpunit/phpunit": "^8.0"
},
"extra": {
"typo3/cms": {
"web-dir": "web"
}
},
"require-dev": {
"phpunit/phpunit": "^6.5",
"infection/infection": "^0.9.0"
}
}

View file

@ -42,8 +42,6 @@ Installation development dependencies using composer::
This also includes PHPUnit, see: composer.json
We use 6.x to support PHP 7.0.
Check installation::
./vendor/bin/phpunit --version
@ -58,6 +56,10 @@ Links:
* https://packagist.org/packages/phpunit/phpunit
.. note::
The concrete PHPUnit version also depends on your current PHP Version.
Create first test
-----------------