Test Failed
Push — master ( 5b1611...ed3501 )
by John
02:50
created

AuthnetInvalidCredentialsException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
crap 1
1
<?php
0 ignored issues
show
Coding Style introduced by
Class found in ".php" file; use ".inc" extension instead
Loading history...
Coding Style introduced by
The PHP open tag does not have a corresponding PHP close tag
Loading history...
Coding Style introduced by
Filename "AuthnetInvalidCredentialsException.php" doesn't match the expected filename "authnetinvalidcredentialsexception.php"
Loading history...
2
3
declare(strict_types=1);
4
5
/**
0 ignored issues
show
Coding Style introduced by
Block comments must be started with /*
Loading history...
6
 * This file is part of the AuthnetJSON package.
7
 *
8
 * (c) John Conde <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace JohnConde\Authnet;
15
16
/**
17
 * Exception that is throw when invalid Authorize.Net API credentials are provided
18
 *
19
 * @author    John Conde <[email protected]>
20
 * @copyright John Conde <[email protected]>
21
 * @license   http://www.apache.org/licenses/LICENSE-2.0.html Apache License, Version 2.0
22
 * @link      https://github.com/stymiee/authnetjson
23
 */
24
class AuthnetInvalidCredentialsException extends AuthnetException
25
{
0 ignored issues
show
Coding Style introduced by
Opening brace should be on the same line as the declaration for class AuthnetInvalidCredentialsException
Loading history...
26
27
}
0 ignored issues
show
Coding Style introduced by
Expected //end class
Loading history...
Coding Style introduced by
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
28