Skip to content

Commit 6140d29

Browse files
authored
Merge pull request #24 from veewee/php84
Bump dependencies
2 parents 8975e4f + de52583 commit 6140d29

19 files changed

+44
-38
lines changed

.github/workflows/analyzers.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ jobs:
77
strategy:
88
matrix:
99
operating-system: [ubuntu-latest]
10-
php-versions: ['8.1', '8.2', '8.3']
10+
php-versions: ['8.2', '8.3', '8.4']
11+
composer-options: ['--ignore-platform-req=php+']
1112
fail-fast: false
1213
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
1314
steps:

.github/workflows/code-style.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ jobs:
77
strategy:
88
matrix:
99
operating-system: [ubuntu-latest]
10-
php-versions: ['8.1', '8.2', '8.3']
10+
php-versions: ['8.2', '8.3', '8.4']
11+
composer-options: ['--ignore-platform-req=php+']
1112
fail-fast: false
1213
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
1314
steps:

.github/workflows/tests.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ jobs:
77
strategy:
88
matrix:
99
operating-system: [ubuntu-latest]
10-
php-versions: ['8.1', '8.2', '8.3']
10+
php-versions: ['8.2', '8.3', '8.4']
11+
composer-options: ['--ignore-platform-req=php+']
1112
fail-fast: false
1213
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
1314
steps:
@@ -20,6 +21,6 @@ jobs:
2021
tools: 'composer:v2'
2122
extensions: pcov, mbstring, posix, dom, soap
2223
- name: Install dependencies
23-
run: composer update --prefer-dist --no-progress --no-suggest
24+
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
2425
- name: Run the tests
2526
run: ./vendor/bin/phpunit

.phive/phars.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="php-cs-fixer" version="^3.13.0" installed="3.39.0" location="./tools/php-cs-fixer.phar" copy="true"/>
3+
<phar name="php-cs-fixer" version="^3.13.0" installed="3.64.0" location="./tools/php-cs-fixer.phar" copy="true"/>
44
</phive>

.php-cs-fixer.dist.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,6 @@
5353
'static_lambda' => true,
5454
'strict_comparison' => true,
5555
'strict_param' => true,
56+
'nullable_type_declaration_for_default_null_value' => true,
5657
])
5758
;

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@
2626
"sort-packages": true
2727
},
2828
"require": {
29-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
29+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
3030
"ext-dom": "*",
31-
"azjezz/psl": "^2.1",
31+
"azjezz/psl": "^3.0",
3232
"league/uri": "^7.0",
3333
"league/uri-components": "^7.0",
34-
"php-soap/xml": "^1.4",
34+
"php-soap/xml": "^1.8",
3535
"symfony/console": "^5.4 || ^6.0 || ^7.0",
36-
"veewee/xml": "~2.2 || ~3.0"
36+
"veewee/xml": "~3.0"
3737
},
3838
"require-dev": {
39-
"phpunit/phpunit": "^9.5",
39+
"phpunit/phpunit": "^10.5",
4040
"psalm/plugin-symfony": "^5.0",
41-
"vimeo/psalm": "^5.9.0"
41+
"vimeo/psalm": "^5.26.0"
4242
}
4343
}

phpunit.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<phpunit
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4+
displayDetailsOnPhpunitDeprecations="true"
25
bootstrap="./tests/bootstrap.php"
36
colors="true"
4-
convertDeprecationsToExceptions="false"
57
>
68
<testsuites>
79
<testsuite name="Unit">

src/Console/Command/FlattenCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
5656

5757
$style->info('Downloaded the WSDL. Writing it to "'.$output.'".');
5858

59-
File\write($output, $contents, WriteMode::TRUNCATE);
59+
File\write($output, $contents, WriteMode::Truncate);
6060

6161
$style->success('Succesfully flattened your WSDL!');
6262

src/Console/Helper/ConfiguredLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class ConfiguredLoader
1919
*
2020
* @psalm-suppress UnresolvableInclude - Including dynamic includes is acutally the goal :)
2121
*/
22-
public static function createFromConfig(?string $file, callable $configurator = null): WsdlLoader
22+
public static function createFromConfig(?string $file, ?callable $configurator = null): WsdlLoader
2323
{
2424
$loader = new StreamWrapperLoader();
2525

src/Exception/UnloadableWsdlException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
final class UnloadableWsdlException extends RuntimeException
1111
{
12-
protected function __construct(string $message = "", int $code = 0, Throwable $previous = null)
12+
protected function __construct(string $message = "", int $code = 0, ?Throwable $previous = null)
1313
{
1414
parent::__construct($message, $code, $previous);
1515
}

0 commit comments

Comments
 (0)