src/ChrisAndChris/Common/RowMapperBundle/Tests/Services/Query/ExtendedBuilderTest.php
File ExtendedBuilderTest.php
has 457 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace ChrisAndChris\Common\RowMapperBundle\Tests\Services\Query;
use ChrisAndChris\Common\RowMapperBundle\Exceptions\MalformedQueryException;
use ChrisAndChris\Common\RowMapperBundle\Exceptions\MissingParameterException;
ExtendedBuilderTest
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ExtendedBuilderTest extends AbstractBuilderTest
{
public function testSelect()
{
Method testAppendMultipleWrongInput
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testAppendMultipleWrongInput()
{
$builder = $this->getBuilder();
$array = [0];
try {
Method testUpdates
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testUpdates()
{
$builder = $this->getBuilder();
$builder->updates(
Method testAppendMultiple
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testAppendMultiple()
{
$builder = $this->getBuilder();
$array = [0];
$builder->each(
Method testIf
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testIf()
{
$builder = $this->getBuilder();
$builder->_if(true)
Method testNestedIf
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testNestedIf()
{
$builder = $this->getBuilder();
// @formatter:off
Method testValuesStatement
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testValuesStatement()
{
$builder = $this->getBuilder();
$fieldValues = [
[