Skip to content

Commit

Permalink
Merge pull request #94 from Jakub-Fajkus/php-81
Browse files Browse the repository at this point in the history
PHP 8.1
  • Loading branch information
Spamercz authored Feb 4, 2022
2 parents 143e022 + 0df42b7 commit 2dd595a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php-package-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ 7.4, 8.0 ]
php: [ 7.4, 8.0, 8.1 ]
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
Expand Down
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
"nette/routing": "^3.0.0",
"tracy/tracy": "^2.8 || ^3.0",
"nette/utils": "^3.1",
"symfony/console": "~2.3 || ^3.0 || < 4.3"
"symfony/console": "~2.3 || ^3.0 || < 4.5"
},
"require-dev": {
"nette/application": "^3.0",
"nette/bootstrap": "^3.0",
"nette/caching": "^3.0",
"nette/http": "^3.0",
"kdyby/events": "dev-patch-1 as 3.2.99",
"symfony/event-dispatcher": "~2.3 || ^3.0 || < 4.3",
"kdyby/events": "^5.0",
"symfony/event-dispatcher": "~2.3 || ^3.0 || < 4.5",

"nette/tester": "^2.2",
"phpstan/phpstan": "^0.12.88",
Expand Down Expand Up @@ -58,15 +58,15 @@
"tests/KdybyTests/"
]
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/dakorpar/Events.git"
}
],
"extra": {
"branch-alias": {
"dev-master": "2.8-dev"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"typo3/class-alias-loader": true
}
}
}
4 changes: 2 additions & 2 deletions tests/KdybyTests/Console/data/ConsoleListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class ConsoleListener implements \Kdyby\Events\Subscriber
public function getSubscribedEvents()
{
return [
ConsoleEvents::COMMAND,
ConsoleEvents::TERMINATE,
ConsoleEvents::COMMAND => 'command',
ConsoleEvents::TERMINATE => 'terminate',
];
}

Expand Down

0 comments on commit 2dd595a

Please sign in to comment.