Skip to content

Commit a2dfeb2

Browse files
committed
Upgrade composer packages and docker-compose syntax
1 parent 4a3d80c commit a2dfeb2

5 files changed

Lines changed: 6 additions & 8 deletions

File tree

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@
2020
},
2121
"require-dev": {
2222
"ext-xdebug": "*",
23-
"apigen/apigen": "dev-master#85290e8",
2423
"framework/coding-standard": "dev-master",
25-
"localheinz/composer-normalize": "^1.1",
24+
"localheinz/composer-normalize": "^1.2",
2625
"phpmd/phpmd": "^2.6",
2726
"phpstan/phpstan": "^0.11",
28-
"phpunit/phpunit": "^7.5"
27+
"phpunit/phpunit": "^8.2"
2928
},
3029
"autoload": {
3130
"psr-4": {

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
---
21
version: "3"
32
services:
43
package:

tests/SaveHandlers/CacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
class CacheTest extends AbstractHandler
1212
{
13-
public function setUp()
13+
public function setUp() : void
1414
{
1515
$directory = \getenv('CACHE_DIR');
1616
\exec('rm -rf ' . $directory);

tests/SaveHandlers/DatabaseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function __construct(...$params)
2020
parent::__construct(...$params);
2121
}
2222

23-
public function setUp()
23+
public function setUp() : void
2424
{
2525
$this->handler = new \Framework\Session\SaveHandlers\Database(
2626
static::$database,

tests/SessionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ class SessionTest extends TestCase
1919
*/
2020
protected $handler;
2121

22-
public function setUp()
22+
public function setUp() : void
2323
{
2424
$this->session = new Session(['name' => 'SessionName'], $this->handler);
2525
$this->session->start();
2626
}
2727

28-
protected function tearDown()
28+
protected function tearDown() : void
2929
{
3030
$this->session->destroy();
3131
$this->session = null;

0 commit comments

Comments
 (0)