Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/analyzers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.2', '8.3', '8.4']
php-versions: ['8.3', '8.4', '8.5']
composer-options: ['--ignore-platform-req=php+']
fail-fast: false
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
Expand All @@ -24,3 +24,4 @@ jobs:
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
- name: Run the tests
run: ./vendor/bin/psalm
continue-on-error: ${{ matrix.php-versions == '8.5' }}
4 changes: 2 additions & 2 deletions .github/workflows/code-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.2', '8.3', '8.4']
php-versions: ['8.3', '8.4', '8.5']
composer-options: ['--ignore-platform-req=php+']
fail-fast: false
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
Expand All @@ -23,4 +23,4 @@ jobs:
- name: Install dependencies
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
- name: Run the tests
run: PHP_CS_FIXER_IGNORE_ENV=1 ./tools/php-cs-fixer.phar fix --dry-run
run: PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --dry-run
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.2', '8.3', '8.4']
php-versions: ['8.3', '8.4', '8.5']
composer-options: ['--ignore-platform-req=php+']
fail-fast: false
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
Expand Down
4 changes: 0 additions & 4 deletions .phive/phars.xml

This file was deleted.

11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@
}
],
"require": {
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"azjezz/psl": "^3.0",
"php-soap/xml": "^1.8.0"
"php": "~8.3.0 || ~8.4.0 || ~8.5.0",
"azjezz/psl": "^3.0 || ^4.0",
"php-soap/xml": "^1.9.0"
},
"autoload-dev": {
"psr-4": {
"SoapTest\\Engine\\": "tests/"
}
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"phpunit/phpunit": "^12.3",
"php-standard-library/psalm-plugin": "^2.2",
"vimeo/psalm": "^5.26"
"vimeo/psalm": "^6.13",
"php-cs-fixer/shim": "^3.88"
}
}
3 changes: 3 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
displayDetailsOnPhpunitDeprecations="true"
displayDetailsOnTestsThatTriggerWarnings="true"
failOnWarning="true"
failOnPhpunitWarning="true"
bootstrap="./vendor/autoload.php"
colors="true">
<testsuites>
Expand Down
2 changes: 2 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
skipChecksOnUnresolvableIncludes="false"
checkForThrowsDocblock="true"
checkForThrowsInGlobalScope="true"
findUnusedCode="false"
ensureOverrideAttribute="false"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/PartialDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ final class PartialDriverTest extends TestCase
{
public function test_it_can_encode(): void
{
$encoder = $this->createStub(Encoder::class);
$encoder = static::createStub(Encoder::class);
$encoder->method('encode')->willReturn(
$request = new SoapRequest('', '', '', SoapRequest::SOAP_1_1)
);
Expand All @@ -35,7 +35,7 @@ public function test_it_will_not_encode(): void

public function test_it_can_decode(): void
{
$decoder = $this->createStub(Decoder::class);
$decoder = static::createStub(Decoder::class);
$decoder->method('decode')->willReturn([]);
$driver = new PartialDriver(decoder: $decoder);

Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/SimpleDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ final class SimpleDriverTest extends TestCase

protected function setUp(): void
{
$encoder = $this->createStub(Encoder::class);
$encoder = static::createStub(Encoder::class);
$encoder->method('encode')->willReturn(
$this->request = new SoapRequest('', '', '', SoapRequest::SOAP_1_1)
);
$decoder = $this->createStub(Decoder::class);
$decoder = static::createStub(Decoder::class);
$decoder->method('decode')->willReturn([]);
$metadata = new DummyInMemoryMetadata();

Expand Down
Binary file removed tools/php-cs-fixer.phar
Binary file not shown.
Loading