Skip to content

Commit 5647f47

Browse files
author
Corey McCormick
committed
Merge branch 'develop' of https://github.com/SimpleSoftwareIO/simple-qrcode into develop
2 parents c277939 + c69e5b9 commit 5647f47

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Simple QrCode
77
[![License](https://poser.pugx.org/simplesoftwareio/simple-qrcode/license.svg)](https://packagist.org/packages/simplesoftwareio/simple-qrcode)
88
[![Total Downloads](https://poser.pugx.org/simplesoftwareio/simple-qrcode/downloads.svg)](https://packagist.org/packages/simplesoftwareio/simple-qrcode)
99

10-
## [Español](https://www.simplesoftware.io/docs/simple-qrcode/es) | [Français](https://www.simplesoftware.io/docs/simple-qrcode/fr) | [Italiano](https://www.simplesoftware.io/docs/simple-qrcode/it) | [Português](https://www.simplesoftware.io/docs/simple-qrcode/pt-br) | [Русский](https://www.simplesoftware.io/docs/simple-qrcode/ru) | [日本語](https://www.simplesoftware.io/docs/simple-qrcode/ja) | [한국어](https://www.simplesoftware.io/docs/simple-qrcode/kr) | [हिंदी](https://www.simplesoftware.io/docs/simple-qrcode/hi) | [简体中文](https://www.simplesoftware.io/docs/simple-qrcode/zh-cn)
10+
## [Español](https://www.simplesoftware.io/#/docs/simple-qrcode/es) | [Français](https://www.simplesoftware.io/#/docs/simple-qrcode/fr) | [Italiano](https://www.simplesoftware.io/#/docs/simple-qrcode/it) | [Português](https://www.simplesoftware.io/#/docs/simple-qrcode/pt-br) | [Русский](https://www.simplesoftware.io/#/docs/simple-qrcode/ru) | [日本語](https://www.simplesoftware.io/#/docs/simple-qrcode/ja) | [한국어](https://www.simplesoftware.io/#/docs/simple-qrcode/kr) | [हिंदी](https://www.simplesoftware.io/#/docs/simple-qrcode/hi) | [简体中文](https://www.simplesoftware.io/#/docs/simple-qrcode/zh-cn)
1111

1212
Language files are currently out of date. We need volunteers to upgrade them to v3! Please submit a PR request!
1313

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"require": {
1414
"php": ">=7.2",
1515
"ext-gd": "*",
16-
"bacon/bacon-qr-code": "2.0.0"
16+
"bacon/bacon-qr-code": "^2.0"
1717
},
1818
"require-dev": {
1919
"mockery/mockery": "~1",

src/DataTypes/SMS.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class SMS implements DataTypeInterface
1616
*
1717
* @var string
1818
*/
19-
protected $separator = ':';
19+
protected $separator = '&body=';
2020

2121
/**
2222
* The phone number.

tests/DataTypes/SMSTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function test_it_generate_a_proper_format_with_a_message()
2323
{
2424
$this->sms->create([null, 'foo']);
2525

26-
$properFormat = 'sms::foo';
26+
$properFormat = 'sms:&body=foo';
2727

2828
$this->assertEquals($properFormat, strval($this->sms));
2929
}
@@ -32,7 +32,7 @@ public function test_it_generates_a_proper_format_with_a_phone_number_and_messag
3232
{
3333
$this->sms->create(['555-555-5555', 'foo']);
3434

35-
$properFormat = 'sms:555-555-5555:foo';
35+
$properFormat = 'sms:555-555-5555&body=foo';
3636

3737
$this->assertEquals($properFormat, strval($this->sms));
3838
}

0 commit comments

Comments
 (0)