Skip to content

Commit

Permalink
single_blank_line_at_eof + single_class_element_per_statement + singl…
Browse files Browse the repository at this point in the history
…e_import_per_statement + single_line_after_imports
  • Loading branch information
Dillon-Brown committed Jan 25, 2019
1 parent a11f2ae commit 84a5b32
Show file tree
Hide file tree
Showing 875 changed files with 550 additions and 894 deletions.
1 change: 0 additions & 1 deletion Api/V8/Config/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,3 @@
});
})->add(new ResourceServerMiddleware($app->getContainer()->get(ResourceServer::class)));
});

2 changes: 0 additions & 2 deletions ModuleInstall/extensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,3 @@
if (file_exists("custom/application/Ext/Extensions/extensions.ext.php")) {
include("custom/application/Ext/Extensions/extensions.ext.php");
}


2 changes: 1 addition & 1 deletion SugarSecurity.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,4 @@ function save()
$secure = new SugarSecureManager();
$secure->registerScan('ScanFileIncludes');
$secure->scan();
$secure->display();
$secure->display();
1 change: 0 additions & 1 deletion data/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -1112,4 +1112,3 @@ function _get_link_table_role_field($table_name)
return $role_field;
}
}

1 change: 0 additions & 1 deletion dictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@

require_once('include/entryPoint.php');
include_once('modules/TableDictionary.php');

2 changes: 1 addition & 1 deletion ical_server.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@

ob_start();
require_once('include/entryPoint.php');
require("modules/iCals/Server.php");
require("modules/iCals/Server.php");
1 change: 0 additions & 1 deletion include/EditView/EditView2.php
Original file line number Diff line number Diff line change
Expand Up @@ -1130,4 +1130,3 @@ public function getTemplateHandler()
return new TemplateHandler();
}
}

2 changes: 1 addition & 1 deletion include/Exceptions/SugarControllerException.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
*/
class SugarControllerException extends Exception
{
}
}
2 changes: 1 addition & 1 deletion include/Exceptions/SuiteException.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
class SuiteException extends Exception
{
const NO_ID = 1;
}
}
2 changes: 1 addition & 1 deletion include/GoogleSync/GoogleSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,4 @@ public function syncAllUsers()
$this->logger->warn(__FILE__ . ':' . __LINE__ . ' ' . __METHOD__ . ' - ' . $failures . ' failure(s) found at syncAllUsers method.');
return false;
}
}
}
2 changes: 1 addition & 1 deletion include/GoogleSync/GoogleSyncHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,4 @@ public function createSuitecrmReminders(array $overrides, Meeting $meeting)
$ret = array($reminders, $invitees);
return $ret;
}
}
}
1 change: 0 additions & 1 deletion include/GroupedTabs/GroupedTabStructure.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,3 @@ function get_tab_structure($modList = '', $patch = '', $ignoreSugarConfig=false,
return $retStruct;
}
}

2 changes: 1 addition & 1 deletion include/HTMLPurifierFilterXmp.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ public function preFilter($html, $config, $context)
{
return preg_replace("#<(/)?xmp>#i", "<\\1pre>", $html);
}
}
}
2 changes: 1 addition & 1 deletion include/HTMLPurifierURISchemeCid.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ public function doValidate(&$uri, $config, $context)
$uri->fragment = null;
return true;
}
}
}
2 changes: 0 additions & 2 deletions include/HtmlSanitizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,3 @@ public static function stripTags($dirtyHtml, $isEncoded = true)
return $isEncoded ? to_html($dirtyHtml) : $dirtyHtml;
}
}


1 change: 0 additions & 1 deletion include/InlineEditing/InlineEditing.php
Original file line number Diff line number Diff line change
Expand Up @@ -564,4 +564,3 @@ function checkAccess($bean)
return false;
}
}

1 change: 0 additions & 1 deletion include/MVC/View/views/view.edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,3 @@ public function getEditView()
return $this->ev;
}
}

