• 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 allow-token-add-after-max
branch: allow-token-add-after-max
CHANGE BRANCH
x
Reset
Sync Branches
  • allow-token-add-after-max
  • add-badges
  • add-ide-config
  • add-logo
  • add-security-policy
  • add-token-in-handler
  • allow-extending
  • 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-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 05:36PM CUT coverage: 97.458% (-0.04%) from 97.5%
5048763990

Pull #86

github

GitHub
Merge 3d4e98539 into c0e8040e5
Pull Request #86: fix(SessionTokenStorage): allow adding tokens after max count thresho…

115 of 118 relevant lines covered (97.46%)

13.64 hits per line

Relevant lines Covered
Build:
Build:
118 RELEVANT LINES 115 COVERED LINES
13.64 HITS PER LINE
Source Files on allow-token-add-after-max
  • Tree
  • List 9
  • Changed 2
  • Source Changed 1
  • Coverage Changed 1
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 47 47 0 23.0
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.php106 26 26 0 10.0
100.0
src/Storage/SessionTokenStorage.php71 - 221 - 221 - 20 2.0
100.0
src/Storage/SessionWrapper.php16 1 1 0 2.0
Showing 1 to 9 of 9 entries
  • Previous
  • 1
  • Next
  • ►
    97.46
    src/

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
5048763990 allow-token-add-after-max Merge 3d4e98539 into c0e8040e5 Pull #86 22 May 2023 05:36PM CUT GitHub github
97.46
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