Showing 8,683 of 8,684 total issues
Method WFC_Dark_ServiceCase_12UP
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function WFC_Dark_ServiceCase_12UP ($data,$offset=0)
{
$dbc = FannieDB::get(FannieConfig::config('OP_DB'));
$pdf = new WFC_Dark_ServiceCase_12UP_PDF('L','mm','Letter');
$pdf->AddPage();
Method WFC_Dark_HFM_12UP
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function WFC_Dark_HFM_12UP ($data,$offset=0)
{
$dbc = FannieDB::get(FannieConfig::config('OP_DB'));
$pdf = new WFC_Dark_HFM_12UP_PDF('L','mm','Letter');
$pdf->AddPage();
Method drawKeyboard
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function drawKeyboard()
{
$dbc = FannieDB::get(FannieConfig::config('OP_DB'));
$prep = $dbc->prepare("SELECT * FROM PosKeys");
Method javascriptContent
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function javascriptContent()
{
$id = FormLib::get('id');
return <<<HTML
var id = {$id}
Method run
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function run()
{
$dbc = FannieDB::get($this->config->get('TRANS_DB'));
$date = date('Y-m-d', strtotime('yesterday'));
Method get_view
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_view()
{
$editCSS = FannieAuth::validateUserQuiet('hr_editor') ? '' : 'collapse';
$this->connection->selectDB($this->default_db);
$settings = $this->config->get('PLUGIN_SETTINGS');
Method get_id_view
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_id_view()
{
try {
$pDate = trim($this->form->date);
$transNum = trim($this->form->correctTrans);
Method get_id_view
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_id_view()
{
try {
$pDate = trim($this->form->date);
$transNum = trim($this->form->correctTrans);
Method get_id_setpaperwork_handler
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_id_setpaperwork_handler()
{
global $FANNIE_OP_DB;
if (!FannieAuth::validateUserQuiet('editmembers') && !FannieAuth::validateUserQuiet('editmembers_csc'))
return $this->unknown_request_handler();
Method post_id_handler
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function post_id_handler()
{
$numbers = array("zero","one","two","three","four","five","six","seven",
"eight","nine","ten","eleven","twelve","thirteen","fourteen",
"fifteen","sixteen","seventeen","eighteen","nineteen","twenty");
Method __construct
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct($custdata, $meminfo, $amount, $memo='', $check_number=false, $date=false)
{
global $FANNIE_PLUGIN_SETTINGS;
$dbc = FannieDB::get($FANNIE_PLUGIN_SETTINGS['GiveUsMoneyDB']);
$settings = new GumSettingsModel($dbc);
Method fetch_report_data
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function fetch_report_data()
{
try {
$store = $this->form->store;
$super = $this->form->super;
Method get_new_view
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_new_view()
{
$settings = $this->config->get('PLUGIN_SETTINGS');
$prefix = $settings['IncidentDB'] . $this->connection->sep();
Method receiveUnOrderedItem
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function receiveUnOrderedItem($dbc)
{
echo '<div class="alert alert-danger">SKU not found in order</div>';
echo '<table class="table table-bordered">';
echo '<tr><th>SKU</th><th>UPC</th><th>Brand</th><th>Description</th>
Method post_handler
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function post_handler()
{
global $FANNIE_OP_DB;
$dbc = FannieDB::get($FANNIE_OP_DB);
Method get_date1_date2_mtype_stype_handler
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_date1_date2_mtype_stype_handler()
{
global $FANNIE_TRANS_DB, $FANNIE_OP_DB;
$dbc = FannieDB::get($FANNIE_TRANS_DB);
include(__DIR__ . '/../../install/db.php');
Method get_id_view
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_id_view()
{
global $FANNIE_OP_DB;
$dbc = FannieDB::get($FANNIE_OP_DB);
$items = new VendorItemsModel($dbc);
Method SerializeInternal
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
internal virtual void SerializeInternal(JsonWriter jsonWriter, object value, Type objectType)
{
ValidationUtils.ArgumentNotNull(jsonWriter, "jsonWriter");
// set serialization options onto writer
Method CreateDynamic
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private object CreateDynamic(JsonReader reader, JsonDynamicContract contract, JsonProperty member, string id)
{
IDynamicMetaObjectProvider newObject;
if (!contract.IsInstantiable)
Method ManualEntryExp
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected byte[] ManualEntryExp(){
byte[] ret = new byte[70];
int pos = 0;
ret[pos++] = 0x75;