Skip to content

Commit

Permalink
Retirada de validação dos bins da bandeira Elo
Browse files Browse the repository at this point in the history
  • Loading branch information
jdgrieco committed Jul 25, 2018
1 parent 18ac417 commit 6c28cf6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/CreditCard.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ class CreditCard
'cvcLength' => array(3),
'luhn' => true,
),
'elo' => array(
'type' => 'elo',
'pattern' => '/.*/',
'length' => array(16),
'cvcLength' => array(3),
'luhn' => true,
),
// 'elo' => array(
// 'type' => 'elo',
// 'pattern' => '/^((50670[7-8])|(506715)|(50671[7-9])|(50672[0-1])|(50672[4-9])|(50673[0-3])|(506739)|(50674[0-8])|(50675[0-3])|(50677[4-8])|(50900[0-9])|(50901[3-9])|(50902[0-9])|(50903[1-9])|(50904[0-9])|(50905[0-9])|(50906[0-4])|(50906[6-9])|(50907[0-2])|(50907[4-5])|(636368)|(636297)|(504175)|(438935)|(40117[8-9])|(45763[1-2])|(457393)|(431274)|(50907[6-9])|(50908[0-9])|(627780))/',
// 'length' => array(16),
// 'cvcLength' => array(3),
// 'luhn' => true,
// ),
'visa' => array(
'type' => 'visa',
'pattern' => '/^4/',
Expand Down

0 comments on commit 6c28cf6

Please sign in to comment.