Update API docs

This commit is contained in:
Timothy Warren 2020-04-23 18:21:35 -04:00
parent 4201a7c42c
commit 4eb234db70
151 changed files with 1977 additions and 184 deletions

View File

@ -123,6 +123,22 @@
<td class="testresult-EMPTY">EMPTY <td class="testresult-EMPTY">EMPTY
</td> </td>
</tr> </tr>
<tr>
<td>
<a href="classes/Query_JoinType.html">JoinType</a>
</td>
<td>'Enum' of join types</td>
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
<tr>
<td>
<a href="classes/Query_LikeType.html">LikeType</a>
</td>
<td>'Enum' of join types</td>
<td class="testresult-EMPTY">EMPTY
</td>
</tr>
<tr> <tr>
<td> <td>
<a href="classes/Query_MapType.html">MapType</a> <a href="classes/Query_MapType.html">MapType</a>

View File

@ -52,6 +52,9 @@
<li> <li>
<a href="#synopsis">Synopsis</a> <a href="#synopsis">Synopsis</a>
</li> </li>
<li>
<a href="#violations">Violations</a>
</li>
<li> <li>
<a href="#methods">Methods</a> <a href="#methods">Methods</a>
</li> </li>
@ -77,6 +80,82 @@
</li></ul> </li></ul>
}<br/></div> }<br/></div>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">129</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$dsn' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">129</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$options' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">135</td>
<td>
<a href="https://phpmd.org/rules/naming.html#shortvariable" target="_blank" title="Naming Rules">ShortVariable</a>
</td>
<td>Avoid variables with short names like $db. Configured minimum length is 3.</td>
</tr>
<tr>
<td class="line">136</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$dsn' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">136</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$options' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">137</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$dsn' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">137</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$options' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">155 - 157</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#elseexpression" target="_blank" title="Clean Code Rules">ElseExpression</a>
</td>
<td>The method connect uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.</td>
</tr>
<tr>
<td class="line">196 - 198</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#elseexpression" target="_blank" title="Clean Code Rules">ElseExpression</a>
</td>
<td>The method parseParams uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.</td>
</tr>
</table>
</div>
<h2 id="methods">Methods</h2> <h2 id="methods">Methods</h2>
<div class="styled"> <div class="styled">
<h4>public</h4> <h4>public</h4>

View File

@ -102,6 +102,75 @@
</dt> </dt>
<dd/> <dd/>
</dl> </dl>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">129</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$dsn' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">129</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$options' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">135</td>
<td>
<a href="https://phpmd.org/rules/naming.html#shortvariable" target="_blank" title="Naming Rules">ShortVariable</a>
</td>
<td>Avoid variables with short names like $db. Configured minimum length is 3.</td>
</tr>
<tr>
<td class="line">136</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$dsn' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">136</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$options' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">137</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$dsn' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">137</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$options' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">155 - 157</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#elseexpression" target="_blank" title="Clean Code Rules">ElseExpression</a>
</td>
<td>The method connect uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -101,6 +101,26 @@
</dt> </dt>
<dd/> <dd/>
</dl> </dl>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">196 - 198</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#elseexpression" target="_blank" title="Clean Code Rules">ElseExpression</a>
</td>
<td>The method parseParams uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -62,7 +62,7 @@
<a href="#methods">Methods</a> <a href="#methods">Methods</a>
</li> </li>
<li> <li>
<a href="../source/Drivers/AbstractDriver.php.html#line30">Source</a> <a href="../source/Drivers/AbstractDriver.php.html#line32">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -145,31 +145,42 @@
</div> </div>
<h2 id="violations">Violations</h2> <h2 id="violations">Violations</h2>
<div class="styled"> <div class="styled">
<h3>Checkstyle</h3> <h3>PHPMessDetector</h3>
<table class="styled"> <table class="styled">
<thead> <thead>
<tr> <tr>
<th>Line</th> <th>Line</th>
<th>Column</th> <th>Rule</th>
<th>Severity</th>
<th>Message</th> <th>Message</th>
</tr> </tr>
</thead> </thead>
<tr> <tr>
<td class="line">333</td> <td class="line">82 - 721</td>
<td>23</td>
<td> <td>
<span title="Generic.Arrays.DisallowLongArraySyntax.Found">error</span> <a href="https://phpmd.org/rules/codesize.html#toomanypublicmethods" target="_blank" title="Code Size Rules">TooManyPublicMethods</a>
</td> </td>
<td>Short array syntax must be used to define arrays</td> <td>The class AbstractDriver has 15 public methods. Consider refactoring AbstractDriver to keep number of public methods under 10.</td>
</tr> </tr>
<tr> <tr>
<td class="line">333</td> <td class="line">82 - 721</td>
<td>44</td>
<td> <td>
<span title="Generic.Arrays.DisallowLongArraySyntax.Found">error</span> <a href="https://phpmd.org/rules/codesize.html#excessiveclasscomplexity" target="_blank" title="Code Size Rules">ExcessiveClassComplexity</a>
</td> </td>
<td>Short array syntax must be used to define arrays</td> <td>The class AbstractDriver has an overall complexity of 62 which is very high. The configured complexity threshold is 50.</td>
</tr>
<tr>
<td class="line">500</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method driverQuery has a boolean flag argument $filteredIndex, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
<tr>
<td class="line">690 - 703</td>
<td>
<a href="#" target="_blank" title="Controversial Rules">CamelCaseMethodName</a>
</td>
<td>The method _quote is not named in camelCase.</td>
</tr> </tr>
</table> </table>
</div> </div>

