Skip to content

Commit dc1349f

Browse files
committed
Code review.
1 parent 8eef6e1 commit dc1349f

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ php:
44
- '7.1'
55
- '7.2'
66
before_script: composer install
7-
script: vendor/bin/phpunit
7+
script: vendor/bin/phpunit

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Luhn Algorithm in PHP
1+
# Luhn Algorithm
2+
3+
[![Build Status](https://travis-ci.org/Ekman/Luhn-Algorithm.svg?branch=master)](https://travis-ci.org/Ekman/Luhn-Algorithm)
24

35
This is an implementation of the Luhn Algorithm in PHP. The Luhn Algorithm is
46
used to validate things like credit cards and national identifcation numbers.

src/LuhnAlgorithm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ public function calcChecksum(int $input): int {
9090

9191
return $checkSum;
9292
}
93-
}
93+
}

tests/LuhnAlgorithmTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ public function provideCalcCheckDigit_success() {
8181
[410321920, 2],
8282
];
8383
}
84-
}
84+
}

0 commit comments

Comments
 (0)