Skip to content

Commit 80f75f1

Browse files
committed
whitelisted csrfp php library for code coverage
1 parent 6453d50 commit 80f75f1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
phpunit.phar
1+
phpunit.phar
2+
coverage/*

phpunit.xml.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,9 @@
77
<testsuite name="OWASP CSRF Protector php">
88
<directory>./test/csrfprotector_test.php</directory>
99
</testsuite>
10+
<filter>
11+
<whitelist processUncoveredFilesFromWhitelist="true">
12+
<file>libs/csrf/csrfprotector.php</file>
13+
</whitelist>
14+
</filter>
1015
</phpunit>

0 commit comments

Comments
 (0)