diff --git a/.phpunit.cache/code-coverage/6f76e177da74d8a6947f9e458c43599b b/.phpunit.cache/code-coverage/6f76e177da74d8a6947f9e458c43599b new file mode 100644 index 0000000..ceaccdf --- /dev/null +++ b/.phpunit.cache/code-coverage/6f76e177da74d8a6947f9e458c43599b @@ -0,0 +1 @@ +a:6:{s:9:"classesIn";a:1:{s:26:"FacelessLog\FacelessLogger";a:6:{s:4:"name";s:14:"FacelessLogger";s:14:"namespacedName";s:26:"FacelessLog\FacelessLogger";s:9:"namespace";s:11:"FacelessLog";s:9:"startLine";i:16;s:7:"endLine";i:66;s:7:"methods";a:6:{s:11:"__construct";a:6:{s:10:"methodName";s:11:"__construct";s:9:"signature";s:13:"__construct()";s:10:"visibility";s:6:"public";s:9:"startLine";i:22;s:7:"endLine";i:28;s:3:"ccn";i:1;}s:11:"getInstance";a:6:{s:10:"methodName";s:11:"getInstance";s:9:"signature";s:41:"getInstance(): FacelessLog\FacelessLogger";s:10:"visibility";s:6:"public";s:9:"startLine";i:30;s:7:"endLine";i:36;s:3:"ccn";i:2;}s:11:"addDetector";a:6:{s:10:"methodName";s:11:"addDetector";s:9:"signature";s:119:"addDetector(FacelessLog\Detectors\DetectorInterface $detector, FacelessLog\Anonymizers\AnonymizerInterface $anonymizer)";s:10:"visibility";s:6:"public";s:9:"startLine";i:39;s:7:"endLine";i:43;s:3:"ccn";i:1;}s:21:"clearDefaultDetectors";a:6:{s:10:"methodName";s:21:"clearDefaultDetectors";s:9:"signature";s:23:"clearDefaultDetectors()";s:10:"visibility";s:6:"public";s:9:"startLine";i:46;s:7:"endLine";i:49;s:3:"ccn";i:1;}s:23:"clearDefaultAnonymizers";a:6:{s:10:"methodName";s:23:"clearDefaultAnonymizers";s:9:"signature";s:25:"clearDefaultAnonymizers()";s:10:"visibility";s:6:"public";s:9:"startLine";i:51;s:7:"endLine";i:54;s:3:"ccn";i:1;}s:14:"processMessage";a:6:{s:10:"methodName";s:14:"processMessage";s:9:"signature";s:24:"processMessage($message)";s:10:"visibility";s:6:"public";s:9:"startLine";i:56;s:7:"endLine";i:65;s:3:"ccn";i:3;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:67;s:18:"commentLinesOfCode";i:0;s:21:"nonCommentLinesOfCode";i:67;}s:15:"ignoredLinesFor";a:1:{i:0;i:16;}s:17:"executableLinesIn";a:16:{i:24;i:4;i:25;i:5;i:26;i:6;i:27;i:7;i:32;i:8;i:33;i:9;i:35;i:10;i:41;i:11;i:42;i:12;i:48;i:13;i:53;i:14;i:58;i:15;i:59;i:16;i:60;i:17;i:61;i:18;i:64;i:19;}} \ No newline at end of file diff --git a/.phpunit.cache/test-results b/.phpunit.cache/test-results index 3d81150..95e8b19 100644 --- a/.phpunit.cache/test-results +++ b/.phpunit.cache/test-results @@ -1 +1 @@ -{"version":1,"defects":{"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeCreditCardNumber":7,"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeWithDifferentSeparators":8,"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeWithoutCreditCardNumber":8,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#5":7},"times":{"Unit\\Anonymizers\\BirthDateAnonymizerTest::testAnonymizeWithDashedDateFormat":0.159,"Unit\\Anonymizers\\BirthDateAnonymizerTest::testAnonymizeWithSlashedDateFormat":0,"Unit\\Anonymizers\\BirthDateAnonymizerTest::testAnonymizeWithoutDate":0,"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeCreditCardNumber":0.008,"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeWithDifferentSeparators":0,"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeWithoutCreditCardNumber":0,"Unit\\Anonymizers\\EmailAnonymizerTest::testAnonymizeEmailAddress":0.008,"Unit\\Anonymizers\\EmailAnonymizerTest::testAnonymizeMultipleEmailAddresses":0,"Unit\\Anonymizers\\EmailAnonymizerTest::testAnonymizeWithoutEmailAddress":0,"Unit\\Anonymizers\\PhoneAnonymizerTest::testAnonymizePhoneNumber":0.009,"Unit\\Anonymizers\\PhoneAnonymizerTest::testAnonymizeMultiplePhoneNumbers":0,"Unit\\Anonymizers\\PhoneAnonymizerTest::testAnonymizeWithoutPhoneNumber":0,"Unit\\Detectors\\BirthDateDetectorTest::testDetectsBrazilianFormatDate":0.014,"Unit\\Detectors\\BirthDateDetectorTest::testDetectsISOFormatDate":0,"Unit\\Detectors\\BirthDateDetectorTest::testDetectsDate#with pt-br date":0.019,"Unit\\Detectors\\BirthDateDetectorTest::testDetectsDate#with iso date":0,"Unit\\Detectors\\BirthDateDetectorTest::testDetectsDate#without date":0,"Unit\\Detectors\\BirthDateDetectorTest::testDetectsDate#without iso date":0,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#0":0.009,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#1":0,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#2":0,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#3":0,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#4":0,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#5":0,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#6":0,"Unit\\Detectors\\EmailDetectorTest::testDetectsEmail#0":0.009,"Unit\\Detectors\\EmailDetectorTest::testDetectsEmail#1":0,"Unit\\Detectors\\EmailDetectorTest::testDetectsEmail#2":0,"Unit\\Detectors\\EmailDetectorTest::testDetectsEmail#3":0,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#0":0.009,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#1":0,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#2":0,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#3":0,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#4":0,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#5":0}} \ No newline at end of file +{"version":1,"defects":{"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeCreditCardNumber":7,"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeWithDifferentSeparators":8,"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeWithoutCreditCardNumber":8,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#5":7,"Unit\\FacelessLoggerTest::testSingletonInstance":8,"Unit\\FacelessLoggerTest::testAddAndProcessDetectorAnonymizer":8,"Unit\\FacelessLoggerTest::testClearDefaultDetectors":8,"Unit\\FacelessLoggerTest::testClearDefaultAnonymizers":8,"Unit\\FacelessLoggerTest::testProcessMessageWithNoDetectors":8},"times":{"Unit\\Anonymizers\\BirthDateAnonymizerTest::testAnonymizeWithDashedDateFormat":0.17,"Unit\\Anonymizers\\BirthDateAnonymizerTest::testAnonymizeWithSlashedDateFormat":0,"Unit\\Anonymizers\\BirthDateAnonymizerTest::testAnonymizeWithoutDate":0,"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeCreditCardNumber":0.008,"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeWithDifferentSeparators":0,"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeWithoutCreditCardNumber":0,"Unit\\Anonymizers\\EmailAnonymizerTest::testAnonymizeEmailAddress":0.008,"Unit\\Anonymizers\\EmailAnonymizerTest::testAnonymizeMultipleEmailAddresses":0,"Unit\\Anonymizers\\EmailAnonymizerTest::testAnonymizeWithoutEmailAddress":0,"Unit\\Anonymizers\\PhoneAnonymizerTest::testAnonymizePhoneNumber":0.008,"Unit\\Anonymizers\\PhoneAnonymizerTest::testAnonymizeMultiplePhoneNumbers":0,"Unit\\Anonymizers\\PhoneAnonymizerTest::testAnonymizeWithoutPhoneNumber":0,"Unit\\Detectors\\BirthDateDetectorTest::testDetectsBrazilianFormatDate":0.014,"Unit\\Detectors\\BirthDateDetectorTest::testDetectsISOFormatDate":0,"Unit\\Detectors\\BirthDateDetectorTest::testDetectsDate#with pt-br date":0.018,"Unit\\Detectors\\BirthDateDetectorTest::testDetectsDate#with iso date":0,"Unit\\Detectors\\BirthDateDetectorTest::testDetectsDate#without date":0,"Unit\\Detectors\\BirthDateDetectorTest::testDetectsDate#without iso date":0,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#0":0.008,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#1":0,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#2":0,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#3":0,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#4":0,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#5":0,"Unit\\Detectors\\CreditCardDetectorTest::testDetectsCreditCard#6":0,"Unit\\Detectors\\EmailDetectorTest::testDetectsEmail#0":0.008,"Unit\\Detectors\\EmailDetectorTest::testDetectsEmail#1":0,"Unit\\Detectors\\EmailDetectorTest::testDetectsEmail#2":0,"Unit\\Detectors\\EmailDetectorTest::testDetectsEmail#3":0,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#0":0.008,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#1":0,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#2":0,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#3":0,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#4":0,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#5":0,"Unit\\FacelessLoggerTest::testSingletonInstance":0.465,"Unit\\FacelessLoggerTest::testAddAndProcessDetectorAnonymizer":0,"Unit\\FacelessLoggerTest::testClearDefaultDetectors":0.008,"Unit\\FacelessLoggerTest::testClearDefaultAnonymizers":0,"Unit\\FacelessLoggerTest::testProcessMessageWithNoDetectors":0}} \ No newline at end of file diff --git a/Anonymizers/AnonymizerInterface.php.html b/Anonymizers/AnonymizerInterface.php.html index de94ea6..984bf41 100644 --- a/Anonymizers/AnonymizerInterface.php.html +++ b/Anonymizers/AnonymizerInterface.php.html @@ -80,7 +80,7 @@
Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable
- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/Anonymizers/BirthDateAnonymizer.php.html b/Anonymizers/BirthDateAnonymizer.php.html index 715440d..0c59225 100644 --- a/Anonymizers/BirthDateAnonymizer.php.html +++ b/Anonymizers/BirthDateAnonymizer.php.html @@ -151,7 +151,7 @@Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable
- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/Anonymizers/CreditCardAnonymizer.php.html b/Anonymizers/CreditCardAnonymizer.php.html index 60c4390..920f2be 100644 --- a/Anonymizers/CreditCardAnonymizer.php.html +++ b/Anonymizers/CreditCardAnonymizer.php.html @@ -153,7 +153,7 @@Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable
- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/Anonymizers/EmailAnonymizer.php.html b/Anonymizers/EmailAnonymizer.php.html index bb30f6a..c2cef75 100644 --- a/Anonymizers/EmailAnonymizer.php.html +++ b/Anonymizers/EmailAnonymizer.php.html @@ -136,19 +136,19 @@Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable
- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/Anonymizers/PhoneAnonymizer.php.html b/Anonymizers/PhoneAnonymizer.php.html index aec0da2..93661ee 100644 --- a/Anonymizers/PhoneAnonymizer.php.html +++ b/Anonymizers/PhoneAnonymizer.php.html @@ -153,7 +153,7 @@Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable
- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/Anonymizers/dashboard.html b/Anonymizers/dashboard.html index 18076f0..3df9a93 100644 --- a/Anonymizers/dashboard.html +++ b/Anonymizers/dashboard.html @@ -136,7 +136,7 @@- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/Aspect/LogAnonymizerAspect.php.html b/Aspect/LogAnonymizerAspect.php.html index b5f25e4..e569646 100644 --- a/Aspect/LogAnonymizerAspect.php.html +++ b/Aspect/LogAnonymizerAspect.php.html @@ -195,7 +195,7 @@Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable
- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/Aspect/dashboard.html b/Aspect/dashboard.html index c8efc50..1bc9a7e 100644 --- a/Aspect/dashboard.html +++ b/Aspect/dashboard.html @@ -139,7 +139,7 @@- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/Detectors/BirthDateDetector.php.html b/Detectors/BirthDateDetector.php.html index 4b2d033..84bd69d 100644 --- a/Detectors/BirthDateDetector.php.html +++ b/Detectors/BirthDateDetector.php.html @@ -136,10 +136,10 @@Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable
- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/Detectors/CreditCardDetector.php.html b/Detectors/CreditCardDetector.php.html index 6390de6..1d7209c 100644 --- a/Detectors/CreditCardDetector.php.html +++ b/Detectors/CreditCardDetector.php.html @@ -136,7 +136,7 @@Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable
- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/Detectors/DetectorInterface.php.html b/Detectors/DetectorInterface.php.html index caf1b43..e96d493 100644 --- a/Detectors/DetectorInterface.php.html +++ b/Detectors/DetectorInterface.php.html @@ -80,7 +80,7 @@Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable
- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/Detectors/EmailDetector.php.html b/Detectors/EmailDetector.php.html index f59cb7e..a44118b 100644 --- a/Detectors/EmailDetector.php.html +++ b/Detectors/EmailDetector.php.html @@ -136,8 +136,8 @@Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable
- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/Detectors/PhoneDetector.php.html b/Detectors/PhoneDetector.php.html index 77b7d0a..1129b8f 100644 --- a/Detectors/PhoneDetector.php.html +++ b/Detectors/PhoneDetector.php.html @@ -136,7 +136,7 @@Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable
- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/Detectors/dashboard.html b/Detectors/dashboard.html index f9233b9..9d0f92d 100644 --- a/Detectors/dashboard.html +++ b/Detectors/dashboard.html @@ -136,7 +136,7 @@- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/FacelessLogger.php.html b/FacelessLogger.php.html index eab7fb8..9ddc4d2 100644 --- a/FacelessLogger.php.html +++ b/FacelessLogger.php.html @@ -42,193 +42,193 @@Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable
- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/coverage.xml b/coverage.xml index a842fad..f37975b 100644 --- a/coverage.xml +++ b/coverage.xml @@ -1,6 +1,6 @@ -- Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:41:09 UTC 2023. + Generated by php-code-coverage 10.1.10 using PHP 8.2.14 and PHPUnit 10.5.5 at Sun Dec 31 21:48:12 UTC 2023.
diff --git a/phpunit-report.html b/phpunit-report.html index 6eb2500..d95a6ac 100644 --- a/phpunit-report.html +++ b/phpunit-report.html @@ -93,6 +93,14 @@