<trclass="covered-by-large-tests popin"data-title="1 test covers line 76"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="76"></a><ahref="#76">76</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">$civilite</span><spanclass="keyword">,</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 77"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="77"></a><ahref="#77">77</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 78"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="78"></a><ahref="#78">78</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 79"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="79"></a><ahref="#79">79</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 80"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="80"></a><ahref="#80">80</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">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 81"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="81"></a><ahref="#81">81</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 82"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="82"></a><ahref="#82">82</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 83"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="83"></a><ahref="#83">83</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 84"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="84"></a><ahref="#84">84</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 85"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="85"></a><ahref="#85">85</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">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$medecinTraitant</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">'Integer'</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 86"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="86"></a><ahref="#86">86</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 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">$dateNaissance</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">strtotime</span><spanclass="keyword">(</span><spanclass="default">$dateNaissance</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">$dateNaissance</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">Date</span><spanclass="keyword">(</span><spanclass="default">'o-m-d'</span><spanclass="keyword">,</span><spanclass="default">$dateNaissance</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">$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 Civilite=:civilite,Nom=:nom,Prenom=:prenom,Adresse=:adresse,Adresse2=:adresse2,Ville=:ville,</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"> CodePostal=:codePostal,DateNaissance=:dateNaissance,LieuNaissance=:lieuNaissance,NumSecuriteSociale=:numSecu,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 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">$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 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">'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 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">'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 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">'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 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">'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 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">'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 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="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 100"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="100"></a><ahref="#100">100</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 101"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="101"></a><ahref="#101">101</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 102"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="102"></a><ahref="#102">102</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 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">'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 104"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="104"></a><ahref="#104">104</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 106"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="106"></a><ahref="#106">106</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 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">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 108"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="108"></a><ahref="#108">108</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="default">$result</span><spanclass="keyword">)</span><spanclass="keyword">{</span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">$id</span><spanclass="keyword">;</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::testUpdateMedecinTraitant</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="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 128"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdateMedecinTraitant</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">$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 129"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdateMedecinTraitant</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="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 136"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="136"></a><ahref="#136">136</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="default">&&</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 139"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</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="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 140"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="140"></a><ahref="#140">140</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 142"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</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">$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 144"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="144"></a><ahref="#144">144</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 145"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="145"></a><ahref="#145">145</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 146"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="146"></a><ahref="#146">146</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 149"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="149"></a><ahref="#149">149</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 17:01:45 UTC 2016.</small>