Skip to content

Commit f8cae53

Browse files
author
Petr Gala
authored
Merge pull request #15 from peckadesign/podpora_php8.2-v1
Podpora pro php 8.2
2 parents 976da85 + c814eb0 commit f8cae53

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
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, 8.1 ]
12+
php: [ 7.4, 8.0, 8.1, 8.2 ]
1313
steps:
1414
- uses: actions/checkout@v2
1515
- uses: shivammathur/setup-php@v2

composer.json

+9-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
}
1010
],
1111
"require": {
12-
"php": "7.4.* || 8.0.* || 8.1.*",
12+
"php": "^7.4|^8.0",
1313
"ext-mbstring": "*",
14-
"nette/utils": "~2.5.4|~3.0.0|~3.1.0|~3.2.0",
15-
"nette/di": "~2.4.14|~3.0.0",
16-
"nette/neon": "~2.4.3|~3.0"
14+
"nette/utils": "^3.0",
15+
"nette/di": "^3.0",
16+
"nette/neon": "^3.0"
1717
},
1818
"require-dev": {
1919
"nette/tester": "2.3.*",
@@ -29,6 +29,10 @@
2929
"psr-4": {
3030
"PdTests\\Holidays\\": "tests"
3131
}
32+
},
33+
"config": {
34+
"allow-plugins": {
35+
"dealerdirect/phpcodesniffer-composer-installer": true
36+
}
3237
}
33-
3438
}

src/DI/Extension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function loadConfiguration()
2121
}
2222

2323

24-
private function addLocalization(\Nette\DI\ServiceDefinition $holidayFacade, string $localizationClass, string $countryCode): void
24+
private function addLocalization(\Nette\DI\Definitions\ServiceDefinition $holidayFacade, string $localizationClass, string $countryCode): void
2525
{
2626
$builder = $this->getContainerBuilder();
2727
$countryCodePrefix = \Nette\Utils\Strings::lower($countryCode);

0 commit comments

Comments
 (0)