propelorm/Propel2

Avoid the use of eval()

                eval('?>' . $this->template . '<?php ');
Severity: Minor
Found in src/Propel/Generator/Builder/Util/PropelTemplate.php - About 50 mins to fix

Remove call to debugging function var_export

                $opt = var_export($properties['options'], true);
Severity: Minor
Found in src/Propel/Generator/Behavior/Validate/ValidateBehavior.php - About 5 mins to fix

Remove call to debugging function var_export

        $defaultValue = var_export(null, true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

                    $defaultValue = var_export($defDt->format($fmt), true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

            $defaultValue = var_export($val, true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

            $defaultValue = 'new '.$column->getPhpType().'(' . var_export($val, true) . ')';
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

            $defaultValue = var_export($val, true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

    ".$visibility." function get$cfc(\$format = ".var_export($defaultfmt, true)."";
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

        $fmt = var_export($this->getTemporalFormatter($col), true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

            throw new PropelException(sprintf('Error populating %s object', ".var_export($this->getStubObjectBuilder()->getClassName(), true)."), 0, \$e);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

        \$validPrimaryKeyFKs = " . var_export($foreignKeyPKCount, true) . ";
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

                $val = var_export($rightValueOrColumn, true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

                $val = var_export($rightValueOrColumn, true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

            $identifier = var_export($this->quoteIdentifier($column->getName()), true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

            $columnNameCase = var_export($this->quoteIdentifier($column->getName()), true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

                $coldefval = var_export($coldefval, true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/ObjectBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

                $value = var_export($rightValueOrColumn, true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/QueryBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

                $leftValue = var_export($localValueOrColumn, true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/QueryBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

        \$this->addPrimaryKey('$columnName', '$cfc', '".$col->getType()."', ".var_export($col->isNotNull(), true).", ".$size.", $default);";
Severity: Minor
Found in src/Propel/Generator/Builder/Om/TableMapBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

        \$this->addColumn('$columnName', '$cfc', '".$col->getType()."', ".var_export($col->isNotNull(), true).", ".$size.", $default);";
Severity: Minor
Found in src/Propel/Generator/Builder/Om/TableMapBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

        \$this->getColumn('$columnName')->setValueSet(" . var_export($col->getValueSet(), true). ");";
Severity: Minor
Found in src/Propel/Generator/Builder/Om/TableMapBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

            $joinCondition = var_export($fkey->getNormalizedMap($fkey->getMapping()), true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/TableMapBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

            $joinCondition = var_export($fkey->getNormalizedMap($fkey->getMapping()), true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/TableMapBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

                        $string = var_export($value, true);
Severity: Minor
Found in src/Propel/Generator/Builder/Om/TableMapBuilder.php - About 5 mins to fix

Remove call to debugging function var_export

\$manager->setReadConfiguration(" . var_export($params['slaves'], true). ");";
Severity: Minor
Found in src/Propel/Generator/Config/ArrayToPhpConverter.php - About 5 mins to fix

Remove call to debugging function var_export

\$manager->{$masterConfigurationSetter}(". var_export($connection, true) . ");";
Severity: Minor
Found in src/Propel/Generator/Config/ArrayToPhpConverter.php - About 5 mins to fix

Remove call to debugging function var_export

\$serviceContainer->setProfilerConfiguration(" . var_export($profilerConf, true) . ");";
Severity: Minor
Found in src/Propel/Generator/Config/ArrayToPhpConverter.php - About 5 mins to fix

Remove call to debugging function var_export

\$serviceContainer->setLoggerConfiguration('{$key}', " . var_export($logger, true) . ");";
Severity: Minor
Found in src/Propel/Generator/Config/ArrayToPhpConverter.php - About 5 mins to fix

Remove call to debugging function var_export

                            $labelString .= var_export($foreignValueOrColumn, true);
Severity: Minor
Found in src/Propel/Generator/Manager/GraphvizManager.php - About 5 mins to fix

Remove call to debugging function var_export

        $migrationUpString = var_export($migrationsUp, true);
Severity: Minor
Found in src/Propel/Generator/Manager/MigrationManager.php - About 5 mins to fix

Remove call to debugging function var_export

        $migrationDownString = var_export($migrationsDown, true);
Severity: Minor
Found in src/Propel/Generator/Manager/MigrationManager.php - About 5 mins to fix

Remove call to debugging function var_export

        $commentString = var_export($comment, true);
Severity: Minor
Found in src/Propel/Generator/Manager/MigrationManager.php - About 5 mins to fix

Remove call to debugging function var_export

                $paramstr[] = $param['table'] . '.' . $param['column'] . ' => ' . var_export($param['value'], true);
Severity: Minor
Found in src/Propel/Runtime/ActiveQuery/Criteria.php - About 5 mins to fix

Remove call to debugging function var_export

                    $conditions[] = $this->getLeftColumn($i) . $this->getOperator($i) . var_export($this->leftValues[$i], true);
Severity: Minor
Found in src/Propel/Runtime/ActiveQuery/Join.php - About 5 mins to fix

Remove call to debugging function var_export

                        $conditions[] = $this->getRightColumn($i) . $this->getOperator($i) . var_export($this->rightValues[$i], true);
Severity: Minor
Found in src/Propel/Runtime/ActiveQuery/Join.php - About 5 mins to fix

Remove call to debugging function debug_backtrace

        $backtrace = debug_backtrace();
Severity: Minor
Found in src/Propel/Runtime/Connection/ConnectionWrapper.php - About 5 mins to fix

Remove call to debugging function var_export

            $valuestr = $length > 100 ? '[Large value]' : var_export($value, true);
Severity: Minor
Found in src/Propel/Runtime/Connection/StatementWrapper.php - About 5 mins to fix

Remove call to debugging function var_export

            $valuestr = $type == \PDO::PARAM_LOB ? '[LOB value]' : var_export($value, true);
Severity: Minor
Found in src/Propel/Runtime/Connection/StatementWrapper.php - About 5 mins to fix