Travis pushed coverage of 4b9ec488f48fb45ab752b9bfe53ced31edcfacce@master to gh-pages

This commit is contained in:
TravisCI
2015-07-13 20:56:40 +00:00
parent bbad08607b
commit 5cbe90070c
75 changed files with 1111 additions and 1105 deletions

View File

@ -101,7 +101,7 @@
</tr>
<tr>
<td class="success" colspan="4">&nbsp;<a href="#19">generate($len = 40)</a></td>
<td class="success" colspan="4">&nbsp;<a href="#19"><abbr title="generate($len = 40)">generate</abbr></a></td>
<td class="success big"> <div class="progress">
<div class="progress-bar progress-bar-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>
@ -146,20 +146,20 @@
<tr><td><div align="right"><a name="18"></a><a href="#18">18</a></div></td><td class="codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
<tr><td><div align="right"><a name="19"></a><a href="#19">19</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">generate</span><span class="keyword">(</span><span class="default">$len</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">40</span><span class="keyword">)</span></td></tr>
<tr><td><div align="right"><a name="20"></a><a href="#20">20</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
<tr class="success popin" data-title="12 tests cover line 21" data-content="&lt;ul&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testNewAuthoriseRequest&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlowWithRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlowNoScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlowRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\TokenType\MacTest::testGenerateResponse&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\util\SecureKeyTest::testGenerate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="21"></a><a href="#21">21</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$stripped</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">''</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="12 tests cover line 21" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testNewAuthoriseRequest&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlowWithRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlowNoScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlowRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\TokenType\MacTest::testGenerateResponse&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\util\SecureKeyTest::testGenerate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="21"></a><a href="#21">21</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$stripped</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">''</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="22"></a><a href="#22">22</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">do</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
<tr class="success popin" data-title="12 tests cover line 23" data-content="&lt;ul&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testNewAuthoriseRequest&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlowWithRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlowNoScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlowRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\TokenType\MacTest::testGenerateResponse&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\util\SecureKeyTest::testGenerate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="23"></a><a href="#23">23</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$bytes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">openssl_random_pseudo_bytes</span><span class="keyword">(</span><span class="default">$len</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$strong</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="12 tests cover line 23" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testNewAuthoriseRequest&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlowWithRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlowNoScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlowRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\TokenType\MacTest::testGenerateResponse&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\util\SecureKeyTest::testGenerate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="23"></a><a href="#23">23</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$bytes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">openssl_random_pseudo_bytes</span><span class="keyword">(</span><span class="default">$len</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$strong</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="24"></a><a href="#24">24</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="25"></a><a href="#25">25</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;We&nbsp;want&nbsp;to&nbsp;stop&nbsp;execution&nbsp;if&nbsp;the&nbsp;key&nbsp;fails&nbsp;because,&nbsp;well,&nbsp;that&nbsp;is&nbsp;bad.</span></td></tr>
<tr class="success popin" data-title="12 tests cover line 26" data-content="&lt;ul&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testNewAuthoriseRequest&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlowWithRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlowNoScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlowRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\TokenType\MacTest::testGenerateResponse&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\util\SecureKeyTest::testGenerate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="26"></a><a href="#26">26</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$bytes</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">false</span><span class="default">&nbsp;</span><span class="default">||</span><span class="default">&nbsp;</span><span class="default">$strong</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="12 tests cover line 26" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testNewAuthoriseRequest&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlowWithRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlowNoScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlowRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\TokenType\MacTest::testGenerateResponse&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\util\SecureKeyTest::testGenerate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="26"></a><a href="#26">26</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$bytes</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">false</span><span class="default">&nbsp;</span><span class="default">||</span><span class="default">&nbsp;</span><span class="default">$strong</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
<tr><td><div align="right"><a name="27"></a><a href="#27">27</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;@codeCoverageIgnoreStart</span></td></tr>
<tr><td><div align="right"><a name="28"></a><a href="#28">28</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">throw</span><span class="default">&nbsp;</span><span class="keyword">new</span><span class="default">&nbsp;</span><span class="default">\</span><span class="default">Exception</span><span class="keyword">(</span><span class="default">'Error&nbsp;Generating&nbsp;Key'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="29"></a><a href="#29">29</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;@codeCoverageIgnoreEnd</span></td></tr>
<tr class="warning"><td><div align="right"><a name="30"></a><a href="#30">30</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr class="success popin" data-title="12 tests cover line 31" data-content="&lt;ul&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testNewAuthoriseRequest&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlowWithRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlowNoScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlowRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\TokenType\MacTest::testGenerateResponse&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\util\SecureKeyTest::testGenerate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="31"></a><a href="#31">31</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$stripped</span><span class="default">&nbsp;</span><span class="default">.=</span><span class="default">&nbsp;</span><span class="default">str_replace</span><span class="keyword">(</span><span class="keyword">[</span><span class="default">'/'</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'+'</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'='</span><span class="keyword">]</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">''</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">base64_encode</span><span class="keyword">(</span><span class="default">$bytes</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="success popin" data-title="12 tests cover line 32" data-content="&lt;ul&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testNewAuthoriseRequest&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlowWithRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlowNoScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlowRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\TokenType\MacTest::testGenerateResponse&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\util\SecureKeyTest::testGenerate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="32"></a><a href="#32">32</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span><span class="default">&nbsp;</span><span class="keyword">while</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">strlen</span><span class="keyword">(</span><span class="default">$stripped</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">&lt;</span><span class="default">&nbsp;</span><span class="default">$len</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="12 tests cover line 31" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testNewAuthoriseRequest&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlowWithRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlowNoScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlowRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\TokenType\MacTest::testGenerateResponse&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\util\SecureKeyTest::testGenerate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="31"></a><a href="#31">31</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$stripped</span><span class="default">&nbsp;</span><span class="default">.=</span><span class="default">&nbsp;</span><span class="default">str_replace</span><span class="keyword">(</span><span class="keyword">[</span><span class="default">'/'</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'+'</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'='</span><span class="keyword">]</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">''</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">base64_encode</span><span class="keyword">(</span><span class="default">$bytes</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="12 tests cover line 32" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testNewAuthoriseRequest&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlowWithRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlowNoScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlowRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\TokenType\MacTest::testGenerateResponse&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\util\SecureKeyTest::testGenerate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="32"></a><a href="#32">32</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span><span class="default">&nbsp;</span><span class="keyword">while</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">strlen</span><span class="keyword">(</span><span class="default">$stripped</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">&lt;</span><span class="default">&nbsp;</span><span class="default">$len</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="33"></a><a href="#33">33</a></div></td><td class="codeLine"></td></tr>
<tr class="success popin" data-title="12 tests cover line 34" data-content="&lt;ul&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testNewAuthoriseRequest&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlowWithRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlowNoScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlowRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopes&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\TokenType\MacTest::testGenerateResponse&lt;/li&gt;&lt;li class=&quot;success&quot;&gt;LeagueTests\util\SecureKeyTest::testGenerate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="34"></a><a href="#34">34</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">substr</span><span class="keyword">(</span><span class="default">$stripped</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">0</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$len</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="12 tests cover line 34" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testNewAuthoriseRequest&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\AuthCodeGrantTest::testCompleteFlowWithRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlowNoScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\ClientCredentialsGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlow&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\PasswordGrantTest::testCompleteFlowRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\TokenType\MacTest::testGenerateResponse&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\util\SecureKeyTest::testGenerate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="34"></a><a href="#34">34</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">substr</span><span class="keyword">(</span><span class="default">$stripped</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">0</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$len</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="warning"><td><div align="right"><a name="35"></a><a href="#35">35</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="36"></a><a href="#36">36</a></div></td><td class="codeLine"><span class="keyword">}</span></td></tr>
@ -174,14 +174,14 @@
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 2.0.16</a> using <a href="http://php.net/" target="_top">PHP 5.6.5</a> and <a href="http://phpunit.de/">PHPUnit 4.3.5</a> at Wed May 20 17:59:02 UTC 2015.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 2.1.8</a> using <a href="http://php.net/" target="_top">PHP 5.6.5</a> and <a href="http://phpunit.de/">PHPUnit 4.3.5</a> at Mon Jul 13 20:56:26 UTC 2015.</small>
</p>
<a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
</footer>
</div>
<script src="../../js/jquery.min.js" type="text/javascript"></script>
<script src="../../js/bootstrap.min.js" type="text/javascript"></script>
<script src="../../js/holder.js" type="text/javascript"></script>
<script src="../../js/holder.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
var $window = $(window)

