Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: coverage from codecov #2

Merged
merged 1 commit into from
Dec 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a:6:{s:9:"classesIn";a:0:{}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:9;s:18:"commentLinesOfCode";i:0;s:21:"nonCommentLinesOfCode";i:9;}s:15:"ignoredLinesFor";a:1:{i:0;i:5;}s:17:"executableLinesIn";a:0:{}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a:6:{s:9:"classesIn";a:1:{s:35:"FacelessLog\Detectors\PhoneDetector";a:6:{s:4:"name";s:13:"PhoneDetector";s:14:"namespacedName";s:35:"FacelessLog\Detectors\PhoneDetector";s:9:"namespace";s:21:"FacelessLog\Detectors";s:9:"startLine";i:5;s:7:"endLine";i:11;s:7:"methods";a:1:{s:6:"detect";a:6:{s:10:"methodName";s:6:"detect";s:9:"signature";s:29:"detect(string $message): bool";s:10:"visibility";s:6:"public";s:9:"startLine";i:7;s:7:"endLine";i:10;s:3:"ccn";i:1;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:11;s:18:"commentLinesOfCode";i:0;s:21:"nonCommentLinesOfCode";i:11;}s:15:"ignoredLinesFor";a:1:{i:0;i:5;}s:17:"executableLinesIn";a:1:{i:9;i:1;}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a:6:{s:9:"classesIn";a:1:{s:40:"FacelessLog\Detectors\CreditCardDetector";a:6:{s:4:"name";s:18:"CreditCardDetector";s:14:"namespacedName";s:40:"FacelessLog\Detectors\CreditCardDetector";s:9:"namespace";s:21:"FacelessLog\Detectors";s:9:"startLine";i:5;s:7:"endLine";i:11;s:7:"methods";a:1:{s:6:"detect";a:6:{s:10:"methodName";s:6:"detect";s:9:"signature";s:29:"detect(string $message): bool";s:10:"visibility";s:6:"public";s:9:"startLine";i:7;s:7:"endLine";i:10;s:3:"ccn";i:1;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:12;s:18:"commentLinesOfCode";i:0;s:21:"nonCommentLinesOfCode";i:12;}s:15:"ignoredLinesFor";a:1:{i:0;i:5;}s:17:"executableLinesIn";a:1:{i:9;i:1;}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a:6:{s:9:"classesIn";a:1:{s:39:"FacelessLog\Anonymizers\EmailAnonymizer";a:6:{s:4:"name";s:15:"EmailAnonymizer";s:14:"namespacedName";s:39:"FacelessLog\Anonymizers\EmailAnonymizer";s:9:"namespace";s:23:"FacelessLog\Anonymizers";s:9:"startLine";i:5;s:7:"endLine";i:23;s:7:"methods";a:1:{s:9:"anonymize";a:6:{s:10:"methodName";s:9:"anonymize";s:9:"signature";s:34:"anonymize(string $message): string";s:10:"visibility";s:6:"public";s:9:"startLine";i:7;s:7:"endLine";i:22;s:3:"ccn";i:1;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:24;s:18:"commentLinesOfCode";i:0;s:21:"nonCommentLinesOfCode";i:24;}s:15:"ignoredLinesFor";a:1:{i:0;i:5;}s:17:"executableLinesIn";a:10:{i:9;i:1;i:21;i:1;i:10;i:2;i:11;i:3;i:13;i:4;i:14;i:5;i:16;i:5;i:15;i:6;i:18;i:7;i:20;i:8;}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a:6:{s:9:"classesIn";a:1:{s:44:"FacelessLog\Anonymizers\CreditCardAnonymizer";a:6:{s:4:"name";s:20:"CreditCardAnonymizer";s:14:"namespacedName";s:44:"FacelessLog\Anonymizers\CreditCardAnonymizer";s:9:"namespace";s:23:"FacelessLog\Anonymizers";s:9:"startLine";i:5;s:7:"endLine";i:15;s:7:"methods";a:1:{s:9:"anonymize";a:6:{s:10:"methodName";s:9:"anonymize";s:9:"signature";s:34:"anonymize(string $message): string";s:10:"visibility";s:6:"public";s:9:"startLine";i:7;s:7:"endLine";i:14;s:3:"ccn";i:1;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:16;s:18:"commentLinesOfCode";i:0;s:21:"nonCommentLinesOfCode";i:16;}s:15:"ignoredLinesFor";a:1:{i:0;i:5;}s:17:"executableLinesIn";a:5:{i:9;i:1;i:10;i:1;i:11;i:1;i:12;i:1;i:13;i:1;}}
Original file line number Diff line number Diff line change
@@ -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:13:"getInstance()";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;}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a:6:{s:9:"classesIn";a:1:{s:39:"FacelessLog\Detectors\BirthDateDetector";a:6:{s:4:"name";s:17:"BirthDateDetector";s:14:"namespacedName";s:39:"FacelessLog\Detectors\BirthDateDetector";s:9:"namespace";s:21:"FacelessLog\Detectors";s:9:"startLine";i:5;s:7:"endLine";i:14;s:7:"methods";a:1:{s:6:"detect";a:6:{s:10:"methodName";s:6:"detect";s:9:"signature";s:29:"detect(string $message): bool";s:10:"visibility";s:6:"public";s:9:"startLine";i:7;s:7:"endLine";i:13;s:3:"ccn";i:2;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:15;s:18:"commentLinesOfCode";i:0;s:21:"nonCommentLinesOfCode";i:15;}s:15:"ignoredLinesFor";a:1:{i:0;i:5;}s:17:"executableLinesIn";a:3:{i:9;i:1;i:10;i:2;i:12;i:3;}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a:6:{s:9:"classesIn";a:1:{s:39:"FacelessLog\Anonymizers\PhoneAnonymizer";a:6:{s:4:"name";s:15:"PhoneAnonymizer";s:14:"namespacedName";s:39:"FacelessLog\Anonymizers\PhoneAnonymizer";s:9:"namespace";s:23:"FacelessLog\Anonymizers";s:9:"startLine";i:5;s:7:"endLine";i:15;s:7:"methods";a:1:{s:9:"anonymize";a:6:{s:10:"methodName";s:9:"anonymize";s:9:"signature";s:34:"anonymize(string $message): string";s:10:"visibility";s:6:"public";s:9:"startLine";i:7;s:7:"endLine";i:14;s:3:"ccn";i:1;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:16;s:18:"commentLinesOfCode";i:0;s:21:"nonCommentLinesOfCode";i:16;}s:15:"ignoredLinesFor";a:1:{i:0;i:5;}s:17:"executableLinesIn";a:5:{i:9;i:1;i:10;i:1;i:11;i:1;i:12;i:1;i:13;i:1;}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a:6:{s:9:"classesIn";a:1:{s:35:"FacelessLog\Detectors\EmailDetector";a:6:{s:4:"name";s:13:"EmailDetector";s:14:"namespacedName";s:35:"FacelessLog\Detectors\EmailDetector";s:9:"namespace";s:21:"FacelessLog\Detectors";s:9:"startLine";i:5;s:7:"endLine";i:12;s:7:"methods";a:1:{s:6:"detect";a:6:{s:10:"methodName";s:6:"detect";s:9:"signature";s:29:"detect(string $message): bool";s:10:"visibility";s:6:"public";s:9:"startLine";i:7;s:7:"endLine";i:11;s:3:"ccn";i:1;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:13;s:18:"commentLinesOfCode";i:0;s:21:"nonCommentLinesOfCode";i:13;}s:15:"ignoredLinesFor";a:1:{i:0;i:5;}s:17:"executableLinesIn";a:2:{i:9;i:1;i:10;i:2;}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a:6:{s:9:"classesIn";a:1:{s:38:"FacelessLog\Aspect\LogAnonymizerAspect";a:6:{s:4:"name";s:19:"LogAnonymizerAspect";s:14:"namespacedName";s:38:"FacelessLog\Aspect\LogAnonymizerAspect";s:9:"namespace";s:18:"FacelessLog\Aspect";s:9:"startLine";i:10;s:7:"endLine";i:35;s:7:"methods";a:2:{s:11:"__construct";a:6:{s:10:"methodName";s:11:"__construct";s:9:"signature";s:47:"__construct(FacelessLog\FacelessLogger $logger)";s:10:"visibility";s:6:"public";s:9:"startLine";i:17;s:7:"endLine";i:20;s:3:"ccn";i:1;}s:7:"process";a:6:{s:10:"methodName";s:7:"process";s:9:"signature";s:63:"process(Hyperf\Di\Aop\ProceedingJoinPoint $proceedingJoinPoint)";s:10:"visibility";s:6:"public";s:9:"startLine";i:29;s:7:"endLine";i:34;s:3:"ccn";i:1;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:36;s:18:"commentLinesOfCode";i:6;s:21:"nonCommentLinesOfCode";i:30;}s:15:"ignoredLinesFor";a:1:{i:0;i:10;}s:17:"executableLinesIn";a:4:{i:19;i:2;i:31;i:4;i:32;i:5;i:33;i:6;}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a:6:{s:9:"classesIn";a:0:{}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:9;s:18:"commentLinesOfCode";i:0;s:21:"nonCommentLinesOfCode";i:9;}s:15:"ignoredLinesFor";a:1:{i:0;i:5;}s:17:"executableLinesIn";a:0:{}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a:6:{s:9:"classesIn";a:1:{s:43:"FacelessLog\Anonymizers\BirthDateAnonymizer";a:6:{s:4:"name";s:19:"BirthDateAnonymizer";s:14:"namespacedName";s:43:"FacelessLog\Anonymizers\BirthDateAnonymizer";s:9:"namespace";s:23:"FacelessLog\Anonymizers";s:9:"startLine";i:5;s:7:"endLine";i:13;s:7:"methods";a:1:{s:9:"anonymize";a:6:{s:10:"methodName";s:9:"anonymize";s:9:"signature";s:34:"anonymize(string $message): string";s:10:"visibility";s:6:"public";s:9:"startLine";i:7;s:7:"endLine";i:12;s:3:"ccn";i:1;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:14;s:18:"commentLinesOfCode";i:0;s:21:"nonCommentLinesOfCode";i:14;}s:15:"ignoredLinesFor";a:1:{i:0;i:5;}s:17:"executableLinesIn";a:2:{i:9;i:1;i:10;i:2;}}
2 changes: 1 addition & 1 deletion .phpunit.cache/test-results
Original file line number Diff line number Diff line change
@@ -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.081,"Unit\\Anonymizers\\BirthDateAnonymizerTest::testAnonymizeWithSlashedDateFormat":0,"Unit\\Anonymizers\\BirthDateAnonymizerTest::testAnonymizeWithoutDate":0,"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeCreditCardNumber":0,"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeWithDifferentSeparators":0,"Unit\\Anonymizers\\CreditCardAnonymizerTest::testAnonymizeWithoutCreditCardNumber":0,"Unit\\Anonymizers\\EmailAnonymizerTest::testAnonymizeEmailAddress":0,"Unit\\Anonymizers\\EmailAnonymizerTest::testAnonymizeMultipleEmailAddresses":0,"Unit\\Anonymizers\\EmailAnonymizerTest::testAnonymizeWithoutEmailAddress":0,"Unit\\Anonymizers\\PhoneAnonymizerTest::testAnonymizePhoneNumber":0,"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,"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,"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,"Unit\\Detectors\\EmailDetectorTest::testDetectsEmail#1":0,"Unit\\Detectors\\EmailDetectorTest::testDetectsEmail#2":0,"Unit\\Detectors\\EmailDetectorTest::testDetectsEmail#3":0,"Unit\\Detectors\\PhoneDetectorTest::testDetectsPhone#0":0,"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}}
{"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}}
Loading