Skip to content

Commit 19914c6

Browse files
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 references
1 parent 577e218 commit 19914c6

16 files changed

Lines changed: 867 additions & 2310 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/.idea/
33
clover.xml
44
.phpunit.result.cache
5+
CLAUDE.md

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2105 Gerben Geijteman
3+
Copyright (c) 2015 Gerben Geijteman
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

composer.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"require-dev": {
2525
"phpunit/phpunit": "^9.5",
2626
"phpmd/phpmd": "^2.13",
27-
"vimeo/psalm": "^5.1",
2827
"orchestra/testbench": "^7.15 || ^8.0",
2928
"phpstan/phpstan": "^1.9",
3029
"squizlabs/php_codesniffer": "^3.7 || ^4.0",
@@ -55,8 +54,6 @@
5554
"test": [
5655
"@phpmd --version",
5756
"@phpmd --strict src text cyclomatic.xml",
58-
"@psalm --version",
59-
"@psalm",
6057
"@phpstan --version",
6158
"@phpstan analyse",
6259
"@phpcbf --version",
@@ -75,7 +72,6 @@
7572
],
7673
"phpunit": "vendor/phpunit/phpunit/phpunit",
7774
"phpmd": "vendor/bin/phpmd",
78-
"psalm": "vendor/bin/psalm",
7975
"phpstan": "vendor/bin/phpstan",
8076
"phpcs": "vendor/bin/phpcs",
8177
"phpcbf": "vendor/bin/phpcbf",

0 commit comments

Comments
 (0)