Update .gitattributes with more files to ignore
Add .gitignore for php unit test cache
Install dotenv file parser for unit testing
Update current test pages with dotenv file parser (replaces function
call)
Documentation PHPdoc update for checkMe method call
Config setup works with null data if no data is set.
Debugger is now launched in the AamzonIncentive class at the beginning
Debugger id/debug flag set is now one static call
Debugger methods all have proper PHPdoc documentationn added
Fixed Client/Curl error messages to include the original error message
too. Also made sure that a possible null endpoint is not throwing errors
If the exception json is not a json, return the array with message set
to the original string.
Updated the Client error result:
If Rate Exceeded error, set special T001 with RESEND status
Else set normal and ifn othing set to E999 with FAILURE
Because status RESEND/FAILURE has to be checked we also add this to the
Exception return json string.
Also handle unset errors (eg when we get an Rate Limit error)
Move the _ENV check into mtheod
test now has some basic mock tests