2017 © Pedro Peláez
 

library hydrator

An annotation based Hydrator system

image

bairwell/hydrator

An annotation based Hydrator system

  • Friday, August 19, 2016
  • by bairwell
  • Repository
  • 1 Watchers
  • 0 Stars
  • 79 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 7 Open issues
  • 10 Versions
  • 1 % Grown

The README.md

Bairwell\Hydrator

Latest Stable Version License Coverage Status Build Status Total Downloads, (*1)

This is a PHP 7 Composer compatible library for providing an annotation based hydration facility., (*2)

WARNING

This code is currently ALPHA standard - it has had limited testing and is still under active development., (*3)

UNIT TESTS ARE CURRENTLY BROKEN., (*4)

Standards

The following PHP FIG standards should be followed:, (*5)

Standards Checking

PHP Code Sniffer highlights potential coding standards issues., (*6)

vendor/bin/phpcs, (*7)

PHP CS will use the configuration in phpcs.xml.dist by default., (*8)

To see which sniffs are running add "-s", (*9)

Unit Tests

PHPUnit is installed for unit testing (tests are in tests), (*10)

To run unit tests: vendor/bin/phpunit, (*11)

For a list of the tests that have ran: vendor/bin/phpunit --tap, (*12)

To restrict the tests run: vendor/bin/phpunit --filter 'Cors\\Exceptions\\BadOrigin', (*13)

or just, (*14)

vendor/bin/phpunit --filter 'ExceptionTest', (*15)

for all tests which have "Exception" in them and: vendor/bin/phpunit --filter '(ExceptionTest::testEverything|ExceptionTest::testStub)', (*16)

to test the two testEverything and testStub methods in the ExceptionTest class., (*17)

The Versions

19/08 2016
19/08 2016
19/07 2016
01/06 2016