PSR standards · Question 2 of 12
How are PER Coding Style and PSR-12 related?
1 answer is correct. Easy
Show answer
Answer
- C PER Coding Style extends and replaces PSR-12 as the PHP-FIG's coding style recommendation
Explanation
PER stands for PHP Evolving Recommendation: unlike a frozen PSR, a PER can evolve along with new PHP versions. The PER Coding Style explicitly extends and replaces PSR-12, because PSR-12 does not cover newer language features such as enums, attributes or readonly properties. TYPO3 applies it to its own code via the package typo3/coding-standards. So it is not a TYPO3-specific style but a PHP-FIG standard shared by many projects.