Skip to content

Commit 976ae13

Browse files
committed
Se actualiza versión de desarrollo a PHP >8.2
1 parent 1940537 commit 976ae13

3 files changed

Lines changed: 2115 additions & 3184 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
php-version: ['7.3', '8.0'] # Puedes cambiar las versiones según necesites
14+
php-version: ['8.2', '8.3'] # Puedes cambiar las versiones según necesites
1515

1616
steps:
1717
- name: Check out repository code
@@ -31,7 +31,7 @@ jobs:
3131
run: |
3232
echo "BHEXPRESS_API_TOKEN=${{ secrets.BHEXPRESS_API_TOKEN }}" >> tests/test.env
3333
echo "BHEXPRESS_EMISOR_RUT=${{ secrets.BHEXPRESS_EMISOR_RUT }}" >> tests/test.env
34-
34+
3535
- name: Run PHP tests read only
3636
run: |
3737
composer tests_readonly
@@ -44,4 +44,4 @@ jobs:
4444
path: var/tests-testdox.txt
4545

4646
- name: Display PHP version
47-
run: php -v
47+
run: php -v

composer.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,15 @@
1515
"issues": "https://github.com/BHExpress/bhexpress-api-client-php/issues",
1616
"source": "https://github.com/BHExpress/bhexpress-api-client-php"
1717
},
18-
"config": {
19-
"platform": {
20-
"php": "7.3"
21-
}
22-
},
2318
"require": {
24-
"php": "^7.3 || ^8.0",
19+
"php": "^8.2",
2520
"guzzlehttp/guzzle": "^7"
2621
},
2722
"require-dev": {
28-
"phpdocumentor/phpdocumentor": "^2.9",
29-
"phpunit/phpunit": "^9.2",
30-
"vlucas/phpdotenv": "^5.6"
23+
"ext-xdebug": "*",
24+
"friendsofphp/php-cs-fixer": "^3.63",
25+
"phpstan/phpstan": "^1.12",
26+
"phpunit/phpunit": "^11.4"
3127
},
3228
"autoload": {
3329
"psr-4": {"bhexpress\\api_client\\": "src/"}

0 commit comments

Comments
 (0)