Skip to content

Commit c3163a1

Browse files
authored
Merge pull request #36 from veewee/php84
Bump dependencies
2 parents 33c96b0 + 1964aa3 commit c3163a1

File tree

10 files changed

+37
-101294
lines changed

10 files changed

+37
-101294
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' ]
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: 4 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
dependency-preference: ['current', 'lowest', 'stable']
1213
fail-fast: false
1314
name: PHP ${{ matrix.php-versions }} ${{ matrix.dependency-preference }} deps @ ${{ matrix.operating-system }}
@@ -21,6 +22,7 @@ jobs:
2122
tools: 'composer:v2'
2223
extensions: pcov, mbstring, posix, dom, soap
2324
- name: Install dependencies
24-
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.dependency-preference == 'lowest' && '--prefer-lowest' || '' }} ${{ matrix.dependency-preference == 'stable' && '--prefer-stable' || '' }}
25+
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.dependency-preference == 'lowest' && '--prefer-lowest' || '' }} ${{ matrix.dependency-preference == 'stable' && '--prefer-stable' || '' }} ${{ matrix.composer-options }}
2526
- name: Run the tests
2627
run: ./vendor/bin/phpunit
28+
continue-on-error: ${{ matrix.php-versions == '8.4'}}

.phive/phars.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="phpunit" version="^9.5.23" installed="9.6.13" location="./tools/phpunit.phar" copy="true"/>
4-
<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"/>
54
</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
@@ -13,14 +13,14 @@
1313
}
1414
},
1515
"require": {
16-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
16+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
1717
"ext-dom": "*",
1818
"goetas-webservices/xsd-reader": "^0.4.6",
19-
"php-soap/engine": "^2.10.1",
20-
"php-soap/wsdl": "^1.4",
21-
"php-soap/xml": "^1.6.0",
19+
"php-soap/engine": "^2.13",
20+
"php-soap/wsdl": "^1.10",
21+
"php-soap/xml": "^1.8.0",
2222
"veewee/xml": "^3.0",
23-
"azjezz/psl": "^2.4",
23+
"azjezz/psl": "^3.0",
2424
"symfony/console": "^5.4 || ^6.0 || ^7.0",
2525
"webmozart/assert": "^1.11"
2626
},
@@ -29,7 +29,7 @@
2929
"php-soap/engine-integration-tests": "^1.5.0",
3030
"psalm/plugin-symfony": "^5.0",
3131
"php-standard-library/psalm-plugin": "^2.2",
32-
"vimeo/psalm": "^5.6",
32+
"vimeo/psalm": "^5.26",
3333
"phpunit/phpunit": "^10.1"
3434
},
3535
"license": "MIT",

phpunit.xml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd" bootstrap="tests/bootstrap.php" executionOrder="random" beStrictAboutOutputDuringTests="false" failOnRisky="true" failOnWarning="true" cacheDirectory=".phpunit.cache" requireCoverageMetadata="false" beStrictAboutCoverageMetadata="false">
3-
<testsuites>
4-
<testsuite name="unit">
5-
<directory suffix="Test.php">tests/Unit</directory>
6-
</testsuite>
7-
<testsuite name="compatibility">
8-
<directory suffix=".phpt">tests/PhpCompatibility</directory>
9-
</testsuite>
10-
<testsuite name="integration">
11-
<directory suffix="Test.php">tests/Integration</directory>
12-
</testsuite>
13-
</testsuites>
14-
<coverage/>
15-
<source>
16-
<include>
17-
<directory suffix=".php">src</directory>
18-
</include>
19-
</source>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd" bootstrap="tests/bootstrap.php"
4+
executionOrder="random" beStrictAboutOutputDuringTests="false" failOnRisky="true" failOnWarning="true"
5+
cacheDirectory=".phpunit.cache" requireCoverageMetadata="false" beStrictAboutCoverageMetadata="false">
6+
<testsuites>
7+
<testsuite name="unit">
8+
<directory suffix="Test.php">tests/Unit</directory>
9+
</testsuite>
10+
<testsuite name="compatibility">
11+
<directory suffix=".phpt">tests/PhpCompatibility</directory>
12+
</testsuite>
13+
<testsuite name="integration">
14+
<directory suffix="Test.php">tests/Integration</directory>
15+
</testsuite>
16+
</testsuites>
17+
<coverage/>
18+
<source>
19+
<include>
20+
<directory suffix=".php">src</directory>
21+
</include>
22+
</source>
2023
</phpunit>

src/Metadata/Converter/Types/Detector/NamedAttributesDetector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ private function flattenContainer(AttributeItem $current): array
4343
$current->getAttributes(),
4444
/**
4545
* @param list<AttributeItem> $carry
46-
* @param AttributeItem $attribute
4746
*
4847
* @return list<AttributeItem>
4948
*/

tools/php-cs-fixer.phar

456 KB
Binary file not shown.

0 commit comments

Comments
 (0)