marc-mabe / php-enum

Simple and fast implementation of enumerations with native PHP
BSD 3-Clause "New" or "Revised" License
464 stars 36 forks source link

fixed logic of 'truncate out-of-range bits of last byte' #82

Closed marc-mabe closed 7 years ago

marc-mabe commented 7 years ago

... in EnumSet::setBinaryBitset*()

prolic commented 7 years ago

Just after final release :-)

marc-mabe commented 7 years ago

yea I run into it now after update :( It doesn't happen with all enumerations as explained on the changed test