Skip to content

Commit 8261f92

Browse files
authored
Update to PHP 8.5 (#4470)
2 parents 5bdf7e2 + 9a1ca27 commit 8261f92

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-phar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup PHP
2727
uses: shivammathur/setup-php@v2
2828
with:
29-
php-version: '8.3'
29+
php-version: '8.5'
3030
tools: composer
3131
extensions: json, yaml
3232

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
},
1717
"require": {
18-
"php": "^8.3",
18+
"php": "^8.5",
1919
"commerceguys/intl": "^2.0",
2020
"symfony/config": "^7.4",
2121
"symfony/console": "^7.4",

src/Input/InteractiveInputCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ private function collectCoreFields(SymfonyStyle $io, int $domainId): CoreDomainC
115115
type: $io->choice(
116116
'Domain type',
117117
CoreDomainConfigValidator::SUPPORTED_DOMAIN_TYPES,
118-
CoreDomainConfigValidator::SUPPORTED_DOMAIN_TYPES[array_key_first(CoreDomainConfigValidator::SUPPORTED_DOMAIN_TYPES)],
118+
array_first(CoreDomainConfigValidator::SUPPORTED_DOMAIN_TYPES),
119119
),
120120
currencyCode: $io->ask(
121121
'Currency code (e.g., EUR, CZK)',

0 commit comments

Comments
 (0)