Commit Graph

41 Commits

Author SHA1 Message Date
14a26a602b
use assertion exception 2023-02-02 22:27:14 +01:00
1e2582a76b
add middleware to retry request in some error cases 2023-01-19 09:35:02 +01:00
a50567fd0c
remove unused ApiException 2023-01-18 09:28:05 +01:00
186bb2d622
add debug logger to default Guzzle client 2023-01-17 20:37:33 +01:00
6c5a83a8a8
make deprecated client argument optional in recipients list 2023-01-17 15:36:50 +01:00
54cfb2645c
add missing recipients list interface definition 2023-01-11 00:05:20 +01:00
95384c5eba
mark client parameter in recipient list class as deprecated 2023-01-07 22:50:17 +01:00
0d589f3878
fix wrong return type of LoggerHandler::getInstance 2022-07-28 10:22:13 +02:00
3338d70562
add request methods to it's interface 2022-07-27 09:31:46 +02:00
fed8040fcb
improve code 2022-07-21 14:07:10 +02:00
c8ca412c14
fix phpstan level 2 and below issues 2022-07-21 00:33:39 +02:00
7e43fa1537
adjust to current dependency packages and PHP >= 7.3 2022-07-20 11:33:56 +02:00
b22da1bd4a
apply PSR-12 rules 2022-07-18 23:59:49 +02:00
096ef7ed05
define allowed number types as class property 2022-07-18 14:09:19 +02:00
dc0b680776
move recipient number check from list to itself 2022-07-18 13:54:56 +02:00
05ff18d537
move recipient number check from recipient list to recipient itself 2022-07-18 13:29:23 +02:00
05132f82ee
set covers annotation for each test, complete tests 2022-07-16 23:49:47 +02:00
23de1d2f06
fix special phone number format before the request to be able to perform external checks with valid content 2022-07-15 16:33:01 +02:00
73694a1c57
add contexts to log items 2022-07-15 16:12:30 +02:00
fe60f1102d
change sender to notString value object 2022-07-14 16:06:33 +02:00
7e67bc1818
beautify code 2022-07-14 12:07:18 +02:00
aa88f09e16
move exception message to constant in messages class 2022-07-14 12:05:06 +02:00
f1eae3bd87
get sender address type only if sender is set 2022-07-14 12:04:06 +02:00
bd9c3e6c03
move Url classes, get SMS request URIs from URL class 2022-07-14 11:54:08 +02:00
5cbbc8295f
move logger handling to separate class 2022-07-14 11:49:59 +02:00
e521672b0a
adjust copyright notes 2022-07-13 10:50:45 +02:00
2acb1c9fb6
apply PSR-12 rules 2022-07-13 10:41:23 +02:00
3e801697af
add response tests 2022-07-12 14:54:06 +02:00
231cb91bdb
don't convert sender number to integer 2022-07-12 13:17:56 +02:00
c555a9ac6c
add tests for SMS requests 2022-07-12 12:15:52 +02:00
81b20fc979
format sender address as integer 2022-07-12 10:04:04 +02:00
81236bcf2c
add test for RequestFactory 2022-07-11 23:30:44 +02:00
67291c19da
add tests for some classes 2022-07-11 15:06:18 +02:00
3a3a940a01
add tests for client and url class 2022-07-10 21:52:37 +02:00
8411ed0786
add configuration registry 2022-07-04 13:31:12 +02:00
18d9748e64
specify error message 2022-07-01 16:10:53 +02:00
c502926daf
inject logger, do not catch exceptions that should lead to termination 2022-07-01 11:05:40 +02:00
6854f12e13
make compatible between different SMS types 2022-06-27 15:55:35 +02:00
fae19607c2
cleanup code 2022-06-24 16:01:37 +02:00
50cf733101
add exceptions, fix auth, implement response, sanitize recipient and sender 2022-06-24 14:46:23 +02:00
0cdfd0185b
initial 2022-06-24 08:18:11 +02:00