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

phpolar / csrf-protection
96%
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 refactor-middleware
branch: refactor-middleware
CHANGE BRANCH
x
Reset
Sync Branches
  • refactor-middleware
  • 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
  • exclude-files-in-pre-commit
  • 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-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 07:25PM CUT coverage: 95.951% (-2.8%) from 98.785%
4271491295

Pull #40

github

GitHub
Merge 8beb8952d into 3e7bf53a1
Pull Request #40: refactor(CsrfRequestCheckMiddleware): delegate to next handler when r…

4 of 4 new or added lines in 1 file covered. (100.0%)

7 existing lines in 1 file now uncovered.

237 of 247 relevant lines covered (95.95%)

15.02 hits per line

Relevant lines Covered
Build:
Build:
247 RELEVANT LINES 237 COVERED LINES
15.02 HITS PER LINE
Source Files on refactor-middleware
  • Tree
  • List 13
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
0.0
src/constants.php11 3 0 3 0.0
58.82
src/Http/AbstractCsrfProtectionMiddleware.php107 17 10 - 77 + 71.0 - 11
100.0
src/Http/CsrfProtectionRequestHandler.php219 76 76 0 42.0
100.0
src/Http/CsrfRequestCheckMiddleware.php37 + 45 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.php29 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
100.0
src/Http/ResponseFilterStrategyInterface.php18 0 0 0 0.0
Showing 1 to 10 of 13 entries
  • Previous
  • 1
  • 2
  • Next
  • ►
    95.95
    src/

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
4271491295 refactor-middleware Merge 8beb8952d into 3e7bf53a1 Pull #40 25 Feb 2023 07:24PM CUT GitHub github
95.95
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