Top "Psr-1" questions

PSR-1 is a PHP Standards Recommendation describing PHP's Basic Coding Standard.

What is the difference between StudlyCaps and CamelCase?

PSR suggests, method names MUST be declared in camelCase and class names MUST be declared in StudlyCaps.

psr-2 psr-1
Are parentheses required in PSR-2 PHP ternary syntax?

Question: are parentheses required in PSR-2 PHP ternary syntax? Looking for which (if either) of the following ternary statement's syntax …

php psr-2 psr-1