View File

@ -97,14 +97,14 @@
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 2.0.16</a> using <a href="http://php.net/" target="_top">PHP 5.6.5</a> and <a href="http://phpunit.de/">PHPUnit 4.3.5</a> at Wed May 20 17:59:02 UTC 2015.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 2.1.8</a> using <a href="http://php.net/" target="_top">PHP 5.6.5</a> and <a href="http://phpunit.de/">PHPUnit 4.3.5</a> at Mon Jul 13 20:56:26 UTC 2015.</small>
</p>
<a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
</footer>
</div>
<script src="../../js/jquery.min.js" type="text/javascript"></script>
<script src="../../js/bootstrap.min.js" type="text/javascript"></script>
<script src="../../js/holder.js" type="text/javascript"></script>
<script src="../../js/holder.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
var $window = $(window)

View File

@ -5,7 +5,7 @@
<title>Dashboard for /home/travis/build/thephpleague/oauth2-server/src/Util/KeyAlgorithm</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="../../css/bootstrap.min.css" rel="stylesheet">
<link href="../../css/nv.d3.css" rel="stylesheet">
<link href="../../css/nv.d3.min.css" rel="stylesheet">
<link href="../../css/style.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="../../js/html5shiv.min.js"></script>
@ -138,13 +138,13 @@
<footer>
<hr/>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 2.0.16</a> using <a href="http://php.net/" target="_top">PHP 5.6.5</a> and <a href="http://phpunit.de/">PHPUnit 4.3.5</a> at Wed May 20 17:59:02 UTC 2015.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 2.1.8</a> using <a href="http://php.net/" target="_top">PHP 5.6.5</a> and <a href="http://phpunit.de/">PHPUnit 4.3.5</a> at Mon Jul 13 20:56:26 UTC 2015.</small>
</p>
</footer>
</div>
<script src="../../js/jquery.min.js" type="text/javascript"></script>
<script src="../../js/bootstrap.min.js" type="text/javascript"></script>
<script src="../../js/holder.js" type="text/javascript"></script>
<script src="../../js/holder.min.js" type="text/javascript"></script>
<script src="../../js/d3.min.js" type="text/javascript"></script>
<script src="../../js/nv.d3.min.js" type="text/javascript"></script>
<script type="text/javascript">
@ -219,7 +219,6 @@ $(document).ready(function() {
.showDistY(true)
.showLegend(false)
.forceX([0, 100]);
chart.scatter.onlyCircles(false);
chart.tooltipContent(function(key, y, e, graph) {
return '<p>' + graph.point.class + '</p>';
});
@ -244,7 +243,6 @@ $(document).ready(function() {
.showDistY(true)
.showLegend(false)
.forceX([0, 100]);
chart.scatter.onlyCircles(false);
chart.tooltipContent(function(key, y, e, graph) {
return '<p>' + graph.point.class + '</p>';
});

View File

@ -123,12 +123,12 @@
<span class="success"><strong>High</strong>: 90% to 100%</span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 2.0.16</a> using <a href="http://php.net/" target="_top">PHP 5.6.5</a> and <a href="http://phpunit.de/">PHPUnit 4.3.5</a> at Wed May 20 17:59:02 UTC 2015.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 2.1.8</a> using <a href="http://php.net/" target="_top">PHP 5.6.5</a> and <a href="http://phpunit.de/">PHPUnit 4.3.5</a> at Mon Jul 13 20:56:26 UTC 2015.</small>
</p>
</footer>
</div>
<script src="../../js/jquery.min.js" type="text/javascript"></script>
<script src="../../js/bootstrap.min.js" type="text/javascript"></script>
<script src="../../js/holder.js" type="text/javascript"></script>
<script src="../../js/holder.min.js" type="text/javascript"></script>
</body>
</html>