View File

@ -62,7 +62,7 @@
<a href="#return">Return</a> <a href="#return">Return</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line126">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line128">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -59,7 +59,7 @@
<a href="#parameter">Parameter</a> <a href="#parameter">Parameter</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line90">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line92">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#return">Return</a> <a href="#return">Return</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line685">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line690">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -89,6 +89,26 @@
<dt>mixed</dt> <dt>mixed</dt>
<dd/> <dd/>
</dl> </dl>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">690 - 703</td>
<td>
<a href="#" target="_blank" title="Controversial Rules">CamelCaseMethodName</a>
</td>
<td>The method _quote is not named in camelCase.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line249">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line251">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line495">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line500">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -105,6 +105,26 @@
<a title="Query\Drivers\DriverInterface" href="../../interfaces/Query_Drivers_DriverInterface.html">DriverInterface</a> <a title="Query\Drivers\DriverInterface" href="../../interfaces/Query_Drivers_DriverInterface.html">DriverInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">500</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method driverQuery has a boolean flag argument $filteredIndex, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line441">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line446">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line367">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line372">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line452">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line457">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line399">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line404">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line463">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line468">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line149">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line151">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line409">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line414">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line344">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line349">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line389">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line394">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line170">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line172">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line430">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line435">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line355">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line360">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line419">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line424">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line473">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line478">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line180">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line182">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line483">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line488">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line377">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line382">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line546">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line551">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line525">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line530">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line260">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line262">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -68,7 +68,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line236">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line238">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -68,7 +68,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line208">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line210">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line304">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line306">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -99,36 +99,6 @@
<a title="Query\Drivers\DriverInterface" href="../../interfaces/Query_Drivers_DriverInterface.html">DriverInterface</a> <a title="Query\Drivers\DriverInterface" href="../../interfaces/Query_Drivers_DriverInterface.html">DriverInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>Checkstyle</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Column</th>
<th>Severity</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">333</td>
<td>23</td>
<td>
<span title="Generic.Arrays.DisallowLongArraySyntax.Found">error</span>
</td>
<td>Short array syntax must be used to define arrays</td>
</tr>
<tr>
<td class="line">333</td>
<td>44</td>
<td>
<span title="Generic.Arrays.DisallowLongArraySyntax.Found">error</span>
</td>
<td>Short array syntax must be used to define arrays</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line290">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line292">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#return">Return</a> <a href="#return">Return</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line674">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line679">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line160">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line162">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line191">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line193">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line655">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line660">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/Drivers/AbstractDriver.php.html#line585">Source</a> <a href="../../source/Drivers/AbstractDriver.php.html#line590">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -52,6 +52,9 @@
<li> <li>
<a href="#synopsis">Synopsis</a> <a href="#synopsis">Synopsis</a>
</li> </li>
<li>
<a href="#violations">Violations</a>
</li>
<li> <li>
<a href="#methods">Methods</a> <a href="#methods">Methods</a>
</li> </li>
@ -76,6 +79,26 @@
</li></ul> </li></ul>
}<br/></div> }<br/></div>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">58</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method createTable has a boolean flag argument $ifNotExists, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
</table>
</div>
<h2 id="methods">Methods</h2> <h2 id="methods">Methods</h2>
<div class="styled"> <div class="styled">
<h4>public</h4> <h4>public</h4>

View File

@ -107,6 +107,26 @@
<dt>string</dt> <dt>string</dt>
<dd/> <dd/>
</dl> </dl>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">58</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method createTable has a boolean flag argument $ifNotExists, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -55,6 +55,9 @@
<li> <li>
<a href="#hierarchy">Hierarchy</a> <a href="#hierarchy">Hierarchy</a>
</li> </li>
<li>
<a href="#violations">Violations</a>
</li>
<li> <li>
<a href="#methods">Methods</a> <a href="#methods">Methods</a>
</li> </li>
@ -91,6 +94,47 @@
</li> </li>
</ul> </ul>
</div> </div>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">39</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$d' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">43</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$d' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">50</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$d' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">54</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$d' which will lead to PHP notices.</td>
</tr>
</table>
</div>
<h2 id="methods">Methods</h2> <h2 id="methods">Methods</h2>
<div class="styled"> <div class="styled">
<h4>public</h4> <h4>public</h4>

