Closed aashishgurung closed 2 years ago
Turn the function validateRequest to static as it is used statically in the class-omise-callback else it won't work in PHP 8 and above.
validateRequest
class-omise-callback
PHP Fatal error: Uncaught Error: Non-static method RequestHelper::validateRequest() cannot be called statically.
Reference:
🔧 Environments:
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
No Coverage information 0.0% Duplication
1. Objective
Turn the function
validateRequest
to static as it is used statically in theclass-omise-callback
else it won't work in PHP 8 and above.Reference:
🔧 Environments: