Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 839 Bytes

README-DEV.md

File metadata and controls

28 lines (21 loc) · 839 Bytes

Notes for the SimpleSAMLphp SAML2 developer

Coding standard

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).

Testing

Use PHPUnit for Unit Testing. Test with the 2 known users: (SimpleSAMLphp)[http://www.simplesaml.org] and (OpenConext-engineblock)[http://www.openconext.org] .

Using Tests in Development

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

Contributing

Prior to contributing, please read the following documentation: