Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit ab17fc8

Browse files
committed
Update namespace from Twiml to TwiML
Signed-off-by: Maria Bermudez <[email protected]>
1 parent 88746a3 commit ab17fc8

File tree

15 files changed

+22
-22
lines changed

15 files changed

+22
-22
lines changed

.phplint-cache

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ There're two kind of snippets we test:
9898
body may or may not has the parameters needed to update the resource
9999
according to the expected result.
100100

101-
- **Twiml snippets:**
102-
When running Twiml snippets, the snippets should print the `xml` result to the
101+
- **TwiML snippets:**
102+
When running TwiML snippets, the snippets should print the `xml` result to the
103103
standard output, so we can capture that output and compare it with the
104104
expected `xml` sample. We read this `/output/sample.xml` file which is
105105
placed in the same folder of the snippet.
@@ -132,7 +132,7 @@ testable:
132132
```
133133
134134
**Notes:**
135-
- For testing Twiml snippets the option available is:
135+
- For testing TwiML snippets the option available is:
136136
137137
```
138138
meta.json -> "test_output": true

rest/messages/generate-twiml-dynamic-sms/generate-twiml-dynamic-sms.5.x.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Get the PHP helper library from https://twilio.com/docs/libraries/php
33

44
require_once 'vendor/autoload.php'; // Loads the library
5-
use Twilio\Twiml\MessagingResponse;
5+
use Twilio\TwiML\MessagingResponse;
66

77
$response = new MessagingResponse;
88
$body = $_REQUEST['Body'];

rest/messages/generate-twiml-mms/generate-twiml-mms.5.x.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Get the PHP helper library from https://twilio.com/docs/libraries/php
33

44
require_once 'vendor/autoload.php'; // Loads the library
5-
use Twilio\Twiml\MessagingResponse;
5+
use Twilio\TwiML\MessagingResponse;
66

77
$response = new MessagingResponse;
88
$message = $response->message();

rest/messages/generate-twiml-sms-voice/example-1.5.x.php

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

44
// this line loads the library
55
require('vendor/autoload.php');
6-
use Twilio\Twiml\VoiceResponse;
6+
use Twilio\TwiML\VoiceResponse;
77

88
$response = new VoiceResponse;
99
$response->say("Hello! You will get an SMS message soon.");

rest/taskrouter/twiml/example1/example/example.5.x.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Download the library and copy into the folder containing this file.
33
require_once '/path/to/vendor/autoload.php'; // Loads the library
44

5-
use Twilio\Twiml\VoiceResponse;
5+
use Twilio\TwiML\VoiceResponse;
66

77
$response = new VoiceResponse();
88
$response->enqueue(null, ['workflowSid' => 'WW0123456789abcdef0123456789abcdef']);

rest/taskrouter/twiml/example2/example/example.5.x.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Download the library and copy into the folder containing this file.
33
require_once '/path/to/vendor/autoload.php'; // Loads the library
44

5-
use Twilio\Twiml\VoiceResponse;
5+
use Twilio\TwiML\VoiceResponse;
66

77
$response = new VoiceResponse();
88
$response->enqueue(null, ["workflowSid" => "WW0123456789abcdef0123456789abcdef"])

rest/taskrouter/twiml/example3/example/example.5.x.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Download the library and copy into the folder containing this file.
33
require_once '/path/to/vendor/autoload.php'; // Loads the library
44

5-
use Twilio\Twiml\VoiceResponse;
5+
use Twilio\TwiML\VoiceResponse;
66

77
$response = new VoiceResponse();
88
$response->enqueue(null, ['workflowSid' => 'WW0123456789abcdef0123456789abcdef'])

rest/taskrouter/twiml/example4/example/example.5.x.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Download the library and copy into the folder containing this file.
33
require_once '/path/to/vendor/autoload.php'; // Loads the library
44

5-
use Twilio\Twiml\VoiceResponse;
5+
use Twilio\TwiML\VoiceResponse;
66

77
$response = new VoiceResponse();
88
$response->enqueue(

rest/voice/generate-twiml-play/twiml-play.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
// this line loads the library
55
require('/path/to/twilio-php/Services/Twilio.php');
6-
use Services_Twilio_Twiml;
6+
use Services_Twilio_TwiML;
77

8-
$response = new Services_Twilio_Twiml;
8+
$response = new Services_Twilio_TwiML;
99
$response->say("Hello. It's me. I've been wondering if after this guide you'd like to meet.");
1010
$response->play("http://howtodocs.s3.amazonaws.com/ahoyhoy.mp3");
1111
print $response;

0 commit comments

Comments
 (0)