View File

@ -89,6 +89,47 @@
</code> </code>
</li> </li>
</ul> </ul>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">39</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$d' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">43</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$d' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">50</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$d' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">54</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$d' which will lead to PHP notices.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -55,6 +55,9 @@
<li> <li>
<a href="#hierarchy">Hierarchy</a> <a href="#hierarchy">Hierarchy</a>
</li> </li>
<li>
<a href="#violations">Violations</a>
</li>
<li> <li>
<a href="#methods">Methods</a> <a href="#methods">Methods</a>
</li> </li>
@ -135,6 +138,47 @@
</li> </li>
</ul> </ul>
</div> </div>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">75</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$key' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">79</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$key' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">86</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$key' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">86</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$key' which will lead to PHP notices.</td>
</tr>
</table>
</div>
<h2 id="methods">Methods</h2> <h2 id="methods">Methods</h2>
<div class="styled"> <div class="styled">
<h4>public</h4> <h4>public</h4>

View File

@ -109,6 +109,47 @@
</code> </code>
</li> </li>
</ul> </ul>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">75</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$key' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">79</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$key' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">86</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$key' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">86</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$key' which will lead to PHP notices.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -55,6 +55,9 @@
<li> <li>
<a href="#hierarchy">Hierarchy</a> <a href="#hierarchy">Hierarchy</a>
</li> </li>
<li>
<a href="#violations">Violations</a>
</li>
<li> <li>
<a href="#methods">Methods</a> <a href="#methods">Methods</a>
</li> </li>
@ -91,6 +94,33 @@
</li> </li>
</ul> </ul>
</div> </div>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">32 - 97</td>
<td>
<a href="#" target="_blank" title="Controversial Rules">CamelCaseVariableName</a>
</td>
<td>The variable $_ is not named in camelCase.</td>
</tr>
<tr>
<td class="line">77</td>
<td>
<a href="https://phpmd.org/rules/unusedcode.html#unusedlocalvariable" target="_blank" title="Unused Code Rules">UnusedLocalVariable</a>
</td>
<td>Avoid unused local variables such as '$_'.</td>
</tr>
</table>
</div>
<h2 id="methods">Methods</h2> <h2 id="methods">Methods</h2>
<div class="styled"> <div class="styled">
<h4>public</h4> <h4>public</h4>

View File

