Showing 3,246 of 4,217 total issues
Method show
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function show()
{
if ($_GET['id']) {
return _class('docs')->_show_for($this);
}
Method _decode_entities
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function _decode_entities($prefix, $codepoint, $original, &$table, &$exclude)
{
// Named entity
if ( ! $prefix) {
if (isset($table[$original])) {
Method data_get_latest_icons
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function data_get_latest_icons()
{
$url = 'http://fontawesome.io/cheatsheet/';
$f2 = __DIR__ . '/' . basename($url);
if (!file_exists($f2)) {
Method get_all_submodules
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_all_submodules($section = 'all')
{
$data = [];
$submodules = (array) _class('core_api')->get_submodules($section);
foreach ($submodules as $_section => $modules) {
Method execute
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function execute(InputInterface $input, OutputInterface $output)
{
init_yf();
$params = [];
Method process_yf_autoload
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function process_yf_autoload() {
$libs_root = $this->libs_root;
$autoload_config = $this->autoload_config;
if (!$autoload_config) {
return false;
Method data_get_latest_countries
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function data_get_latest_countries()
{
global $url, $result_file, $suffix, $mtpl;
$f2 = __DIR__ . '/' . basename($url) . '.table' . $suffix . '.html';
Method show
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function show()
{
if ($_GET['id']) {
return _class('docs')->_show_for($this);
}
Method test_order1
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function test_order1()
{
$url = 'http://jquery.com/jquery-wp-content/themes/jquery.com/style.css';
$url1 = $url . '?v=1';
$url2 = $url . '?v=2';
Method test_order2
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function test_order2()
{
$url = 'http://jquery.com/jquery-wp-content/themes/jquery.com/style.css';
$url1 = $url . '?v=1';
$url2 = $url . '?v=2';
Method test_order3
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function test_order3()
{
$url = 'http://jquery.com/jquery-wp-content/themes/jquery.com/style.css';
$url1 = $url . '?v=1';
$url2 = $url . '?v=2';
Method import_demo_data
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function import_demo_data()
{
$lang = $_POST['install_project_lang'];
$suffix = '.data.php';
Method test_main
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function test_main()
{
$this->assertEquals(0, tofloat(''));
$this->assertEquals(1, tofloat(1));
$this->assertEquals(-1, tofloat(-1));
Method filters_process_input
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function filters_process_input($in, $filters = [], $params = [])
{
if (is_array($in)) {
$out = [];
$func = __FUNCTION__;
Function amount_change
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.amount_change = function( is_currency ) {
BalanceApi.timer.cancel();
// init calc
is_currency = is_currency || false;
var form = $scope.form_payment__payin;
Method _get_info
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function _get_info($id = null, $lang = null)
{
$id = isset($id) ? $id : $_GET['id'];
$lang = isset($lang) ? $lang : $_GET['page'];
$a = db()->from(self::table)
Method update_expired
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function update_expired()
{
$url = &$this->url;
// command line interface
$is_cli = (php_sapi_name() == 'cli');
Method confirmation_update_expired
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function confirmation_update_expired()
{
$url = &$this->url;
// command line interface
$is_cli = (php_sapi_name() == 'cli');
Method _update_expired
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function _update_expired()
{
// var
$payment_api = _class('payment_api');
// update status only in_progress
Method _payout
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function _payout($request, $options)
{
$api = _class('api');
$payment_api = _class('payment_api');
// todo