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.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications