src/Oci8Statement.php
The class Oci8Statement has 13 public methods. Consider refactoring Oci8Statement to keep number of public methods under 10. Open
Open
class Oci8Statement extends AbstractOci8Base implements Oci8StatementInterface
{
/** @var resource */
protected $resource;
- Read upRead up
- Exclude checks
TooManyPublicMethods
Since: 0.1
A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.
By default it ignores methods starting with 'get' or 'set'.
Example
Source https://phpmd.org/rules/codesize.html#toomanypublicmethods
Method bindArrayByName
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function bindArrayByName($name, &$varArray, $maxTableLength, $maxItemLength = -1, $type = SQLT_AFC)