<trclass="covered-by-large-tests popin"data-title="1 test covers line 16"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddAndDelete</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="16"></a><ahref="#16">16</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">static</span><spanclass="default">::</span><spanclass="default">$config</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">json_decode</span><spanclass="keyword">(</span><spanclass="default">file_get_contents</span><spanclass="keyword">(</span><spanclass="default">dirname</span><spanclass="keyword">(</span><spanclass="default">__FILE__</span><spanclass="keyword">)</span><spanclass="keyword">.</span><spanclass="default">DIRECTORY_SEPARATOR</span><spanclass="keyword">.</span><spanclass="default">'config.json'</span><spanclass="keyword">)</span><spanclass="keyword">,</span><spanclass="default">true</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 19"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddAndDelete</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="19"></a><ahref="#19">19</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">static</span><spanclass="default">::</span><spanclass="default">$connexion</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="keyword">new</span><spanclass="default"> </span><spanclass="default">PDO</span><spanclass="keyword">(</span><spanclass="default">'mysql:host='</span><spanclass="keyword">.</span><spanclass="keyword">static</span><spanclass="default">::</span><spanclass="default">$config</span><spanclass="keyword">[</span><spanclass="default">'host'</span><spanclass="keyword">]</span><spanclass="keyword">.</span><spanclass="default">';dbname='</span><spanclass="keyword">.</span><spanclass="keyword">static</span><spanclass="default">::</span><spanclass="default">$config</span><spanclass="keyword">[</span><spanclass="default">'database'</span><spanclass="keyword">]</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="keyword">static</span><spanclass="default">::</span><spanclass="default">$config</span><spanclass="keyword">[</span><spanclass="default">'login'</span><spanclass="keyword">]</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="keyword">static</span><spanclass="default">::</span><spanclass="default">$config</span><spanclass="keyword">[</span><spanclass="default">'password'</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 28"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testTestConnexion</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="28"></a><ahref="#28">28</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="keyword">static</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">instanceof</span><spanclass="default"> </span><spanclass="default">PDO</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 105"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="105"></a><ahref="#105">105</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="default"> </span><spanclass="keyword">!</span><spanclass="default">is_string</span><spanclass="keyword">(</span><spanclass="default">$dbtype</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">false</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 110"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="110"></a><ahref="#110">110</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">true</span><spanclass="keyword">;</span><spanclass="default"> </span><spanclass="comment">// contiendra VRAI si la vérification s'avère correcte</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 111"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="111"></a><ahref="#111">111</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$matches</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="keyword">[</span><spanclass="keyword">]</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 113"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="113"></a><ahref="#113">113</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="default">preg_match_all</span><spanclass="keyword">(</span><spanclass="default">'/((?:[a-z][a-z]+))(\\d+)/is'</span><spanclass="keyword">,</span><spanclass="default">$dbtype</span><spanclass="keyword">,</span><spanclass="default">$matches</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="keyword">{</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 114"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="114"></a><ahref="#114">114</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$dbtype</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$matches</span><spanclass="keyword">[</span><spanclass="default">1</span><spanclass="keyword">]</span><spanclass="keyword">[</span><spanclass="default">0</span><spanclass="keyword">]</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 115"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="115"></a><ahref="#115">115</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">isset</span><spanclass="keyword">(</span><spanclass="default">$matches</span><spanclass="keyword">[</span><spanclass="default">2</span><spanclass="keyword">]</span><spanclass="keyword">[</span><spanclass="default">0</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">?</span><spanclass="default"> </span><spanclass="default">$len</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$matches</span><spanclass="keyword">[</span><spanclass="default">2</span><spanclass="keyword">]</span><spanclass="keyword">[</span><spanclass="default">0</span><spanclass="keyword">]</span><spanclass="default"> </span><spanclass="keyword">:</span><spanclass="default"> </span><spanclass="default">$len</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">8</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 120"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="120"></a><ahref="#120">120</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">case</span><spanclass="default"> </span><spanclass="default">'Civilite'</span><spanclass="keyword">:</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 121"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="121"></a><ahref="#121">121</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">is_string</span><spanclass="keyword">(</span><spanclass="default">$variable</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">in_array</span><spanclass="keyword">(</span><spanclass="default">$variable</span><spanclass="keyword">,</span><spanclass="keyword">[</span><spanclass="default">'M'</span><spanclass="keyword">,</span><spanclass="default">'F'</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 122"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="122"></a><ahref="#122">122</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">break</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 126"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="126"></a><ahref="#126">126</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">is_string</span><spanclass="keyword">(</span><spanclass="default">$variable</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">strlen</span><spanclass="keyword">(</span><spanclass="default">$variable</span><spanclass="keyword">)</span><spanclass="keyword"><</span><spanclass="default">$len</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 127"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="127"></a><ahref="#127">127</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">break</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 130"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="130"></a><ahref="#130">130</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">is_int</span><spanclass="keyword">(</span><spanclass="default">$variable</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">$variable</span><spanclass="keyword"><</span><spanclass="default">pow</span><spanclass="keyword">(</span><spanclass="default">2</span><spanclass="keyword">,</span><spanclass="default">32</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 131"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="131"></a><ahref="#131">131</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">break</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 134"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="134"></a><ahref="#134">134</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">is_int</span><spanclass="keyword">(</span><spanclass="default">$variable</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">$variable</span><spanclass="keyword"><</span><spanclass="default">pow</span><spanclass="keyword">(</span><spanclass="default">2</span><spanclass="keyword">,</span><spanclass="default">16</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 135"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="135"></a><ahref="#135">135</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">break</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 138"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="138"></a><ahref="#138">138</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">is_int</span><spanclass="keyword">(</span><spanclass="default">$variable</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">$variable</span><spanclass="keyword"><</span><spanclass="default">pow</span><spanclass="keyword">(</span><spanclass="default">2</span><spanclass="keyword">,</span><spanclass="default">8</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 139"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="139"></a><ahref="#139">139</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">break</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 141"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="141"></a><ahref="#141">141</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">case</span><spanclass="default"> </span><spanclass="default">'BigInteger'</span><spanclass="keyword">:</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 142"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="142"></a><ahref="#142">142</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">is_int</span><spanclass="keyword">(</span><spanclass="default">$variable</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">$variable</span><spanclass="keyword"><</span><spanclass="default">pow</span><spanclass="keyword">(</span><spanclass="default">2</span><spanclass="keyword">,</span><spanclass="default">64</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 143"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="143"></a><ahref="#143">143</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">break</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 146"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="146"></a><ahref="#146">146</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">default</span><spanclass="keyword">:</span><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">false</span><spanclass="keyword">;</span><spanclass="default"> </span><spanclass="keyword">break</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 152"data-content="<ul><li class="covered-by-large-tests">StaticRepoTest::testCheckParam</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="152"></a><ahref="#152">152</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">$checker</span><spanclass="keyword">;</span></td></tr>
<small>Generated by <ahref="http://github.com/sebastianbergmann/php-code-coverage"target="_top">PHP_CodeCoverage 3.0.2</a> using <ahref="http://php.net/"target="_top">PHP 7.0.0</a> and <ahref="https://phpunit.de/">PHPUnit 5.1.0</a> at Thu Dec 10 9:44:35 UTC 2015.</small>