redeyeventures/geopattern-php — pull request #6 by mauris (2014-12-02 08:59:34+00:00)
Title: 1.2.x Update for GeoPattern

As discussed in #5, this is the pull request to merge the updates from my fork. The following summarizes the changes made:

- used `GeoPattern` as the main namespace
- removed the `geopattern_loader.php` loader
- updated the library to **PSR-2** & **PSR-4** compliant
- Added **Laravel Service Provider and Facade** (library still usable without using Laravel)
- moved test into the test folder.
- This means that test needs to be run using the command `phpunit -c test` instead.
- removed PHPUnit 3.7 from the `require-dev` in `composer.json`. Please use `composer global require phpunit/phpunit=4.3.*` to get phpunit installed.
- Added PHP 5.3, 5.4, 5.5, 5.6 for Travis-CI Testing
- added PHP CS checking in Travis-CI (found in `test/phpcs.xml`)

Future Improvements (not in this pull request):

- Additional tests required. The current test only tests the SVG class, and methods coverage only at a staggering 51.72%.
- Reduce LOC on GeoPattern class. 1200+ lines of code is horrendous. I saw a lot of repeated code, maybe we can abstract them better.