Skip to content

Commit 7aa20a3

Browse files
authored
Merge pull request #11 from veewee/php84
Bump dependencies
2 parents c963df2 + c96eddc commit 7aa20a3

File tree

10 files changed

+18
-11
lines changed

10 files changed

+18
-11
lines changed

.github/workflows/analyzers.yaml

+2-1
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

+2-1
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

+3-2
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="psalm" version="^5.16.0" installed="5.16.0" location="./tools/psalm.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="psalm" version="^5.16.0" installed="5.26.1" location="./tools/psalm.phar" copy="true"/>
4+
<phar name="php-cs-fixer" version="^3.13.0" installed="3.64.0" location="./tools/php-cs-fixer.phar" copy="true"/>
55
</phive>

.php-cs-fixer.dist.php

+1
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

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
}
2121
],
2222
"require": {
23-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
23+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
2424
"ext-dom": "*",
25-
"veewee/xml": "^2.2 || ^3.0"
25+
"veewee/xml": "^3.0"
2626
},
2727
"require-dev": {
28-
"phpunit/phpunit": "^9.5"
28+
"phpunit/phpunit": "^10.0"
2929
}
3030
}

phpunit.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
1+
<phpunit bootstrap="./tests/bootstrap.php" colors="true"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4+
displayDetailsOnPhpunitDeprecations="true">
25
<testsuites>
36
<testsuite name="Unit">
47
<directory>./tests/Unit</directory>

tests/Unit/XmlnsTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function test_it_knows_some_xmlnses(callable $factory, string $uri): void
2020
static::assertSame($xmlns->value(), $uri);
2121
}
2222

23-
public function provideKnownXmlnses()
23+
public static function provideKnownXmlnses()
2424
{
2525
yield 'wsdl' => [
2626
static fn () => Xmlns::wsdl(),

tools/php-cs-fixer.phar

456 KB
Binary file not shown.

tools/psalm.phar

136 KB
Binary file not shown.

0 commit comments

Comments
 (0)