Skip to content

Commit 5b8a213

Browse files
committed
1.0.9 PHP 8.1 fix (thanks to ratmole)
1 parent 376e4e5 commit 5b8a213

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# SMSGateway Change Log
22

3+
## Version 1.0.9 (2023-09-20)
4+
5+
### Fixed bugs
6+
* PHP 8.1 fix (thanks to ratmole)
7+
38
## Version 1.0.8 (2023-03-30)
49

510
### Fixed bugs

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- SMS gateway using the open source Android app [SMS Gateway](https://github.com/medic/cht-gateway/releases/latest)
55

66
## License
7-
This software is distributed under the [LGPL-3.0-only](https://www.gnu.org/licenses/lgpl-3.0.html) license. Please read [LICENSE](https://github.com/multiOTP/SMSGateway/blob/master/LICENSE) for information on the software availability and distribution.
7+
This software is distributed under the [LGPL-3.0-only](https://www.gnu.org/licenses/lgpl-3.0.html) license. Please read [LICENSE](https://github.com/multiOTP/SMSGateway/blob/main/LICENSE) for information on the software availability and distribution.
88

99
## Installation & loading
1010
SMSGateway is available on [Packagist](https://packagist.org/packages/multiOTP/SMSGateway) (using semantic versioning), and installation via [Composer](https://getcomposer.org) is the recommended way to install SMSGateway. Just add this line to your `composer.json` file:
@@ -142,7 +142,7 @@ When sending a message, the following information will be returned in the http h
142142
- X-SMSGateway-Message-Id: message id
143143

144144
## Documentation
145-
Example of how to use SMSGateway for a common scenario can be found in the [examples](https://github.com/multiOTP/SMSGateway/tree/master/examples) folder. If you're looking for a good starting point, we recommend you start with [the gateway example](https://github.com/multiOTP/SMSGateway/tree/master/examples/gateway.php).
145+
Example of how to use SMSGateway for a common scenario can be found in the [examples](https://github.com/multiOTP/SMSGateway/tree/main/examples) folder. If you're looking for a good starting point, we recommend you start with [the gateway example](https://github.com/multiOTP/SMSGateway/tree/main/examples/gateway.php).
146146

147147
## Android specific parameters
148148
Using adb shell, you should change these two parameters:

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.8
1+
1.0.9

src/SMSGateway.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* PHP 5.3.0 or higher is supported.
2020
*
2121
* @author Andre Liechti (SysCo systemes de communication sa) <[email protected]>
22-
* @version 1.0.8
23-
* @date 2023-03-30
22+
* @version 1.0.9
23+
* @date 2023-09-20
2424
* @since 2022-09-10
2525
* @copyright (c) 2022-2023 SysCo systemes de communication sa
2626
* @copyright GNU Lesser General Public License
@@ -154,7 +154,7 @@ class SMSGateway
154154
*
155155
* @var string
156156
*/
157-
const VERSION = '1.0.6';
157+
const VERSION = '1.0.9';
158158

159159
/**
160160
* The device timeout in seconds.

0 commit comments

Comments
 (0)