Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Commit 5a01270

Browse files
Merge pull request #4 from Mastercard/feature/fixing-code-smells
Add Sonar comments to disable code coverage checks
2 parents a58b090 + 97bd1e4 commit 5a01270

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/Developer/Encryption/FieldLevelEncryption.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
*/
1313
class FieldLevelEncryption {
1414

15+
//NOSONAR
1516
private function __construct() {
1617
// This class can't be instantiated
1718
}

src/Developer/Json/JsonPath.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class JsonPath {
1616
const FIRST_CHILD_KEY = "/(?:\[')([^\[\]]*)(?:'\])/"; // Returns "obj1" for "$['obj1']['obj2']"
1717
const FIRST_TOKEN_IN_PATH = "/(\['[^\[\]]*'\])/"; // Returns "['obj1']" for "$['obj1']['obj2']"
1818

19+
//NOSONAR
1920
private function __construct() {
2021
// This class can't be instantiated
2122
}

src/Developer/Utils/EncodingUtils.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
class EncodingUtils {
77

8+
//NOSONAR
89
private function __construct() {
910
// This class can't be instantiated
1011
}

src/Developer/Utils/EncryptionUtils.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class EncryptionUtils {
1414
const PKCS_8_PEM_HEADER = '-----BEGIN PRIVATE KEY-----';
1515
const PKCS_8_PEM_FOOTER = '-----END PRIVATE KEY-----';
1616

17+
//NOSONAR
1718
private function __construct() {
1819
// This class can't be instantiated
1920
}

0 commit comments

Comments
 (0)