Skip to content

Commit 37c6030

Browse files
committed
Refactored: made Soap example use the same namespace and structure as guzzle does
1 parent 36b585a commit 37c6030

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

β€Žsoap/phpunit.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
convertErrorsToExceptions="true"
44
convertNoticesToExceptions="true"
55
convertWarningsToExceptions="true"
6-
stopOnError="false"
7-
stopOnFailure="false"
8-
stopOnIncomplete="false"
9-
stopOnSkipped="false"
106
strict="true"
117
>
128

β€Žsoap/src/VCR/WeatherApi.php renamed to β€Žsoap/src/VCR/Example/Soap/WeatherApi.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace VCR;
3+
namespace VCR\Example\Soap;
44

55
/**
66
* Checks cdyne.com for local weather information.
@@ -23,4 +23,4 @@ public function getTemperature($zip)
2323
return (int) $response->GetCityWeatherByZIPResult->Temperature;
2424
}
2525

26-
}
26+
}

β€Žsoap/test/VCR/WeatherApiTest.php renamed to β€Žsoap/test/VCR/Example/Soap/WeatherApiTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace VCR;
3+
namespace VCR\Example\Soap;
44

55
/**
66
* Checks cdyne.com for local weather information.
@@ -29,4 +29,4 @@ public function testGetTemperatureByZip()
2929
$this->assertInternalType('integer', $actual);
3030
}
3131

32-
}
32+
}

0 commit comments

Comments
 (0)