<trclass="covered-by-large-tests popin"data-title="1 test covers line 88"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="88"></a><ahref="#88">88</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$id</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">'Numeric'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 89"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="89"></a><ahref="#89">89</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$civilite</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">'Civilite'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 90"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="90"></a><ahref="#90">90</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$prenom</span><spanclass="keyword">,</span><spanclass="default">'String45'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 91"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="91"></a><ahref="#91">91</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$nom</span><spanclass="keyword">,</span><spanclass="default">'String45'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 92"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="92"></a><ahref="#92">92</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$adresse</span><spanclass="keyword">,</span><spanclass="default">'String255'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 93"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="93"></a><ahref="#93">93</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="keyword">(</span><spanclass="default"> </span><spanclass="default">$adresse2</span><spanclass="default"> </span><spanclass="default">==</span><spanclass="default"> </span><spanclass="default">'null'</span><spanclass="default"> </span><spanclass="default">||</span><spanclass="default"> </span><spanclass="default">$adresse2</span><spanclass="default"> </span><spanclass="default">==</span><spanclass="default"> </span><spanclass="default">''</span><spanclass="default"> </span><spanclass="default">||</span><spanclass="default"> </span><spanclass="default">$adresse2</span><spanclass="default"> </span><spanclass="default">===</span><spanclass="default"> </span><spanclass="default">null</span><spanclass="default"> </span><spanclass="default">||</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$adresse2</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">'String255'</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 94"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="94"></a><ahref="#94">94</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$ville</span><spanclass="keyword">,</span><spanclass="default">'String50'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 95"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="95"></a><ahref="#95">95</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$codePostal</span><spanclass="keyword">,</span><spanclass="default">'String'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 96"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="96"></a><ahref="#96">96</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$dateNaissance</span><spanclass="keyword">,</span><spanclass="default">'Date'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 97"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="97"></a><ahref="#97">97</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$lieuNaissance</span><spanclass="keyword">,</span><spanclass="default">'String50'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 98"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="98"></a><ahref="#98">98</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$correctTypes</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="keyword">(</span><spanclass="default"> </span><spanclass="default">$medecinTraitant</span><spanclass="default"> </span><spanclass="default">==</span><spanclass="default"> </span><spanclass="default">'null'</span><spanclass="default"> </span><spanclass="default">||</span><spanclass="default"> </span><spanclass="default">$medecinTraitant</span><spanclass="default"> </span><spanclass="default">===</span><spanclass="default"> </span><spanclass="default">null</span><spanclass="default"> </span><spanclass="default">||</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$medecinTraitant</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">'Numeric'</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 99"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="99"></a><ahref="#99">99</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="default"> </span><spanclass="keyword">!</span><spanclass="default">$correctTypes</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 103"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="103"></a><ahref="#103">103</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$numSecu</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">str_replace</span><spanclass="keyword">(</span><spanclass="default">' '</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">''</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">$numSecu</span><spanclass="keyword">)</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">PatientRepoTest::testUpdate</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="default">$dateNaissance</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">DateTime</span><spanclass="default">::</span><spanclass="default">createFromFormat</span><spanclass="keyword">(</span><spanclass="default">'d/m/Y'</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">$dateNaissance</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">format</span><spanclass="keyword">(</span><spanclass="default">'Y-m-d 00:00:00'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 107"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="107"></a><ahref="#107">107</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">prepare</span><spanclass="keyword">(</span><spanclass="default">'UPDATE Patient</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 119"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="119"></a><ahref="#119">119</a></div></td><tdclass="codeLine"><spanclass="default"> WHERE Id = :id'</span><spanclass="keyword">)</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">PatientRepoTest::testUpdate</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="default">$result</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">execute</span><spanclass="keyword">(</span><spanclass="keyword">[</span><spanclass="default">'civilite'</span><spanclass="default"> </span><spanclass="default">=></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">PatientRepoTest::testUpdate</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">':nom'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$nom</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">PatientRepoTest::testUpdate</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="default">':prenom'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$prenom</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 123"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="123"></a><ahref="#123">123</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">':adresse'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$adresse</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 124"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="124"></a><ahref="#124">124</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">':adresse2'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$adresse2</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 125"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="125"></a><ahref="#125">125</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">':ville'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$ville</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">PatientRepoTest::testUpdate</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">':codePostal'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$codePostal</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">PatientRepoTest::testUpdate</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="default">':dateNaissance'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$dateNaissance</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 128"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="128"></a><ahref="#128">128</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">':lieuNaissance'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$lieuNaissance</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 129"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="129"></a><ahref="#129">129</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">':numSecu'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$numSecu</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">PatientRepoTest::testUpdate</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">':medecin'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$medecinTraitant</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">PatientRepoTest::testUpdate</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="default">':id'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$id</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 133"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="133"></a><ahref="#133">133</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$id</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">lastInsertId</span><spanclass="keyword">(</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">PatientRepoTest::testUpdate</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="default">settype</span><spanclass="keyword">(</span><spanclass="default">$id</span><spanclass="keyword">,</span><spanclass="default">'integer'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 137"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="137"></a><ahref="#137">137</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="default">$result</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">$id</span><spanclass="keyword">;</span><spanclass="default"> </span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 155"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdateMedecinTraitant</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="155"></a><ahref="#155">155</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="keyword">!</span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$idPatient</span><spanclass="keyword">,</span><spanclass="default">'Integer'</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="keyword">!</span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$idMedecin</span><spanclass="keyword">,</span><spanclass="default">'Integer'</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="keyword">{</span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">false</span><spanclass="keyword">;</span><spanclass="keyword">}</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 157"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdateMedecinTraitant</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="157"></a><ahref="#157">157</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">prepare</span><spanclass="keyword">(</span><spanclass="default">'UPDATE Patient SET MedecinTraitant = :medecin WHERE Id = :id'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 158"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdateMedecinTraitant</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="158"></a><ahref="#158">158</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">execute</span><spanclass="keyword">(</span><spanclass="keyword">[</span><spanclass="default">'medecin'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$idMedecin</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">'id'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$idPatient</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 165"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="165"></a><ahref="#165">165</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="default"> </span><spanclass="keyword">!</span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$prenom</span><spanclass="keyword">,</span><spanclass="default">'String45'</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">|</span><spanclass="default"> </span><spanclass="keyword">!</span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$nom</span><spanclass="keyword">,</span><spanclass="default">'String45'</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 168"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="168"></a><ahref="#168">168</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$optPrenom</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="keyword">(</span><spanclass="default"> </span><spanclass="default">$prenom</span><spanclass="default"> </span><spanclass="default">!=</span><spanclass="default"> </span><spanclass="default">'null'</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$prenom</span><spanclass="keyword">,</span><spanclass="default">'String45'</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">?</span><spanclass="default"> </span><spanclass="default">'%'</span><spanclass="keyword">.</span><spanclass="default">$prenom</span><spanclass="keyword">.</span><spanclass="default">'%'</span><spanclass="default"> </span><spanclass="keyword">:</span><spanclass="default"> </span><spanclass="default">'%'</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 169"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="169"></a><ahref="#169">169</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$optNom</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="keyword">(</span><spanclass="default"> </span><spanclass="default">$nom</span><spanclass="default"> </span><spanclass="default">!=</span><spanclass="default"> </span><spanclass="default">'null'</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$nom</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">'String45'</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">?</span><spanclass="default"> </span><spanclass="default">'%'</span><spanclass="keyword">.</span><spanclass="default">$nom</span><spanclass="keyword">.</span><spanclass="default">'%'</span><spanclass="default"> </span><spanclass="keyword">:</span><spanclass="default"> </span><spanclass="default">'%'</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 171"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="171"></a><ahref="#171">171</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">query</span><spanclass="keyword">(</span><spanclass="default">"SELECT Id, Civilite, Nom, Prenom, DATE_FORMAT(DateNaissance, '%d/%m/%Y') as DateNaissance, NumSecuriteSociale</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 173"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="173"></a><ahref="#173">173</a></div></td><tdclass="codeLine"><spanclass="default"> WHERE Nom LIKE '"</span><spanclass="keyword">.</span><spanclass="default">$optNom</span><spanclass="keyword">.</span><spanclass="default">"'</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 174"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="174"></a><ahref="#174">174</a></div></td><tdclass="codeLine"><spanclass="default"> AND Prenom LIKE '"</span><spanclass="keyword">.</span><spanclass="default">$optPrenom</span><spanclass="keyword">.</span><spanclass="default">"'</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 175"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="175"></a><ahref="#175">175</a></div></td><tdclass="codeLine"><spanclass="default"> ORDER BY Nom, Prenom ASC"</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 178"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="178"></a><ahref="#178">178</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">delNumeric</span><spanclass="keyword">(</span><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">fetchAll</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">)</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.1</a> and <ahref="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 18:13:26 UTC 2016.</small>