• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

phpolar / csrf-protection
99%
main: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/composer/phpunit/phpunit-12.0.9
DEFAULT BRANCH: main
Repo Added 18 Jan 2023 03:06AM CUT
Token orRZCMWypACbl6nfYRtZq6qvcl6LvCCmN regen
Build 210 Last
Files 9
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH exclude-files-in-pre-commit
branch: exclude-files-in-pre-commit
CHANGE BRANCH
x
Reset
Sync Branches
  • exclude-files-in-pre-commit
  • add-badges
  • add-ide-config
  • add-logo
  • add-security-policy
  • add-token-in-handler
  • allow-extending
  • allow-token-add-after-max
  • auto-merge-switch-token
  • bump-0.4.3
  • change-csrf-token-key
  • dependabot/composer/guzzlehttp/psr7-2.5.0
  • dependabot/composer/php-coveralls/php-coveralls-2.6.0
  • dependabot/composer/php-coveralls/php-coveralls-2.7.0
  • dependabot/composer/phpolar/csrf-response-filter-1.0.1
  • dependabot/composer/phpstan/phpstan-1.10.15
  • dependabot/composer/phpstan/phpstan-1.10.16
  • dependabot/composer/phpstan/phpstan-1.10.18
  • dependabot/composer/phpstan/phpstan-1.10.19
  • dependabot/composer/phpstan/phpstan-1.10.20
  • dependabot/composer/phpstan/phpstan-1.10.21
  • dependabot/composer/phpstan/phpstan-1.10.22
  • dependabot/composer/phpstan/phpstan-1.10.23
  • dependabot/composer/phpstan/phpstan-1.10.24
  • dependabot/composer/phpstan/phpstan-1.10.25
  • dependabot/composer/phpstan/phpstan-1.10.26
  • dependabot/composer/phpstan/phpstan-1.10.29
  • dependabot/composer/phpstan/phpstan-1.10.30
  • dependabot/composer/phpstan/phpstan-1.10.37
  • dependabot/composer/phpstan/phpstan-1.10.39
  • dependabot/composer/phpstan/phpstan-1.10.40
  • dependabot/composer/phpstan/phpstan-1.10.41
  • dependabot/composer/phpstan/phpstan-1.10.43
  • dependabot/composer/phpstan/phpstan-1.10.44
  • dependabot/composer/phpstan/phpstan-1.10.45
  • dependabot/composer/phpstan/phpstan-1.10.46
  • dependabot/composer/phpstan/phpstan-1.10.47
  • dependabot/composer/phpunit/phpunit-10.1.3
  • dependabot/composer/phpunit/phpunit-10.2.0
  • dependabot/composer/phpunit/phpunit-10.2.1
  • dependabot/composer/phpunit/phpunit-10.2.2
  • dependabot/composer/phpunit/phpunit-10.2.3
  • dependabot/composer/phpunit/phpunit-10.2.4
  • dependabot/composer/phpunit/phpunit-10.2.5
  • dependabot/composer/phpunit/phpunit-10.2.6
  • dependabot/composer/phpunit/phpunit-10.2.7
  • dependabot/composer/phpunit/phpunit-10.3.2
  • dependabot/composer/phpunit/phpunit-10.3.3
  • dependabot/composer/phpunit/phpunit-10.3.4
  • dependabot/composer/phpunit/phpunit-10.4.2
  • dependabot/composer/phpunit/phpunit-10.5.1
  • dependabot/composer/phpunit/phpunit-10.5.2
  • dependabot/composer/phpunit/phpunit-12.0.9
  • enhance-comments
  • ericfortmeyer-patch-1
  • fix-comment
  • fix-comments
  • fix-dist-build
  • fix-docs
  • fix-docs-link
  • implement-response-filter
  • improve-coverage
  • improve-path-coverage
  • inject-token
  • load-tokens
  • lowercase-created
  • main
  • minor-linting
  • no-token-dups
  • phpunit-upgrade
  • prune-dist
  • reduce-dist-size
  • reduce-max-tokens
  • refactor-middleware
  • refactor-session-storage
  • refs/pull/109/merge
  • refs/pull/110/merge
  • refs/pull/111/merge
  • refs/pull/113/merge
  • refs/pull/119/merge
  • refs/pull/122/merge
  • refs/pull/125/merge
  • refs/pull/126/merge
  • refs/pull/127/merge
  • refs/pull/128/merge
  • refs/pull/129/merge
  • refs/pull/130/merge
  • refs/pull/132/merge
  • refs/pull/133/merge
  • remove-dep
  • remove-logger
  • rename-classes
  • split-middleware
  • token-check-refactor
  • update-deps
  • update-linting-rules
  • update-project-size-threshold
  • update-readme
  • upgrade-deps
  • upgrade-php-version
  • upgrade-phpunit
  • use-dependabot
  • use-new-logo
  • use-php-contrib-response-filter
  • use-request-filter-library
  • use-response-filter

25 Feb 2023 06:40PM CUT coverage: 98.785%. Remained the same
4271334562

Pull #37

github

GitHub
Merge 349478063 into 2007cdfbe
Pull Request #37: build(.pre-commit-config.yaml): exclude some files/directories from h…

244 of 247 relevant lines covered (98.79%)

15.83 hits per line

Relevant lines Covered
Build:
Build:
247 RELEVANT LINES 244 COVERED LINES
15.83 HITS PER LINE
Source Files on exclude-files-in-pre-commit
  • Tree
  • List 13
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
0.0
src/constants.php11 3 0 3 0.0
100.0
src/CsrfToken.php50 5 5 0 2.0
100.0
src/Http/AbstractCsrfProtectionMiddleware.php107 17 17 0 12.0
100.0
src/Http/CsrfProtectionRequestHandler.php219 76 76 0 42.0
100.0
src/Http/CsrfRequestCheckMiddleware.php33 5 5 0 20.0
100.0
src/Http/CsrfResponseFilterMiddlewareFactory.php45 9 9 0 1.0
100.0
src/Http/CsrfResponseFilterMiddleware.php47 6 6 0 1.0
100.0
src/Http/CsrfResponseFilter.php28 2 2 0 3.0
100.0
src/Http/ResponseFilterPatternStrategy.php55 27 27 0 2.0
100.0
src/Http/ResponseFilterScanStrategy.php157 78 78 0 1.0
Showing 1 to 10 of 13 entries
  • Previous
  • 1
  • 2
  • Next
  • ►
    98.79
    src/

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
4271334562 exclude-files-in-pre-commit Merge 349478063 into 2007cdfbe Pull #37 25 Feb 2023 06:40PM CUT GitHub github
98.79
See All Builds (122)

Badge your Repo: csrf-protection

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc