Tobias Nyholm
6954b4dd2a
Use PSR-18 ( #522 )
...
* Use PSR-18
* minor fixes
* phpstan fixes
* cs
2019-02-02 08:30:04 +01:00
David Garcia
398989de61
Include API endpoint in README ( #557 )
2019-02-02 08:09:51 +01:00
David Garcia
c51c6b10a0
Revert "Add helper for MailingList"
...
This reverts commit 787811d08b
.
2019-01-30 00:08:47 +00:00
David Garcia
b18b4b4f5f
Revert "Fix PHPStan validation error"
...
This reverts commit 3329924ebc
.
2019-01-30 00:08:47 +00:00
David Garcia
3329924ebc
Fix PHPStan validation error
...
Class Mailgun\Api\MailingList referenced with incorrect case: Mailgun\API\MailingList.
2019-01-29 23:52:40 +00:00
David Garcia
787811d08b
Add helper for MailingList
2019-01-29 23:52:40 +00:00
Tobias Nyholm
cbb13527b9
Minor cleanup and cs ( #550 )
...
* Minor cleanup and cs
* minor
2019-01-23 10:35:58 +01:00
Radoje Albijanic
a79b8bb86f
CS fixes
2019-01-23 00:46:28 +00:00
Radoje Albijanic
58a353e5f3
Refactor models to php7
2019-01-23 00:46:28 +00:00
Radoje Albijanic
272033dff2
Refactor Tag models to php7 code ( #548 )
...
* Refactor models to php7 code
* return model from create method fix
2019-01-22 18:38:44 +01:00
Radoje Albijanic
259d91cb75
Update Suppression models to php7 ( #547 )
...
* PHP7 code in Suppression/Bounce
* PHP7 code in Suppression/Complaint and some fixes
* PHP7 code in Suppression/Unsubscribe and some fixes
* Minor
* Empty constructors, changed DateTimeImmutable instead of DateTime
* Code format
* Refactor and consistency fixes
* Nullable getter return values, nullable address fixes
2019-01-22 16:43:20 +01:00
Nyholm
2fe264038b
Bugfix
2019-01-20 11:03:18 +00:00
Nyholm
997d545e61
Bugfixes
2019-01-20 11:03:18 +00:00
Nyholm
d0cafddeab
Moved MailingList, Message and Route to PHP7 code
2019-01-20 11:03:18 +00:00
Nyholm
ac056e9f75
Updated paging to PHP7
2019-01-20 11:01:02 +00:00
Nyholm
61ae9bc945
Updating Stats models to PHP7 code
2019-01-20 10:59:47 +00:00
Tobias Nyholm
a7f8c14fe8
Cs
2019-01-17 08:31:01 +00:00
Nyholm
9dab02afd4
Make PHP-stan happy
2019-01-17 08:31:01 +00:00
Nyholm
28a4454c63
Fixed PHP7 on Event model and Ip model
2019-01-17 08:31:01 +00:00
Tobias Nyholm
51cff9dbdc
cs
2019-01-15 10:43:26 +00:00
Nyholm
47ef0542f0
Updated other domain models
2019-01-15 10:43:26 +00:00
Nyholm
0c3b716cf2
Updated some models with PHP 7 code
2019-01-15 10:43:26 +00:00
Nyholm
3fbd33f640
Make sure we dont use any risky tests
2019-01-12 16:56:42 +00:00
Nyholm
0f54332d0e
CS and fixes
2019-01-12 10:34:44 +00:00
Nyholm
2ec2c16227
Added PHP7 code and did some refactoring.
2019-01-12 10:34:44 +00:00
Nyholm
2b60fba811
Moved Mailgun\Model\Route\Response
to Mailgun\Model\Route
2019-01-12 10:28:05 +00:00
David Garcia
6a943ddce3
Include missed use statements
2019-01-10 22:15:40 +00:00
David Garcia
de2902aac4
Review assets
2019-01-10 22:15:40 +00:00
David Garcia
88a9e4b1ff
Relocate files
2019-01-10 22:15:40 +00:00
David Garcia
c40fe862cc
Remove removed file
...
It was restored as part of a rebase.
Removing it again not to cause a namespace\class conflict.
2019-01-10 22:15:40 +00:00
David Garcia
f3566026b6
Remove egulias/email-validator and dependencies
2019-01-10 22:15:40 +00:00
David Garcia
5927cb162e
Add method to get access to Email Validation
2019-01-10 22:15:40 +00:00
David Garcia
961ae177fa
Add new lines to improve readability
2019-01-10 22:15:40 +00:00
David Garcia
2c98efc519
Re-order API methods by name
...
Easier to read
2019-01-10 22:15:40 +00:00
David Garcia
9f61a1e6dc
Missed annotation
2019-01-10 22:15:40 +00:00
David Garcia
f775795b85
Test EmailValidation Model
2019-01-10 22:15:40 +00:00
David Garcia
39feab32e5
Remove unused use statement
2019-01-10 22:15:40 +00:00
David Garcia
34b33a9127
Add Header comment
2019-01-10 22:15:40 +00:00
David Garcia
df7043343e
Test Parse model for Parseable and Unparseable data
2019-01-10 22:15:40 +00:00
David Garcia
6fc5b1e938
Test Parts model
2019-01-10 22:15:40 +00:00
David Garcia
8cb9a0e48a
Provide test to parse a valid email address
2019-01-10 22:15:40 +00:00
David Garcia
2c37651097
Remove non-required tests
...
Egulias/EmailValidator validates these cases,
is useless to test it
2019-01-10 22:15:40 +00:00
David Garcia
18d948be0f
Provide test to validate a valid email address
2019-01-10 22:15:40 +00:00
David Garcia
3f097bb178
Add EmailValidationTest
2019-01-10 22:15:40 +00:00
David Garcia
f12480e313
Remove public endpoints & implement private endpoints
2019-01-10 22:15:40 +00:00
David Garcia
e90f829eb4
Add ParsePesponse
2019-01-10 22:15:40 +00:00
David Garcia
0039e26be2
Add model to map the Parse response
2019-01-10 22:15:40 +00:00
David Garcia
1fb0d0bbc5
Email Validation does not return a key name, just the resource itself
2019-01-10 22:15:40 +00:00
David Garcia
3cf9aca200
StyleCI fixes
2019-01-10 22:15:40 +00:00
David Garcia
d15dbc4f69
Extract the email address from the string
...
me@davidgarcia.cat => me@davidgarcia.cat
David Garcia <me@davidgarcia.cat> => me@davidgarcia.cat
David Garcia me@davidgarcia.cat => me@davidgarcia.cat
David me@davidgarcia.cat Garcia => me@davidgarcia.cat
2019-01-10 22:15:40 +00:00