YetiForceCompany/YetiForceCRM

View on GitHub
app_data/moduleHierarchy.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Define a constant instead of duplicating this literal "ProjectMilestone" 4 times.
Open

        'ProjectMilestone' => ['level' => 2, 'parentModule' => 'Project'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "Vendors" 3 times.
Open

        'Vendors' => ['level' => 0],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "SSingleOrders" 3 times.
Open

        'SSingleOrders' => ['level' => 2, 'parentModule' => 'SSalesProcesses'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "addresslevel5a" 4 times.
Open

                    'addresslevel5a' => ['addresslevel5a'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "salesprocessid" 7 times.
Open

            'salesprocessid' => ['SSalesProcesses' => ['accountid' => ['related_to']]],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "level" 23 times.
Open

        'Accounts' => ['level' => 0],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "addresslevel1a" 4 times.
Open

                    'addresslevel1a' => ['addresslevel1a'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "SSalesProcesses" 19 times.
Open

        'SSalesProcesses' => ['level' => 1],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "accountid" 18 times.
Open

            'salesprocessid' => ['SSalesProcesses' => ['accountid' => ['related_to']]],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "FBookkeeping" 3 times.
Open

        'FBookkeeping' => ['level' => 1],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "OSSEmployees" 4 times.
Open

        'OSSEmployees' => ['level' => 0],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "Leads" 7 times.
Open

        'Leads' => ['level' => 0],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "addresslevel7a" 4 times.
Open

                    'addresslevel7a' => ['addresslevel7a'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "Products" 3 times.
Open

            'pssold_id' => ['Assets' => ['product_id' => ['product', 'Products'], 'parent_id' => ['parent_id', 'Accounts']], 'OSSSoldServices' => ['product_id' => ['serviceid', 'Services']]],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "linktoaccountscontacts" 3 times.
Open

            'projectid' => ['Project' => ['parent_id' => ['linktoaccountscontacts']]],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "projectmilestoneid" 3 times.
Open

            'projectmilestoneid' => ['ProjectMilestone' => ['projectid' => ['projectid']]],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "ProjectTask" 4 times.
Open

        'ProjectTask' => ['level' => 3, 'parentModule' => 'ProjectMilestone'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "related_to" 7 times.
Open

            'salesprocessid' => ['SSalesProcesses' => ['accountid' => ['related_to']]],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "FInvoice" 3 times.
Open

        'FInvoice' => ['level' => 2, 'parentModule' => 'FBookkeeping'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "addresslevel8a" 4 times.
Open

                    'addresslevel8a' => ['addresslevel8a'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "Project" 10 times.
Open

        'Project' => ['level' => 1],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "crmid" 3 times.
Open

        'Documents' => ['table' => 'vtiger_senotesrel', 'rel' => 'crmid', 'base' => 'notesid'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "addresslevel4a" 4 times.
Open

                    'addresslevel4a' => ['addresslevel4a'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "Assets" 3 times.
Open

            'pssold_id' => ['Assets' => ['product_id' => ['product', 'Products'], 'parent_id' => ['parent_id', 'Accounts']], 'OSSSoldServices' => ['product_id' => ['serviceid', 'Services']]],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "ServiceContracts" 5 times.
Open

        'ServiceContracts' => ['level' => 1],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "SQuotes" 5 times.
Open

        'SQuotes' => ['level' => 2, 'parentModule' => 'SSalesProcesses'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "parentModule" 11 times.
Open

        'ProjectMilestone' => ['level' => 2, 'parentModule' => 'Project'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "accountname" 3 times.
Open

            'accountid' => ['Accounts' => ['company' => ['accountname']]],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "storageid" 4 times.
Open

            'igrnid' => ['IGRN' => ['vendorid' => ['vendorid'], 'storageid' => ['storageid']]],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "Accounts" 22 times.
Open

        'Accounts' => ['level' => 0],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "addresslevel3a" 4 times.
Open

                    'addresslevel3a' => ['addresslevel3a'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "Campaigns" 3 times.
Open

        'Campaigns' => ['level' => 1],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "table" 3 times.
Open

        'Documents' => ['table' => 'vtiger_senotesrel', 'rel' => 'crmid', 'base' => 'notesid'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "projectid" 6 times.
Open

            'projectmilestoneid' => ['ProjectMilestone' => ['projectid' => ['projectid']]],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "parent_id" 9 times.
Open

            'projectid' => ['Project' => ['parent_id' => ['linktoaccountscontacts']]],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "addresslevel6a" 4 times.
Open

                    'addresslevel6a' => ['addresslevel6a'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "HelpDesk" 7 times.
Open

        'HelpDesk' => ['level' => 2, 'parentModule' => 'ServiceContracts'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "addresslevel2a" 4 times.
Open

                    'addresslevel2a' => ['addresslevel2a'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "Contacts" 5 times.
Open

        'Contacts' => ['level' => 4],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Define a constant instead of duplicating this literal "SRecurringOrders" 3 times.
Open

        'SRecurringOrders' => ['level' => 2, 'parentModule' => 'SSalesProcesses'],
Severity: Critical
Found in app_data/moduleHierarchy.php by sonar-php

Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.

On the other hand, constants can be referenced from many places, but only need to be updated in a single place.

Noncompliant Code Example

With the default threshold of 3:

function run() {
  prepare('action1');                              // Non-Compliant - 'action1' is duplicated 3 times
  execute('action1');
  release('action1');
}

Compliant Solution

ACTION_1 = 'action1';

function run() {
  prepare(ACTION_1);
  execute(ACTION_1);
  release(ACTION_1);
}

Exceptions

To prevent generating some false-positives, literals having less than 5 characters are excluded.

Spaces must be used to indent lines; tabs are not allowed
Open

        'ProjectTask' => ['level' => 3, 'parentModule' => 'ProjectMilestone'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel6a' => ['addresslevel6a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel3a' => ['addresslevel3a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'HelpDesk' => ['Accounts', 'Vendors'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'OutsourcedProducts' => ['Accounts', 'Leads'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'FInvoice' => ['level' => 2, 'parentModule' => 'FBookkeeping'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SRequirementsCards' => ['level' => 2, 'parentModule' => 'SSalesProcesses'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Line exceeds 120 characters; contains 191 characters
Open

            'pssold_id' => ['Assets' => ['product_id' => ['product', 'Products'], 'parent_id' => ['parent_id', 'Accounts']], 'OSSSoldServices' => ['product_id' => ['serviceid', 'Services']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'vat_id_a' => ['vat_id'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Faq' => ['Products'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SQuoteEnquiries' => ['level' => 2, 'parentModule' => 'Campaigns'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'accountid' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel7a' => ['addresslevel7a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'projectid' => ['Project' => ['parent_id' => ['linktoaccountscontacts']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'projectid' => ['Project' => ['accountid' => ['linktoaccountscontacts']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'FInvoice' => ['Accounts'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SSingleOrders' => ['level' => 2, 'parentModule' => 'SSalesProcesses'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'contact_id' => ['Contacts' => ['parent_id' => ['parent_id']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Line exceeds 120 characters; contains 152 characters
Open

            'servicecontractsid' => ['ServiceContracts' => ['parent_id' => ['sc_related_to', 'Accounts'], 'ticketpriorities' => ['contract_priority']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Line exceeds 120 characters; contains 166 characters
Open

            'subprocess' => ['HelpDesk' => ['name' => ['ticket_title'], 'link' => ['parent_id'], 'process' => ['servicecontractsid'], 'linkextend' => ['contact_id']]]
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'salesprocessid' => ['SSalesProcesses' => ['accountid' => ['related_to']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SCalculations' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                'Accounts' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel3a' => ['addresslevel3a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel2a' => ['addresslevel2a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'ProjectMilestone' => ['Project'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SCalculations' => ['level' => 2, 'parentModule' => 'SSalesProcesses'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel2a' => ['addresslevel2a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'igrnid' => ['IGRN' => ['vendorid' => ['vendorid'], 'storageid' => ['storageid']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'igdnid' => ['IGDN' => ['storageid' => ['storageid'], 'accountid' => ['accountid']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SRecurringOrders' => ['SSalesProcesses', 'SQuotes'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Calendar' => ['Accounts', 'Contacts', 'OSSEmployees', 'Leads', 'Vendors', 'HelpDesk', 'Project', 'HelpDesk', 'ServiceContracts', 'Campaigns'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Documents' => ['table' => 'vtiger_senotesrel', 'rel' => 'crmid', 'base' => 'notesid'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'ServiceContracts' => ['level' => 1],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'projectmilestoneid' => ['ProjectMilestone' => ['projectid' => ['projectid']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'salesprocessid' => ['SSalesProcesses' => ['accountid' => ['related_to']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'company_name_a' => ['accountname'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel5a' => ['addresslevel5a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                'Accounts' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SQuotes' => ['SSalesProcesses'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Project' => ['Accounts'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Assets' => ['Accounts', 'Leads'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Partners' => ['level' => 0],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SSalesProcesses' => ['level' => 1],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel1a' => ['addresslevel1a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'accountid' => ['Accounts' => ['company' => ['accountname']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'FCorectingInvoice' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'ServiceContracts' => ['Accounts'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    'modulesMapMMCustom' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    'modulesHierarchy' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Campaigns' => ['level' => 1],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'ProjectTask' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'accountid' => ['Accounts' => ['company' => ['accountname']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SRecurringOrders' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel4a' => ['addresslevel4a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel1a' => ['addresslevel1a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    'modulesMap1M' => [// Base => Parent
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'OSSEmployees' => ['MultiCompany'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'OSSSoldServices' => ['Accounts', 'Leads'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Project' => ['level' => 1],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SQuotes' => ['level' => 2, 'parentModule' => 'SSalesProcesses'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    'modulesMapRelatedFields' => [//Map links between modules
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'parentid' => ['ProjectTask' => ['projectid' => ['projectid'], 'projectmilestoneid' => ['projectmilestoneid']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'HelpDesk' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel8a' => ['addresslevel8a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel7a' => ['addresslevel7a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Assets' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'FBookkeeping' => ['Accounts'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'HolidaysEntitlement' => ['OSSEmployees'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'OSSOutsourcedServices' => ['Accounts', 'Leads'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Competition' => ['level' => 0],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SVendorEnquiries' => ['level' => 2, 'parentModule' => 'SSalesProcesses'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

            'parentid' => ['ProjectTask' => ['projectid' => ['projectid'], 'projectmilestoneid' => ['projectmilestoneid']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SRequirementsCards' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel8a' => ['addresslevel8a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel4a' => ['addresslevel4a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel5a' => ['addresslevel5a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'salesprocessid' => ['SSalesProcesses' => ['accountid' => ['related_to']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'finvoiceid' => ['FInvoice' => ['accountid' => ['accountid']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SSingleOrders' => ['SSalesProcesses'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Accounts' => ['level' => 0],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Leads' => ['level' => 0],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SRecurringOrders' => ['level' => 2, 'parentModule' => 'SSalesProcesses'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SVendorEnquiries' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SQuotes' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'salesprocessid' => ['SSalesProcesses' => ['accountid' => ['related_to']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                    'addresslevel6a' => ['addresslevel6a'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Products' => ['table' => 'vtiger_seproductsrel', 'rel' => 'crmid', 'base' => 'productid'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Vendors' => ['level' => 0],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'OSSEmployees' => ['level' => 0],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'HelpDesk' => ['level' => 2, 'parentModule' => 'ServiceContracts'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'subprocess' => ['HelpDesk' => ['name' => ['ticket_title'], 'link' => ['parent_id'], 'process' => ['servicecontractsid'], 'linkextend' => ['contact_id']]]
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'salesprocessid' => ['SSalesProcesses' => ['accountid' => ['related_to']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SSingleOrders' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'accountid' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SSalesProcesses' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'IGDNC' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Line exceeds 120 characters; contains 151 characters
Open

        'Calendar' => ['Accounts', 'Contacts', 'OSSEmployees', 'Leads', 'Vendors', 'HelpDesk', 'Project', 'HelpDesk', 'ServiceContracts', 'Campaigns'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    'modulesMapMMBase' => ['Services', 'Reservations'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'ProjectMilestone' => ['level' => 2, 'parentModule' => 'Project'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'servicecontractsid' => ['ServiceContracts' => ['parent_id' => ['sc_related_to', 'Accounts'], 'ticketpriorities' => ['contract_priority']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'salesprocessid' => ['SSalesProcesses' => ['accountid' => ['related_to']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SQuoteEnquiries' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'SSalesProcesses' => ['Accounts'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'ProjectTask' => ['Project'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'OSSTimeControl' => ['Accounts', 'Project', 'HelpDesk', 'Leads'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'process' => ['Project' => ['link' => ['linktoaccountscontacts']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'salesprocessid' => ['SSalesProcesses' => ['accountid' => ['related_to']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'squotesid' => ['SQuotes' => ['accountid' => ['accountid']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            ],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'IGRNC' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'PaymentsIn' => ['Accounts'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'OSSMailView' => ['table' => 'vtiger_ossmailview_relation', 'rel' => 'crmid', 'base' => 'ossmailviewid'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'FBookkeeping' => ['level' => 1],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Contacts' => ['level' => 4],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'pssold_id' => ['Assets' => ['product_id' => ['product', 'Products'], 'parent_id' => ['parent_id', 'Accounts']], 'OSSSoldServices' => ['product_id' => ['serviceid', 'Services']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'OSSTimeControl' => [
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'contactid' => ['Contacts' => ['parent_id' => ['parent_id']]],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'Contacts' => ['Accounts'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'PaymentsOut' => ['Accounts'],
Severity: Minor
Found in app_data/moduleHierarchy.php by phpcodesniffer

There are no issues that match your filters.

Category
Status