diff --git a/.travis.yml b/.travis.yml index 3f9e63ab7..ad14bf631 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,7 @@ php: matrix: include: - php: 5.3 + dist: precise env: 'COMPOSER_PHPUNIT="lowest"' before_script: diff --git a/config/credit_cards.php b/config/credit_cards.php index b32424a23..965260a38 100644 --- a/config/credit_cards.php +++ b/config/credit_cards.php @@ -47,7 +47,7 @@ 'mastercard' => array( 'length' => '16', - 'prefix' => '5[1-5]', + 'prefix' => '5[1-5]|2[2-7]', 'luhn' => TRUE, ),