Skip to content

Commit 2dd595a

Browse files
authored
Merge pull request #94 from Jakub-Fajkus/php-81
PHP 8.1
2 parents 143e022 + 0df42b7 commit 2dd595a

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/php-package-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
php: [ 7.4, 8.0 ]
12+
php: [ 7.4, 8.0, 8.1 ]
1313
steps:
1414
- uses: actions/checkout@v2
1515
- uses: shivammathur/setup-php@v2

composer.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
"nette/routing": "^3.0.0",
2323
"tracy/tracy": "^2.8 || ^3.0",
2424
"nette/utils": "^3.1",
25-
"symfony/console": "~2.3 || ^3.0 || < 4.3"
25+
"symfony/console": "~2.3 || ^3.0 || < 4.5"
2626
},
2727
"require-dev": {
2828
"nette/application": "^3.0",
2929
"nette/bootstrap": "^3.0",
3030
"nette/caching": "^3.0",
3131
"nette/http": "^3.0",
32-
"kdyby/events": "dev-patch-1 as 3.2.99",
33-
"symfony/event-dispatcher": "~2.3 || ^3.0 || < 4.3",
32+
"kdyby/events": "^5.0",
33+
"symfony/event-dispatcher": "~2.3 || ^3.0 || < 4.5",
3434

3535
"nette/tester": "^2.2",
3636
"phpstan/phpstan": "^0.12.88",
@@ -58,15 +58,15 @@
5858
"tests/KdybyTests/"
5959
]
6060
},
61-
"repositories": [
62-
{
63-
"type": "vcs",
64-
"url": "https://github.com/dakorpar/Events.git"
65-
}
66-
],
6761
"extra": {
6862
"branch-alias": {
6963
"dev-master": "2.8-dev"
7064
}
65+
},
66+
"config": {
67+
"allow-plugins": {
68+
"dealerdirect/phpcodesniffer-composer-installer": true,
69+
"typo3/class-alias-loader": true
70+
}
7171
}
7272
}

tests/KdybyTests/Console/data/ConsoleListener.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class ConsoleListener implements \Kdyby\Events\Subscriber
2424
public function getSubscribedEvents()
2525
{
2626
return [
27-
ConsoleEvents::COMMAND,
28-
ConsoleEvents::TERMINATE,
27+
ConsoleEvents::COMMAND => 'command',
28+
ConsoleEvents::TERMINATE => 'terminate',
2929
];
3030
}
3131

0 commit comments

Comments
 (0)