PHP

PHP

By DeepSource

Class method doesn't comply with PSR standardsPHP-C1001
Style

As per PSR-1, class methods must be declared in the camelCase.

It is recommended that you follow PSR standards while developing PHP applications so the code is consistent and can be easily maintained.

Class constants don't comply with PSR standardsPHP-C1000
Style

As per PSR-1, class constants must be declared in all upper cases with underscore separators only.

It is recommended to follow PSR standards while developing PHP applications so the code is consistent and can be easily maintained.