Commit 19914c6
committed
Fix API action names to match HostFact API v2 docs, remove psalm
API action name fixes (verified against hostfact.nl/developer/api):
- CanResendApproverEmail: resendapproveremail -> resendapprovermail
- CanPaymentProcessPause: payment_process_pause -> paymentprocesspause
- CanPaymentProcessReactivate: payment_process_reactivate -> paymentprocessreactivate
- CanAddAttachment/CanDeleteAttachment/CanDownloadAttachment: use controller=attachment with action=add/delete/download
- CanAddLine/CanDeleteLine: use controller={name}line with action=add/delete
- Hosting: new CanEmailAccountInfo trait sending sendaccountinfobyemail (was incorrectly sharing VPS trait sending sendaccountdatabyemail)
- Api.php: store exception message string instead of non-serializable exception object in error array
- LICENSE: fix copyright year typo (2105 -> 2015)
- Remove psalm (no modern PHP support): config, dependency, and script references1 parent 577e218 commit 19914c6
16 files changed
Lines changed: 867 additions & 2310 deletions
File tree
- src/Api
- Capabilities
- Controllers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
58 | | - | |
59 | | - | |
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
| |||
75 | 72 | | |
76 | 73 | | |
77 | 74 | | |
78 | | - | |
79 | 75 | | |
80 | 76 | | |
81 | 77 | | |
| |||
0 commit comments