Skip to content

Commit 06b84d6

Browse files
committed
Fix PHP upgrade errors
1 parent 3fa68cd commit 06b84d6

File tree

7 files changed

+7
-10
lines changed

7 files changed

+7
-10
lines changed

.github/workflows/analyzers.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
operating-system: [ubuntu-latest]
10-
php-versions: ['8.3', '8.4']
10+
php-versions: ['8.3', '8.4', '8.5']
1111
composer-options: ['--ignore-platform-req=php+']
1212
fail-fast: false
1313
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
@@ -23,4 +23,4 @@ jobs:
2323
- name: Install dependencies
2424
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
2525
- name: Run the tests
26-
run: ./tools/psalm.phar
26+
run: ./vendor/bin/psalm

.github/workflows/code-style.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
- name: Install dependencies
2424
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
2525
- name: Run the tests
26-
run: PHP_CS_FIXER_IGNORE_ENV=1 ./tools/php-cs-fixer.phar fix --dry-run
26+
run: PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --dry-run

.phive/phars.xml

Lines changed: 0 additions & 5 deletions
This file was deleted.

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
},
2727
"require-dev": {
2828
"phpunit/phpunit": "~12.3",
29-
"vimeo/psalm": "~6.13"
29+
"vimeo/psalm": "~6.13",
30+
"php-cs-fixer/shim": "^3.88"
3031
}
3132
}

tests/Unit/XmlnsTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
namespace SoapTest\Xml\Unit\Xpath;
55

6+
use PHPUnit\Framework\Attributes\DataProvider;
67
use PHPUnit\Framework\TestCase;
78
use Soap\Xml\Xmlns;
89
use VeeWee\Xml\Xmlns\Xmlns as XmlXmlns;
@@ -11,8 +12,8 @@ final class XmlnsTest extends TestCase
1112
{
1213
/**
1314
* @param callable(): XmlXmlns
14-
* @dataProvider provideKnownXmlnses
1515
*/
16+
#[DataProvider('provideKnownXmlnses')]
1617
public function test_it_knows_some_xmlnses(callable $factory, string $uri): void
1718
{
1819
$xmlns = $factory();

tools/php-cs-fixer.phar

-3.31 MB
Binary file not shown.

tools/psalm.phar

-12.1 MB
Binary file not shown.

0 commit comments

Comments
 (0)