-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Febraban Type #168
base: main
Are you sure you want to change the base?
Added Febraban Type #168
Conversation
@diogenes-souza-dev Would love to add this. Please add some basic tests for this barcode type and I will merge it. |
Ok, I will do it soon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am sorry, but the code itself does not have unit tests for this type. Please add tests like the ones in https://github.com/picqer/php-barcode-generator/tree/main/tests, at least you need a verified file for this type so it will be automatically test. That way we know for sure that it will keep working in the future. |
Ok of course, I'll try to contribute to this PR then and add the unit tests when I get a little time |
"Boleto" is the one of the most used payment methods in Brazil.
Febraban is the type of barcode used in boletos. It's is basically a interleaved of 2:5, but the digits order is different, then I ajusted to generate barcode in that order.