Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.03 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.03 KB

PHP Reflection Utils

A small helper class to make accessing private properties and methods easier, largely used in testing.

Build Status

Installation

The library can be included via composer

{
    "require-dev": {
        "betterphp/php-reflection-utils": "1.0.0"
    }
}

Documentation

Jenkins publishes a phpdoc here

Testing

We use phpcs and phpunit for testing, run both before commiting anything

./vendor/bin/phpcs -p --standard=./ruleset.xml .
./vendor/bin/phpunit -c ./phpunit.xml

phpunit will do code coverage checking which requires xdebug, if it's not installed this will fail gracefully - not to worry.

A report of the test coverage is published here by Jenkins