All notable changes to this project are documented in this file. This project adheres to Semantic Versioning.
- Added PhpStorm run configurations for executing the tests
- Added PHPCS config file set to PSR-2
- Bumped PHP minimum requirement to PHP 5.6
- Removed PHP 5.4 & 5.5 from Travis matrix as they aren't supported anymore
- Added PHP 7.3 & 7.4 to Travis matrix
- Upgraded to new Scrutinizer PHP Analysis engine
0.13.1 - 2020-02-17
- Add PHP 7.2 to Travis matrix
- Round amount to two digits to circumvent problematic float values #31
0.13.0 - 2019-02-27
- Removed unfinished support for Red Payment Slip (ES)
0.12.2 - 2017-08-07
- Added a Stickler CI config file
- Added test coverage under PHP 7.0, 7.1 and nightly (7.2) on Travis CI
- Achieved compatibility with PHP 7.0, 7.1 and nightly (7.2)
- Removed HHVM support
- Updated various dependencies incl. PHPUnit to 4.8.x and PHPCS to 2.9.x
- Improve Composer installation instructions #20
- Fix "A non-numeric value encountered" error #34
- Fix type error in test suite on PHP 7.0 and upwards #35
0.12.1 - 2016-02-26
- Fixed mistakenly right padded cents (Thanks to @FFDani)
0.12.0 - 2015-06-15
- "composer test" command executing phpunit
- "composer check-codestyle" command executing phpcs
- "composer fix-checkstyle" command executing phpcbf
- Updated PHP dependency to 5.4 or higher
- Updated squizlabs/php_codesniffer development dependency to version ^2.1.0
- Updated phpunit/phpunit development dependency to version ^4.0.0
- Changed to short array syntax
- Let setNotForPayment() respect disabled data
0.11.1 - 2015-02-18
- Exclude development/testing only related stuff from the Composer package
0.11.0 - 2015-02-18
- $displayBackground as settable/gettable property
0.10.0 - 2015-02-18
- Removed the parameters from the getAllElements (API breaking) Added gettable/settable properties instead.
- Moved code line data & element to orange payment slip classes (API breaking)
- Removed breaking code from example
- Made getDisplayXXXX methods dependent on the related data setting(s) This fixes a newly introduced issue where calling the getAllElements method would throw an exception, if there was one or more disabled element data.
0.9.0 - 2015-02-13
- A base exception class for library related exceptions
- An exception class for when disabled data is accessed
- An exception will be thrown when disabled data is requested instead of returning false
- An exception will be thrown when disabled data is tried to be set instead of simply not set it
- Various data setter methods are now public instead of protected as there was no actual reason
- Various minor improvements to the DocBlocks
0.8.0 - 2015-02-12
- A common class for payment slip (not their data containers) test cases
- Packagist Download & Latest badges to the README
- Testing with HHVM for Travis CI
- A .gitattributes
- Implemented a fluent interface
- Split the red and orange slips into two sub classes each (for the slip and its data container)
- Throw exceptions when calling methods with invalid parameters instead of returning false (API breaking)
- Changed parameter count and order of getAllElements (API breaking)
- Removed misleading time key, which fooled Packagist
- Improved DocBlocks and documentation
- Vastly reworked and cleaned up the all tests
0.7.0 - 2015-02-06
- This change log
- .editorconfig file
- PHPUnit 3.7.38 as development dependency
- PHPMD 2.1.* as development dependency
- Scrutinizer CI integration & badges
- composer.lock (not ignored anymore)
- Fully adopted the PSR2 Code Style
- Various CS and DocBlock improvements and other code clean up
- Renamed SwissPaymentSlip to PaymentSlip and SwissPaymentSlipData to PaymentSlipData
- Improved documentation
- Adopted the PSR-4 autoloader standard
- Some minor issues reported by Scrutinizer CI
0.6.0 - 2013-09-16
- "Not for payment" switch
0.5.0 - 2013-03-08
- Initial commit with README, LICENSE, composer.json, Travis CI integration, PHPUnit config, actual code, tests and some examples