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
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-versions:
- 7.2
Expand All @@ -18,10 +19,13 @@ jobs:
- 8.0
- 8.1
- 8.2
- 8.3
- 8.4
- 8.5
name: PHP ${{ matrix.php-versions }}
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v6

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand All @@ -34,6 +38,3 @@ jobs:

- name: Run tests
run: vendor/bin/simple-phpunit --coverage-text --coverage-clover=coverage.clover

# - name: Upload code coverage
# run: vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"wingu/reflection": "~1.0"
},
"require-dev": {
"symfony/phpunit-bridge": "^6.0",
"scrutinizer/ocular": "~1.1"
"symfony/phpunit-bridge": "^6.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/PHPClass2WSDL.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ protected function addMethodToWsdl(ReflectionMethod $method, DOMElement $port, D

// Add any documentation for the operation.
$description = $method->getReflectionDocComment()->getFullDescription();
if (strlen($description) > 0) {
if ($description !== null && strlen($description) > 0) {
$this->wsdl->addDocumentation($portOperation, $description);
}

Expand Down