Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 919 Bytes

README-DEV.md

File metadata and controls

30 lines (19 loc) · 919 Bytes

Notes for the SimpleSAMLphp SAML2 developer

Coding standards

PSR-0, PSR-1 and PSR-12. 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).

Testing

Use PHPUnit for Unit Testing. Test with the 2 known users: SimpleSAMLphp and OpenConext-engineblock.

Using Tests in Development

In order to run the unittests, use vendor/bin/phpunit

Contributing

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.