Coverage increased (+0.1%) to 97.727% when pulling 50400de51e006a759aed420529bc7ea71d97d003 on pulzarraider:microseconds into 9fbb2eaf584d0e04f9d49e008c6abe56e2915625 on kevinkhill:master.
Coverage increased (+0.1%) to 97.727% when pulling 50400de51e006a759aed420529bc7ea71d97d003 on pulzarraider:microseconds into 9fbb2eaf584d0e04f9d49e008c6abe56e2915625 on kevinkhill:master.
In our project we need seconds with higher precisions - microseconds, e.g. for storing and formatting best time of athlets.
This PR adds support for microseconds without BC break.
The code is also reformatted according to PSR1/PSR2.
Diff without whitespace changes: https://github.com/kevinkhill/php-duration/pull/12/files?w=1