@ -100,6 +100,33 @@
</code> </code>
</li> </li>
</ul> </ul>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">32 - 97</td>
<td>
<a href="#" target="_blank" title="Controversial Rules">CamelCaseVariableName</a>
</td>
<td>The variable $_ is not named in camelCase.</td>
</tr>
<tr>
<td class="line">77</td>
<td>
<a href="https://phpmd.org/rules/unusedcode.html#unusedlocalvariable" target="_blank" title="Unused Code Rules">UnusedLocalVariable</a>
</td>
<td>Avoid unused local variables such as '$_'.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -0,0 +1,110 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - Query\JoinType</title>
<link rel="stylesheet" type="text/css" href="../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
<body>
<nav class="topnav">
<ul>
<li>
<div class="logo"><span>/**</span>phpDox</div>
</li>
<li class="separator">
<a href="../index.html">Overview</a>
</li>
<li class="separator">
<a href="../namespaces.html">Namespaces</a>
</li>
<li>
<a href="../interfaces.html">Interfaces</a>
</li>
<li>
<a href="../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../source/index.html">Source</a>
</li>
</ul>
</nav>
<div id="mainstage">
<div class="box">
<ul class="breadcrumb">
<li>
<a href="../index.html">Overview</a>
</li>
<li class="separator">
<a href="../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../classes.html#Query">Query</a>
</li>
<li class="separator">JoinType</li>
</ul>
</div>
<nav class="box">
<ul>
<li>
<a href="#introduction">Introduction</a>
</li>
<li>
<a href="#synopsis">Synopsis</a>
</li>
<li>
<a href="#constants">Constants</a>
</li>
<li>
<a href="../source/JoinType.php.html#line21">Source</a>
</li>
</ul>
</nav>
<section>
<h1 id="introduction"><small>Query\</small>JoinType</h1>
<h4>'Enum' of join types</h4>
<p/>
<ul/>
<h2 id="synopsis">Synopsis</h2>
<div class="synopsis">class JoinType
{<br/><ul class="none"><li>// constants</li><li>const CROSS = 'cross';</li><li>const INNER = 'inner';</li><li>const OUTER = 'outer';</li><li>const LEFT = 'left';</li><li>const RIGHT = 'right';</li></ul>
}<br/></div>
<h2 id="constants">Constants</h2>
<table class="styled">
<thead>
<tr>
<th>Name</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td id="CROSS">CROSS</td>
<td>'cross'</td>
</tr>
<tr>
<td id="INNER">INNER</td>
<td>'inner'</td>
</tr>
<tr>
<td id="OUTER">OUTER</td>
<td>'outer'</td>
</tr>
<tr>
<td id="LEFT">LEFT</td>
<td>'left'</td>
</tr>
<tr>
<td id="RIGHT">RIGHT</td>
<td>'right'</td>
</tr>
</tbody>
</table>
</section>
</div>
<footer>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -0,0 +1,102 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - Query\LikeType</title>
<link rel="stylesheet" type="text/css" href="../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
<body>
<nav class="topnav">
<ul>
<li>
<div class="logo"><span>/**</span>phpDox</div>
</li>
<li class="separator">
<a href="../index.html">Overview</a>
</li>
<li class="separator">
<a href="../namespaces.html">Namespaces</a>
</li>
<li>
<a href="../interfaces.html">Interfaces</a>
</li>
<li>
<a href="../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../source/index.html">Source</a>
</li>
</ul>
</nav>
<div id="mainstage">
<div class="box">
<ul class="breadcrumb">
<li>
<a href="../index.html">Overview</a>
</li>
<li class="separator">
<a href="../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../classes.html#Query">Query</a>
</li>
<li class="separator">LikeType</li>
</ul>
</div>
<nav class="box">
<ul>
<li>
<a href="#introduction">Introduction</a>
</li>
<li>
<a href="#synopsis">Synopsis</a>
</li>
<li>
<a href="#constants">Constants</a>
</li>
<li>
<a href="../source/LikeType.php.html#line21">Source</a>
</li>
</ul>
</nav>
<section>
<h1 id="introduction"><small>Query\</small>LikeType</h1>
<h4>'Enum' of join types</h4>
<p/>
<ul/>
<h2 id="synopsis">Synopsis</h2>
<div class="synopsis">class LikeType
{<br/><ul class="none"><li>// constants</li><li>const BEFORE = 'before';</li><li>const AFTER = 'after';</li><li>const BOTH = 'both';</li></ul>
}<br/></div>
<h2 id="constants">Constants</h2>
<table class="styled">
<thead>
<tr>
<th>Name</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td id="BEFORE">BEFORE</td>
<td>'before'</td>
</tr>
<tr>
<td id="AFTER">AFTER</td>
<td>'after'</td>
</tr>
<tr>
<td id="BOTH">BOTH</td>
<td>'both'</td>
</tr>
</tbody>
</table>
</section>
</div>
<footer>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -55,6 +55,9 @@
<li> <li>
<a href="#hierarchy">Hierarchy</a> <a href="#hierarchy">Hierarchy</a>
</li> </li>
<li>
<a href="#violations">Violations</a>
</li>
<li> <li>
<a href="#members">Members</a> <a href="#members">Members</a>
</li> </li>
@ -62,7 +65,7 @@
<a href="#methods">Methods</a> <a href="#methods">Methods</a>
</li> </li>
<li> <li>
<a href="../source/QueryBuilder.php.html#line26">Source</a> <a href="../source/QueryBuilder.php.html#line27">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -86,6 +89,7 @@
</li><li>public <span title="QueryBuilder">QueryBuilder</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/returning.html">returning</a>() </li><li>public <span title="QueryBuilder">QueryBuilder</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/returning.html">returning</a>()
</li><li>public <span title="QueryBuilder">QueryBuilder</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/distinct.html">distinct</a>() </li><li>public <span title="QueryBuilder">QueryBuilder</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/distinct.html">distinct</a>()
</li><li>public <span title="QueryBuilder">QueryBuilder</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/explain.html">explain</a>() </li><li>public <span title="QueryBuilder">QueryBuilder</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/explain.html">explain</a>()
</li><li>public <span title="QueryBuilder">QueryBuilder</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/table.html">table</a>()
</li><li>public <span title="QueryBuilder">QueryBuilder</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/from.html">from</a>() </li><li>public <span title="QueryBuilder">QueryBuilder</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/from.html">from</a>()
</li><li>public <span title="QueryBuilder">QueryBuilder</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/like.html">like</a>() </li><li>public <span title="QueryBuilder">QueryBuilder</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/like.html">like</a>()
</li><li>public <span title="QueryBuilder">QueryBuilder</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orLike.html">orLike</a>() </li><li>public <span title="QueryBuilder">QueryBuilder</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orLike.html">orLike</a>()
@ -144,6 +148,173 @@
</li> </li>
</ul> </ul>
</div> </div>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">80</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method selectMax has a boolean flag argument $as, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
<tr>
<td class="line">80</td>
<td>
<a href="https://phpmd.org/rules/naming.html#shortvariable" target="_blank" title="Naming Rules">ShortVariable</a>
</td>
<td>Avoid variables with short names like $as. Configured minimum length is 3.</td>
</tr>
<tr>
<td class="line">94</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method selectMin has a boolean flag argument $as, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
<tr>
<td class="line">94</td>
<td>
<a href="https://phpmd.org/rules/naming.html#shortvariable" target="_blank" title="Naming Rules">ShortVariable</a>
</td>
<td>Avoid variables with short names like $as. Configured minimum length is 3.</td>
</tr>
<tr>
<td class="line">108</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method selectAvg has a boolean flag argument $as, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
<tr>
<td class="line">108</td>
<td>
<a href="https://phpmd.org/rules/naming.html#shortvariable" target="_blank" title="Naming Rules">ShortVariable</a>
</td>
<td>Avoid variables with short names like $as. Configured minimum length is 3.</td>
</tr>
<tr>
<td class="line">122</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method selectSum has a boolean flag argument $as, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
<tr>
<td class="line">122</td>
<td>
<a href="https://phpmd.org/rules/naming.html#shortvariable" target="_blank" title="Naming Rules">ShortVariable</a>
</td>
<td>Avoid variables with short names like $as. Configured minimum length is 3.</td>
</tr>
<tr>
<td class="line">387 - 389</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#elseexpression" target="_blank" title="Clean Code Rules">ElseExpression</a>
</td>
<td>The method set uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.</td>
</tr>
<tr>
<td class="line">454 - 456</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#elseexpression" target="_blank" title="Clean Code Rules">ElseExpression</a>
</td>
<td>The method groupBy uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.</td>
</tr>
<tr>
<td class="line">657</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method countAllResults has a boolean flag argument $reset, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
<tr>
<td class="line">698</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$sql' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">700</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$sql' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">701</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$sql' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">739</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$sql' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">739</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$affectedRows' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">741</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$sql' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">742</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$affectedRows' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">774</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method getCompiledSelect has a boolean flag argument $reset, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
<tr>
<td class="line">792</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method getCompiledInsert has a boolean flag argument $reset, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
<tr>
<td class="line">804</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method getCompiledUpdate has a boolean flag argument $reset, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
<tr>
<td class="line">816</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method getCompiledDelete has a boolean flag argument $reset, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
</table>
</div>
<h2 id="members">Members</h2> <h2 id="members">Members</h2>
<div class="styled members"> <div class="styled members">
<h4>public</h4> <h4>public</h4>
@ -238,6 +409,8 @@
— Selects the sum of a field from a query</li> — Selects the sum of a field from a query</li>
<li id="set"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/set.html">set()</a> <li id="set"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/set.html">set()</a>
— Sets values for inserts / updates / deletes</li> — Sets values for inserts / updates / deletes</li>
<li id="table"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/table.html">table()</a>
— Specify the database table to select from</li>
<li id="update"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/update.html">update()</a> <li id="update"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/update.html">update()</a>
— Creates an update clause, and executes it</li> — Creates an update clause, and executes it</li>
<li id="updateBatch"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/updateBatch.html">updateBatch()</a> <li id="updateBatch"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/updateBatch.html">updateBatch()</a>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line628">Source</a> <a href="../../source/QueryBuilder.php.html#line642">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line643">Source</a> <a href="../../source/QueryBuilder.php.html#line657">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -104,6 +104,26 @@
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a> <a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">657</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method countAllResults has a boolean flag argument $reset, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line738">Source</a> <a href="../../source/QueryBuilder.php.html#line752">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line152">Source</a> <a href="../../source/QueryBuilder.php.html#line153">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line164">Source</a> <a href="../../source/QueryBuilder.php.html#line165">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line176">Source</a> <a href="../../source/QueryBuilder.php.html#line190">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -77,12 +77,12 @@
<h2 id="signature">Signature</h2> <h2 id="signature">Signature</h2>
<div class="styled synopsis"> <div class="styled synopsis">
<code>public function from(string <code>public function from(string
$tblname ) $tableName )
</code> </code>
</div> </div>
<h2 id="parameterlist">Parameters</h2> <h2 id="parameterlist">Parameters</h2>
<dl class="styled"> <dl class="styled">
<dt><code>$tblname</code> <dt><code>$tableName</code>
string</dt> string</dt>
<dd/> <dd/>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line587">Source</a> <a href="../../source/QueryBuilder.php.html#line601">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line802">Source</a> <a href="../../source/QueryBuilder.php.html#line816">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -104,6 +104,26 @@
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a> <a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">816</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method getCompiledDelete has a boolean flag argument $reset, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line778">Source</a> <a href="../../source/QueryBuilder.php.html#line792">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -104,6 +104,26 @@
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a> <a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">792</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method getCompiledInsert has a boolean flag argument $reset, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line760">Source</a> <a href="../../source/QueryBuilder.php.html#line774">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -104,6 +104,26 @@
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a> <a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">774</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method getCompiledSelect has a boolean flag argument $reset, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line790">Source</a> <a href="../../source/QueryBuilder.php.html#line804">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -104,6 +104,26 @@
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a> <a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">804</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method getCompiledUpdate has a boolean flag argument $reset, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line613">Source</a> <a href="../../source/QueryBuilder.php.html#line627">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line429">Source</a> <a href="../../source/QueryBuilder.php.html#line443">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -99,6 +99,26 @@
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a> <a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">454 - 456</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#elseexpression" target="_blank" title="Clean Code Rules">ElseExpression</a>
</td>
<td>The method groupBy uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line567">Source</a> <a href="../../source/QueryBuilder.php.html#line581">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line512">Source</a> <a href="../../source/QueryBuilder.php.html#line526">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line259">Source</a> <a href="../../source/QueryBuilder.php.html#line273">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line664">Source</a> <a href="../../source/QueryBuilder.php.html#line678">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line681">Source</a> <a href="../../source/QueryBuilder.php.html#line695">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -105,6 +105,40 @@
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a> <a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">698</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$sql' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">700</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$sql' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">701</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$sql' which will lead to PHP notices.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line406">Source</a> <a href="../../source/QueryBuilder.php.html#line420">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line204">Source</a> <a href="../../source/QueryBuilder.php.html#line218">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -81,7 +81,7 @@
mixed mixed
$val, $val,
[string [string
$pos = 'both'] ) $pos = LikeType::BOTH] )
</code> </code>
</div> </div>
<h2 id="parameterlist">Parameters</h2> <h2 id="parameterlist">Parameters</h2>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line495">Source</a> <a href="../../source/QueryBuilder.php.html#line509">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line527">Source</a> <a href="../../source/QueryBuilder.php.html#line541">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line230">Source</a> <a href="../../source/QueryBuilder.php.html#line244">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -81,7 +81,7 @@
mixed mixed
$val, $val,
[string [string
$pos = 'both'] ) $pos = LikeType::BOTH] )
</code> </code>
</div> </div>
<h2 id="parameterlist">Parameters</h2> <h2 id="parameterlist">Parameters</h2>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line542">Source</a> <a href="../../source/QueryBuilder.php.html#line556">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line271">Source</a> <a href="../../source/QueryBuilder.php.html#line285">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line217">Source</a> <a href="../../source/QueryBuilder.php.html#line231">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -81,7 +81,7 @@
mixed mixed
$val, $val,
[string [string
$pos = 'both'] ) $pos = LikeType::BOTH] )
</code> </code>
</div> </div>
<h2 id="parameterlist">Parameters</h2> <h2 id="parameterlist">Parameters</h2>

View File

@ -62,7 +62,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line555">Source</a> <a href="../../source/QueryBuilder.php.html#line569">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line243">Source</a> <a href="../../source/QueryBuilder.php.html#line257">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -81,7 +81,7 @@
mixed mixed
$val, $val,
[string [string
$pos = 'both'] ) $pos = LikeType::BOTH] )
</code> </code>
</div> </div>
<h2 id="parameterlist">Parameters</h2> <h2 id="parameterlist">Parameters</h2>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line302">Source</a> <a href="../../source/QueryBuilder.php.html#line316">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line326">Source</a> <a href="../../source/QueryBuilder.php.html#line340">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line350">Source</a> <a href="../../source/QueryBuilder.php.html#line364">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line456">Source</a> <a href="../../source/QueryBuilder.php.html#line470">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -62,7 +62,7 @@
<a href="#return">Return</a> <a href="#return">Return</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line134">Source</a> <a href="../../source/QueryBuilder.php.html#line135">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line37">Source</a> <a href="../../source/QueryBuilder.php.html#line38">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line107">Source</a> <a href="../../source/QueryBuilder.php.html#line108">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -105,6 +105,33 @@
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a> <a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">108</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method selectAvg has a boolean flag argument $as, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
<tr>
<td class="line">108</td>
<td>
<a href="https://phpmd.org/rules/naming.html#shortvariable" target="_blank" title="Naming Rules">ShortVariable</a>
</td>
<td>Avoid variables with short names like $as. Configured minimum length is 3.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line79">Source</a> <a href="../../source/QueryBuilder.php.html#line80">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -105,6 +105,33 @@
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a> <a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">80</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method selectMax has a boolean flag argument $as, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
<tr>
<td class="line">80</td>
<td>
<a href="https://phpmd.org/rules/naming.html#shortvariable" target="_blank" title="Naming Rules">ShortVariable</a>
</td>
<td>Avoid variables with short names like $as. Configured minimum length is 3.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line93">Source</a> <a href="../../source/QueryBuilder.php.html#line94">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -105,6 +105,33 @@
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a> <a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">94</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method selectMin has a boolean flag argument $as, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
<tr>
<td class="line">94</td>
<td>
<a href="https://phpmd.org/rules/naming.html#shortvariable" target="_blank" title="Naming Rules">ShortVariable</a>
</td>
<td>Avoid variables with short names like $as. Configured minimum length is 3.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line121">Source</a> <a href="../../source/QueryBuilder.php.html#line122">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -105,6 +105,33 @@
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a> <a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">122</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method selectSum has a boolean flag argument $as, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
<tr>
<td class="line">122</td>
<td>
<a href="https://phpmd.org/rules/naming.html#shortvariable" target="_blank" title="Naming Rules">ShortVariable</a>
</td>
<td>Avoid variables with short names like $as. Configured minimum length is 3.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line366">Source</a> <a href="../../source/QueryBuilder.php.html#line380">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -105,6 +105,26 @@
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a> <a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">387 - 389</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#elseexpression" target="_blank" title="Clean Code Rules">ElseExpression</a>
</td>
<td>The method set uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -0,0 +1,108 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - Query\QueryBuilder::table</title>
<link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
<body>
<nav class="topnav">
<ul>
<li>
<div class="logo"><span>/**</span>phpDox</div>
</li>
<li class="separator">
<a href="../../index.html">Overview</a>
</li>
<li class="separator">
<a href="../../namespaces.html">Namespaces</a>
</li>
<li>
<a href="../../interfaces.html">Interfaces</a>
</li>
<li>
<a href="../../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../../source/index.html">Source</a>
</li>
</ul>
</nav>
<div id="mainstage">
<div class="box">
<ul class="breadcrumb">
<li>
<a href="../../index.html">Overview</a>
</li>
<li class="separator">
<a href="../../classes.html">Classes</a>
</li>
<li class="separator">
<a href="../../classes.html#Query">Query</a>
</li>
<li class="separator">
<a title="Query\QueryBuilder" href="../../classes/Query_QueryBuilder.html">QueryBuilder</a>
</li>
<li class="separator">table</li>
</ul>
</div>
<nav class="box">
<ul>
<li>
<a href="#introduction">Introduction</a>
</li>
<li>
<a href="#synopsis">Synopsis</a>
</li>
<li>
<a href="#parameter">Parameter</a>
</li>
<li>
<a href="#return">Return</a>
</li>
<li>
<a href="#interface">Interface</a>
</li>
<li>
<a href="../../source/QueryBuilder.php.html#line179">Source</a>
</li>
</ul>
</nav>
<section>
<h1><small>Query\QueryBuilder::</small>table</h1>
<h4>Specify the database table to select from</h4>
<p>Alias of `from` method to better match CodeIgniter 4</p>
<ul/>
<h2 id="signature">Signature</h2>
<div class="styled synopsis">
<code>public function table(string
$tableName )
</code>
</div>
<h2 id="parameterlist">Parameters</h2>
<dl class="styled">
<dt><code>$tableName</code>
string</dt>
<dd/>
</dl>
<h2 id="return">Returns</h2>
<dl class="styled">
<dt>QueryBuilder</dt>
<dd><br/>
</dd>
</dl>
<h2 id="interface">Defined by Interface</h2>
<p class="styled">
<code>
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code>
</p>
</section>
</div>
<footer>
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line698">Source</a> <a href="../../source/QueryBuilder.php.html#line712">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line717">Source</a> <a href="../../source/QueryBuilder.php.html#line731">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>
@ -111,6 +111,47 @@
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a> <a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
</code> </code>
</p> </p>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">739</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$sql' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">739</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$affectedRows' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">741</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$sql' which will lead to PHP notices.</td>
</tr>
<tr>
<td class="line">742</td>
<td>
<a href="" target="_blank" title="Clean Code Rules">UndefinedVariable</a>
</td>
<td>Avoid using undefined variables such as '$affectedRows' which will lead to PHP notices.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line290">Source</a> <a href="../../source/QueryBuilder.php.html#line304">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line314">Source</a> <a href="../../source/QueryBuilder.php.html#line328">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -65,7 +65,7 @@
<a href="#interface">Interface</a> <a href="#interface">Interface</a>
</li> </li>
<li> <li>
<a href="../../source/QueryBuilder.php.html#line338">Source</a> <a href="../../source/QueryBuilder.php.html#line352">Source</a>
</li> </li>
</ul> </ul>
</nav> </nav>

View File

@ -52,6 +52,9 @@
<li> <li>
<a href="#synopsis">Synopsis</a> <a href="#synopsis">Synopsis</a>
</li> </li>
<li>
<a href="#violations">Violations</a>
</li>
<li> <li>
<a href="#members">Members</a> <a href="#members">Members</a>
</li> </li>
@ -78,6 +81,26 @@
</li></ul> </li></ul>
}<br/></div> }<br/></div>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">60</td>
<td>
<a href="https://phpmd.org/rules/naming.html#shortvariable" target="_blank" title="Naming Rules">ShortVariable</a>
</td>
<td>Avoid variables with short names like $db. Configured minimum length is 3.</td>
</tr>
</table>
</div>
<h2 id="members">Members</h2> <h2 id="members">Members</h2>
<div class="styled members"> <div class="styled members">
<h4>public</h4> <h4>public</h4>

View File

@ -81,6 +81,26 @@
<a title="Query\Drivers\DriverInterface" href="../../classes/Query_Drivers_DriverInterface.html">Query\Drivers\DriverInterface</a></dt> <a title="Query\Drivers\DriverInterface" href="../../classes/Query_Drivers_DriverInterface.html">Query\Drivers\DriverInterface</a></dt>
<dd><br/><br/><br/> </dd> <dd><br/><br/><br/> </dd>
</dl> </dl>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">60</td>
<td>
<a href="https://phpmd.org/rules/naming.html#shortvariable" target="_blank" title="Naming Rules">ShortVariable</a>
</td>
<td>Avoid variables with short names like $db. Configured minimum length is 3.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -86,7 +86,7 @@
</li><li>public ?array <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/getProcedures.html">getProcedures</a>() </li><li>public ?array <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/getProcedures.html">getProcedures</a>()
</li><li>public ?array <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/getTriggers.html">getTriggers</a>() </li><li>public ?array <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/getTriggers.html">getTriggers</a>()
</li><li>public string|array <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/quoteIdent.html">quoteIdent</a>() </li><li>public string|array <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/quoteIdent.html">quoteIdent</a>()
</li><li>public string|array <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/quoteTable.html">quoteTable</a>() </li><li>public string <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/quoteTable.html">quoteTable</a>()
</li><li>public <span title="PDOStatement">PDOStatement</span> <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/prepareExecute.html">prepareExecute</a>() </li><li>public <span title="PDOStatement">PDOStatement</span> <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/prepareExecute.html">prepareExecute</a>()
</li><li>public ?array <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/driverQuery.html">driverQuery</a>() </li><li>public ?array <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/driverQuery.html">driverQuery</a>()
</li><li>public int <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/affectedRows.html">affectedRows</a>() </li><li>public int <a title="Query\Drivers\DriverInterface" href="../interfaces/Query_Drivers_DriverInterface/affectedRows.html">affectedRows</a>()
@ -104,6 +104,26 @@
</li></ul> </li></ul>
}<br/></div> }<br/></div>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">189</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method driverQuery has a boolean flag argument $filteredIndex, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
</table>
</div>
<h2 id="methods">Methods</h2> <h2 id="methods">Methods</h2>
<div class="styled"> <div class="styled">
<h4>public</h4> <h4>public</h4>

View File

@ -95,6 +95,26 @@
<dt>array</dt> <dt>array</dt>
<dd/> <dd/>
</dl> </dl>
<h2 id="violations">Violations</h2>
<div class="styled">
<h3>PHPMessDetector</h3>
<table class="styled">
<thead>
<tr>
<th>Line</th>
<th>Rule</th>
<th>Message</th>
</tr>
</thead>
<tr>
<td class="line">189</td>
<td>
<a href="https://phpmd.org/rules/cleancode.html#booleanargumentflag" target="_blank" title="Clean Code Rules">BooleanArgumentFlag</a>
</td>
<td>The method driverQuery has a boolean flag argument $filteredIndex, which is a certain sign of a Single Responsibility Principle violation.</td>
</tr>
</table>
</div>
</section> </section>
</div> </div>
<footer> <footer>

View File

@ -73,7 +73,7 @@
<ul/> <ul/>
<h2 id="signature">Signature</h2> <h2 id="signature">Signature</h2>
<div class="styled synopsis"> <div class="styled synopsis">
<code>public function quoteTable(<a title="Query\Drivers\string|array" href="../../interfaces/Query_Drivers_string|array.html">string|array</a> <code>public function quoteTable(string
$table ) $table )
</code> </code>
</div> </div>
@ -81,14 +81,13 @@
<dl class="styled"> <dl class="styled">
<dt><code>$table</code> <dt><code>$table</code>
object</dt> string</dt>
<dd><br/><br/><br/> </dd> <dd/>
</dl> </dl>
<h2 id="return">Returns</h2> <h2 id="return">Returns</h2>
<dl class="styled"> <dl class="styled">
<dt>string|array</dt> <dt>string</dt>
<dd><br/> <dd/>
</dd>
</dl> </dl>
</section> </section>
</div> </div>

Some files were not shown because too many files have changed in this diff Show More