- Make all tests pass Client (V4),CRMV2,CRMV4 - Simplify client submodule path - Move App_url to .env.testing
198 lines
73 KiB
HTML
198 lines
73 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Code Coverage for /home/jeremy/projets/crm/app/Http/Middleware/ApiCheckTimeStamps.php</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link href="../../../_css/bootstrap.min.css?v=10.1.7" rel="stylesheet" type="text/css">
|
|
<link href="../../../_css/octicons.css?v=10.1.7" rel="stylesheet" type="text/css">
|
|
<link href="../../../_css/style.css?v=10.1.7" rel="stylesheet" type="text/css">
|
|
<link href="../../../_css/custom.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item"><a href="../../../index.html">/home/jeremy/projets/crm</a></li>
|
|
<li class="breadcrumb-item"><a href="../../index.html">app</a></li>
|
|
<li class="breadcrumb-item"><a href="../index.html">Http</a></li>
|
|
<li class="breadcrumb-item"><a href="index.html">Middleware</a></li>
|
|
<li class="breadcrumb-item active">ApiCheckTimeStamps.php</li>
|
|
|
|
</ol>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div class="container-fluid">
|
|
<div class="table-responsive">
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<td> </td>
|
|
<td colspan="10"><div align="center"><strong>Code Coverage</strong></div></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td colspan="3"><div align="center"><strong>Lines</strong></div></td>
|
|
<td colspan="4"><div align="center"><strong>Functions and Methods</strong></div></td>
|
|
<td colspan="3"><div align="center"><strong>Classes and Traits</strong></div></td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="success">Total</td>
|
|
<td class="success big"> <div class="progress">
|
|
<div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
|
|
<span class="sr-only">100.00% covered (success)</span>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td class="success small"><div align="right">100.00%</div></td>
|
|
<td class="success small"><div align="right">7 / 7</div></td>
|
|
<td class="success big"> <div class="progress">
|
|
<div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
|
|
<span class="sr-only">100.00% covered (success)</span>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td class="success small"><div align="right">100.00%</div></td>
|
|
<td class="success small"><div align="right">1 / 1</div></td>
|
|
<td class="success small"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></td>
|
|
<td class="success big"> <div class="progress">
|
|
<div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
|
|
<span class="sr-only">100.00% covered (success)</span>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td class="success small"><div align="right">100.00%</div></td>
|
|
<td class="success small"><div align="right">1 / 1</div></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="success"><abbr title="App\Http\Middleware\ApiCheckTimeStamps">ApiCheckTimeStamps</abbr></td>
|
|
<td class="success big"> <div class="progress">
|
|
<div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
|
|
<span class="sr-only">100.00% covered (success)</span>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td class="success small"><div align="right">100.00%</div></td>
|
|
<td class="success small"><div align="right">7 / 7</div></td>
|
|
<td class="success big"> <div class="progress">
|
|
<div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
|
|
<span class="sr-only">100.00% covered (success)</span>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td class="success small"><div align="right">100.00%</div></td>
|
|
<td class="success small"><div align="right">1 / 1</div></td>
|
|
<td class="success small">6</td>
|
|
<td class="success big"> <div class="progress">
|
|
<div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
|
|
<span class="sr-only">100.00% covered (success)</span>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td class="success small"><div align="right">100.00%</div></td>
|
|
<td class="success small"><div align="right">1 / 1</div></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="success"> <a href="#28"><abbr title="handle(Illuminate\Http\Request $request, Closure $next): mixed">handle</abbr></a></td>
|
|
<td class="success big"> <div class="progress">
|
|
<div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
|
|
<span class="sr-only">100.00% covered (success)</span>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td class="success small"><div align="right">100.00%</div></td>
|
|
<td class="success small"><div align="right">7 / 7</div></td>
|
|
<td class="success big"> <div class="progress">
|
|
<div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
|
|
<span class="sr-only">100.00% covered (success)</span>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td class="success small"><div align="right">100.00%</div></td>
|
|
<td class="success small"><div align="right">1 / 1</div></td>
|
|
<td class="success small">6</td>
|
|
<td class="success" colspan="3"></td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<table id="code" class="table table-borderless table-condensed">
|
|
<tbody>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="1" href="#1">1</a></td><td class="col-11 codeLine"><span class="default"><?php</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="2" href="#2">2</a></td><td class="col-11 codeLine"></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="3" href="#3">3</a></td><td class="col-11 codeLine"><span class="keyword">namespace</span><span class="default"> </span><span class="default">App\Http\Middleware</span><span class="keyword">;</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="4" href="#4">4</a></td><td class="col-11 codeLine"></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="5" href="#5">5</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default"> </span><span class="default">App\Enums\ApiError</span><span class="keyword">;</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="6" href="#6">6</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default"> </span><span class="default">App\Exceptions\Api\V4\ApiErrorException</span><span class="keyword">;</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="7" href="#7">7</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default"> </span><span class="default">App\Lib\Helper</span><span class="keyword">;</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="8" href="#8">8</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default"> </span><span class="default">Illuminate\Http\Request</span><span class="keyword">;</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="9" href="#9">9</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default"> </span><span class="default">Illuminate\Support\Carbon</span><span class="keyword">;</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="10" href="#10">10</a></td><td class="col-11 codeLine"></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="11" href="#11">11</a></td><td class="col-11 codeLine"><span class="comment">/**</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="12" href="#12">12</a></td><td class="col-11 codeLine"><span class="comment"> * Check Http Header Timestamp with request timestamp</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="13" href="#13">13</a></td><td class="col-11 codeLine"><span class="comment"> * to prevent replay attacks</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="14" href="#14">14</a></td><td class="col-11 codeLine"><span class="comment"> * https://restfulapi.net/security-essentials/</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="15" href="#15">15</a></td><td class="col-11 codeLine"><span class="comment"> */</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="16" href="#16">16</a></td><td class="col-11 codeLine"><span class="keyword">class</span><span class="default"> </span><span class="default">ApiCheckTimeStamps</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="17" href="#17">17</a></td><td class="col-11 codeLine"><span class="keyword">{</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="18" href="#18">18</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="comment">/**</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="19" href="#19">19</a></td><td class="col-11 codeLine"><span class="comment"> * Handle an incoming request.</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="20" href="#20">20</a></td><td class="col-11 codeLine"><span class="comment"> *</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="21" href="#21">21</a></td><td class="col-11 codeLine"><span class="comment"> * @param \Illuminate\Http\Request $request</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="22" href="#22">22</a></td><td class="col-11 codeLine"><span class="comment"> * @param \Closure $next</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="23" href="#23">23</a></td><td class="col-11 codeLine"><span class="comment"> * @return mixed</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="24" href="#24">24</a></td><td class="col-11 codeLine"><span class="comment"> * @throws \App\Exceptions\Api\V4\ApiErrorException With ApiError::wrongTimeStamp</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="25" href="#25">25</a></td><td class="col-11 codeLine"><span class="comment"> * if timestamp has an incorrect</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="26" href="#26">26</a></td><td class="col-11 codeLine"><span class="comment"> * format or is timed out.</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="27" href="#27">27</a></td><td class="col-11 codeLine"><span class="comment"> */</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="28" href="#28">28</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">public</span><span class="default"> </span><span class="keyword">function</span><span class="default"> </span><span class="default">handle</span><span class="keyword">(</span><span class="default">Request</span><span class="default"> </span><span class="default">$request</span><span class="keyword">,</span><span class="default"> </span><span class="default">\Closure</span><span class="default"> </span><span class="default">$next</span><span class="keyword">)</span><span class="keyword">:</span><span class="default"> </span><span class="default">mixed</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="29" href="#29">29</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">{</span></td></tr>
|
|
<tr class="covered-by-large-tests popin d-flex"><td data-title="84 tests cover line 30" data-content="<ul><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddleware</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailMissing</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailWrongFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testApiThrottle</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrand</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrandShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrandShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddleware</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddlewareCheckFailMissing</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddlewareCheckFailWrongFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testApiThrottle</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ArcadiaTest::testArcadiaSendOrderDefault</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ArcadiaTest::testArcadiaSendOrderGame</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerValidationFailures</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testActivateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testActivateCustomerAlreadyActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiUpdateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerByEmailOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiCompletelyDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndexWithAnswers</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testCustomerUnAnsweredIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionSetAnswer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptinOn</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptinOff</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrand</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrandShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrandShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidDateFormat</li></ul>" data-placement="top" data-html="true" class="col-1 text-right"><a id="30" href="#30">30</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">if</span><span class="default"> </span><span class="keyword">(</span><span class="default">Helper</span><span class="default">::</span><span class="default">isRequestForApiV2</span><span class="keyword">(</span><span class="default">$request</span><span class="keyword">)</span><span class="default"> </span><span class="default">||</span><span class="default"> </span><span class="default">Helper</span><span class="default">::</span><span class="default">isRequestForApiV4</span><span class="keyword">(</span><span class="default">$request</span><span class="keyword">)</span><span class="keyword">)</span><span class="default"> </span><span class="keyword">{</span></td></tr>
|
|
<tr class="covered-by-large-tests popin d-flex"><td data-title="84 tests cover line 31" data-content="<ul><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddleware</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailMissing</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailWrongFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testApiThrottle</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrand</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrandShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrandShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddleware</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddlewareCheckFailMissing</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddlewareCheckFailWrongFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testApiThrottle</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ArcadiaTest::testArcadiaSendOrderDefault</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ArcadiaTest::testArcadiaSendOrderGame</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerValidationFailures</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testActivateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testActivateCustomerAlreadyActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiUpdateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerByEmailOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiCompletelyDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndexWithAnswers</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testCustomerUnAnsweredIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionSetAnswer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptinOn</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptinOff</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrand</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrandShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrandShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidDateFormat</li></ul>" data-placement="top" data-html="true" class="col-1 text-right"><a id="31" href="#31">31</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">if</span><span class="default"> </span><span class="keyword">(</span><span class="keyword">!</span><span class="default">\is_string</span><span class="keyword">(</span><span class="default">$request</span><span class="default">-></span><span class="default">timestamp</span><span class="keyword">)</span><span class="default"> </span><span class="default">or</span><span class="default"> </span><span class="keyword">!</span><span class="default">Carbon</span><span class="default">::</span><span class="default">hasFormat</span><span class="keyword">(</span><span class="default">$request</span><span class="default">-></span><span class="default">timestamp</span><span class="keyword">,</span><span class="default"> </span><span class="default">'Y-m-d H:i:s'</span><span class="keyword">)</span><span class="keyword">)</span><span class="default"> </span><span class="keyword">{</span></td></tr>
|
|
<tr class="covered-by-large-tests popin d-flex"><td data-title="4 tests cover line 32" data-content="<ul><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailMissing</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailWrongFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddlewareCheckFailMissing</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddlewareCheckFailWrongFormat</li></ul>" data-placement="top" data-html="true" class="col-1 text-right"><a id="32" href="#32">32</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">throw</span><span class="default"> </span><span class="keyword">new</span><span class="default"> </span><span class="default">ApiErrorException</span><span class="keyword">(</span><span class="default">ApiError</span><span class="default">::</span><span class="default">wrongTimeStamp</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="33" href="#33">33</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">}</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="34" href="#34">34</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">if</span><span class="default"> </span><span class="keyword">(</span></td></tr>
|
|
<tr class="covered-by-large-tests popin d-flex"><td data-title="80 tests cover line 35" data-content="<ul><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddleware</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testApiThrottle</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrand</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrandShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrandShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddleware</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testApiThrottle</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ArcadiaTest::testArcadiaSendOrderDefault</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ArcadiaTest::testArcadiaSendOrderGame</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerValidationFailures</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testActivateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testActivateCustomerAlreadyActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiUpdateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerByEmailOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiCompletelyDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndexWithAnswers</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testCustomerUnAnsweredIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionSetAnswer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptinOn</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptinOff</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrand</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrandShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrandShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidDateFormat</li></ul>" data-placement="top" data-html="true" class="col-1 text-right"><a id="35" href="#35">35</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="default">Carbon</span><span class="default">::</span><span class="default">parse</span><span class="keyword">(</span><span class="default">$request</span><span class="default">-></span><span class="default">timestamp</span><span class="keyword">,</span><span class="default"> </span><span class="default">'utc'</span><span class="keyword">)</span></td></tr>
|
|
<tr class="covered-by-large-tests popin d-flex"><td data-title="80 tests cover line 36" data-content="<ul><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddleware</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testApiThrottle</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrand</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrandShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrandShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddleware</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testApiThrottle</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ArcadiaTest::testArcadiaSendOrderDefault</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ArcadiaTest::testArcadiaSendOrderGame</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerValidationFailures</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testActivateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testActivateCustomerAlreadyActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiUpdateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerByEmailOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiCompletelyDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndexWithAnswers</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testCustomerUnAnsweredIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionSetAnswer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptinOn</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptinOff</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrand</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrandShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrandShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidDateFormat</li></ul>" data-placement="top" data-html="true" class="col-1 text-right"><a id="36" href="#36">36</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="default">-></span><span class="default">isBefore</span><span class="keyword">(</span><span class="default">Carbon</span><span class="default">::</span><span class="default">now</span><span class="keyword">(</span><span class="default">'UTC'</span><span class="keyword">)</span><span class="default">-></span><span class="default">subSeconds</span><span class="keyword">(</span><span class="default">config</span><span class="keyword">(</span><span class="default">'api.timestampTimeout'</span><span class="keyword">,</span><span class="default"> </span><span class="default">10</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">)</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="37" href="#37">37</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">)</span><span class="default"> </span><span class="keyword">{</span></td></tr>
|
|
<tr class="covered-by-large-tests popin d-flex"><td data-title="2 tests cover line 38" data-content="<ul><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li></ul>" data-placement="top" data-html="true" class="col-1 text-right"><a id="38" href="#38">38</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">throw</span><span class="default"> </span><span class="keyword">new</span><span class="default"> </span><span class="default">ApiErrorException</span><span class="keyword">(</span><span class="default">ApiError</span><span class="default">::</span><span class="default">wrongTimeStamp</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="39" href="#39">39</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">}</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="40" href="#40">40</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">}</span></td></tr>
|
|
<tr class="covered-by-large-tests popin d-flex"><td data-title="78 tests cover line 41" data-content="<ul><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddleware</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testApiThrottle</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrand</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrandShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrandShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByQuestionShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testTimestampMiddleware</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testApiThrottle</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ArcadiaTest::testArcadiaSendOrderDefault</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ArcadiaTest::testArcadiaSendOrderGame</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiStoreCustomerValidationFailures</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testActivateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testActivateCustomerAlreadyActivated</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiUpdateCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerByEmailOk</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiGetCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\CustomerTest::testApiCompletelyDestroyCustomer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndexWithAnswers</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testCustomerUnAnsweredIndex</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionSetAnswer</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptinOn</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptinOff</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrand</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrandShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByBrandShouldFailWithInvalidDateFormat</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidQuestion</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidDate</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\StatsTest::testStatsByQuestionShouldFailWithInvalidDateFormat</li></ul>" data-placement="top" data-html="true" class="col-1 text-right"><a id="41" href="#41">41</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">return</span><span class="default"> </span><span class="default">$next</span><span class="keyword">(</span><span class="default">$request</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="42" href="#42">42</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">}</span></td></tr>
|
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="43" href="#43">43</a></td><td class="col-11 codeLine"><span class="keyword">}</span></td></tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<footer>
|
|
<hr/>
|
|
<h4>Legend</h4>
|
|
<p><span class="legend covered-by-small-tests">Covered by small (and larger) tests</span><span class="legend covered-by-medium-tests">Covered by medium (and large) tests</span><span class="legend covered-by-large-tests">Covered by large tests (and tests of unknown size)</span><span class="legend not-covered">Not covered</span><span class="legend not-coverable">Not coverable</span></p>
|
|
<p>
|
|
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.7</a> using <a href="https://www.php.net/" target="_top">PHP 8.2.10</a> and <a href="https://phpunit.de/">PHPUnit 10.3.5</a> at Thu Oct 5 13:16:08 CEST 2023.</small>
|
|
</p>
|
|
<a title="Back to the top" id="toplink" href="#">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M12 11L6 5l-6 6h12z"/></svg>
|
|
</a>
|
|
</footer>
|
|
</div>
|
|
<script src="../../../_js/jquery.min.js?v=10.1.7" type="text/javascript"></script>
|
|
<script src="../../../_js/popper.min.js?v=10.1.7" type="text/javascript"></script>
|
|
<script src="../../../_js/bootstrap.min.js?v=10.1.7" type="text/javascript"></script>
|
|
<script src="../../../_js/file.js?v=10.1.7" type="text/javascript"></script>
|
|
</body>
|
|
</html>
|