Skip to content

Commit 862399d

Browse files
committed
require php >= 8.1
1 parent a14d115 commit 862399d

File tree

8 files changed

+23
-78
lines changed

8 files changed

+23
-78
lines changed

.github/workflows/coding-standards.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
push:
88
branches:
9-
- "1.x.x"
9+
- "3.x.x"
1010

1111
jobs:
1212
coding-standards:
@@ -20,6 +20,7 @@ jobs:
2020
- "locked"
2121
php-version:
2222
- "8.1"
23+
- "8.2"
2324
operating-system:
2425
- "ubuntu-latest"
2526

.github/workflows/mutation-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
push:
88
branches:
9-
- "1.x.x"
9+
- "3.x.x"
1010

1111
jobs:
1212
mutation-tests:
@@ -20,6 +20,7 @@ jobs:
2020
- "locked"
2121
php-version:
2222
- "8.1"
23+
- "8.2"
2324
operating-system:
2425
- "ubuntu-latest"
2526

.github/workflows/phpunit.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
push:
88
branches:
9-
- "1.x.x"
9+
- "3.x.x"
1010

1111
jobs:
1212
phpunit:
@@ -20,6 +20,7 @@ jobs:
2020
- "locked"
2121
php-version:
2222
- "8.1"
23+
- "8.2"
2324
operating-system:
2425
- "ubuntu-latest"
2526

.github/workflows/psalm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
push:
88
branches:
9-
- "1.x.x"
9+
- "3.x.x"
1010

1111
jobs:
1212
static-analysis-psalm:
@@ -20,6 +20,7 @@ jobs:
2020
- "locked"
2121
php-version:
2222
- "8.1"
23+
- "8.2"
2324
operating-system:
2425
- "ubuntu-latest"
2526

.github/workflows/release-on-milestone-closed.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

composer.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@
1414
}
1515
],
1616
"require": {
17-
"php": ">=8.1",
18-
"antidot-fw/framework": "^2.0.0BETA1",
17+
"php": "~8.1.0 || ~8.2.0",
18+
"antidot-fw/framework": "^2.0.0",
19+
"laminas/laminas-httphandlerrunner": "^2.6",
1920
"nyholm/psr7": "^1.4",
2021
"nyholm/psr7-server": "^1.0",
2122
"psr/http-server-middleware": "^1.0",
2223
"react/http": "^1.5",
23-
"symfony/runtime": "^5.3"
24+
"symfony/runtime": "^5.3 || ^6.3"
2425
},
2526
"require-dev": {
26-
"infection/infection": "^0.25",
2727
"phpro/grumphp": "^1.0",
2828
"phpstan/phpstan": "^1.2",
2929
"phpunit/phpunit": "^9.0",
30-
"roave/infection-static-analysis-plugin": "^1.10",
30+
"roave/infection-static-analysis-plugin": "^1.32",
3131
"squizlabs/php_codesniffer": "^3.4",
3232
"symfony/var-dumper": "^5.0",
3333
"vimeo/psalm": "^4.0.0"
@@ -58,6 +58,11 @@
5858
"test": "phpunit --colors=always"
5959
},
6060
"config": {
61-
"sort-packages": true
61+
"sort-packages": true,
62+
"allow-plugins": {
63+
"infection/extension-installer": true,
64+
"phpro/grumphp": true,
65+
"symfony/runtime": true
66+
}
6267
}
6368
}

psalm.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0"?>
22
<psalm
3-
totallyTyped="false"
43
errorLevel="1"
54
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
65
xmlns="https://getpsalm.org/schema/config"

test/SyncRunnerTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ final class SyncRunnerTest extends TestCase
2020
public function testItShouldEmitApplicationResponse(): void
2121
{
2222
$container = $this->createMock(ContainerInterface::class);
23+
$container->expects(self::once())
24+
->method('has')
25+
->with('test_middleware')
26+
->willReturn(true);
2327
$container->expects(self::once())
2428
->method('get')
2529
->with('test_middleware')

0 commit comments

Comments
 (0)