Commit Graph

19 Commits

Author SHA1 Message Date
Oleksandr Mykhailenko
be083541bf
Update php-cs-fixer. Fix code style issues (#833)
Signed-off-by: Alexander Mykhailenko <mihaskep@gmail.com>

Update php-cs-fixer. Fix code style issues

Signed-off-by: Alexander Mykhailenko <mihaskep@gmail.com>

Fix tests

Signed-off-by: Alexander Mykhailenko <mihaskep@gmail.com>

Fix test

Signed-off-by: Alexander Mykhailenko <mihaskep@gmail.com>

Prevent Uncaught InvalidArgumentException

Signed-off-by: Alexander Mykhailenko <mihaskep@gmail.com>
2022-07-23 18:26:03 +03:00
Oleksandr Mykhailenko
c04197362b
Fixed issues (#829)
* Fixed issues
 - BatchMessage generates "invalid" JSON for recipients with an empty set of recipient-variables
 - Use null coalescing operator in IndexResponse.php

* Fix warning from php-cs-fixer
2022-06-14 00:38:10 +03:00
Tobias Nyholm
12ed8aae43
Updating workflows and add psalm (#741)
* Updating workflows and add psalm

* Normalize composer

* Fixed CS
2021-01-30 12:43:12 +01:00
David Garcia
66fd858a02
PHP 8.x support (#727)
* Set dependencies for 7.3 and 8.x

* Set GitHub Actions for PHP 7.3, 7.4 and 8.0

* Set Ubuntu version that supports PHP from 7.1 to 7.4

According to warnings raised by GitHub Actions, the alias for the latest
Ubuntu version will upgrade soon to the newer 20.04 LTS instead of 18.04.

Aiming to ensure the compatibility with previous PHP versions, it's safer
to force the Ubuntu 18.04 that has the previous PHP version as built-in
versions in the OS

https://github.com/marketplace/actions/setup-php-action#github-hosted-runners

* Fix dependencies for PHP ^7.3 and ^8.0 support

* Run test suite with PHP versions from 7.3 to 8.1

* Broken Prophecy dependency for PHPUnit on PHP 8.1

This broken dependency doesn't allow us to run PHPUnit tests and ensure it works. Keeping the ^8.0 version should allow installations for non-maintainers on newer versions too.

https://packagist.org/packages/phpspec/prophecy#1.12.2

requires
- php: ^7.2 || ~8.0, <8.1
- ...

* Use the latest Ubuntu version instead of a specific version

* Prepare Changelog for PHP 8.0
2021-01-30 07:39:30 +01:00
Littlesqx
300dcc18bb Remove rule for ignoring .idea 2019-08-30 19:49:02 +01:00
徐哈哈
c88f1bc174 Add Forbidden response 2019-08-30 19:49:02 +01:00
Tobias Nyholm
adfc1d7bd2 Clean up gitignore. (#234) 2016-11-24 22:29:06 +01:00
Sean Johnson
58430e4537 Domains API, #187 (#198) 2016-10-27 08:34:27 +02:00
Travis Swientek
0a7c96c34a Fixed inline image issue. Added new tests. 2016-08-10 16:37:08 +02:00
Iain Cambridge
502fac0b37 Fix fatal error in not finding exception.
Tried to throw MissingRequiredMIMEParameters which didn't exist in current namespace or added via use. Connection exceptions was included by MissingRequiredMIMEParameters is in messages exceptions so changed the added exception name to messages.

Exception message constant didn't exist. So added it.
2014-05-13 14:54:10 +01:00
yoye
789eb27228 Fix bug toRecipientCount increment in BatchMessage 2013-09-05 10:35:26 +02:00
Travis Swientek
e16bb6811d Adjusted gitignore 2013-08-02 14:25:39 -07:00
Travis Swientek
b4b9f0ec40 Adjusted the HTTP client 2013-07-24 23:56:18 -07:00
Travis Swientek
344c9e1f20 Removed some stray files 2013-07-24 16:33:05 -07:00
Travis Swientek
a2f005a8f2 Composer refactor 2013-07-22 20:55:41 -07:00
Travis Swientek
cdc96e2d5a Removed Vendor folder and updated .gitignore 2013-07-22 20:34:00 -07:00
Travis Swientek
454677ff4d Removed silly .DS_STORE 2013-07-17 22:49:36 -07:00
Travis Swientek
c8802175be Missed the Vendor folder 2013-07-17 22:26:09 -05:00
Travis Swientek
c0e37a689d Initial Commit of Files and Dependencies 2013-07-17 22:23:10 -05:00