Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ $preparedResponse = $middleWare->process($request, $routingHandler);
## Thresholds
|Source Code Size|Memory Usage|
|----------------|------------|
|4.5 kB|108 kB
|4.2 kB|108 kB

[Back to top](#csrf-protection)
2 changes: 1 addition & 1 deletion acceptance-test-results.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
- [x] Memory usage shall be below 108000 bytes

## Project Size (Phpolar\CsrfProtection\ProjectSize)
- [x] Source code total size shall be below 4500 bytes
- [x] Source code total size shall be below 4200 bytes

Original file line number Diff line number Diff line change
Expand Up @@ -206,31 +206,31 @@ <h4 class="phpdocumentor-element__name" id="method___construct">

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Phpolar-CsrfProtection-Storage-AbstractTokenStorage.html"><abbr title="\Phpolar\CsrfProtection\Storage\AbstractTokenStorage">AbstractTokenStorage</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$storage</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Phpolar-CsrfProtection-CsrfTokenGenerator.html"><abbr title="\Phpolar\CsrfProtection\CsrfTokenGenerator">CsrfTokenGenerator</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$tokenGenerator</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Phpolar\Http\Message\ResponseFilterStrategyInterface">ResponseFilterStrategyInterface</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$filterStrategy</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Phpolar-CsrfProtection-CsrfToken.html"><abbr title="\Phpolar\CsrfProtection\CsrfToken">CsrfToken</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$token</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Phpolar-CsrfProtection-Storage-AbstractTokenStorage.html"><abbr title="\Phpolar\CsrfProtection\Storage\AbstractTokenStorage">AbstractTokenStorage</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$storage</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Phpolar\Http\Message\ResponseFilterInterface">ResponseFilterInterface</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$responseFilter</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>

<section class="phpdocumentor-description"></section>

<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$storage</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Phpolar-CsrfProtection-Storage-AbstractTokenStorage.html"><abbr title="\Phpolar\CsrfProtection\Storage\AbstractTokenStorage">AbstractTokenStorage</abbr></a></span>
<span class="phpdocumentor-signature__argument__name">$token</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Phpolar-CsrfProtection-CsrfToken.html"><abbr title="\Phpolar\CsrfProtection\CsrfToken">CsrfToken</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>

</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$tokenGenerator</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Phpolar-CsrfProtection-CsrfTokenGenerator.html"><abbr title="\Phpolar\CsrfProtection\CsrfTokenGenerator">CsrfTokenGenerator</abbr></a></span>
<span class="phpdocumentor-signature__argument__name">$storage</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Phpolar-CsrfProtection-Storage-AbstractTokenStorage.html"><abbr title="\Phpolar\CsrfProtection\Storage\AbstractTokenStorage">AbstractTokenStorage</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>

</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$filterStrategy</span>
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Phpolar\Http\Message\ResponseFilterStrategyInterface">ResponseFilterStrategyInterface</abbr></span>
<span class="phpdocumentor-signature__argument__name">$responseFilter</span>
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Phpolar\Http\Message\ResponseFilterInterface">ResponseFilterInterface</abbr></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>
Expand Down
12 changes: 4 additions & 8 deletions docs/graphs/classes.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading