Skip to content

Commit f307b64

Browse files
authored
Merge pull request #112 from lolli42/lolli-1
[TASK] Allow PHP 8
2 parents f626998 + ffc02d9 commit f307b64

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
php-versions:
14-
- "7.0"
15-
- "7.1"
1614
- "7.2"
1715
- "7.3"
1816
- "7.4"
17+
- "8.0"
1918
composer-versions:
2019
- "v1"
2120
- "v2"

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
"netresearch/composer-installers": "*"
3939
},
4040
"require": {
41-
"php": ">=7.0.0 <7.5",
41+
"php": "^7.2 || ^8.0",
4242
"composer-plugin-api": "^1.0.0 || ^2.0.0"
4343
},
4444
"require-dev": {
4545
"composer/composer": "1.2.*@dev || 2.0.*@dev",
4646
"overtrue/phplint": "^2.0",
47-
"phpunit/phpunit": "^6.5"
47+
"phpunit/phpunit": "^8.5"
4848
},
4949
"conflict": {
5050
"composer/installers": "<1.0.24 || >1.0.24"

tests/Installer/InstallerTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class InstallerTestCase extends TestCase
6262
*/
6363
protected $io;
6464

65-
protected function setUp()
65+
protected function setUp(): void
6666
{
6767
$this->previousDirectory = getcwd();
6868
$this->rootDirectory = TestCase::getUniqueTmpDirectory();
@@ -87,7 +87,7 @@ protected function setUp()
8787
$this->io = $this->createMock(IOInterface::class);
8888
}
8989

90-
protected function tearDown()
90+
protected function tearDown(): void
9191
{
9292
chdir($this->previousDirectory);
9393
if (is_dir($this->rootDirectory)) {

0 commit comments

Comments
 (0)