From 8ed1570bc823827bb4d1df03102748b2bc61a1e2 Mon Sep 17 00:00:00 2001 From: declan keane Date: Mon, 11 Apr 2022 17:01:10 +0100 Subject: [PATCH 01/16] Github-Actions - Add basic actions file --- workflows/github-actions.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 workflows/github-actions.yml diff --git a/workflows/github-actions.yml b/workflows/github-actions.yml new file mode 100644 index 00000000..0f9d0964 --- /dev/null +++ b/workflows/github-actions.yml @@ -0,0 +1,33 @@ +name: Converted Workflow +'on': + push: + branches: + - master + pull_request: + branches: + - master +jobs: + Build: + runs-on: '${{ matrix.os }}' + strategy: + matrix: + include: + - os: ubuntu-18.04 + SYMFONY_VERSION: 2.7.* + - os: ubuntu-18.04 + SYMFONY_VERSION: 2.8.* + - os: ubuntu-18.04 + SYMFONY_VERSION: 3.4.* + steps: + - uses: actions/checkout@v2 + - run: phpenv config-add myphp.ini + - run: composer self-update + - run: >- + composer require symfony/framework-bundle:${SYMFONY_VERSION} + --no-update + env: + SYMFONY_VERSION: '${{ matrix.SYMFONY_VERSION }}' + - run: composer install --prefer-dist --no-interaction + - run: ./src/BeSimple/SoapClient/Tests/bin/phpwebserver.sh + - run: ./src/BeSimple/SoapClient/Tests/bin/axis.sh + - run: bin/simple-phpunit --coverage-text --debug From df67419c1aa388de887854de1f7fe8672caad929 Mon Sep 17 00:00:00 2001 From: declan keane Date: Mon, 11 Apr 2022 17:06:42 +0100 Subject: [PATCH 02/16] Github-Actions: Update on push --- workflows/github-actions.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/workflows/github-actions.yml b/workflows/github-actions.yml index 0f9d0964..5673fc6b 100644 --- a/workflows/github-actions.yml +++ b/workflows/github-actions.yml @@ -1,11 +1,5 @@ -name: Converted Workflow -'on': - push: - branches: - - master - pull_request: - branches: - - master +name: Workflow +on: [push] jobs: Build: runs-on: '${{ matrix.os }}' From e032fa064128dc165cb596a7db176bf0333a7b26 Mon Sep 17 00:00:00 2001 From: declan keane Date: Mon, 11 Apr 2022 17:12:58 +0100 Subject: [PATCH 03/16] Github-Actions: Update on push --- {workflows => .github/workflows}/github-actions.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {workflows => .github/workflows}/github-actions.yml (100%) diff --git a/workflows/github-actions.yml b/.github/workflows/github-actions.yml similarity index 100% rename from workflows/github-actions.yml rename to .github/workflows/github-actions.yml From 14c535849f921636c00c5d3295a5644b6adcd35a Mon Sep 17 00:00:00 2001 From: declan keane Date: Mon, 11 Apr 2022 17:25:21 +0100 Subject: [PATCH 04/16] Github-Actions: Add php version --- .github/workflows/github-actions.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 5673fc6b..747e517c 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -5,6 +5,8 @@ jobs: runs-on: '${{ matrix.os }}' strategy: matrix: + operating-system: [ubuntu-latest] + php-versions: ['5.6','7.0','7.1','7.2','7.3','7.4'] include: - os: ubuntu-18.04 SYMFONY_VERSION: 2.7.* From 6f143994ea97098347376bcf10df8465bb243d19 Mon Sep 17 00:00:00 2001 From: declan keane Date: Mon, 11 Apr 2022 17:29:17 +0100 Subject: [PATCH 05/16] Github-Actions: Remove phpenv command --- .github/workflows/github-actions.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 747e517c..5ec2d9b6 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -16,7 +16,6 @@ jobs: SYMFONY_VERSION: 3.4.* steps: - uses: actions/checkout@v2 - - run: phpenv config-add myphp.ini - run: composer self-update - run: >- composer require symfony/framework-bundle:${SYMFONY_VERSION} From 602033ed5aa8a287411428c1f17b4c9bcdb3d0ab Mon Sep 17 00:00:00 2001 From: declan keane Date: Mon, 11 Apr 2022 17:35:36 +0100 Subject: [PATCH 06/16] Github-Actions: RUn composer update with sudo --- .github/workflows/github-actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 5ec2d9b6..c05ec982 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -22,7 +22,7 @@ jobs: --no-update env: SYMFONY_VERSION: '${{ matrix.SYMFONY_VERSION }}' - - run: composer install --prefer-dist --no-interaction + - run: sudo composer install --prefer-dist --no-interaction - run: ./src/BeSimple/SoapClient/Tests/bin/phpwebserver.sh - run: ./src/BeSimple/SoapClient/Tests/bin/axis.sh - run: bin/simple-phpunit --coverage-text --debug From 17ab0fe4a3ac32d5b861dd38040973a16481335b Mon Sep 17 00:00:00 2001 From: declan keane Date: Mon, 11 Apr 2022 17:36:21 +0100 Subject: [PATCH 07/16] Github-Actions: Run composer update with sudo --- .github/workflows/github-actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index c05ec982..4dea3798 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -16,13 +16,13 @@ jobs: SYMFONY_VERSION: 3.4.* steps: - uses: actions/checkout@v2 - - run: composer self-update + - run: sudo composer self-update - run: >- composer require symfony/framework-bundle:${SYMFONY_VERSION} --no-update env: SYMFONY_VERSION: '${{ matrix.SYMFONY_VERSION }}' - - run: sudo composer install --prefer-dist --no-interaction + - run: composer install --prefer-dist --no-interaction - run: ./src/BeSimple/SoapClient/Tests/bin/phpwebserver.sh - run: ./src/BeSimple/SoapClient/Tests/bin/axis.sh - run: bin/simple-phpunit --coverage-text --debug From fd41e9ff67550afab51ddb6f8c645ca1b0d24e73 Mon Sep 17 00:00:00 2001 From: declan keane Date: Mon, 11 Apr 2022 17:43:24 +0100 Subject: [PATCH 08/16] Github-Actions: Change php versions --- .github/workflows/github-actions.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 4dea3798..c3e1d7e2 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -15,6 +15,8 @@ jobs: - os: ubuntu-18.04 SYMFONY_VERSION: 3.4.* steps: + - with: + php-version: ${{ matrix.php-versions }} - uses: actions/checkout@v2 - run: sudo composer self-update - run: >- From 84579771a260a77850e0faaf0d55ba10582b81f1 Mon Sep 17 00:00:00 2001 From: declan keane Date: Mon, 11 Apr 2022 17:46:17 +0100 Subject: [PATCH 09/16] Github-Actions: Change php versions --- .github/workflows/github-actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index c3e1d7e2..2462a407 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -15,9 +15,9 @@ jobs: - os: ubuntu-18.04 SYMFONY_VERSION: 3.4.* steps: - - with: - php-version: ${{ matrix.php-versions }} - uses: actions/checkout@v2 + with: + php-version: ${{ matrix.php-versions }} - run: sudo composer self-update - run: >- composer require symfony/framework-bundle:${SYMFONY_VERSION} From acffbdb1cedc8450fb449b3eb38c9d1b972e1782 Mon Sep 17 00:00:00 2001 From: declan keane Date: Mon, 11 Apr 2022 17:53:02 +0100 Subject: [PATCH 10/16] Github-Actions: Check php version --- .github/workflows/github-actions.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 2462a407..10705f7f 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -18,6 +18,10 @@ jobs: - uses: actions/checkout@v2 with: php-version: ${{ matrix.php-versions }} + - name: Testing PHP version + run: | + php -v + php -r "if(strpos(phpversion(), '${{ matrix.php-versions }}') === false) {throw new Exception('Wrong PHP version Installed');}" - run: sudo composer self-update - run: >- composer require symfony/framework-bundle:${SYMFONY_VERSION} From 8af33e8582d2033d11797f43a183c5701ad83f68 Mon Sep 17 00:00:00 2001 From: declan keane Date: Mon, 11 Apr 2022 18:00:21 +0100 Subject: [PATCH 11/16] Github-Actions: Check php version --- .github/workflows/github-actions.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 10705f7f..82dc19a3 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -16,12 +16,14 @@ jobs: SYMFONY_VERSION: 3.4.* steps: - uses: actions/checkout@v2 + - name: Install PHP + uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - - name: Testing PHP version - run: | - php -v - php -r "if(strpos(phpversion(), '${{ matrix.php-versions }}') === false) {throw new Exception('Wrong PHP version Installed');}" + extensions: intl #optional + ini-values: "post_max_size=256M" #optional + - name: Check PHP Version + run: php -v - run: sudo composer self-update - run: >- composer require symfony/framework-bundle:${SYMFONY_VERSION} From 5c294a1ac5b125569ab90b8d69e6db6206a3e323 Mon Sep 17 00:00:00 2001 From: declan keane Date: Tue, 12 Apr 2022 09:37:06 +0100 Subject: [PATCH 12/16] Github-Actions: Remove SetUpTearDownTrait --- src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php | 2 +- src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php | 2 +- src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php | 2 +- src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php b/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php index 30c94bfb..fb1c017c 100644 --- a/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php +++ b/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php @@ -22,7 +22,7 @@ abstract class AbstractWebServerTest extends \PHPUnit\Framework\TestCase { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; + //use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; /** * @var ProcessBuilder diff --git a/src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php b/src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php index 46d90e89..ce8eaee6 100644 --- a/src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php +++ b/src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php @@ -6,7 +6,7 @@ class TestCase extends \PHPUnit\Framework\TestCase { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; + //use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; protected function doSetUp() { diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php b/src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php index caf999a4..b667655e 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php @@ -6,7 +6,7 @@ class TestCase extends \PHPUnit\Framework\TestCase { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; + //use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; protected function doSetUp() { diff --git a/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php b/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php index e53acea4..5b797fa5 100644 --- a/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php +++ b/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php @@ -27,7 +27,7 @@ class WsdlDownloaderTest extends AbstractWebserverTest { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; + //use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; protected static $filesystem; From 3a1743a91a88fc5114e2616ab8692c47f300674e Mon Sep 17 00:00:00 2001 From: declan keane Date: Tue, 12 Apr 2022 09:41:57 +0100 Subject: [PATCH 13/16] Github-Actions: Remove SetUpTearDownTrait --- src/BeSimple/SoapCommon/Tests/CacheTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BeSimple/SoapCommon/Tests/CacheTest.php b/src/BeSimple/SoapCommon/Tests/CacheTest.php index 14a9cf96..f1d28856 100644 --- a/src/BeSimple/SoapCommon/Tests/CacheTest.php +++ b/src/BeSimple/SoapCommon/Tests/CacheTest.php @@ -20,7 +20,7 @@ class SoapRequestTest extends \PHPUnit\Framework\TestCase { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; + //use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; public function testSetEnabled() { From 7ad6844115783750dec290e88cc5567cc7d91a7f Mon Sep 17 00:00:00 2001 From: declan keane Date: Fri, 6 May 2022 10:47:06 +0100 Subject: [PATCH 14/16] Github-actions: Update pipeline --- .github/workflows/github-actions.yml | 36 ++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 82dc19a3..9ad29384 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -1,12 +1,12 @@ name: Workflow on: [push] jobs: - Build: + php_7_job: runs-on: '${{ matrix.os }}' strategy: matrix: operating-system: [ubuntu-latest] - php-versions: ['5.6','7.0','7.1','7.2','7.3','7.4'] + php-versions: ['7.0','7.1','7.2','7.3','7.4'] include: - os: ubuntu-18.04 SYMFONY_VERSION: 2.7.* @@ -14,6 +14,38 @@ jobs: SYMFONY_VERSION: 2.8.* - os: ubuntu-18.04 SYMFONY_VERSION: 3.4.* + steps: + - uses: actions/checkout@v2 + - name: Install PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-versions }} + extensions: intl #optional + ini-values: "post_max_size=256M" #optional + - name: Check PHP Version + run: php -v + - run: sudo composer self-update + - run: >- + composer require symfony/framework-bundle:${SYMFONY_VERSION} + --no-update + env: + SYMFONY_VERSION: '${{ matrix.SYMFONY_VERSION }}' + - run: composer install --prefer-dist --no-interaction + - run: ./src/BeSimple/SoapClient/Tests/bin/phpwebserver.sh + - run: ./src/BeSimple/SoapClient/Tests/bin/axis.sh + - run: bin/simple-phpunit --debug + + php_5_job: + runs-on: '${{ matrix.os }}' + strategy: + matrix: + operating-system: [ubuntu-latest] + php-versions: ['5.6'] + include: + - os: ubuntu-18.04 + SYMFONY_VERSION: 2.7.* + - os: ubuntu-18.04 + SYMFONY_VERSION: 2.8.* steps: - uses: actions/checkout@v2 - name: Install PHP From bf3ee5ee41f70cd808d4ccf5cff7662a86246c25 Mon Sep 17 00:00:00 2001 From: declan keane Date: Fri, 6 May 2022 10:49:53 +0100 Subject: [PATCH 15/16] Github-actions: Revert changes --- src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php | 2 +- src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php | 2 +- src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php | 2 +- src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php | 2 +- src/BeSimple/SoapCommon/Tests/CacheTest.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php b/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php index fb1c017c..30c94bfb 100644 --- a/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php +++ b/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php @@ -22,7 +22,7 @@ abstract class AbstractWebServerTest extends \PHPUnit\Framework\TestCase { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - //use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; + use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; /** * @var ProcessBuilder diff --git a/src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php b/src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php index ce8eaee6..46d90e89 100644 --- a/src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php +++ b/src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php @@ -6,7 +6,7 @@ class TestCase extends \PHPUnit\Framework\TestCase { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - //use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; + use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; protected function doSetUp() { diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php b/src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php index b667655e..caf999a4 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php @@ -6,7 +6,7 @@ class TestCase extends \PHPUnit\Framework\TestCase { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - //use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; + use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; protected function doSetUp() { diff --git a/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php b/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php index 5b797fa5..e53acea4 100644 --- a/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php +++ b/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php @@ -27,7 +27,7 @@ class WsdlDownloaderTest extends AbstractWebserverTest { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - //use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; + use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; protected static $filesystem; diff --git a/src/BeSimple/SoapCommon/Tests/CacheTest.php b/src/BeSimple/SoapCommon/Tests/CacheTest.php index f1d28856..14a9cf96 100644 --- a/src/BeSimple/SoapCommon/Tests/CacheTest.php +++ b/src/BeSimple/SoapCommon/Tests/CacheTest.php @@ -20,7 +20,7 @@ class SoapRequestTest extends \PHPUnit\Framework\TestCase { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - //use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; + use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; public function testSetEnabled() { From c4afb8030f438705ed945fcd2c35e53eba8d9cf4 Mon Sep 17 00:00:00 2001 From: declan keane Date: Fri, 6 May 2022 10:52:41 +0100 Subject: [PATCH 16/16] Github-actions: Remove trait --- src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php | 1 - src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php | 1 - src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php | 1 - src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php | 1 - src/BeSimple/SoapCommon/Tests/CacheTest.php | 1 - 5 files changed, 5 deletions(-) diff --git a/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php b/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php index 30c94bfb..6c4eaade 100644 --- a/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php +++ b/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php @@ -22,7 +22,6 @@ abstract class AbstractWebServerTest extends \PHPUnit\Framework\TestCase { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; /** * @var ProcessBuilder diff --git a/src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php b/src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php index 46d90e89..1e45ffd1 100644 --- a/src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php +++ b/src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php @@ -6,7 +6,6 @@ class TestCase extends \PHPUnit\Framework\TestCase { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; protected function doSetUp() { diff --git a/src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php b/src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php index caf999a4..407b0888 100644 --- a/src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php +++ b/src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php @@ -6,7 +6,6 @@ class TestCase extends \PHPUnit\Framework\TestCase { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; protected function doSetUp() { diff --git a/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php b/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php index e53acea4..d3d81c5d 100644 --- a/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php +++ b/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php @@ -27,7 +27,6 @@ class WsdlDownloaderTest extends AbstractWebserverTest { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; protected static $filesystem; diff --git a/src/BeSimple/SoapCommon/Tests/CacheTest.php b/src/BeSimple/SoapCommon/Tests/CacheTest.php index 14a9cf96..7cbcdcbd 100644 --- a/src/BeSimple/SoapCommon/Tests/CacheTest.php +++ b/src/BeSimple/SoapCommon/Tests/CacheTest.php @@ -20,7 +20,6 @@ class SoapRequestTest extends \PHPUnit\Framework\TestCase { // when using the SetUpTearDownTrait, methods like doSetup() can // be defined with and without the 'void' return type, as you wish - use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait; public function testSetEnabled() {