PSR-0, PSR-1 and PSR-2. Test with the PHPCS configuration in tools/phpcs/ruleset.xml (note if you have PHPStorm you can use this to turn on the PHPCS inspection).
Use PHPUnit for Unit Testing. Test with the 2 known users: (SimpleSAMLphp)[https://www.simplesamlphp.org] and (OpenConext-engineblock)[https://www.openconext.org] .
In order to run the unittests, use vendor/bin/phpunit -c tools/phpunit
Prior to contributing, please read the following documentation:
Also when introducing a BC breaking change, please update the UPGRADING.md with instructions on how to deal with the change.