2 changes: 1 addition & 1 deletion include/MVC/View/views/view.quickcreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,4 @@ protected function getEditView()
{
return new EditView();
}
}
}
2 changes: 1 addition & 1 deletion include/MVC/View/views/view.xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ function display()
{
echo 'Not implemented';
}
}
}
2 changes: 1 addition & 1 deletion include/SearchForm/SugarSpot.php
Original file line number Diff line number Diff line change
Expand Up @@ -551,4 +551,4 @@ protected function filterSearchType($type, $query)
}
return true;
}
}
}
1 change: 0 additions & 1 deletion include/SubPanel/SubPanelSearchDisplay.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,3 @@
$subpanel_object = new SubPanel($module, $record, $subpanel, null, $layout_def_key, $collection);

echo $subpanel_object->getSearchForm();

2 changes: 1 addition & 1 deletion include/SubPanel/SubPanelSearchForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ function displaySavedSearchSelect()
{
return null;
}
}
}
3 changes: 2 additions & 1 deletion include/SugarDateTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,8 @@ function __toString()
"tm_sec" => 0,
);

protected static $strptime_short_mon, $strptime_long_mon;
protected static $strptime_short_mon;
protected static $strptime_long_mon;
/**
* DateTime homebrew parser
*
Expand Down
2 changes: 1 addition & 1 deletion include/SugarDependentDropdown/SugarDependentDropdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,4 +365,4 @@ function debugOutput($v)
}
//// END PRIVATE UTILS
///////////////////////////////////////////////////////////////////////////
} // end Class def
} // end Class def
Original file line number Diff line number Diff line change
Expand Up @@ -346,4 +346,4 @@
),
),
),
);
);
2 changes: 1 addition & 1 deletion include/SugarEmailAddress/getEmailAddressWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ function getEmailAddressWidget($focus, $field, $value, $view, $tabindex = '0')
}

return $sea->getEmailAddressWidgetDetailView($focus);
}
}
1 change: 0 additions & 1 deletion include/SugarFields/Fields/Base/SugarFieldBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -684,4 +684,3 @@ protected function setupFieldArray($parentFieldArray, $vardef)
return $parentFieldArray;
}
}

1 change: 0 additions & 1 deletion include/SugarFields/Fields/Currency/SugarFieldCurrency.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,3 @@ public function formatField($rawField, $vardef)
return format_number($rawField, $precision, $precision);
}
}

2 changes: 1 addition & 1 deletion include/SugarFields/Fields/Fullname/SugarFieldFullname.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ public function importSanitize(
}
}
}
}
}
2 changes: 1 addition & 1 deletion include/SugarFields/Fields/Image/deleteAttachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
$bean->$field = '';
$bean->save();
echo 'true';
}
}
2 changes: 1 addition & 1 deletion include/SugarFields/Fields/Int/SugarFieldInt.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,4 @@ public function importSanitize(

return $value;
}
}
}
2 changes: 1 addition & 1 deletion include/SugarFields/Fields/Parent/SugarFieldParent.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,4 +263,4 @@ public function getSearchInput($key = '', $args = array())

return isset($args[$key]) ? $args[$key] : '';
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ public function getEmailTemplateValue($inputField, $vardef, $displayParams = arr
}
return $inputField;
}
}
}
2 changes: 1 addition & 1 deletion include/SugarFields/Fields/Time/SugarFieldTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ public function save(&$bean, &$inputData, &$field, &$def, $prefix = '')

$bean->$field = $timedate->to_db_time($inputData[$prefix.$field], false);
}
}
}
1 change: 0 additions & 1 deletion include/SugarFields/Parsers/MetaParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -868,4 +868,3 @@ function findSingleVardefElement($formElements=array(), $vardefs=array())
return count($found) == 1 ? $found[0] : '';
}
}

2 changes: 1 addition & 1 deletion include/SugarHtml/SugarHtml.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,4 +547,4 @@ public static function createAttributes($params)
}
return $options;
}
}
}
2 changes: 1 addition & 1 deletion include/SugarOAuthServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,4 +268,4 @@ public function reportProblem(Exception $e)
class OAuthException extends Exception
{
}
}
}
2 changes: 0 additions & 2 deletions include/SugarObjects/LanguageManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,5 +321,3 @@ public static function removeJSLanguageFiles()
write_array_to_file("sugar_config", $GLOBALS['sugar_config'], "config.php");
}
}


1 change: 0 additions & 1 deletion include/SugarObjects/SugarConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@ function clearCache($key = null)
}
}
}

1 change: 0 additions & 1 deletion include/SugarObjects/SugarRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,3 @@ public function addToGlobals()
}
}
}

1 change: 0 additions & 1 deletion include/SugarObjects/forms/FormBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,3 @@ protected function isEmptyReturnModuleAndAction()
return empty($_POST['return_module']) && empty($_POST['return_action']);
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
$mod_strings = array(
'LBL_SECURITYGROUPS' => "Security Groups",
'LBL_SECURITYGROUPS_SUBPANEL_TITLE' => "Security Groups"
);
);
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@
'title' => translate('LBL_HOMEPAGE_TITLE', '<module_name>'),
'description' => 'A customizable view into <module_name>',
'category' => 'Module Views'
);
);
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@
'width' => '8',
'label' => 'LBL_LIST_ASSIGNED_USER'
),
);
);
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,3 @@
'searchInputs' => array($_module_name . '_number', 'name', 'priority', 'status'),

);

Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,3 @@
'LBL_REMOVE' => 'Remove',

);


Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@
'width' => '8',
'label' => 'LBL_LIST_ASSIGNED_USER'
),
);
);
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@
'width' => '8',
'label' => 'LBL_LIST_ASSIGNED_USER'
),
);
);
2 changes: 1 addition & 1 deletion include/SugarObjects/templates/issue/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@

$config = array(
'image' => 'Cases'
);
);
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@
'width' => '8',
'label' => 'LBL_LIST_ASSIGNED_USER'
),
);
);
2 changes: 1 addition & 1 deletion include/SugarObjects/templates/person/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@

$config = array(
'image' => 'Contacts'
);
);
2 changes: 0 additions & 2 deletions include/SugarObjects/templates/person/language/en_us.lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,3 @@
'LBL_CONSENT' => 'Consent',
//End Lawful Basis labels
);


Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@
'width' => '8',
'label' => 'LBL_LIST_ASSIGNED_USER'
),
);
);
2 changes: 1 addition & 1 deletion include/SugarObjects/templates/person/vardefs.php
Original file line number Diff line number Diff line change
Expand Up @@ -492,4 +492,4 @@
'relationship_role_column_value' => '1'
),
)
);
);
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@
'width' => '8',
'label' => 'LBL_LIST_ASSIGNED_USER'
),
);
);
1 change: 0 additions & 1 deletion include/SugarObjects/templates/sale/metadata/popupdefs.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,3 @@
'searchInputs' => array('name'),

);

2 changes: 1 addition & 1 deletion include/SugarObjects/translated_prefix.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
function translated_prefix($key)
{
return '[translated]' . $key;
}
}
2 changes: 1 addition & 1 deletion include/SugarQueue/SugarCronJobs.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,4 @@ public function runOk()
{
return $this->runOk;
}
}
}
1 change: 0 additions & 1 deletion include/SugarQueue/SugarCronRemoteJobs.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,3 @@ public function executeJob($job)
}
}
}

2 changes: 1 addition & 1 deletion include/SugarSQLValidate.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,4 +268,4 @@ protected function validateColumnName($name)

return true;
}
}
}
1 change: 0 additions & 1 deletion include/SugarTheme/SugarThemeRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,4 +446,3 @@ public static function getSubThemeDefault()
return $subThemes;
}
}

1 change: 0 additions & 1 deletion include/Sugarpdf/Sugarpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -728,4 +728,3 @@ public function Output($name='doc.pdf', $dest='I')
return parent::Output($name, $dest);
}
}

Loading

0 comments on commit 84a5b32

Please sign in to comment.