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

phpolar / csrf-protection
97%
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 improve-coverage
branch: improve-coverage
CHANGE BRANCH
x
Reset
Sync Branches
  • improve-coverage
  • 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-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

22 May 2023 03:33AM CUT coverage: 97.436% (+0.9%) from 96.512%
5041517555

Pull #83

github

GitHub
Merge fae7e4fa7 into d5939ebe7
Pull Request #83: fix: fix various session handling issues

61 of 61 new or added lines in 5 files covered. (100.0%)

114 of 117 relevant lines covered (97.44%)

13.28 hits per line

Relevant lines Covered
Build:
Build:
117 RELEVANT LINES 114 COVERED LINES
13.28 HITS PER LINE
Source Files on improve-coverage
  • Tree
  • List 9
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
0.0
src/constants.php11 3 0 3 0.0
100.0
src/CsrfToken.php54 7 7 0 3.0
100.0
src/Http/CsrfProtectionRequestHandler.php149 + 847 - 147 - 10 23.0 - 2
100.0
src/Http/CsrfRequestCheckMiddleware.php39 5 5 0 21.0
100.0
src/Http/CsrfResponseFilterMiddleware.php40 3 3 0 1.0
100.0
src/Storage/AbstractSession.php42 5 5 0 1.0
100.0
src/Storage/AbstractTokenStorage.php102 - 423 + 323 + 30 9.0 - 1.0
100.0
src/Storage/SessionTokenStorage.php73 - 1023 + 2323 + 230 2.0 + 2
100.0
src/Storage/SessionWrapper.php16 1 1 0 2.0
Showing 1 to 9 of 9 entries
  • Previous
  • 1
  • Next
  • ►
    97.44
    src/

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
5041517555 improve-coverage Merge fae7e4fa7 into d5939ebe7 Pull #83 22 May 2023 03:33AM CUT GitHub github
97.44
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