Skip to content

Commit 328ebb7

Browse files
authored
Copyright 2020 (#25)
* update copyright to 2020 * lint
1 parent 9cbf726 commit 328ebb7

11 files changed

+13
-13
lines changed

src/Contract/LuhnAlgorithmExceptionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2018 Niklas Ekman
6+
* Copyright (c) 2020 Niklas Ekman
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy of
99
* this software and associated documentation files (the "Software"), to deal in

src/Contract/LuhnAlgorithmInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2018 Niklas Ekman
6+
* Copyright (c) 2020 Niklas Ekman
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy of
99
* this software and associated documentation files (the "Software"), to deal in
@@ -41,9 +41,9 @@ interface LuhnAlgorithmInterface
4141
*
4242
* @param NumberInterface $number The number to validate.
4343
*
44+
* @throws MissingCheckDigitException If the check digit in the number is not set.
4445
* @return bool true if number is valid, false otherwise.
4546
*
46-
* @throws MissingCheckDigitException If the check digit in the number is not set.
4747
*/
4848
public function isValid(NumberInterface $number): bool;
4949

src/Contract/NumberInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2018 Niklas Ekman
6+
* Copyright (c) 2020 Niklas Ekman
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy of
99
* this software and associated documentation files (the "Software"), to deal in

src/Exceptions/ArgumentIsNotNumericException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2018 Niklas Ekman
6+
* Copyright (c) 2020 Niklas Ekman
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy of
99
* this software and associated documentation files (the "Software"), to deal in

src/Exceptions/MissingCheckDigitException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2018 Niklas Ekman
6+
* Copyright (c) 2020 Niklas Ekman
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy of
99
* this software and associated documentation files (the "Software"), to deal in

src/LuhnAlgorithm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2018 Niklas Ekman
6+
* Copyright (c) 2020 Niklas Ekman
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy of
99
* this software and associated documentation files (the "Software"), to deal in

src/LuhnAlgorithmFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2018 Niklas Ekman
6+
* Copyright (c) 2020 Niklas Ekman
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy of
99
* this software and associated documentation files (the "Software"), to deal in

src/Number.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2018 Niklas Ekman
6+
* Copyright (c) 2020 Niklas Ekman
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy of
99
* this software and associated documentation files (the "Software"), to deal in
@@ -67,9 +67,9 @@ public function __construct(string $number, int $checkDigit = null)
6767
*
6868
* @param string $input The input that contains the check digit already.
6969
*
70+
* @throws ArgumentIsNotNumericException If the input does not consist entirely of numbers.
7071
* @return self
7172
*
72-
* @throws ArgumentIsNotNumericException If the input does not consist entirely of numbers.
7373
*/
7474
public static function fromString(string $input): self
7575
{

tests/LuhnAlgorithmFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2018 Niklas Ekman
6+
* Copyright (c) 2020 Niklas Ekman
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy of
99
* this software and associated documentation files (the "Software"), to deal in

tests/LuhnAlgorithmTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2018 Niklas Ekman
6+
* Copyright (c) 2020 Niklas Ekman
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy of
99
* this software and associated documentation files (the "Software"), to deal in

tests/NumberTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2018 Niklas Ekman
6+
* Copyright (c) 2020 Niklas Ekman
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy of
99
* this software and associated documentation files (the "Software"), to deal in

0 commit comments

Comments
 (0)