Skip to content

Commit

Permalink
1.0.9 PHP 8.1 fix (thanks to ratmole)
Browse files Browse the repository at this point in the history
  • Loading branch information
multiOTP committed Sep 20, 2023
1 parent 376e4e5 commit 5b8a213
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# SMSGateway Change Log

## Version 1.0.9 (2023-09-20)

### Fixed bugs
* PHP 8.1 fix (thanks to ratmole)

## Version 1.0.8 (2023-03-30)

### Fixed bugs
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- SMS gateway using the open source Android app [SMS Gateway](https://github.com/medic/cht-gateway/releases/latest)

## License
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.
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.

## Installation & loading
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:
Expand Down Expand Up @@ -142,7 +142,7 @@ When sending a message, the following information will be returned in the http h
- X-SMSGateway-Message-Id: message id

## Documentation
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).
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).

## Android specific parameters
Using adb shell, you should change these two parameters:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.8
1.0.9
6 changes: 3 additions & 3 deletions src/SMSGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* PHP 5.3.0 or higher is supported.
*
* @author Andre Liechti (SysCo systemes de communication sa) <[email protected]>
* @version 1.0.8
* @date 2023-03-30
* @version 1.0.9
* @date 2023-09-20
* @since 2022-09-10
* @copyright (c) 2022-2023 SysCo systemes de communication sa
* @copyright GNU Lesser General Public License
Expand Down Expand Up @@ -154,7 +154,7 @@ class SMSGateway
*
* @var string
*/
const VERSION = '1.0.6';
const VERSION = '1.0.9';

/**
* The device timeout in seconds.
Expand Down

0 comments on commit 5b8a213

Please sign in to comment.