Travis pushed coverage of a9f61fd3ed2dcc1a8b0dff875b49b7e1bf0c0f6f@master to gh-pages

This commit is contained in:
TravisCI
2015-09-04 07:30:36 +00:00
parent 67db814c52
commit 977475a513
67 changed files with 846 additions and 701 deletions

View File

@@ -512,9 +512,9 @@
<tr><td><div align="right"><a name="91"></a><a href="#91">91</a></div></td><td class="codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
<tr><td><div align="right"><a name="92"></a><a href="#92">92</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">__construct</span><span class="keyword">(</span><span class="default">AbstractServer</span><span class="default">&nbsp;</span><span class="default">$server</span><span class="keyword">)</span></td></tr>
<tr><td><div align="right"><a name="93"></a><a href="#93">93</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="24 tests cover line 94" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AbstractTokenEntityTest::testSetGet&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AccessTokenEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AuthCodeEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\RefreshTokenEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSetGet&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&lt;/li&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\ClientCredentialsGrantTest::testClientNotAuthorizedToUseGrant&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::testCompleteFlowExpiredRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopesInvalid&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\ResourceServerTest::testIsValid&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\ResourceServerTest::testIsValidExpiredToken&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="94"></a><a href="#94">94</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">server</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$server</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="25 tests cover line 94" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AbstractTokenEntityTest::testSetGet&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AccessTokenEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AuthCodeEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\RefreshTokenEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSetGet&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&lt;/li&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\ClientCredentialsGrantTest::testClientNotAuthorizedToUseGrant&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::testCompleteFlowExpiredRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopesInvalid&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\Grant\RefreshTokenGrantTest::testCompleteFlowShouldRequireClientSecret&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\ResourceServerTest::testIsValid&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\ResourceServerTest::testIsValidExpiredToken&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="94"></a><a href="#94">94</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">server</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$server</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="95"></a><a href="#95">95</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-small-tests popin" data-title="24 tests cover line 96" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AbstractTokenEntityTest::testSetGet&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AccessTokenEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AuthCodeEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\RefreshTokenEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSetGet&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&lt;/li&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\ClientCredentialsGrantTest::testClientNotAuthorizedToUseGrant&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::testCompleteFlowExpiredRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopesInvalid&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\ResourceServerTest::testIsValid&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\ResourceServerTest::testIsValidExpiredToken&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="96"></a><a href="#96">96</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">$this</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="25 tests cover line 96" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AbstractTokenEntityTest::testSetGet&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AccessTokenEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AuthCodeEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\RefreshTokenEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSetGet&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&lt;/li&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\ClientCredentialsGrantTest::testClientNotAuthorizedToUseGrant&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::testCompleteFlowExpiredRefreshToken&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRequestScopesInvalid&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\Grant\RefreshTokenGrantTest::testCompleteFlowShouldRequireClientSecret&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\ResourceServerTest::testIsValid&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\ResourceServerTest::testIsValidExpiredToken&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="96"></a><a href="#96">96</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">$this</span><span class="keyword">;</span></td></tr>
<tr class="warning"><td><div align="right"><a name="97"></a><a href="#97">97</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="98"></a><a href="#98">98</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="99"></a><a href="#99">99</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
@@ -538,7 +538,7 @@
<tr><td><div align="right"><a name="117"></a><a href="#117">117</a></div></td><td class="codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
<tr><td><div align="right"><a name="118"></a><a href="#118">118</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">getId</span><span class="keyword">(</span><span class="keyword">)</span></td></tr>
<tr><td><div align="right"><a name="119"></a><a href="#119">119</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="13 tests cover line 120" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AccessTokenEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AuthCodeEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSetGet&lt;/li&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;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="120"></a><a href="#120">120</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">$this</span><span class="default">-&gt;</span><span class="default">id</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="14 tests cover line 120" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AccessTokenEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\AuthCodeEntityTest::testSave&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSetGet&lt;/li&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\Grant\RefreshTokenGrantTest::testCompleteFlowShouldRequireClientSecret&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="120"></a><a href="#120">120</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">$this</span><span class="default">-&gt;</span><span class="default">id</span><span class="keyword">;</span></td></tr>
<tr class="warning"><td><div align="right"><a name="121"></a><a href="#121">121</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="122"></a><a href="#122">122</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="123"></a><a href="#123">123</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
@@ -580,11 +580,11 @@
<tr><td><div align="right"><a name="159"></a><a href="#159">159</a></div></td><td class="codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
<tr><td><div align="right"><a name="160"></a><a href="#160">160</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">getScopes</span><span class="keyword">(</span><span class="keyword">)</span></td></tr>
<tr><td><div align="right"><a name="161"></a><a href="#161">161</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="14 tests cover line 162" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&lt;/li&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::testCompleteFlowRequestScopesInvalid&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="162"></a><a href="#162">162</a></div></td><td class="codeLine"><span class="default">&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">$this</span><span class="default">-&gt;</span><span class="default">scopes</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">null</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="6 tests cover line 163" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&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\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="163"></a><a href="#163">163</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">$this</span><span class="default">-&gt;</span><span class="default">scopes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">formatScopes</span><span class="keyword">(</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">server</span><span class="default">-&gt;</span><span class="default">getSessionStorage</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">getScopes</span><span class="keyword">(</span><span class="default">$this</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="6 tests cover line 164" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&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\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="164"></a><a href="#164">164</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="15 tests cover line 162" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&lt;/li&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::testCompleteFlowRequestScopesInvalid&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\Grant\RefreshTokenGrantTest::testCompleteFlowShouldRequireClientSecret&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="162"></a><a href="#162">162</a></div></td><td class="codeLine"><span class="default">&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">$this</span><span class="default">-&gt;</span><span class="default">scopes</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">null</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="7 tests cover line 163" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&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\RefreshTokenGrantTest::testCompleteFlowExistingScopes&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\Grant\RefreshTokenGrantTest::testCompleteFlowShouldRequireClientSecret&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="163"></a><a href="#163">163</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">$this</span><span class="default">-&gt;</span><span class="default">scopes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">formatScopes</span><span class="keyword">(</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">server</span><span class="default">-&gt;</span><span class="default">getSessionStorage</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">getScopes</span><span class="keyword">(</span><span class="default">$this</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="7 tests cover line 164" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&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\RefreshTokenGrantTest::testCompleteFlowExistingScopes&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\Grant\RefreshTokenGrantTest::testCompleteFlowShouldRequireClientSecret&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="164"></a><a href="#164">164</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="165"></a><a href="#165">165</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-small-tests popin" data-title="14 tests cover line 166" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&lt;/li&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::testCompleteFlowRequestScopesInvalid&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="166"></a><a href="#166">166</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">$this</span><span class="default">-&gt;</span><span class="default">scopes</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="15 tests cover line 166" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&lt;/li&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::testCompleteFlowRequestScopesInvalid&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\Grant\RefreshTokenGrantTest::testCompleteFlowShouldRequireClientSecret&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="166"></a><a href="#166">166</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">$this</span><span class="default">-&gt;</span><span class="default">scopes</span><span class="keyword">;</span></td></tr>
<tr class="warning"><td><div align="right"><a name="167"></a><a href="#167">167</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="168"></a><a href="#168">168</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="169"></a><a href="#169">169</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
@@ -596,8 +596,8 @@
<tr><td><div align="right"><a name="175"></a><a href="#175">175</a></div></td><td class="codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
<tr><td><div align="right"><a name="176"></a><a href="#176">176</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">private</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">formatScopes</span><span class="keyword">(</span><span class="default">$unformatted</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">[</span><span class="keyword">]</span><span class="keyword">)</span></td></tr>
<tr><td><div align="right"><a name="177"></a><a href="#177">177</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="7 tests cover line 178" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&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\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="178"></a><a href="#178">178</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$scopes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">[</span><span class="keyword">]</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="7 tests cover line 179" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&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\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="179"></a><a href="#179">179</a></div></td><td class="codeLine"><span class="default">&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">is_array</span><span class="keyword">(</span><span class="default">$unformatted</span><span class="keyword">)</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="8 tests cover line 178" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&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\RefreshTokenGrantTest::testCompleteFlowExistingScopes&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\Grant\RefreshTokenGrantTest::testCompleteFlowShouldRequireClientSecret&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="178"></a><a href="#178">178</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$scopes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">[</span><span class="keyword">]</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="8 tests cover line 179" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&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\RefreshTokenGrantTest::testCompleteFlowExistingScopes&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\Grant\RefreshTokenGrantTest::testCompleteFlowShouldRequireClientSecret&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="179"></a><a href="#179">179</a></div></td><td class="codeLine"><span class="default">&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">is_array</span><span class="keyword">(</span><span class="default">$unformatted</span><span class="keyword">)</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="4 tests cover line 180" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="180"></a><a href="#180">180</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">foreach</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$unformatted</span><span class="default">&nbsp;</span><span class="keyword">as</span><span class="default">&nbsp;</span><span class="default">$scope</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="2 tests cover line 181" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="181"></a><a href="#181">181</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">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$scope</span><span class="default">&nbsp;</span><span class="keyword">instanceof</span><span class="default">&nbsp;</span><span class="default">ScopeEntity</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="2 tests cover line 182" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="182"></a><a href="#182">182</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;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$scopes</span><span class="keyword">[</span><span class="default">$scope</span><span class="default">-&gt;</span><span class="default">getId</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">]</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$scope</span><span class="keyword">;</span></td></tr>
@@ -605,7 +605,7 @@
<tr class="covered-by-small-tests popin" data-title="4 tests cover line 184" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="184"></a><a href="#184">184</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="covered-by-small-tests popin" data-title="4 tests cover line 185" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="185"></a><a href="#185">185</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="186"></a><a href="#186">186</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-small-tests popin" data-title="7 tests cover line 187" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&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\RefreshTokenGrantTest::testCompleteFlowExistingScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Grant\RefreshTokenGrantTest::testCompleteFlowRotateRefreshToken&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="187"></a><a href="#187">187</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">$scopes</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-small-tests popin" data-title="8 tests cover line 187" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testFormatScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testGetScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testHasScopes&lt;/li&gt;&lt;li class=&quot;covered-by-small-tests&quot;&gt;LeagueTests\Entity\SessionEntityTest::testSave&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\RefreshTokenGrantTest::testCompleteFlowExistingScopes&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\Grant\RefreshTokenGrantTest::testCompleteFlowShouldRequireClientSecret&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="187"></a><a href="#187">187</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">$scopes</span><span class="keyword">;</span></td></tr>
<tr class="warning"><td><div align="right"><a name="188"></a><a href="#188">188</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="189"></a><a href="#189">189</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="190"></a><a href="#190">190</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
@@ -739,7 +739,7 @@
<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.2.2</a> using <a href="http://php.net/" target="_top">PHP 5.5.21</a> and <a href="http://phpunit.de/">PHPUnit 4.3.5</a> at Fri Sep 4 7:28:55 UTC 2015.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 2.2.2</a> using <a href="http://php.net/" target="_top">PHP 5.5.21</a> and <a href="http://phpunit.de/">PHPUnit 4.3.5</a> at Fri Sep 4 7:30:20 UTC 2015.</small>
</p>
<a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
</footer>