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

Commit eb7c263

Browse files
authored
Merge pull request #885 from TwilioDevEd/namespace-change
Update namespace from Twiml to TwiML
2 parents 178931f + 2a37f99 commit eb7c263

File tree

12 files changed

+14
-14
lines changed

12 files changed

+14
-14
lines changed

Diff for: .phplint-cache

+1-1
Large diffs are not rendered by default.

Diff for: README.md

+3-3
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

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

+1-1
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'];

Diff for: rest/messages/generate-twiml-mms/generate-twiml-mms.5.x.php

+1-1
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();

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

+1-1
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.");

Diff for: rest/taskrouter/twiml/example1/example/example.5.x.php

+1-1
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']);

Diff for: rest/taskrouter/twiml/example2/example/example.5.x.php

+1-1
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"])

Diff for: rest/taskrouter/twiml/example3/example/example.5.x.php

+1-1
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'])

Diff for: rest/taskrouter/twiml/example4/example/example.5.x.php

+1-1
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(

Diff for: voice/queueing/agent/queue-agent.5.x.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// https://www.twilio.com/docs/libraries/php
55
require_once '/path/to/vendor/autoload.php';
66

7-
use Twilio\Twiml\VoiceResponse;
7+
use Twilio\TwiML\VoiceResponse;
88

99
$response = new VoiceResponse();
1010
$response->dial()

Diff for: voice/queueing/caller/queue-caller.5.x.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// https://www.twilio.com/docs/libraries/php
55
require_once '/path/to/vendor/autoload.php';
66

7-
use Twilio\Twiml\VoiceResponse;
7+
use Twilio\TwiML\VoiceResponse;
88

99
$response = new VoiceResponse();
1010
$response->enqueue('Queue Demo');

Diff for: voice/queueing/redirect/queue-redirect.5.x.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// https://www.twilio.com/docs/libraries/php
55
require_once '/path/to/vendor/autoload.php';
66

7-
use Twilio\Twiml\VoiceResponse;
7+
use Twilio\TwiML\VoiceResponse;
88

99
$response = new VoiceResponse();
1010

0 commit comments

Comments
 (0)