<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
 * Your installation or use of this SugarCRM file is subject to the applicable
 * terms available at
 * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/.
 * If you do not agree to all of the applicable terms or do not have the
 * authority to bind the entity as an authorized representative, then do not
 * install or use this SugarCRM file.
 *
 * Copyright (C) SugarCRM Inc. All rights reserved.
 */
-->
<files psalm-version="4.x-dev@">
  <file src="Ext/LogicHooks/activitystream.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="Ext/LogicHooks/fts.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="Ext/LogicHooks/pmse.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="Ext/LogicHooks/sugarconnect.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="Ext/ScheduledTasks/pmse.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="Ext/ScheduledTasks/userutils.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="HandleAjaxCall.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="ModuleInstall/ModuleInstaller.php">
    <EmptyArrayAccess occurrences="2">
      <code>$dictionary[$obj]</code>
      <code>$unified_search_modules_display[$beanDefs['module']]</code>
    </EmptyArrayAccess>
    <InvalidArrayOffset occurrences="3">
      <code>$unified_search_modules_display[$beanDefs['module']]['disabled_module_visible']</code>
      <code>$unified_search_modules_display[$beanDefs['module']]['disabled_module_visible']</code>
      <code>$unified_search_modules_display[$beanDefs['module']]['disabled_module_visible']</code>
    </InvalidArrayOffset>
    <InvalidGlobal occurrences="5">
      <code>global $app_strings;</code>
      <code>global $app_strings;</code>
      <code>global $app_strings;</code>
      <code>global $moduleList;</code>
      <code>global $moduleList;</code>
    </InvalidGlobal>
    <MissingFile occurrences="5">
      <code>include 'custom/application/Ext/TableDictionary/tabledictionary.ext.php'</code>
      <code>include('custom/application/Ext/TableDictionary/tabledictionary.ext.php')</code>
      <code>require('custom/modules/unified_search_modules_display.php')</code>
      <code>require('custom/modules/unified_search_modules_display.php')</code>
      <code>require('custom/modules/unified_search_modules_display.php')</code>
    </MissingFile>
    <RedundantCondition occurrences="2">
      <code>strpos($filename, "MetaData") !== false</code>
      <code>strpos($path, $search) !== false</code>
    </RedundantCondition>
    <UndefinedClass occurrences="2">
      <code>SugarTemplateUtilities</code>
      <code>SugarTemplateUtilities</code>
    </UndefinedClass>
    <UndefinedFunction occurrences="40">
      <code>copy_recursive($cp['connector'] , $source_path)</code>
      <code>copy_recursive($cp['formatter'] , $formatter_path)</code>
      <code>copy_recursive($from , "$path/$target.php")</code>
      <code>copy_recursive($from , $path.'/'. basename($from))</code>
      <code>copy_recursive($from , $path.'/'. basename($from))</code>
      <code>copy_recursive($from, $to)</code>
      <code>copy_recursive($packs['from'], $lang_file)</code>
      <code>copy_recursive($packs['from'], $temp_lang_file)</code>
      <code>mkdir_recursive ( "custom/Extension/application/Ext/TableDictionary", true )</code>
      <code>mkdir_recursive("custom/Extension/application/Ext/Include", true)</code>
      <code>mkdir_recursive($dir, true)</code>
      <code>mkdir_recursive($dirName, true)</code>
      <code>mkdir_recursive($dirName, true)</code>
      <code>mkdir_recursive($dirName, true)</code>
      <code>mkdir_recursive($dirName, true)</code>
      <code>mkdir_recursive($disabled_path, true)</code>
      <code>mkdir_recursive($disabled_path, true)</code>
      <code>mkdir_recursive($formatter_path, true)</code>
      <code>mkdir_recursive($path, true)</code>
      <code>mkdir_recursive($path, true)</code>
      <code>mkdir_recursive($path, true)</code>
      <code>mkdir_recursive($path, true)</code>
      <code>mkdir_recursive($path, true)</code>
      <code>mkdir_recursive($source_path, true)</code>
      <code>mkdir_recursive($toDir, true)</code>
      <code>mkdir_recursive(dirname($rest), true)</code>
      <code>rmdir_recursive( $disabled_path . '/'. basename($from))</code>
      <code>rmdir_recursive( $path )</code>
      <code>rmdir_recursive( $path )</code>
      <code>rmdir_recursive( $path . '/'. basename($from))</code>
      <code>rmdir_recursive( $path.'/'.$packs['language'].'.'. $this-&gt;id_name . '.php')</code>
      <code>rmdir_recursive("$disabled_path/$target.php")</code>
      <code>rmdir_recursive("$path/$target.php")</code>
      <code>rmdir_recursive($backup_path)</code>
      <code>rmdir_recursive($cp['to'])</code>
      <code>rmdir_recursive($dir)</code>
      <code>rmdir_recursive($formatter_path)</code>
      <code>rmdir_recursive($path)</code>
      <code>rmdir_recursive($path.'/'.DISABLED_PATH.'/'.$packs['language'].'.'. $this-&gt;id_name . '.php', 'w')</code>
      <code>rmdir_recursive($source_path)</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$dyField-&gt;module</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="11">
      <code>$this-&gt;db</code>
      <code>$this-&gt;extensions</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;installed_modules</code>
      <code>$this-&gt;installed_modules</code>
      <code>$this-&gt;ms</code>
      <code>$this-&gt;tab_modules</code>
      <code>$this-&gt;tab_modules</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="23">
      <code>$this-&gt;db</code>
      <code>$this-&gt;db</code>
      <code>$this-&gt;db</code>
      <code>$this-&gt;extensions</code>
      <code>$this-&gt;extensions</code>
      <code>$this-&gt;extensions</code>
      <code>$this-&gt;extensions</code>
      <code>$this-&gt;extensions</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;ms</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="2">
      <code>$extensions</code>
      <code>$module</code>
    </UndefinedVariable>
  </file>
  <file src="ModuleInstall/ModuleScanner.php">
    <InvalidIterator occurrences="1">
      <code>$dictionary</code>
    </InvalidIterator>
    <MissingFile occurrences="1">
      <code>include ('files.md5')</code>
    </MissingFile>
    <RedundantCondition occurrences="2">
      <code>false !== strpos($file, 'custom/application/Ext/LogicHooks/logichooks.ext.php')</code>
      <code>false !== strpos($file, 'custom/modules/logic_hooks.php')</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($e)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="ModuleInstall/PackageManager/ListViewPackages.php">
    <ParamNameMismatch occurrences="1">
      <code>$data</code>
    </ParamNameMismatch>
  </file>
  <file src="ModuleInstall/PackageManager/PackageManagerDisplay.php">
    <TypeDoesNotContainType occurrences="2">
      <code>!function_exists('curl_init') &amp;&amp; $show_login</code>
      <code>$show_login</code>
    </TypeDoesNotContainType>
  </file>
  <file src="ModuleInstall/extensions.php">
    <MissingFile occurrences="1">
      <code>include("custom/application/Ext/Extensions/extensions.ext.php")</code>
    </MissingFile>
  </file>
  <file src="TreeData.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="WebToLeadCapture.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="api/rest.php">
    <InvalidGlobal occurrences="1">
      <code>global $service;</code>
    </InvalidGlobal>
  </file>
  <file src="campaign_tracker.php">
    <UndefinedGlobalVariable occurrences="3">
      <code>$db</code>
      <code>$db</code>
      <code>$db</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="clients/base/api/ActionButtonApi.php">
    <UndefinedDocblockClass occurrences="5">
      <code>SugarDoctrine\DBAL\Query\QueryException</code>
      <code>SugarDoctrine\DBAL\Query\QueryException</code>
      <code>SugarDoctrine\DBAL\Query\QueryException</code>
      <code>SugarDoctrine\DBAL\Query\QueryException</code>
      <code>SugarDoctrine\DBAL\Query\QueryException</code>
    </UndefinedDocblockClass>
    <UndefinedFunction occurrences="2"/>
  </file>
  <file src="clients/base/api/BulkApi.php">
    <MissingDocblockType occurrences="1">
      <code>$rest</code>
    </MissingDocblockType>
  </file>
  <file src="clients/base/api/CalendarEventsApi.php">
    <TooManyArguments occurrences="1">
      <code>getLoadedAndFormattedBean</code>
    </TooManyArguments>
  </file>
  <file src="clients/base/api/CloudDriveApi.php">
    <InvalidPropertyFetch occurrences="1">
      <code>$folder-&gt;is_shared</code>
    </InvalidPropertyFetch>
    <UndefinedPropertyAssignment occurrences="5">
      <code>$document-&gt;filename_file</code>
      <code>$document-&gt;name</code>
      <code>$revision-&gt;assigned_user_id</code>
      <code>$revision-&gt;modified_user_id</code>
      <code>$revision-&gt;team_id</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;driveFacade</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="clients/base/api/CollectionApi.php">
    <RedundantCondition occurrences="2">
      <code>is_countable($sortFields)</code>
    </RedundantCondition>
  </file>
  <file src="clients/base/api/CurrentUserApi.php">
    <InvalidDocblock occurrences="1">
      <code>public function userPreference(ServiceBase $api, array $args)</code>
    </InvalidDocblock>
    <UndefinedMethod occurrences="4">
      <code>Subscription::getSubscribedRecords($current_user, 'array', $options)</code>
      <code>change_password</code>
      <code>getPreference</code>
      <code>grabToken</code>
    </UndefinedMethod>
  </file>
  <file src="clients/base/api/FieldApi.php">
    <TypeDoesNotContainType occurrences="1">
      <code>get_class($field) === 'TemplateText'</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>from_html($labelValue)</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$dyField-&gt;module</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="clients/base/api/FileApi.php">
    <UndefinedMethod occurrences="4">
      <code>getRequest</code>
      <code>getRequest</code>
      <code>getResourceURI</code>
      <code>getResourceURI</code>
    </UndefinedMethod>
  </file>
  <file src="clients/base/api/FilterApi.php">
    <InvalidArrayOffset occurrences="1">
      <code>$options['display_params']</code>
    </InvalidArrayOffset>
    <InvalidGlobal occurrences="1">
      <code>global $timedate;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>empty($reldata)</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>!is_array($beans)</code>
      <code>strpos($field, '.') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="clients/base/api/FormulaBuilderApi.php">
    <RedundantCondition occurrences="1">
      <code>strpos($functionDescription, '&lt;b&gt;') !== false</code>
    </RedundantCondition>
    <TooManyArguments occurrences="1">
      <code>getFunctionsHelp</code>
    </TooManyArguments>
    <TypeDoesNotContainType occurrences="1">
      <code>false</code>
    </TypeDoesNotContainType>
    <UndefinedDocblockClass occurrences="3">
      <code>UnsatisfiedDependencyException</code>
      <code>UnsatisfiedDependencyException</code>
      <code>UnsatisfiedDependencyException</code>
    </UndefinedDocblockClass>
  </file>
  <file src="clients/base/api/GlobalSearchApi.php">
    <UndefinedInterfaceMethod occurrences="1">
      <code>getAggregations</code>
    </UndefinedInterfaceMethod>
  </file>
  <file src="clients/base/api/HelpApi.php">
    <UndefinedPropertyFetch occurrences="1">
      <code>$api-&gt;dict</code>
    </UndefinedPropertyFetch>
  </file>
  <file src="clients/base/api/HintApi.php">
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;enrichFieldConfig</code>
      <code>$this-&gt;issManager</code>
      <code>$this-&gt;processorFactory</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;enrichFieldConfig</code>
      <code>$this-&gt;enrichFieldConfig</code>
      <code>$this-&gt;enrichFieldConfig</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="clients/base/api/IntegrateApi.php">
    <RedundantCondition occurrences="1">
      <code>empty($response)</code>
    </RedundantCondition>
    <UndefinedMethod occurrences="2">
      <code>getResponse</code>
      <code>setResponse</code>
    </UndefinedMethod>
  </file>
  <file src="clients/base/api/LanguageApi.php">
    <TypeDoesNotContainNull occurrences="2">
      <code>!isset($key)</code>
      <code>!isset($key)</code>
    </TypeDoesNotContainNull>
    <UndefinedFunction occurrences="2">
      <code>from_html($labelValue)</code>
      <code>sugar_cache_clear($cache_key)</code>
    </UndefinedFunction>
  </file>
  <file src="clients/base/api/ListApi.php">
    <RedundantCondition occurrences="1">
      <code>strpos($args['q'],' ') !== false</code>
    </RedundantCondition>
    <UndefinedVariable occurrences="1">
      <code>$right_part</code>
    </UndefinedVariable>
  </file>
  <file src="clients/base/api/MassUpdateApi.php">
    <UndefinedDocblockClass occurrences="1">
      <code>protected $massUpdateVars = array('team_name','tag');</code>
    </UndefinedDocblockClass>
  </file>
  <file src="clients/base/api/MetadataApi.php">
    <RedundantCondition occurrences="1">
      <code>$types != false</code>
    </RedundantCondition>
    <UndefinedMethod occurrences="2">
      <code>getResponse</code>
      <code>getVersion</code>
    </UndefinedMethod>
  </file>
  <file src="clients/base/api/ModuleApi.php">
    <UndefinedPropertyAssignment occurrences="2">
      <code>$bean-&gt;file_ext</code>
      <code>$bean-&gt;file_mime_type</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="clients/base/api/OAuth2Api.php">
    <InvalidArgument occurrences="1">
      <code>false</code>
    </InvalidArgument>
    <UndefinedMethod occurrences="1">
      <code>grabToken</code>
    </UndefinedMethod>
  </file>
  <file src="clients/base/api/PersonFilterApi.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;useOnlyActiveUsers</code>
      <code>$this-&gt;useOnlyActiveUsers</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;useOnlyActiveUsers</code>
      <code>$this-&gt;useOnlyActiveUsers</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="clients/base/api/RSSFeedApi.php">
    <InvalidArrayOffset occurrences="1">
      <code>$result['entries'][$counter]</code>
    </InvalidArrayOffset>
  </file>
  <file src="clients/base/api/RelatedActivitiesApi.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$record-&gt;$linkName</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="clients/base/api/UnifiedSearchApi.php">
    <DuplicateArrayKey occurrences="1">
      <code>'return_beans'=&gt;true</code>
    </DuplicateArrayKey>
    <RedundantCondition occurrences="1">
      <code>!empty($args['favorites']) &amp;&amp; $args['favorites'] == true</code>
    </RedundantCondition>
    <TooManyArguments occurrences="1">
      <code>search</code>
    </TooManyArguments>
  </file>
  <file src="clients/base/api/UserUtilitiesApi.php">
    <RedundantCondition occurrences="1">
      <code>'US Dollar'</code>
    </RedundantCondition>
  </file>
  <file src="clients/portal/api/CurrentUserPortalApi.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$bean-&gt;portal_password</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="clients/portal/api/PortalPasswordApi.php">
    <InvalidArgument occurrences="1">
      <code>$this-&gt;validatePassword($args['newPassword'])</code>
    </InvalidArgument>
  </file>
  <file src="clients/portal/api/RegisterContactApi.php">
    <UndefinedPropertyAssignment occurrences="4">
      <code>$bean-&gt;created_by</code>
      <code>$bean-&gt;created_by</code>
      <code>$bean-&gt;modified_user_id</code>
      <code>$bean-&gt;modified_user_id</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="clients/portal/views/profileactions/profileactions.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_language;</code>
      <code>global $sugar_flavor;</code>
      <code>global $sugar_version;</code>
    </InvalidGlobal>
  </file>
  <file src="cron.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>$exit_on_cleanup</code>
    </RedundantCondition>
  </file>
  <file src="data/Link2.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="6">
      <code>$relBean</code>
      <code>$relBean</code>
      <code>$relBean !== false</code>
      <code>empty($relBean)</code>
      <code>strpos($v['name'], '_role') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($relBean)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="data/Relationships/M2MRelationship.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;name</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="data/Relationships/One2MBeanRelationship.php">
    <ParamNameMismatch occurrences="1">
      <code>$return_row</code>
    </ParamNameMismatch>
  </file>
  <file src="data/Relationships/One2MRelationship.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;name</code>
      <code>$this-&gt;selfReferencing</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="data/Relationships/SugarRelationship.php">
    <InvalidGlobal occurrences="1">
      <code>global $dictionary;</code>
    </InvalidGlobal>
  </file>
  <file src="data/Relationships/UserBasedRelationship.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;userField</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="data/SugarACL.php">
    <UndefinedClass occurrences="1">
      <code>new $klass($args)</code>
    </UndefinedClass>
  </file>
  <file src="data/SugarBean.php">
    <InternalClass occurrences="3">
      <code>Blowfish::decode($this-&gt;getEncryptKey(), $value)</code>
      <code>Blowfish::encode($this-&gt;getEncryptKey(), $value)</code>
      <code>Blowfish::getKey($this-&gt;module_key)</code>
    </InternalClass>
    <InternalMethod occurrences="3">
      <code>Blowfish::decode($this-&gt;getEncryptKey(), $value)</code>
      <code>Blowfish::encode($this-&gt;getEncryptKey(), $value)</code>
      <code>Blowfish::getKey($this-&gt;module_key)</code>
    </InternalMethod>
    <InvalidArgument occurrences="6">
      <code>$links[$var]</code>
      <code>$secondarySelectedFields[$alias_name]</code>
      <code>$selectedFields[$this-&gt;table_name.'.assigned_user_id']</code>
      <code>$selectedFields[$this-&gt;table_name.'.created_by']</code>
      <code>$selectedFields[$this-&gt;table_name.'.modified_user_id']</code>
      <code>$selectedFields[$this-&gt;table_name.'.team_set_id']</code>
    </InvalidArgument>
    <InvalidArrayOffset occurrences="1">
      <code>$dictionary['audit']['engine']</code>
    </InvalidArrayOffset>
    <InvalidGlobal occurrences="2">
      <code>global $current_language, $app_list_strings;</code>
      <code>global $locale;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="7">
      <code>!$this-&gt;disable_vardefs</code>
      <code>$select_position !== false</code>
      <code>($pos = strpos($list_column_name, ".")) !== false</code>
      <code>isset($GLOBALS['dictionary'][$this-&gt;object_name]) &amp;&amp; !$this-&gt;disable_vardefs</code>
      <code>isset($realKey)</code>
      <code>strpos($type, 'char') !== false</code>
      <code>strpos($type, 'text') !== false</code>
    </RedundantCondition>
    <TooManyArguments occurrences="2">
      <code>create_list_count_query</code>
      <code>create_list_count_query</code>
    </TooManyArguments>
    <TypeDoesNotContainType occurrences="4">
      <code>!empty($fields_array)</code>
      <code>strpos($ret_array['select'], "{$tableName}.{$data['id_name']}") === false</code>
      <code>strpos($sort_field, '.') === false</code>
      <code>strpos($type, 'json') === false</code>
    </TypeDoesNotContainType>
    <UndefinedClass occurrences="3">
      <code>Link</code>
      <code>Link</code>
      <code>System</code>
    </UndefinedClass>
    <UndefinedDocblockClass occurrences="1">
      <code>var $set_created_by = true;</code>
    </UndefinedDocblockClass>
    <UndefinedFunction occurrences="3">
      <code>unformat_number($this-&gt;$field)</code>
      <code>unformat_number($this-&gt;$field)</code>
      <code>unformat_number($this-&gt;$field)</code>
    </UndefinedFunction>
    <UndefinedMethod occurrences="1">
      <code>set_notification_body</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="42">
      <code>$this-&gt;acl_fields</code>
      <code>$this-&gt;activity_enabled_fields</code>
      <code>$this-&gt;activity_enabled_fields</code>
      <code>$this-&gt;added_custom_field_defs</code>
      <code>$this-&gt;assigned_name</code>
      <code>$this-&gt;assigned_name</code>
      <code>$this-&gt;assigned_name</code>
      <code>$this-&gt;assigned_user_id</code>
      <code>$this-&gt;assigned_user_name</code>
      <code>$this-&gt;auditEnabledRelateFields</code>
      <code>$this-&gt;auditEnabledRelateFields</code>
      <code>$this-&gt;audit_enabled_fields</code>
      <code>$this-&gt;audit_enabled_fields</code>
      <code>$this-&gt;base_bean</code>
      <code>$this-&gt;created_by</code>
      <code>$this-&gt;created_by</code>
      <code>$this-&gt;created_by</code>
      <code>$this-&gt;date_entered</code>
      <code>$this-&gt;date_modified</code>
      <code>$this-&gt;date_modified</code>
      <code>$this-&gt;email</code>
      <code>$this-&gt;email</code>
      <code>$this-&gt;encfield_touched</code>
      <code>$this-&gt;encfield_touched</code>
      <code>$this-&gt;fields_to_exclude</code>
      <code>$this-&gt;in_save</code>
      <code>$this-&gt;in_save</code>
      <code>$this-&gt;last_parent_id</code>
      <code>$this-&gt;modified_by_name</code>
      <code>$this-&gt;modified_user_id</code>
      <code>$this-&gt;modified_user_id</code>
      <code>$this-&gt;modified_user_id</code>
      <code>$this-&gt;modified_user_id</code>
      <code>$this-&gt;old_modified_by_name</code>
      <code>$this-&gt;parent_name</code>
      <code>$this-&gt;team_id</code>
      <code>$this-&gt;team_id</code>
      <code>$this-&gt;team_id</code>
      <code>$this-&gt;team_id</code>
      <code>$this-&gt;team_name</code>
      <code>$this-&gt;team_name</code>
      <code>$this-&gt;team_name</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="data/SugarBeanApiHelper.php">
    <RedundantCondition occurrences="2">
      <code>!empty($GLOBALS['sugar_config']['exclude_notifications'][$bean-&gt;module_dir]) &amp;&amp; $GLOBALS['sugar_config']['exclude_notifications'][$bean-&gt;module_dir] == true</code>
      <code>empty($beanAclFields) &amp;&amp; !empty($moduleAclFields)</code>
    </RedundantCondition>
  </file>
  <file src="data/acl/SugarACLParentModule.php">
    <ParamNameMismatch occurrences="1">
      <code>$action</code>
    </ParamNameMismatch>
  </file>
  <file src="data/acl/SugarACLPortal.php">
    <UndefinedPropertyAssignment occurrences="5">
      <code>$bean-&gt;portal_owner</code>
      <code>$bean-&gt;portal_owner</code>
      <code>$bean-&gt;portal_owner</code>
      <code>$bean-&gt;portal_owner</code>
      <code>$bean-&gt;portal_owner</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="data/acl/SugarACLTeamBased.php">
    <ParamNameMismatch occurrences="2">
      <code>$accessList</code>
      <code>$action</code>
    </ParamNameMismatch>
  </file>
  <file src="data/visibility/ACLVisibility.php">
    <ParamNameMismatch occurrences="1">
      <code>$sugarQuery</code>
    </ParamNameMismatch>
  </file>
  <file src="data/visibility/OwnerVisibility.php">
    <ParamNameMismatch occurrences="1">
      <code>$sugarQuery</code>
    </ParamNameMismatch>
  </file>
  <file src="data/visibility/ParentModuleVisibility.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;join</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="data/visibility/ReportVisibility.php">
    <ParamNameMismatch occurrences="1">
      <code>$sugarQuery</code>
    </ParamNameMismatch>
  </file>
  <file src="data/visibility/SupportPortalVisibility.php">
    <ParamNameMismatch occurrences="1">
      <code>$sugarQuery</code>
    </ParamNameMismatch>
  </file>
  <file src="data/visibility/TargetModuleDeveloperVisibility.php">
    <ParamNameMismatch occurrences="1">
      <code>$query</code>
    </ParamNameMismatch>
  </file>
  <file src="data/visibility/TeamSecurity/NormalizedTeamSecurity.php">
    <ParamNameMismatch occurrences="2">
      <code>$sugarQuery</code>
      <code>$sugarQuery</code>
    </ParamNameMismatch>
  </file>
  <file src="data/visibility/portal/Context.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;contactId</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="dist/identity-provider/lib/Authentication/Provider/MixedAuthenticationProvider.php">
    <UndefinedInterfaceMethod occurrences="1">
      <code>getTokens</code>
    </UndefinedInterfaceMethod>
  </file>
  <file src="dist/identity-provider/lib/Authentication/Provider/SAMLAuthenticationProvider.php">
    <TypeDoesNotContainType occurrences="2">
      <code>!$response</code>
      <code>$response</code>
    </TypeDoesNotContainType>
    <UndefinedDocblockClass occurrences="1">
      <code>Exception</code>
    </UndefinedDocblockClass>
  </file>
  <file src="dist/identity-provider/lib/Authentication/RememberMe/RememberMeToken.php">
    <UndefinedInterfaceMethod occurrences="1">
      <code>getProviderKey</code>
    </UndefinedInterfaceMethod>
  </file>
  <file src="dist/identity-provider/lib/Authentication/UserMapping/LDAPUserMapping.php">
    <ParamNameMismatch occurrences="2">
      <code>$entry</code>
      <code>$token</code>
    </ParamNameMismatch>
  </file>
  <file src="dist/identity-provider/lib/Authentication/UserMapping/MappingInterface.php">
    <InvalidDocblock occurrences="1">
      <code>public function getIdentityValue(User $user);</code>
    </InvalidDocblock>
  </file>
  <file src="dist/identity-provider/lib/Encoder/BCryptLegacyMD5PasswordEncoder.php">
    <UndefinedDocblockClass occurrences="1">
      <code>BadCredentialsException</code>
    </UndefinedDocblockClass>
  </file>
  <file src="dist/identity-provider/lib/Encoder/BCryptLegacyMD5StrictPasswordEncoder.php">
    <UndefinedDocblockClass occurrences="1">
      <code>BadCredentialsException</code>
    </UndefinedDocblockClass>
  </file>
  <file src="dist/identity-provider/lib/League/OAuth2/Client/Provider/HttpBasicAuth/GenericProvider.php">
    <RedundantCondition occurrences="1">
      <code>strpos($data['error']['message'], 'request is not allowed') !== false</code>
    </RedundantCondition>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;accessTokenFile</code>
      <code>$this-&gt;accessTokenFile</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/ConsentTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Provider/LdapAuthenticationProviderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Provider/MixedAuthenticationProviderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Provider/OIDCAuthenticationProviderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Provider/ProvidersTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Provider/SAML/AuthServiceProviderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Provider/SAMLAuthenticationProviderTest.php">
    <UndefinedClass occurrences="1">
      <code>PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/RememberMe/RememberMeTokenTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/TenantTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Token/MixedUsernamePasswordTokenTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Token/OIDC/OIDCCodeTokenTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Token/OIDC/ResultTokenTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Token/SAML/AcsTokenTest.php">
    <UndefinedClass occurrences="1">
      <code>PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Token/SAML/ConsumeLogoutTokenTest.php">
    <UndefinedClass occurrences="1">
      <code>PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Token/SAML/IdpLogoutTokenTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Token/SAML/InitiateLogoutTokenTest.php">
    <UndefinedClass occurrences="1">
      <code>PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Token/SAML/InitiateTokenTest.php">
    <UndefinedClass occurrences="1">
      <code>PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Token/SAML/ResultTokenTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/Token/UsernamePasswordTokenFactoryTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/UserMapping/LDAPUserMappingTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/UserMapping/OIDCUserMappingTest.php">
    <UndefinedClass occurrences="1">
      <code>PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/UserMapping/SAMLUserMappingTest.php">
    <UndefinedClass occurrences="1">
      <code>PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/UserProvider/LdapUserProviderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/UserProvider/OIDCUserProviderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/UserProvider/SAMLUserProviderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Authentication/UserTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/CSPRNG/GeneratorTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Encoder/BCryptLegacyMD5StrictPasswordEncoderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Encoder/BCryptPasswordEncoderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Encoder/CryptLegacyMD5StrictPasswordEncoderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Encoder/CryptPasswordEncoderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Encoder/EncoderBuilderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/League/OAuth2/Client/Provider/HttpBasicAuth/GenericProviderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Mango/LocaleMappingTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/STS/EndpointServiceTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Saml2/AuthPostBindingTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Saml2/AuthRedirectBindingTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Saml2/AuthResultTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Saml2/Builder/RequestBuilderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Saml2/Builder/ResponseBuilderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Saml2/Request/AuthnRequestTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Saml2/Request/LogoutPostRequestTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Saml2/Response/LogoutPostResponseTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Srn/ConverterTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Srn/ManagerTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="dist/identity-provider/tests/Unit/Utils/RetryHttpClientBuilderTest.php">
    <UndefinedClass occurrences="1">
      <code>\PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="download.php">
    <InvalidGlobal occurrences="1">
      <code>global $db;</code>
    </InvalidGlobal>
    <ParadoxicalCondition occurrences="1">
      <code>isset($_REQUEST['tempName'])</code>
    </ParadoxicalCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="etc/container.php">
    <InvalidCatch occurrences="4"/>
  </file>
  <file src="export.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $current_user;</code>
      <code>global $locale;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="export_dataset.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
    <UndefinedGlobalVariable occurrences="2">
      <code>$app_strings</code>
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/AccessControl/AccessConfigurator.php">
    <UndefinedFunction occurrences="2">
      <code>sugar_cache_put($cacheKey, $this-&gt;data)</code>
      <code>sugar_cache_retrieve($cacheKey)</code>
    </UndefinedFunction>
  </file>
  <file src="include/CalendarEvents/CalendarEvents.php">
    <UndefinedMethod occurrences="1">
      <code>set_accept_status</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="10">
      <code>$bean-&gt;date_end</code>
      <code>$bean-&gt;date_start</code>
      <code>$bean-&gt;duration_hours</code>
      <code>$bean-&gt;duration_minutes</code>
      <code>$bean-&gt;recurrence_id</code>
      <code>$bean-&gt;recurrence_id</code>
      <code>$event-&gt;update_vcal</code>
      <code>$parentBean-&gt;contacts_arr</code>
      <code>$parentBean-&gt;leads_arr</code>
      <code>$parentBean-&gt;users_arr</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="include/CalendarEvents/CalendarEventsApiHelper.php">
    <UndefinedPropertyAssignment occurrences="4">
      <code>$bean-&gt;contacts_arr</code>
      <code>$bean-&gt;leads_arr</code>
      <code>$bean-&gt;update_vcal</code>
      <code>$bean-&gt;users_arr</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="include/DetailView/DetailView.php">
    <UndefinedThisPropertyAssignment occurrences="18">
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;local_app_strings</code>
      <code>$this-&gt;local_current_module</code>
      <code>$this-&gt;local_theme</code>
      <code>$this-&gt;query_orderby</code>
      <code>$this-&gt;query_where</code>
      <code>$this-&gt;query_where</code>
      <code>$this-&gt;query_where</code>
      <code>$this-&gt;records_per_page</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="8">
      <code>$this-&gt;local_app_strings</code>
      <code>$this-&gt;local_app_strings</code>
      <code>$this-&gt;local_app_strings</code>
      <code>$this-&gt;local_app_strings</code>
      <code>$this-&gt;local_current_module</code>
      <code>$this-&gt;local_current_module</code>
      <code>$this-&gt;records_per_page</code>
      <code>$this-&gt;records_per_page</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/EditView/EditView2.php">
    <DuplicateClass occurrences="1">
      <code>EditView</code>
    </DuplicateClass>
  </file>
  <file src="include/EditView/PopupQuickCreate.php">
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;ev</code>
      <code>$this-&gt;ev</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/EditView/SubpanelQuickCreate.php">
    <TooFewArguments occurrences="1">
      <code>new EditView()</code>
    </TooFewArguments>
    <UndefinedFunction occurrences="1">
      <code>loadParentView('edit')</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;ev</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;ev</code>
      <code>$this-&gt;ev</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/EditView/SubpanelQuickEdit.php">
    <TooFewArguments occurrences="1">
      <code>new EditView()</code>
    </TooFewArguments>
    <UndefinedMethod occurrences="2">
      <code>setup</code>
      <code>setup</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="8">
      <code>$this-&gt;ev-&gt;defs</code>
      <code>$this-&gt;ev-&gt;defs</code>
      <code>$this-&gt;ev-&gt;defs</code>
      <code>$this-&gt;ev-&gt;defs</code>
      <code>$this-&gt;ev-&gt;defs</code>
      <code>$this-&gt;ev-&gt;focus</code>
      <code>$this-&gt;ev-&gt;formName</code>
      <code>$this-&gt;ev-&gt;view</code>
    </UndefinedPropertyAssignment>
    <UndefinedPropertyFetch occurrences="1">
      <code>$this-&gt;ev-&gt;defs</code>
    </UndefinedPropertyFetch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;ev</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;ev</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/Entitlements/SubscriptionManager.php">
    <RedundantCondition occurrences="1">
      <code>array_merge($userSubscriptions, $foundSubs)</code>
    </RedundantCondition>
    <TypeDoesNotContainNull occurrences="1">
      <code>[]</code>
    </TypeDoesNotContainNull>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($this-&gt;subscription)</code>
    </TypeDoesNotContainType>
    <UndefinedDocblockClass occurrences="2">
      <code>SugarApiExceptionNotFound</code>
      <code>SugarQueryException</code>
    </UndefinedDocblockClass>
  </file>
  <file src="include/Expressions/Actions/SetOptionsAction.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;labelsExpression</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;labelsExpression</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/Expressions/Actions/SetRequiredAction.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;targetLabel</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;targetLabel</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/Expressions/Actions/SetValueAction.php">
    <InvalidArgument occurrences="1"/>
    <InvalidGlobal occurrences="1">
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="include/Expressions/Actions/StyleAction.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;attributes</code>
      <code>$this-&gt;attributes</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;attributes</code>
      <code>$this-&gt;attributes</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/Expressions/Actions/VisibilityAction.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;view</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;view</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/Expressions/Dependency.php">
    <UndefinedClass occurrences="2">
      <code>Action</code>
      <code>Action</code>
    </UndefinedClass>
  </file>
  <file src="include/Expressions/DependencyManager.php">
    <InvalidArgument occurrences="2">
      <code>$invalidModules[$rel-&gt;lhs_module]</code>
      <code>$invalidModules[$rel-&gt;rhs_module]</code>
    </InvalidArgument>
    <InvalidDocblock occurrences="1">
      <code>public static function getCalculatedFieldDependencies($fields, $includeReadOnly = true, $orderMatters = false, $view = null)</code>
    </InvalidDocblock>
    <RedundantCondition occurrences="2">
      <code>strpos($view, "QuickCreate") !== false</code>
      <code>strpos($view, "Subpanel-for-") !== false</code>
    </RedundantCondition>
  </file>
  <file src="include/Expressions/Expression/Boolean/EqualExpression.php">
    <InvalidOperand occurrences="1">
      <code>$a === 0.0</code>
    </InvalidOperand>
  </file>
  <file src="include/Expressions/Expression/Boolean/IsInEnumExpression.php">
    <UndefinedMethod occurrences="1">
      <code>evaluate</code>
    </UndefinedMethod>
  </file>
  <file src="include/Expressions/Expression/Date/DateExpression.php">
    <InvalidOperand occurrences="1">
      <code>$min</code>
    </InvalidOperand>
  </file>
  <file src="include/Expressions/Expression/Generic/CurrentUserFieldExpression.php">
    <UndefinedMethod occurrences="1">
      <code>setContext</code>
    </UndefinedMethod>
  </file>
  <file src="include/Expressions/Expression/Generic/RelatedFieldExpression.php">
    <InvalidGlobal occurrences="1">
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedMethod occurrences="1">
      <code>setContext</code>
    </UndefinedMethod>
  </file>
  <file src="include/Expressions/Expression/Generic/SugarFieldExpression.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;varName</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/Expressions/Expression/Numeric/AverageRelatedExpression.php">
    <UndefinedMethod occurrences="1">
      <code>setContext</code>
    </UndefinedMethod>
  </file>
  <file src="include/Expressions/Expression/Numeric/MaxRelatedExpression.php">
    <UndefinedMethod occurrences="1">
      <code>setContext</code>
    </UndefinedMethod>
  </file>
  <file src="include/Expressions/Expression/Numeric/MedianExpression.php">
    <InvalidArrayOffset occurrences="1">
      <code>$values[floor(sizeof($values) / 2)]</code>
    </InvalidArrayOffset>
  </file>
  <file src="include/Expressions/Expression/Numeric/MinRelatedExpression.php">
    <UndefinedMethod occurrences="1">
      <code>setContext</code>
    </UndefinedMethod>
  </file>
  <file src="include/Expressions/Expression/Numeric/NumericExpression.php">
    <RedundantCondition occurrences="1">
      <code>strpos($def['len'], ",") !== false</code>
    </RedundantCondition>
  </file>
  <file src="include/Expressions/Expression/Numeric/SumConditionalRelatedExpression.php">
    <UndefinedMethod occurrences="1">
      <code>setContext</code>
    </UndefinedMethod>
  </file>
  <file src="include/Expressions/Expression/Numeric/SumRelatedExpression.php">
    <UndefinedMethod occurrences="1">
      <code>setContext</code>
    </UndefinedMethod>
  </file>
  <file src="include/Expressions/Expression/Numeric/ValueOfExpression.php">
    <RedundantCondition occurrences="1">
      <code>strpos($val, ".") !== false</code>
    </RedundantCondition>
  </file>
  <file src="include/Expressions/Expression/Parser/Parser.php">
    <TypeDoesNotContainType occurrences="2">
      <code>$isInVariable</code>
      <code>$level != 0</code>
    </TypeDoesNotContainType>
    <UndefinedPropertyFetch occurrences="3">
      <code>$params[0]-&gt;varName</code>
      <code>$params[0]-&gt;varName</code>
      <code>$params[0]-&gt;varName</code>
    </UndefinedPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$FUNCTION_MAP</code>
    </UndefinedVariable>
  </file>
  <file src="include/Expressions/Expression/Relationship/DefineRelateExpression.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;context</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/Expressions/Expression/String/ContainsExpression.php">
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($haystack, $needle) === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/Expressions/Expression/String/DefineStringExpression.php">
    <InvalidGlobal occurrences="1">
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="include/Expressions/Expression/String/SubStrExpression.php">
    <InvalidScalarArgument occurrences="2">
      <code>$fromIdx</code>
      <code>$strLength</code>
    </InvalidScalarArgument>
  </file>
  <file src="include/Expressions/javascript/sugar_expressions.php">
    <MissingFile occurrences="1">
      <code>include('./functions_cache_new.js')</code>
    </MissingFile>
  </file>
  <file src="include/GroupedTabs/GroupedTabStructure.php">
    <UndefinedClass occurrences="1">
      <code>iFrame</code>
    </UndefinedClass>
  </file>
  <file src="include/ListView/ListView.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_strings, $currentModule;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="3">
      <code>$sortBy</code>
      <code>$sortBy</code>
      <code>$sort_URL_base !== ""</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>is_array($params)</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="2">
      <code>get_form_header($this-&gt;header_title, $this-&gt;header_text, false)</code>
      <code>get_form_header($this-&gt;header_title, $this-&gt;header_text, false)</code>
    </UndefinedFunction>
    <UndefinedMethod occurrences="1">
      <code>processHeaderDynamic</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="27">
      <code>$this-&gt;appendToBaseUrl</code>
      <code>$this-&gt;appendToBaseUrl</code>
      <code>$this-&gt;appendToBaseUrl</code>
      <code>$this-&gt;appendToBaseUrl</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;response</code>
      <code>$this-&gt;response</code>
      <code>$this-&gt;show_plus</code>
      <code>$this-&gt;show_plus</code>
      <code>$this-&gt;sortby</code>
      <code>$this-&gt;sortby</code>
      <code>$this-&gt;source_module</code>
      <code>$this-&gt;subpanel_module</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="6">
      <code>$this-&gt;local_module_strings</code>
      <code>$this-&gt;sortby</code>
      <code>$this-&gt;source_module</code>
      <code>$this-&gt;subpanel_id</code>
      <code>$this-&gt;subpanel_module</code>
      <code>$this-&gt;subpanel_module</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/ListView/ListViewData.php">
    <InvalidArgument occurrences="1">
      <code>$_REQUEST["type_basic"] &gt; 1</code>
    </InvalidArgument>
    <InvalidArrayOffset occurrences="1">
      <code>$pageData['tag'][$idIndex[$row[$id_field]][0]]</code>
    </InvalidArrayOffset>
    <InvalidDocblock occurrences="1">
      <code>function getListViewData($seed, $where, $offset=-1, $limit = -1, $filter_fields=array(),$params=array(),$id_field = 'id',$singleSelect=true) {</code>
    </InvalidDocblock>
    <UndefinedThisPropertyAssignment occurrences="7">
      <code>$this-&gt;db</code>
      <code>$this-&gt;limitName</code>
      <code>$this-&gt;seed</code>
      <code>$this-&gt;stamp</code>
      <code>$this-&gt;var_name</code>
      <code>$this-&gt;var_offset</code>
      <code>$this-&gt;var_order_by</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="18">
      <code>$this-&gt;db</code>
      <code>$this-&gt;db</code>
      <code>$this-&gt;db</code>
      <code>$this-&gt;db</code>
      <code>$this-&gt;db</code>
      <code>$this-&gt;limitName</code>
      <code>$this-&gt;seed</code>
      <code>$this-&gt;var_name</code>
      <code>$this-&gt;var_offset</code>
      <code>$this-&gt;var_offset</code>
      <code>$this-&gt;var_offset</code>
      <code>$this-&gt;var_offset</code>
      <code>$this-&gt;var_offset</code>
      <code>$this-&gt;var_offset</code>
      <code>$this-&gt;var_offset</code>
      <code>$this-&gt;var_order_by</code>
      <code>$this-&gt;var_order_by</code>
      <code>$this-&gt;var_order_by</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$post_retrieve</code>
    </UndefinedVariable>
  </file>
  <file src="include/ListView/ListViewDisplay.php">
    <RedundantCondition occurrences="2">
      <code>!empty($params['massupdate']) &amp;&amp; $params['massupdate'] != false</code>
      <code>isset($seedDef)</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="10">
      <code>$this-&gt;displayColumns</code>
      <code>$this-&gt;displayColumns</code>
      <code>$this-&gt;displayColumns</code>
      <code>$this-&gt;displayColumns</code>
      <code>$this-&gt;displayColumns</code>
      <code>$this-&gt;displayColumns</code>
      <code>$this-&gt;displayColumns</code>
      <code>$this-&gt;displayColumns</code>
      <code>$this-&gt;displayColumns</code>
      <code>$this-&gt;searchColumns</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="10">
      <code>$this-&gt;data</code>
      <code>$this-&gt;delete</code>
      <code>$this-&gt;displayColumns</code>
      <code>$this-&gt;displayColumns</code>
      <code>$this-&gt;displayColumns</code>
      <code>$this-&gt;email</code>
      <code>$this-&gt;mergeduplicates</code>
      <code>$this-&gt;searchColumns</code>
      <code>$this-&gt;showMassupdateFields</code>
      <code>$this-&gt;targetList</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/ListView/ListViewFacade.php">
    <RedundantCondition occurrences="2">
      <code>!empty($params['default']) &amp;&amp; $params['default']</code>
      <code>$params['default']</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>get_form_header($title, '', false)</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="3">
      <code>$listViewDefs</code>
      <code>$listViewDefs</code>
      <code>$listViewDefs</code>
    </UndefinedVariable>
  </file>
  <file src="include/ListView/ProcessView.php">
    <DuplicateArrayKey occurrences="1">
      <code>"FIELD_VALUE" =&gt; $action-&gt;field</code>
    </DuplicateArrayKey>
    <InvalidGlobal occurrences="2">
      <code>global $app_list_strings;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="3">
      <code>!empty($bottom_array['show_address_type']) &amp;&amp; $bottom_array['show_address_type']==true</code>
      <code>!empty($list_data_array['action_processed']) &amp;&amp; $list_data_array['action_processed']==true</code>
      <code>isset($meta_exclusion_array)</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="8">
      <code>get_display_text($temp_module, $key, $act_action_value, $act_adv_type, $act_ext1, array('for_action_display' =&gt; true))</code>
      <code>get_plugin("workflow", "action_createstep2", $opt)</code>
      <code>translate_label($option_array['vname'])</code>
      <code>translate_label($option_array['vname'])</code>
      <code>translate_label($option_array['vname'])</code>
      <code>translate_label($option_array['vname'])</code>
      <code>translate_label($vname)</code>
      <code>translate_label_from_module($this-&gt;workflow_object-&gt;base_module, $target_element)</code>
    </UndefinedFunction>
  </file>
  <file src="include/ListView/ReportListView.php">
    <RedundantCondition occurrences="2">
      <code>!empty($this-&gt;interlock) &amp;&amp; $this-&gt;interlock==true</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>get_form_header( $this-&gt;header_title, $this-&gt;header_text, false)</code>
    </UndefinedFunction>
    <UndefinedMethod occurrences="2">
      <code>get_layout_array</code>
      <code>setup_money_symbol</code>
    </UndefinedMethod>
    <UndefinedVariable occurrences="2">
      <code>$inline_header_style</code>
      <code>$inline_style</code>
    </UndefinedVariable>
  </file>
  <file src="include/Localization/Localization.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>sugar_cache_put('valid_mb_encodings', $encodings)</code>
      <code>sugar_cache_retrieve('valid_mb_encodings')</code>
    </UndefinedFunction>
  </file>
  <file src="include/MVC/Controller/SugarController.php">
    <RedundantCondition occurrences="3">
      <code>!empty($GLOBALS['sugar_config']['admin_access_control']) &amp;&amp; $GLOBALS['sugar_config']['admin_access_control']</code>
      <code>!empty($properties['isMultiSelect']) &amp;&amp; !isset($_POST[$field]) &amp;&amp; isset($_POST[$field . '_multiselect'])</code>
      <code>$GLOBALS['sugar_config']['admin_access_control']</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>$this-&gt;_processed</code>
      <code>$this-&gt;_processed</code>
    </TypeDoesNotContainType>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;req_for_email</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;entry_point_registry</code>
      <code>$this-&gt;wireless_module_registry</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/MVC/SugarApplication.php">
    <UndefinedFunction occurrences="1">
      <code>query_module_access_list($GLOBALS['current_user'])</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="1">
      <code>$sugar_config</code>
    </UndefinedVariable>
  </file>
  <file src="include/MVC/View/SugarView.php">
    <InvalidArgument occurrences="1">
      <code>$submenulinkinfo</code>
    </InvalidArgument>
    <MissingDocblockType occurrences="4">
      <code>protected function fetchTemplate($file)</code>
      <code>protected function getCustomFilePathIfExists($file)</code>
      <code>protected function getHelpText($module)</code>
      <code>protected function logMemoryStatistics($newline='&lt;br&gt;')</code>
    </MissingDocblockType>
    <UndefinedFunction occurrences="2">
      <code>query_module_access_list($GLOBALS['current_user'])</code>
      <code>query_module_access_list($current_user)</code>
    </UndefinedFunction>
  </file>
  <file src="include/MVC/View/ViewFactory.php">
    <UndefinedFunction occurrences="1">
      <code>loadParentView($type)</code>
    </UndefinedFunction>
  </file>
  <file src="include/MVC/View/views/view.detail.php">
    <TooFewArguments occurrences="1">
      <code>new DetailView2()</code>
    </TooFewArguments>
  </file>
  <file src="include/MVC/View/views/view.duplicate.php">
    <TooFewArguments occurrences="1">
      <code>new DuplicateView()</code>
    </TooFewArguments>
  </file>
  <file src="include/MVC/View/views/view.edit.php">
    <TooFewArguments occurrences="1">
      <code>new EditView()</code>
    </TooFewArguments>
  </file>
  <file src="include/MVC/View/views/view.importvcard.php">
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], $params, true)</code>
    </UndefinedFunction>
  </file>
  <file src="include/MVC/View/views/view.json.php">
    <UndefinedFunction occurrences="1">
      <code>from_html($bean-&gt;$field)</code>
    </UndefinedFunction>
  </file>
  <file src="include/MVC/View/views/view.list.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="3">
      <code>!empty($_REQUEST['search_form_only']) &amp;&amp; $_REQUEST['search_form_only']</code>
      <code>$_REQUEST['search_form_only']</code>
      <code>$this-&gt;params['default']</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>$_REQUEST['search_form_only'] == false</code>
    </TypeDoesNotContainType>
    <UndefinedMethod occurrences="1">
      <code>SearchForm::retrieveSearchDefs($this-&gt;module)</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;saved_search</code>
      <code>$this-&gt;view</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;view</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/MVC/View/views/view.plugins.php">
    <RedundantCondition occurrences="1">
      <code>strpos($display_name,$key)!==false</code>
    </RedundantCondition>
  </file>
  <file src="include/MVC/View/views/view.popup.php">
    <RedundantCondition occurrences="3">
      <code>!empty($params['default']) &amp;&amp; $params['default']</code>
      <code>$params['default']</code>
      <code>strpos($_REQUEST['metadata'], "..") !== false</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>insert_popup_header(null, false)</code>
    </UndefinedFunction>
  </file>
  <file src="include/MVC/View/views/view.quick.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="include/MVC/View/views/view.quickcreate.php">
    <TooFewArguments occurrences="1">
      <code>new EditView()</code>
    </TooFewArguments>
    <UndefinedDocblockClass occurrences="3">
      <code>protected $defaultButtons = array('DCMENUSAVE', 'DCMENUCANCEL', 'DCMENUFULLFORM');</code>
      <code>protected $footerTpl = 'include/EditView/footer.tpl';</code>
      <code>protected $headerTpl = 'include/EditView/header.tpl';</code>
    </UndefinedDocblockClass>
    <UndefinedFunction occurrences="1">
      <code>loadParentView('edit')</code>
    </UndefinedFunction>
  </file>
  <file src="include/MassUpdate.php">
    <RedundantCondition occurrences="2">
      <code>count($uids) &gt; 0 &amp;&amp; count($prospect_list_ids) &gt; 0</code>
      <code>count($uids) &gt; 0 &amp;&amp; count($prospect_list_ids) &gt; 0</code>
    </RedundantCondition>
    <UndefinedGlobalVariable occurrences="1">
      <code>$order_by</code>
    </UndefinedGlobalVariable>
    <UndefinedMethod occurrences="1">
      <code>addContactID</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;searchFields</code>
      <code>$this-&gt;use_old_search</code>
      <code>$this-&gt;use_old_search</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedVariable occurrences="2">
      <code>$field</code>
      <code>$searchdefs</code>
    </UndefinedVariable>
  </file>
  <file src="include/MetaDataManager/MetaDataCache.php">
    <TypeDoesNotContainType occurrences="1">
      <code>empty($this-&gt;db)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/MetaDataManager/MetaDataManager.php">
    <EmptyArrayAccess occurrences="1">
      <code>$hashes[$key]</code>
    </EmptyArrayAccess>
    <InvalidGlobal occurrences="1">
      <code>global $dictionary;</code>
    </InvalidGlobal>
    <InvalidScalarArgument occurrences="1">
      <code>0</code>
    </InvalidScalarArgument>
    <MissingFile occurrences="1">
      <code>include 'custom/version.php'</code>
    </MissingFile>
    <TooManyArguments occurrences="3">
      <code>fillInAppListStrings</code>
      <code>getModulesData</code>
      <code>loadAndCacheMetadata</code>
    </TooManyArguments>
    <TypeDoesNotContainType occurrences="3">
      <code>!$context</code>
      <code>$GLOBALS['dictionary'][$bean-&gt;object_name] === false</code>
      <code>$context</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive(dirname($path))</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;args</code>
      <code>$this-&gt;db</code>
      <code>$this-&gt;db</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;db</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/MetaDataManager/MetaDataManagerMobile.php">
    <UndefinedVariable occurrences="2">
      <code>$wireless_module_registry</code>
      <code>$wireless_module_registry</code>
    </UndefinedVariable>
  </file>
  <file src="include/OutboundEmail/OutboundEmail.php">
    <InternalClass occurrences="2">
      <code>Blowfish::encode(Blowfish::getKey($this-&gt;module_key), $this-&gt;mail_smtppass)</code>
      <code>Blowfish::getKey($this-&gt;module_key)</code>
    </InternalClass>
    <InternalMethod occurrences="2">
      <code>Blowfish::encode(Blowfish::getKey($this-&gt;module_key), $this-&gt;mail_smtppass)</code>
      <code>Blowfish::getKey($this-&gt;module_key)</code>
    </InternalMethod>
    <UndefinedThisPropertyAssignment occurrences="9">
      <code>$this-&gt;email_address</code>
      <code>$this-&gt;email_address</code>
      <code>$this-&gt;email_address_id</code>
      <code>$this-&gt;email_address_id</code>
      <code>$this-&gt;reply_to_email_address</code>
      <code>$this-&gt;reply_to_email_address_id</code>
      <code>$this-&gt;reply_to_name</code>
      <code>$this-&gt;team_id</code>
      <code>$this-&gt;team_id</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/Popups/PopupSmarty.php">
    <InvalidArgument occurrences="1">
      <code>$params['massupdate']</code>
    </InvalidArgument>
    <ParamNameMismatch occurrences="2">
      <code>$file</code>
      <code>$fileParent</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="5">
      <code>!empty($para['default']) &amp;&amp; $para['default']</code>
      <code>!empty($params['massupdate']) &amp;&amp; $params['massupdate'] != false</code>
      <code>$para['default']</code>
      <code>is_array($request_data['field_to_name'])</code>
      <code>isset($request_data['field_to_name']) &amp;&amp; is_array($request_data['field_to_name'])</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="6">
      <code>$this-&gt;fieldDefs</code>
      <code>$this-&gt;fieldDefs</code>
      <code>$this-&gt;fieldDefs</code>
      <code>$this-&gt;fieldDefs</code>
      <code>$this-&gt;fieldDefs</code>
      <code>$this-&gt;fieldDefs</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;fieldDefs</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$listViewDefs</code>
    </UndefinedVariable>
  </file>
  <file src="include/SearchForm/SearchForm2.php">
    <DuplicateClass occurrences="1">
      <code>SearchForm</code>
    </DuplicateClass>
  </file>
  <file src="include/SearchForm/SugarSpot.php">
    <RedundantCondition occurrences="2">
      <code>!empty($options['allowEmptySearch']) &amp;&amp; $options['allowEmptySearch'] == true</code>
      <code>!empty($options['my_items']) &amp;&amp; $options['my_items'] == true</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>strpos($k, 'email') === false</code>
      <code>strpos($k, 'email') === false</code>
    </TypeDoesNotContainType>
    <UndefinedVariable occurrences="3">
      <code>$class</code>
      <code>$class</code>
      <code>$class</code>
    </UndefinedVariable>
  </file>
  <file src="include/SubPanel/SubPanel.php">
    <UndefinedFunction occurrences="2">
      <code>mkdir_recursive($layoutPath, true)</code>
      <code>mkdir_recursive($path, true)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;bean_list</code>
      <code>$this-&gt;listview</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/SubPanel/SubPanelDefinitions.php">
    <InvalidGlobal occurrences="2">
      <code>global $modListHeader ;</code>
      <code>global $modules_exempt_from_availability_check ;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos ( $this-&gt;get_inst_prop_value ( 'get_subpanel_data' ), 'function' ) === false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>query_module_access_list($GLOBALS['current_user'])</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="2">
      <code>$class</code>
      <code>$subpanel_layout</code>
    </UndefinedVariable>
  </file>
  <file src="include/SubPanel/SubPanelTiles.php">
    <TypeDoesNotContainType occurrences="2">
      <code>$sugar_config['lock_subpanels'] == false</code>
      <code>$sugar_config['lock_subpanels'] == false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>get_form_header( $thisPanel-&gt;get_title(), $max_min, false)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;xTemplate</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;xTemplate</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$selected_group</code>
    </UndefinedVariable>
  </file>
  <file src="include/SubPanel/SubPanelViewer.php">
    <InvalidGlobal occurrences="2">
      <code>global $beanFiles;</code>
      <code>global $beanList;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer($theme)</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarCache/SugarCache.php">
    <UndefinedConstant occurrences="2">
      <code>XC_TYPE_PHP</code>
      <code>XC_TYPE_PHP</code>
    </UndefinedConstant>
  </file>
  <file src="include/SugarCache/SugarCacheAbstract.php">
    <RedundantCondition occurrences="1"/>
    <UndefinedDocblockClass occurrences="8">
      <code>protected $_cacheExternalHits = 0;</code>
      <code>protected $_cacheLocalHits = 0;</code>
      <code>protected $_cacheMisses = 0;</code>
      <code>protected $_cacheRequests = 0;</code>
      <code>protected $_keyPrefix = 'sugarcrm_';</code>
      <code>protected $_localStore = array();</code>
      <code>protected $_priority = 899;</code>
      <code>public $useLocalStore = true;</code>
    </UndefinedDocblockClass>
  </file>
  <file src="include/SugarCache/SugarCachePsr.php">
    <InvalidCatch occurrences="1"/>
  </file>
  <file src="include/SugarCharts/ChartDisplay.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_language;</code>
      <code>global $current_language;</code>
      <code>global $do_thousands;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="5">
      <code>format_number($row_remap['numerical_value'])</code>
      <code>format_number($total, $round, $precision)</code>
      <code>unformat_number($total)</code>
      <code>unformat_number($total, true)</code>
      <code>unformat_number($val, true)</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarCharts/JsChart.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;id</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedVariable occurrences="1">
      <code>$xmlstr</code>
    </UndefinedVariable>
  </file>
  <file src="include/SugarCharts/SugarChart.php">
    <InvalidDocblock occurrences="6">
      <code>function generateXML($xmlDataName = false)</code>
      <code>function processData()</code>
      <code>function xmlFooter()</code>
      <code>function xmlHeader()</code>
      <code>function xmlProperties()</code>
      <code>function xmlYAxis()</code>
    </InvalidDocblock>
    <RedundantCondition occurrences="2">
      <code>$this-&gt;chart_properties['thousands']</code>
      <code>$this-&gt;chart_properties['thousands']</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>null</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>get_number_seperators()</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;app_strings</code>
      <code>$this-&gt;chartStringsXML</code>
      <code>$this-&gt;div</code>
      <code>$this-&gt;div</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;div</code>
      <code>$this-&gt;id</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="3">
      <code>$current_language</code>
      <code>$current_user</code>
      <code>$sugar_config</code>
    </UndefinedVariable>
  </file>
  <file src="include/SugarCharts/chartjs/chartjsReports.php">
    <RedundantCondition occurrences="2">
      <code>$first</code>
      <code>count($this-&gt;data_set) == 1 &amp;&amp; $first</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>!$first</code>
      <code>$first</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1"/>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;super_set_data</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;super_set_data</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/SugarCharts/sucrose/sucroseReports.php">
    <RedundantCondition occurrences="2">
      <code>$first</code>
      <code>count($this-&gt;data_set) == 1 &amp;&amp; $first</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>!$first</code>
      <code>$first</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1"/>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;super_set_data</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;super_set_data</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/SugarCurrency/SugarCurrency.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <InvalidScalarArgument occurrences="1">
      <code>$amount</code>
    </InvalidScalarArgument>
    <UndefinedPropertyAssignment occurrences="2">
      <code>$bean-&gt;base_rate</code>
      <code>$bean-&gt;currency_id</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="include/SugarDateTime.php">
    <InvalidOperand occurrences="2">
      <code>$this-&gt;format("U")</code>
      <code>$this-&gt;format('U')</code>
    </InvalidOperand>
  </file>
  <file src="include/SugarDependentDropdown/SugarDependentDropdown.php">
    <InvalidDocblock occurrences="1">
      <code>function debugOutput($v) {</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarDependentDropdown/metadata/dependentDropdown.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>strpos($k, "LBL_ROUTING_") !== false</code>
    </RedundantCondition>
  </file>
  <file src="include/SugarEmailAddress/SugarEmailAddress.php">
    <RedundantCondition occurrences="7">
      <code>!empty($prefillDataArr)</code>
      <code>$handleField</code>
      <code>isset($bean-&gt;$email) &amp;&amp; !empty($bean-&gt;$email) &amp;&amp; $handleField</code>
      <code>strpos($addr, "&lt;") !== false</code>
      <code>strpos($addr, "&gt;") !== false</code>
      <code>strpos($k, 'emailAddress') !== false</code>
      <code>strpos($k, 'emailAddress') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainNull occurrences="1">
      <code>!isset($_REQUEST)</code>
    </TypeDoesNotContainNull>
    <TypeDoesNotContainType occurrences="2">
      <code>$in_workflow</code>
      <code>'false'</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>from_html($addr)</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="5">
      <code>$addrBean-&gt;email_address_caps</code>
      <code>$bean-&gt;email</code>
      <code>$bean-&gt;email1</code>
      <code>$bean-&gt;email_opt_out</code>
      <code>$bean-&gt;invalid_email</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;index</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedVariable occurrences="1">
      <code>$prefillDataArr</code>
    </UndefinedVariable>
  </file>
  <file src="include/SugarFields/Fields/Base/SugarFieldBase.php">
    <DuplicateArrayKey occurrences="2">
      <code>'0' =&gt; false</code>
      <code>'1' =&gt; true</code>
    </DuplicateArrayKey>
    <MissingDocblockType occurrences="1">
      <code>function getSearchInput($key='', $args=array())</code>
    </MissingDocblockType>
    <RedundantCondition occurrences="1">
      <code>empty($tplName)</code>
    </RedundantCondition>
    <TooManyArguments occurrences="1">
      <code>apiUnformatField</code>
    </TooManyArguments>
    <UndefinedThisPropertyAssignment occurrences="12">
      <code>$this-&gt;button</code>
      <code>$this-&gt;button</code>
      <code>$this-&gt;buttons</code>
      <code>$this-&gt;buttons</code>
      <code>$this-&gt;image</code>
      <code>$this-&gt;image</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;type</code>
      <code>$this-&gt;type</code>
      <code>$this-&gt;type</code>
      <code>$this-&gt;type</code>
      <code>$this-&gt;type</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;type</code>
      <code>$this-&gt;type</code>
      <code>$this-&gt;type</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/SugarFields/Fields/Collection/SugarFieldCollection.php">
    <NullArrayOffset occurrences="1">
      <code>$link_field[$num]['extra_field'][$extra_field]</code>
    </NullArrayOffset>
    <RedundantCondition occurrences="6">
      <code>$new_v['primary']</code>
      <code>is_array($v['extra_field'])</code>
      <code>isset($new_v['primary']) &amp;&amp; $new_v['primary']</code>
      <code>isset($v['extra_field']) &amp;&amp; is_array($v['extra_field'])</code>
      <code>strpos($name, $field . "_collection_") !== false</code>
      <code>strpos($name, $field . "_collection_extra_") !== false</code>
    </RedundantCondition>
  </file>
  <file src="include/SugarFields/Fields/Collection/ViewSugarFieldCollection.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="9">
      <code>!empty($sqs_objects) &amp;&amp; count($sqs_objects) &gt; 0</code>
      <code>$this-&gt;displayParams['new_on_update'] !== '0'</code>
      <code>$this-&gt;displayParams['new_on_update'] !== '0'</code>
      <code>$this-&gt;displayParams['new_on_update'] !== 'FALSE'</code>
      <code>$this-&gt;displayParams['new_on_update'] !== 'FALSE'</code>
      <code>$this-&gt;displayParams['new_on_update'] !== 'false'</code>
      <code>$this-&gt;displayParams['new_on_update'] !== 'false'</code>
      <code>$this-&gt;displayParams['new_on_update'] !== false || $this-&gt;displayParams['new_on_update'] !== 'false'</code>
      <code>$this-&gt;displayParams['new_on_update'] !== false || $this-&gt;displayParams['new_on_update'] !== 'false' || $this-&gt;displayParams['new_on_update'] !== 'FALSE'</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive($dir, null, true)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;detail_tpl_path</code>
      <code>$this-&gt;edit_tpl_path</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;detail_tpl_path</code>
      <code>$this-&gt;edit_tpl_path</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="3">
      <code>$field</code>
      <code>$field</code>
      <code>$sfh</code>
    </UndefinedVariable>
  </file>
  <file src="include/SugarFields/Fields/Datetime/SugarFieldDatetime.php">
    <ParamNameMismatch occurrences="2">
      <code>$def</code>
      <code>$inputData</code>
    </ParamNameMismatch>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($settings-&gt;timeformat, 's') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/SugarFields/Fields/Datetimecombo/SugarFieldDatetimecombo.php">
    <InvalidGlobal occurrences="1">
      <code>global $timedate, $current_language;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="2">
      <code>$def</code>
      <code>$inputData</code>
    </ParamNameMismatch>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($settings-&gt;timeformat, 's') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/SugarFields/Fields/Email/SugarFieldEmail.php">
    <InvalidArgument occurrences="1">
      <code>$has_primary[$row['bean_id']]</code>
    </InvalidArgument>
    <UndefinedPropertyAssignment occurrences="2">
      <code>$bean-&gt;emailAddress</code>
      <code>$seed-&gt;emailAddress</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="include/SugarFields/Fields/Encrypt/SugarFieldEncrypt.php">
    <ParamNameMismatch occurrences="1">
      <code>$displayParams</code>
    </ParamNameMismatch>
  </file>
  <file src="include/SugarFields/Fields/File/SugarFieldFile.php">
    <ParamNameMismatch occurrences="1">
      <code>$vardef</code>
    </ParamNameMismatch>
    <UndefinedPropertyAssignment occurrences="3">
      <code>$bean-&gt;file_ext</code>
      <code>$bean-&gt;file_mime_type</code>
      <code>$bean-&gt;upload_id</code>
    </UndefinedPropertyAssignment>
    <UndefinedPropertyFetch occurrences="1">
      <code>$upload_file-&gt;mime_type</code>
    </UndefinedPropertyFetch>
  </file>
  <file src="include/SugarFields/Fields/Float/SugarFieldFloat.php">
    <UndefinedFunction occurrences="2">
      <code>format_number($rawField,$precision,$precision)</code>
      <code>unformat_number($formattedField)</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarFields/Fields/Html/SugarFieldHtml.php">
    <UndefinedFunction occurrences="3">
      <code>from_html($vardef['default'])</code>
      <code>from_html($vardef['default_value'])</code>
      <code>from_html($vardef['value'])</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarFields/Fields/Int/SugarFieldInt.php">
    <UndefinedFunction occurrences="2">
      <code>format_number($rawField,0,0)</code>
      <code>unformat_number($formattedField)</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarFields/Fields/Json/SugarFieldJson.php">
    <ParamNameMismatch occurrences="1">
      <code>$fieldName</code>
    </ParamNameMismatch>
  </file>
  <file src="include/SugarFields/Fields/Multienum/SugarFieldMultienum.php">
    <InvalidArrayOffset occurrences="1">
      <code>$return[$key]</code>
    </InvalidArrayOffset>
    <ParamNameMismatch occurrences="1">
      <code>$fieldName</code>
    </ParamNameMismatch>
  </file>
  <file src="include/SugarFields/Fields/Parent/SugarFieldParent.php">
    <MissingDocblockType occurrences="1">
      <code>function getSearchInput($key='', $args=array())</code>
    </MissingDocblockType>
    <UndefinedVariable occurrences="2">
      <code>$focus</code>
      <code>$focus</code>
    </UndefinedVariable>
  </file>
  <file src="include/SugarFields/Fields/Password/SugarFieldPassword.php">
    <ParamNameMismatch occurrences="1">
      <code>$fieldName</code>
    </ParamNameMismatch>
  </file>
  <file src="include/SugarFields/Fields/Radioenum/SugarFieldRadioenum.php">
    <ParamNameMismatch occurrences="1">
      <code>$displayParams</code>
    </ParamNameMismatch>
  </file>
  <file src="include/SugarFields/Fields/Relate/SugarFieldRelate.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_list_strings;</code>
      <code>global $app_list_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="include/SugarFields/Fields/Relatecollection/SugarFieldRelatecollection.php">
    <ParamNameMismatch occurrences="1">
      <code>$fieldName</code>
    </ParamNameMismatch>
  </file>
  <file src="include/SugarFields/Fields/Teamset/EmailSugarFieldTeamsetCollection.php">
    <InvalidArgument occurrences="1">
      <code>$primary</code>
    </InvalidArgument>
    <RedundantCondition occurrences="1">
      <code>!empty($sqs_objects) &amp;&amp; count($sqs_objects) &gt; 0</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;customMethod</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;customMethod</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$module</code>
    </UndefinedVariable>
  </file>
  <file src="include/SugarFields/Fields/Teamset/SugarFieldTeamset.php">
    <ParamNameMismatch occurrences="2">
      <code>$fieldName</code>
      <code>$fieldName</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="2">
      <code>strpos($key, "selected_" . $field . "_collection_") !== false</code>
      <code>strpos($name, $field . "_collection_") !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>is_array($value)</code>
    </TypeDoesNotContainType>
    <UndefinedPropertyAssignment occurrences="2">
      <code>$bean-&gt;team_id</code>
      <code>$bean-&gt;team_id</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="include/SugarFields/Fields/Teamset/ViewSugarFieldTeamsetCollection.php">
    <InvalidArgument occurrences="2">
      <code>$primary</code>
      <code>$primary</code>
    </InvalidArgument>
    <RedundantCondition occurrences="1">
      <code>!empty($sqs_objects) &amp;&amp; count($sqs_objects) &gt; 0</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;detail_tpl_path</code>
      <code>$this-&gt;edit_tpl_path</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;detail_tpl_path</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$field</code>
    </UndefinedVariable>
  </file>
  <file src="include/SugarFields/Fields/Time/SugarFieldTime.php">
    <UndefinedVariable occurrences="2">
      <code>$inputData</code>
      <code>$inputData</code>
    </UndefinedVariable>
  </file>
  <file src="include/SugarFields/Parsers/MetaParser.php">
    <RedundantCondition occurrences="1">
      <code>is_array($panels)</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>$inSmartyVariable</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/SugarFields/SugarFieldHandler.php">
    <InvalidArgument occurrences="1">
      <code>$vardef['module'] &amp;&amp; !empty($vardef['rname'])</code>
    </InvalidArgument>
  </file>
  <file src="include/SugarFolders/SugarFolders.php">
    <DuplicateArrayKey occurrences="1">
      <code>'flagged' =&gt; 'flagged'</code>
    </DuplicateArrayKey>
    <InvalidDocblock occurrences="1">
      <code>function getCountNewItems($id, $criteria, $folder) {</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="3">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <MissingDocblockType occurrences="1">
      <code>function buildTreeNodeFolders($a, $nodePath, $folderStates, $subscriptions) {</code>
    </MissingDocblockType>
    <UndefinedFunction occurrences="3">
      <code>from_html ( $modified_select_query )</code>
      <code>from_html($modified_select_query)</code>
      <code>from_html($this-&gt;generateSugarsDynamicFolderQuery() . $order)</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarForecasting/Export/AbstractExport.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;dataset</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/SugarForecasting/Individual.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="include/SugarForecasting/Manager.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;defaultData</code>
      <code>$this-&gt;isManager</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;defaultData</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/SugarForecasting/ReportingUsers.php">
    <RedundantCondition occurrences="2">
      <code>!$isManager</code>
      <code>!$isManager</code>
    </RedundantCondition>
  </file>
  <file src="include/SugarHtml/SugarHtml.php">
    <InvalidOperand occurrences="1">
      <code>$index</code>
    </InvalidOperand>
    <TypeDoesNotContainType occurrences="3">
      <code>$_right === false</code>
      <code>$end_pos === false</code>
      <code>$start_pos === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/SugarLogger/SugarLogger.php">
    <ParamNameMismatch occurrences="1">
      <code>$level</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;full_log_file</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/SugarMath/SugarMath.php">
    <InvalidScalarArgument occurrences="1">
      <code>(int)$params[1]</code>
    </InvalidScalarArgument>
    <RedundantCondition occurrences="2">
      <code>false !== ($pos = strpos($value, '.'))</code>
      <code>strpos((string)$value, '.') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainNull occurrences="1">
      <code>$last_op === null</code>
    </TypeDoesNotContainNull>
  </file>
  <file src="include/SugarMetric/Helper.php">
    <MissingFile occurrences="3">
      <code>require_once 'custom/include/SugarMetric/Manager.php'</code>
      <code>require_once('config.php')</code>
      <code>require_once('config_override.php')</code>
    </MissingFile>
  </file>
  <file src="include/SugarOAuth2/SugarOAuth2ServerOIDC.php">
    <NoInterfaceProperties occurrences="2">
      <code>$this-&gt;storage-&gt;refreshToken</code>
      <code>$this-&gt;storage-&gt;refreshToken</code>
    </NoInterfaceProperties>
    <ParamNameMismatch occurrences="1">
      <code>$token</code>
    </ParamNameMismatch>
    <TypeDoesNotContainType occurrences="2">
      <code>!$sourceToken</code>
      <code>$sourceToken</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/SugarOAuth2/SugarOAuth2Storage.php">
    <InvalidArgument occurrences="1">
      <code>false</code>
    </InvalidArgument>
    <InvalidDocblock occurrences="1">
      <code>public function getAuthBean(OAuthToken $token) {</code>
    </InvalidDocblock>
    <TypeDoesNotContainType occurrences="1">
      <code>$token === FALSE</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>query_client_ip()</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarOAuth2/SugarOAuth2StorageBase.php">
    <InvalidDocblock occurrences="1">
      <code>public function getAuthBean(OAuthToken $token) {</code>
    </InvalidDocblock>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($userBean)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/SugarOAuth2/SugarOAuth2StorageInterface.php">
    <InvalidDocblock occurrences="1">
      <code>public function getAuthBean(OAuthToken $token);</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarOAuth2/SugarOAuth2StoragePortal.php">
    <InvalidDocblock occurrences="1">
      <code>public function getAuthBean(OAuthToken $token)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarOAuthServer.php">
    <UndefinedFunction occurrences="1">
      <code>from_html($v)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;consumer</code>
      <code>$this-&gt;provider</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="5">
      <code>$this-&gt;consumer</code>
      <code>$this-&gt;consumer</code>
      <code>$this-&gt;consumer</code>
      <code>$this-&gt;provider</code>
      <code>$this-&gt;provider</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/SugarObjects/LanguageManager.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>sugar_cache_clear($key)</code>
      <code>sugar_cache_clear($key)</code>
      <code>sugar_cache_retrieve($key)</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarObjects/VardefManager.php">
    <InvalidGlobal occurrences="1">
      <code>global $beanList;</code>
    </InvalidGlobal>
    <InvalidIterator occurrences="1">
      <code>$vardefs['uses']</code>
    </InvalidIterator>
    <RedundantCondition occurrences="2">
      <code>strpos($module,'/') !== false</code>
      <code>strpos($path, 'implements/') !== false</code>
    </RedundantCondition>
    <UndefinedVariable occurrences="1">
      <code>$custom_disabled_modules</code>
    </UndefinedVariable>
  </file>
  <file src="include/SugarObjects/forms/PersonFormBase.php">
    <MissingDocblockType occurrences="2">
      <code>function buildTableForm($rows)</code>
      <code>function checkForDuplicates($prefix='')</code>
    </MissingDocblockType>
  </file>
  <file src="include/SugarObjects/implements/assignable/vardefs.php">
    <UndefinedGlobalVariable occurrences="5">
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$table_name</code>
      <code>$table_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/implements/audit/vardefs.php">
    <UndefinedGlobalVariable occurrences="4">
      <code>$module</code>
      <code>$module</code>
      <code>$table_name</code>
      <code>$table_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/implements/commentlog/vardefs.php">
    <UndefinedGlobalVariable occurrences="5">
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$table_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/implements/currency/vardefs.php">
    <UndefinedGlobalVariable occurrences="4">
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$table_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/implements/email_address/vardefs.php">
    <UndefinedGlobalVariable occurrences="10">
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/implements/favorite/vardefs.php">
    <UndefinedGlobalVariable occurrences="5">
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$table_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/implements/following/vardefs.php">
    <UndefinedGlobalVariable occurrences="5">
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$table_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/implements/integrate_fields/vardefs.php">
    <UndefinedGlobalVariable occurrences="1">
      <code>$table_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/implements/lockable_fields/vardefs.php">
    <UndefinedGlobalVariable occurrences="5">
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$table_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/implements/sla_fields/vardefs.php">
    <UndefinedGlobalVariable occurrences="5">
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$table_name</code>
      <code>$table_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/implements/taggable/vardefs.php">
    <UndefinedGlobalVariable occurrences="5">
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$table_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/implements/team_security/vardefs.php">
    <DuplicateArrayKey occurrences="1">
      <code>'table' =&gt; 'teams'</code>
    </DuplicateArrayKey>
    <UndefinedGlobalVariable occurrences="17">
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$table_name</code>
      <code>$table_name</code>
      <code>$table_name</code>
      <code>$table_name</code>
      <code>$table_name</code>
      <code>$table_name</code>
      <code>$table_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/templates/basic/vardefs.php">
    <UndefinedGlobalVariable occurrences="18">
      <code>$_object_name</code>
      <code>$_object_name</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$table_name</code>
      <code>$table_name</code>
      <code>$table_name</code>
      <code>$table_name</code>
      <code>$table_name</code>
      <code>$table_name</code>
      <code>$table_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/templates/company/Company.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;email1</code>
      <code>$this-&gt;emailAddress</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/SugarObjects/templates/company/language/application/en_us.lang.php">
    <UndefinedGlobalVariable occurrences="1">
      <code>$object_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/templates/company/vardefs.php">
    <UndefinedGlobalVariable occurrences="3">
      <code>$object_name</code>
      <code>$object_name</code>
      <code>$object_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/templates/file/File.php">
    <UndefinedThisPropertyAssignment occurrences="15">
      <code>$this-&gt;file_ext</code>
      <code>$this-&gt;file_ext</code>
      <code>$this-&gt;file_mime_type</code>
      <code>$this-&gt;file_mime_type</code>
      <code>$this-&gt;filename</code>
      <code>$this-&gt;filename</code>
      <code>$this-&gt;filename</code>
      <code>$this-&gt;name</code>
      <code>$this-&gt;name</code>
      <code>$this-&gt;name</code>
      <code>$this-&gt;status</code>
      <code>$this-&gt;uploadfile</code>
      <code>$this-&gt;uploadfile</code>
      <code>$this-&gt;uploadfile</code>
      <code>$this-&gt;uploadfile</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/SugarObjects/templates/file/controller.php">
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;object_name</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/SugarObjects/templates/file/language/application/en_us.lang.php">
    <UndefinedGlobalVariable occurrences="3">
      <code>$object_name</code>
      <code>$object_name</code>
      <code>$object_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/templates/file/views/view.edit.php">
    <ParseError occurrences="5">
      <code>&lt;</code>
      <code>display</code>
      <code>extends</code>
      <code>if</code>
      <code>}</code>
    </ParseError>
  </file>
  <file src="include/SugarObjects/templates/issue/Issue.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!is_array($changeTimerFields)</code>
    </TypeDoesNotContainType>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;business_hours_to_resolution</code>
      <code>$this-&gt;hours_to_resolution</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/SugarObjects/templates/issue/language/application/en_us.lang.php">
    <UndefinedGlobalVariable occurrences="1">
      <code>$object_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/templates/issue/vardefs.php">
    <UndefinedGlobalVariable occurrences="12">
      <code>$_object_name</code>
      <code>$_object_name</code>
      <code>$_object_name</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$module</code>
      <code>$object_name</code>
      <code>$object_name</code>
      <code>$object_name</code>
      <code>$object_name</code>
      <code>$table_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/templates/person/Person.php">
    <UndefinedPropertyAssignment occurrences="14">
      <code>$newbean-&gt;billing_address_city</code>
      <code>$newbean-&gt;billing_address_country</code>
      <code>$newbean-&gt;billing_address_postalcode</code>
      <code>$newbean-&gt;billing_address_state</code>
      <code>$newbean-&gt;billing_address_street</code>
      <code>$newbean-&gt;email1</code>
      <code>$newbean-&gt;phone_alternate</code>
      <code>$newbean-&gt;phone_fax</code>
      <code>$newbean-&gt;phone_office</code>
      <code>$newbean-&gt;shipping_address_city</code>
      <code>$newbean-&gt;shipping_address_country</code>
      <code>$newbean-&gt;shipping_address_postalcode</code>
      <code>$newbean-&gt;shipping_address_state</code>
      <code>$newbean-&gt;shipping_address_street</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;email1</code>
      <code>$this-&gt;emailAddress</code>
      <code>$this-&gt;full_name</code>
      <code>$this-&gt;name</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/SugarObjects/templates/person/vardefs.php">
    <DuplicateArrayKey occurrences="1">
      <code>'audited' =&gt; true</code>
    </DuplicateArrayKey>
    <UndefinedGlobalVariable occurrences="2">
      <code>$module</code>
      <code>$module</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/templates/sale/Sale.php">
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;amount_usdollar</code>
      <code>$this-&gt;amount_usdollar</code>
      <code>$this-&gt;base_rate</code>
      <code>$this-&gt;currency_id</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/SugarObjects/templates/sale/language/application/en_us.lang.php">
    <UndefinedGlobalVariable occurrences="1">
      <code>$object_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarObjects/templates/sale/vardefs.php">
    <UndefinedGlobalVariable occurrences="3">
      <code>$object_name</code>
      <code>$object_name</code>
      <code>$object_name</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/SugarPHPMailer.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($this-&gt;Body, '&lt;html') === false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="3">
      <code>from_html($locale-&gt;translateCharset(trim($this-&gt;AltBody), 'UTF-8', $OBCharset))</code>
      <code>from_html($locale-&gt;translateCharset(trim($this-&gt;Body), 'UTF-8', $OBCharset))</code>
      <code>from_html(trim($this-&gt;Subject))</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;PluginDir</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/SugarQuery/Builder/Field.php">
    <InvalidClass occurrences="1">
      <code>SugarQuery_Builder_Field_OrderBy</code>
    </InvalidClass>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($field, '.') === false</code>
    </TypeDoesNotContainType>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;jta</code>
      <code>$this-&gt;standardTable</code>
      <code>$this-&gt;standardTable</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/SugarQuery/Builder/Field/Condition.php">
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;jta</code>
      <code>$this-&gt;jta</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/SugarQuery/Builder/Field/Select.php">
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;jta</code>
      <code>$this-&gt;jta</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/SugarQuery/Compiler/Doctrine.php">
    <RedundantCondition occurrences="2">
      <code>strpos($operator, 'NOT') !== false</code>
      <code>strpos($operator, 'NOT') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>$shouldEscape</code>
      <code>$shouldEscape</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/SugarQuery/SugarQuery.php">
    <RedundantCondition occurrences="2">
      <code>empty($select)</code>
      <code>strpos($fieldStr, '.' ) !== false</code>
    </RedundantCondition>
    <TooManyArguments occurrences="1">
      <code>new SugarQuery_Builder_Select($this, array())</code>
    </TooManyArguments>
    <TypeDoesNotContainType occurrences="2">
      <code>get_class($selectField) == 'SugarQuery_Builder_Field_Raw'</code>
      <code>strpos($field, '.') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/SugarQueue/SugarCronJobs.php">
    <InvalidOperand occurrences="1">
      <code>$ts</code>
    </InvalidOperand>
    <InvalidScalarArgument occurrences="1">
      <code>time()</code>
    </InvalidScalarArgument>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;queue</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;queue</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/SugarQueue/SugarCronParallelJobs.php">
    <ForbiddenCode occurrences="1">
      <code>shell_exec($command)</code>
    </ForbiddenCode>
    <UndefinedVariable occurrences="1">
      <code>$sugar_config</code>
    </UndefinedVariable>
  </file>
  <file src="include/SugarQueue/jobs/SugarJobCreatePurchasesAndPLIs.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;runnable_ran</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/SugarQueue/jobs/SugarJobMassUpdate.php">
    <UndefinedFunction occurrences="1">
      <code>from_html($data)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;job</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;job</code>
      <code>$this-&gt;job</code>
      <code>$this-&gt;job</code>
      <code>$this-&gt;job</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/SugarQueue/jobs/SugarJobSendScheduledReport.php">
    <UndefinedFunction occurrences="1">
      <code>from_html($savedReport-&gt;content)</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarRouting/SugarRouting.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="2">
      <code>strpos($k, "::") !== false</code>
      <code>strpos($k, "LBL_ROUTING_") !== false</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive($this-&gt;rulesCache)</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="1">
      <code>$mod_strings</code>
    </UndefinedVariable>
  </file>
  <file src="include/SugarRouting/baseActions.php">
    <RedundantCondition occurrences="1">
      <code>strpos($file, $sugar_config['cache_dir']) !== false</code>
    </RedundantCondition>
  </file>
  <file src="include/SugarSessionHandler.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="include/SugarSmarty/Restricted_Sugar_Smarty.php">
    <EmptyArrayAccess occurrences="1">
      <code>$this-&gt;_cache_info['timestamp']</code>
    </EmptyArrayAccess>
    <InvalidArgument occurrences="1">
      <code>false</code>
    </InvalidArgument>
    <InvalidScalarArgument occurrences="1">
      <code>true</code>
    </InvalidScalarArgument>
    <MethodSignatureMismatch occurrences="1">
      <code>public function fetch($resource_name, $cache_id = null, $compile_id = null, $display = false)</code>
    </MethodSignatureMismatch>
    <ParamNameMismatch occurrences="2">
      <code>$display</code>
      <code>$resource_name</code>
    </ParamNameMismatch>
    <UndefinedConstant occurrences="11">
      <code>SMARTY_CORE_DIR</code>
      <code>SMARTY_CORE_DIR</code>
      <code>SMARTY_CORE_DIR</code>
      <code>SMARTY_CORE_DIR</code>
      <code>SMARTY_CORE_DIR</code>
      <code>SMARTY_CORE_DIR</code>
      <code>SMARTY_CORE_DIR</code>
      <code>SMARTY_CORE_DIR</code>
      <code>SMARTY_CORE_DIR</code>
      <code>SMARTY_CORE_DIR</code>
      <code>SMARTY_CORE_DIR</code>
    </UndefinedConstant>
    <UndefinedMagicMethod occurrences="5">
      <code>_compile_resource</code>
      <code>_compile_resource</code>
      <code>_get_compile_path</code>
      <code>_is_compiled</code>
      <code>_is_compiled</code>
    </UndefinedMagicMethod>
    <UndefinedThisPropertyAssignment occurrences="9">
      <code>$this-&gt;_cache_including</code>
      <code>$this-&gt;_cache_info</code>
      <code>$this-&gt;_cache_info</code>
      <code>$this-&gt;_cache_info</code>
      <code>$this-&gt;_cache_info</code>
      <code>$this-&gt;_compile_id</code>
      <code>$this-&gt;_inclusion_depth</code>
      <code>$this-&gt;_smarty_debug_info</code>
      <code>$this-&gt;_smarty_debug_info</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="12">
      <code>$this-&gt;_cache_including</code>
      <code>$this-&gt;_cache_info</code>
      <code>$this-&gt;_cache_serials</code>
      <code>$this-&gt;_cache_serials</code>
      <code>$this-&gt;_plugins</code>
      <code>$this-&gt;_plugins</code>
      <code>$this-&gt;_smarty_debug_id</code>
      <code>$this-&gt;_smarty_debug_info</code>
      <code>$this-&gt;_smarty_debug_info</code>
      <code>$this-&gt;_smarty_debug_info</code>
      <code>$this-&gt;request_use_auto_globals</code>
      <code>$this-&gt;request_use_auto_globals</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/SugarSmarty/Sugar_Smarty.php">
    <UndefinedConstant occurrences="1">
      <code>SUGAR_PATH</code>
    </UndefinedConstant>
    <UndefinedFunction occurrences="4">
      <code>mkdir_recursive(SUGAR_SMARTY_DIR . 'cache', true)</code>
      <code>mkdir_recursive(SUGAR_SMARTY_DIR . 'configs', true)</code>
      <code>mkdir_recursive(SUGAR_SMARTY_DIR . 'templates_c', true)</code>
      <code>mkdir_recursive(SUGAR_SMARTY_DIR, true)</code>
    </UndefinedFunction>
    <UndefinedMethod occurrences="1">
      <code>parent::_unlink($resource, $exp_time)</code>
    </UndefinedMethod>
  </file>
  <file src="include/SugarSmarty/plugins/function.ext_includes.php">
    <InvalidScalarArgument occurrences="1">
      <code>'.css' == 0</code>
    </InvalidScalarArgument>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_action_menu.php">
    <RedundantCondition occurrences="1">
      <code>strpos($params['class'], 'clickMenu') !== false</code>
    </RedundantCondition>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_actions_link.php">
    <RedundantCondition occurrences="1">
      <code>is_array($type)</code>
    </RedundantCondition>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_button.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user, $sugar_config;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="4">
      <code>is_array($type)</code>
      <code>is_array($type)</code>
      <code>strpos($dom_tree['onclick'], "return ") !== false</code>
      <code>strpos($dom_tree['onclick'], "this.form") !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($dom_tree['onclick'], "_form.submit()") === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_button_slider.php">
    <UndefinedFunction occurrences="3">
      <code>smarty_function_sugar_button(array('module' =&gt; $module, 'id' =&gt; $button, 'view' =&gt; $view), $smarty)</code>
      <code>smarty_function_sugar_button(array('module' =&gt; $module, 'id' =&gt; $button, 'view' =&gt; $view), $smarty)</code>
      <code>smarty_function_sugar_button(array('module' =&gt; $module, 'id' =&gt; $button, 'view' =&gt; $view), $smarty)</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_currency_format.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_currency_format($params, &amp;$smarty) {</code>
    </InvalidDocblock>
    <UndefinedFunction occurrences="1">
      <code>currency_format_number($params['var'], $params)</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_evalcolumn.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_evalcolumn($params, &amp;$smarty)</code>
    </InvalidDocblock>
    <RedundantCondition occurrences="1">
      <code>strpos($code,'@@FIELD@@') !== FALSE</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>smarty_function_sugar_field($sfp, $smarty)</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_evalcolumn_old.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_evalcolumn_old($params, &amp;$smarty)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_fetch.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_fetch($params, &amp;$smarty)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_field.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_field($params, &amp;$smarty)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_getimage.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_getimage($params, &amp;$smarty) {</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_getimagepath.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_getimagepath($params, &amp;$smarty)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_getjspath.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_getjspath($params, &amp;$smarty)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_getlink.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_getlink($params, &amp;$smarty) {</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_getscript.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_getscript($params, &amp;$smarty)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_getwebpath.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_getwebpath($params, &amp;$smarty)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_include.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_include($params, &amp;$smarty)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_number_format.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_number_format($params, &amp;$smarty) {</code>
    </InvalidDocblock>
    <UndefinedFunction occurrences="1">
      <code>format_number($params['var'], $params['precision'], $params['precision'], $params)</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_password_requirements_box.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_password_requirements_box($params, &amp;$smarty)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_phone.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_phone($params, &amp;$smarty)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_run_helper.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_run_helper($params, &amp;$smarty)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_translate.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_translate($params, &amp;$smarty)</code>
    </InvalidDocblock>
    <RedundantCondition occurrences="2">
      <code>!empty($params['for_js']) &amp;&amp; $params['for_js']</code>
      <code>$params['for_js']</code>
    </RedundantCondition>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugar_variable_constructor.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugar_variable_constructor($params, &amp;$smarty)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/function.sugarvar.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_function_sugarvar($params, &amp;$smarty)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSmarty/plugins/modifier.in_array.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_modifier_in_array($needle = null, $haystack = null)</code>
    </InvalidDocblock>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($haystack)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/SugarSmarty/plugins/modifier.strip_semicolon.php">
    <InvalidDocblock occurrences="1">
      <code>function smarty_modifier_strip_semicolon($text)</code>
    </InvalidDocblock>
  </file>
  <file src="include/SugarSystemInfo/SugarSystemInfo.php">
    <MissingFile occurrences="1">
      <code>include('distro.php')</code>
    </MissingFile>
  </file>
  <file src="include/SugarTheme/SidecarTheme.php">
    <UndefinedFunction occurrences="3">
      <code>sugar_cache_put($this-&gt;paths['hashKey'], $files)</code>
      <code>sugar_cache_put($this-&gt;paths['hashKey'], $filesArray)</code>
      <code>sugar_cache_retrieve($hashKey)</code>
    </UndefinedFunction>
  </file>
  <file src="include/SugarTheme/SugarTheme.php">
    <MissingDocblockType occurrences="1">
      <code>private static function getDefaultThemeKey()</code>
    </MissingDocblockType>
    <MissingFile occurrences="1">
      <code>require("custom/themes/default/themedef.php")</code>
    </MissingFile>
    <RedundantCondition occurrences="4">
      <code>!empty($GLOBALS['sugar_config']['use_sprites']) &amp;&amp; $GLOBALS['sugar_config']['use_sprites']</code>
      <code>!empty($GLOBALS['sugar_config']['use_sprites']) &amp;&amp; $GLOBALS['sugar_config']['use_sprites']</code>
      <code>$GLOBALS['sugar_config']['use_sprites']</code>
      <code>$GLOBALS['sugar_config']['use_sprites']</code>
    </RedundantCondition>
  </file>
  <file src="include/SugarTinyMCE.php">
    <MissingDocblockType occurrences="1">
      <code>function cleanEncodedMCEHtml($html)</code>
    </MissingDocblockType>
    <UndefinedVariable occurrences="3">
      <code>$buttonConfigs</code>
      <code>$defaultConfig</code>
      <code>$pluginsConfig</code>
    </UndefinedVariable>
  </file>
  <file src="include/SugarUploadS3.php">
    <UndefinedVariable occurrences="1">
      <code>$path</code>
    </UndefinedVariable>
  </file>
  <file src="include/SugarXHprof/SugarXHprof.php">
    <InvalidArgument occurrences="1">
      <code>$a</code>
    </InvalidArgument>
    <UndefinedPropertyFetch occurrences="2">
      <code>$GLOBALS['server']-&gt;methodname</code>
      <code>$GLOBALS['service_object']-&gt;implementation</code>
    </UndefinedPropertyFetch>
  </file>
  <file src="include/Sugarpdf/FontManager.php">
    <InvalidDocblock occurrences="1">
      <code>private function getStyle(){</code>
    </InvalidDocblock>
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive(K_PATH_CUSTOM_FONTS)</code>
    </UndefinedFunction>
  </file>
  <file src="include/Sugarpdf/Sugarpdf.php">
    <InternalClass occurrences="4">
      <code>Blowfish::decode(Blowfish::getKey('sugarpdf_pdf_owner_password'), PDF_OWNER_PASSWORD)</code>
      <code>Blowfish::decode(Blowfish::getKey('sugarpdf_pdf_user_password'), PDF_USER_PASSWORD)</code>
      <code>Blowfish::getKey('sugarpdf_pdf_owner_password')</code>
      <code>Blowfish::getKey('sugarpdf_pdf_user_password')</code>
    </InternalClass>
    <InternalMethod occurrences="4">
      <code>Blowfish::decode(Blowfish::getKey('sugarpdf_pdf_owner_password'), PDF_OWNER_PASSWORD)</code>
      <code>Blowfish::decode(Blowfish::getKey('sugarpdf_pdf_user_password'), PDF_USER_PASSWORD)</code>
      <code>Blowfish::getKey('sugarpdf_pdf_owner_password')</code>
      <code>Blowfish::getKey('sugarpdf_pdf_user_password')</code>
    </InternalMethod>
    <MissingDocblockType occurrences="1">
      <code>private function initOptionsForWriteCellTable($options, $item){</code>
    </MissingDocblockType>
    <UndefinedConstant occurrences="16">
      <code>K_PATH_CUSTOM_IMAGES</code>
      <code>PDF_ACL_ACCESS</code>
      <code>PDF_COMPRESSION</code>
      <code>PDF_FILENAME</code>
      <code>PDF_JPEG_QUALITY</code>
      <code>PDF_KEYWORDS</code>
      <code>PDF_OWNER_PASSWORD</code>
      <code>PDF_PAGE_FORMAT</code>
      <code>PDF_PAGE_ORIENTATION</code>
      <code>PDF_PDF_VERSION</code>
      <code>PDF_PROTECTION</code>
      <code>PDF_PROTECTION</code>
      <code>PDF_SUBJECT</code>
      <code>PDF_TITLE</code>
      <code>PDF_UNIT</code>
      <code>PDF_USER_PASSWORD</code>
    </UndefinedConstant>
  </file>
  <file src="include/Sugarpdf/SugarpdfHelper.php">
    <InvalidScalarArgument occurrences="1">
      <code>$amount</code>
    </InvalidScalarArgument>
    <RedundantCondition occurrences="9">
      <code>!empty($params['convert']) &amp;&amp; $params['convert']</code>
      <code>!empty($params['convert']) &amp;&amp; $params['convert']</code>
      <code>!empty($params['currency_symbol']) &amp;&amp; $params['currency_symbol']</code>
      <code>!empty($params['percentage']) &amp;&amp; $params['percentage']</code>
      <code>$params['convert']</code>
      <code>$params['convert']</code>
      <code>$params['currency_symbol']</code>
      <code>$params['currency_symbol']</code>
      <code>$params['percentage']</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="4">
      <code>format_place_symbol($amount, $symbol,(empty($params['symbol_space']) ? false : true))</code>
      <code>format_place_symbol($amount, $symbol,(empty($params['symbol_space']) ? false : true))</code>
      <code>format_place_symbol($amount, $symbol,(empty($params['symbol_space']) ? false : true))</code>
      <code>get_number_seperators()</code>
    </UndefinedFunction>
  </file>
  <file src="include/Sugarpdf/sugarpdf/sugarpdf.pdfmanager.php">
    <InvalidGlobal occurrences="1">
      <code>global $locale;</code>
    </InvalidGlobal>
    <MissingDocblockType occurrences="2">
      <code>private function buildEmail ($file_name, $focus) {</code>
      <code>private function buildTemplateFile($pdfTemplate, $previewMode = FALSE)</code>
    </MissingDocblockType>
    <UndefinedConstant occurrences="3">
      <code>K_BLANK_IMAGE</code>
      <code>PDF_CREATOR</code>
      <code>PDF_HEADER_LOGO_WIDTH</code>
    </UndefinedConstant>
    <UndefinedFunction occurrences="3">
      <code>format_number_sugarpdf($product_bundle_line_item-&gt;discount_price * $product_bundle_line_item-&gt;quantity, $locale-&gt;getPrecision(), $locale-&gt;getPrecision(), $format_number_array)</code>
      <code>format_number_sugarpdf($this-&gt;bean-&gt;taxrate_value, $locale-&gt;getPrecision(), $locale-&gt;getPrecision(), array('percentage' =&gt; true))</code>
      <code>mkdir_recursive(sugar_cached('modules/PdfManager/tpls'))</code>
    </UndefinedFunction>
  </file>
  <file src="include/Sugarpdf/sugarpdf/sugarpdf.smarty.php">
    <RedundantCondition occurrences="2">
      <code>!empty($fileinfo['basename']) &amp;&amp; $q_pos !== false</code>
      <code>$q_pos !== false</code>
    </RedundantCondition>
    <UndefinedConstant occurrences="1">
      <code>PDF_FONT_NAME_MAIN</code>
    </UndefinedConstant>
  </file>
  <file src="include/Sugarpdf/sugarpdf_config.php">
    <RedundantCondition occurrences="1">
      <code>strpos($value, "PDF_FONT_NAME_") !== false</code>
    </RedundantCondition>
    <UndefinedGlobalVariable occurrences="52">
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
      <code>$sugarpdf_default</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/TeamBasedACLConfigurator.php">
    <RedundantCondition occurrences="1">
      <code>$dictionary['hidden_to_role_assignment']</code>
    </RedundantCondition>
  </file>
  <file src="include/TemplateHandler/TemplateHandler.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_strings;</code>
      <code>global $dictionary, $app_strings, $mod_strings;</code>
      <code>global $dictionary, $app_strings, $mod_strings;</code>
      <code>global $dictionary, $app_strings, $mod_strings;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>!empty($sqs_objects) &amp;&amp; count($sqs_objects) &gt; 0</code>
    </RedundantCondition>
  </file>
  <file src="include/TimeDate.php">
    <RedundantCondition occurrences="2">
      <code>$server_tz</code>
      <code>$tz &amp;&amp; $server_tz</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>strpos($date, ' ') === false</code>
      <code>strpos($date, ' ') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/VarDefHandler/VarDefHandler.php">
    <InvalidGlobal occurrences="1">
      <code>global $vardef_meta_array;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="2">
      <code>!$mlink</code>
      <code>!$mlink</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>get_plugin("workflow", "vardef_handler_hook", $this)</code>
    </UndefinedFunction>
  </file>
  <file src="include/api/ApiHelper.php">
    <MissingFile occurrences="1">
      <code>require_once('custom/data/SugarBeanApiHelper.php')</code>
    </MissingFile>
  </file>
  <file src="include/api/ApiSettings.php">
    <MissingFile occurrences="1">
      <code>require 'custom/include/api/metadata.php'</code>
    </MissingFile>
  </file>
  <file src="include/api/BulkRestResponse.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;statusText</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/api/RestRequest.php">
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($this-&gt;server['REQUEST_URI'], $this-&gt;server['SCRIPT_NAME']) === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/api/RestResponse.php">
    <InvalidDocblock occurrences="1">
      <code>public function getHeader($header)</code>
    </InvalidDocblock>
  </file>
  <file src="include/api/RestService.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings;</code>
    </InvalidGlobal>
    <MissingFile occurrences="1">
      <code>require 'custom/include/api/metadata.php'</code>
    </MissingFile>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($_SERVER['REQUEST_URI'], $_SERVER['SCRIPT_NAME']) === false</code>
    </TypeDoesNotContainType>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;dict</code>
      <code>$this-&gt;resourceURIBase</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/api/ServiceDictionary.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;cacheDir</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;cacheDir</code>
      <code>$this-&gt;cacheDir</code>
      <code>$this-&gt;cacheDir</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/api/ServiceDictionaryRest.php">
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;dict</code>
      <code>$this-&gt;endpointBuffer</code>
      <code>$this-&gt;endpointBuffer</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;endpointBuffer</code>
      <code>$this-&gt;endpointBuffer</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/api/ServiceDictionarySoap.php">
    <UndefinedThisPropertyAssignment occurrences="5">
      <code>$this-&gt;dict</code>
      <code>$this-&gt;functionBuffer</code>
      <code>$this-&gt;functionBuffer</code>
      <code>$this-&gt;typeBuffer</code>
      <code>$this-&gt;typeBuffer</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;functionBuffer</code>
      <code>$this-&gt;functionBuffer</code>
      <code>$this-&gt;typeBuffer</code>
      <code>$this-&gt;typeBuffer</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/api/SugarApi.php">
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($chunk, '"') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/api/help/extras/exceptionList.php">
    <UndefinedGlobalVariable occurrences="2">
      <code>$exceptions</code>
      <code>$jsfiles</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/api/help/extras/helpList.php">
    <UndefinedGlobalVariable occurrences="2">
      <code>$endpointList</code>
      <code>$jsfiles</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/bootstrap.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <MissingFile occurrences="2">
      <code>require 'config.php'</code>
      <code>require 'config_override.php'</code>
    </MissingFile>
    <UndefinedFunction occurrences="1">
      <code>shadow_get_config()</code>
    </UndefinedFunction>
  </file>
  <file src="include/clean.php">
    <UndefinedFunction occurrences="5">
      <code>from_html($html)</code>
      <code>from_html($string)</code>
      <code>from_html($uri-&gt;query)</code>
      <code>to_html($cleanhtml)</code>
      <code>to_html($string)</code>
    </UndefinedFunction>
  </file>
  <file src="include/connectors/ConnectorManager.php">
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive(sugar_cached($cacheDir))</code>
    </UndefinedFunction>
  </file>
  <file src="include/connectors/component.php">
    <MissingDocblockType occurrences="1">
      <code>public function getConfig()</code>
    </MissingDocblockType>
  </file>
  <file src="include/connectors/formatters/FormatterFactory.php">
    <MissingDocblockType occurrences="1">
      <code>public static function getInstance($source_name, $formatter_name=''){</code>
    </MissingDocblockType>
  </file>
  <file src="include/connectors/formatters/default/formatter.php">
    <InvalidLiteralArgument occurrences="1">
      <code>'_soap_'</code>
    </InvalidLiteralArgument>
    <RedundantCondition occurrences="1">
      <code>strpos('_soap_', $class) !== false</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;tplFileName</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;tplFileName</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/connectors/sources/default/source.php">
    <EmptyArrayAccess occurrences="1">
      <code>$this-&gt;_config['properties']</code>
    </EmptyArrayAccess>
    <InternalClass occurrences="4">
      <code>Blowfish::getKey('encrypt_field')</code>
      <code>Blowfish::getKey('encrypt_field')</code>
    </InternalClass>
    <InternalMethod occurrences="4">
      <code>Blowfish::getKey('encrypt_field')</code>
      <code>Blowfish::getKey('encrypt_field')</code>
    </InternalMethod>
    <MissingDocblockType occurrences="6">
      <code>public function getRequiredConfigFields() {</code>
      <code>public function getRequiredConfigFieldsForButton() {</code>
      <code>public function isEnabledInHover() {</code>
      <code>public function isEnabledInWizard() {</code>
      <code>public function isRequiredConfigFieldsForButtonSet() {</code>
      <code>public function isRequiredConfigFieldsSet() {</code>
    </MissingDocblockType>
    <UndefinedDocblockClass occurrences="1">
      <code>protected $_eapm = null;</code>
    </UndefinedDocblockClass>
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive("custom/modules/Connectors/connectors/sources/{$dir}")</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="1">
      <code>$dictionary</code>
    </UndefinedVariable>
  </file>
  <file src="include/connectors/sources/ext/soap/soap.php">
    <MissingDocblockType occurrences="1">
      <code>public function obj2array($obj) {</code>
    </MissingDocblockType>
  </file>
  <file src="include/connectors/utils/ConnectorHtmlHelperFactory.php">
    <MissingFile occurrences="1">
      <code>require_once(self::CONNECTOR_HTML_HELPER_CUSTOM)</code>
    </MissingFile>
  </file>
  <file src="include/connectors/utils/ConnectorUtils.php">
    <EmptyArrayAccess occurrences="2">
      <code>$modules_sources[$module]</code>
      <code>$modules_sources[$module]</code>
    </EmptyArrayAccess>
    <InvalidIterator occurrences="1">
      <code>$modules_sources</code>
    </InvalidIterator>
    <MissingDocblockType occurrences="1">
      <code>public static function updateMetaDataFiles()</code>
    </MissingDocblockType>
    <MissingFile occurrences="8">
      <code>require $connectorsFile</code>
      <code>require CONNECTOR_DISPLAY_CONFIG_FILE</code>
      <code>require('custom/modules/Connectors/metadata/mergeviewdefs.php')</code>
      <code>require('custom/modules/Connectors/metadata/searchdefs.php')</code>
      <code>require(CONNECTOR_DISPLAY_CONFIG_FILE)</code>
      <code>require(CONNECTOR_DISPLAY_CONFIG_FILE)</code>
      <code>require(CONNECTOR_DISPLAY_CONFIG_FILE)</code>
      <code>require(CONNECTOR_DISPLAY_CONFIG_FILE)</code>
    </MissingFile>
    <TypeDoesNotContainNull occurrences="1">
      <code>!isset($connectors)</code>
    </TypeDoesNotContainNull>
    <TypeDoesNotContainType occurrences="1">
      <code>!is_array($connectors)</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="4">
      <code>findAllFiles($directory, array(), false, 'config\.php')</code>
      <code>mkdir_recursive('custom/modules/Connectors/metadata')</code>
      <code>mkdir_recursive('custom/modules/Connectors/metadata')</code>
      <code>mkdir_recursive('custom/modules/Connectors/metadata')</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="2">
      <code>$mapping</code>
      <code>$mapping</code>
    </UndefinedVariable>
  </file>
  <file src="include/contextMenus/menuDefs/sugarAccount.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="include/contextMenus/menuDefs/sugarObject.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="include/contextMenus/menuDefs/sugarPerson.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="include/database/DBManager.php">
    <InvalidScalarArgument occurrences="2">
      <code>$after_value</code>
      <code>$before_value</code>
    </InvalidScalarArgument>
    <RedundantCondition occurrences="8">
      <code>!empty($fieldDef['auto_increment']) &amp;&amp; $fieldDef['auto_increment']</code>
      <code>$fieldDef['auto_increment']</code>
      <code>$res</code>
      <code>$table_used_in_from[$table1]</code>
      <code>$val</code>
      <code>$val</code>
      <code>strpos($def['len'], ",") !== false</code>
      <code>strpos($string, ".") !== false</code>
    </RedundantCondition>
    <TooManyArguments occurrences="2">
      <code>createTableSQLParams</code>
      <code>createTableSQLParams</code>
    </TooManyArguments>
    <TypeDoesNotContainNull occurrences="2">
      <code>$val === false || is_null($val)</code>
      <code>is_null($val)</code>
    </TypeDoesNotContainNull>
    <TypeDoesNotContainType occurrences="3">
      <code>$val === false</code>
      <code>strpos($fieldDef['len'],',') === false</code>
      <code>strpos($tempTableQuery, '__uw_temp') === false</code>
    </TypeDoesNotContainType>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;helper</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedVariable occurrences="2">
      <code>$field_map</code>
      <code>$suppress</code>
    </UndefinedVariable>
  </file>
  <file src="include/database/IBMDB2Manager.php">
    <NullArgument occurrences="2">
      <code>null</code>
      <code>null</code>
    </NullArgument>
    <RedundantCondition occurrences="5">
      <code>$vardef['required']</code>
      <code>$vardef['required']</code>
      <code>strpos($ctype, 'clob') !== false</code>
      <code>strpos($term, ' ') !== false</code>
      <code>strpos(strtoupper($query), 'DROP PRIMARY KEY') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="7">
      <code>!$vardef['isnull']</code>
      <code>!$vardef['isnull']</code>
      <code>$columns[$name]['required'] == ''</code>
      <code>isset($columns[$name]['required']) &amp;&amp; $columns[$name]['required'] == ''</code>
      <code>strpos($tempTableTestQuery, '__uw_temp') === false</code>
      <code>strpos($tempTableTestQuery, '__uw_temp') === false</code>
      <code>strpos($tempTableTestQuery, 'idx') === false</code>
    </TypeDoesNotContainType>
    <UndefinedConstant occurrences="7">
      <code>DB2_AUTOCOMMIT_OFF</code>
      <code>DB2_AUTOCOMMIT_OFF</code>
      <code>DB2_DEFERRED_PREPARE_OFF</code>
      <code>DB2_PARAM_OUT</code>
      <code>DB2_PARAM_OUT</code>
      <code>OCI_DESCRIBE_ONLY</code>
      <code>OCI_NO_AUTO_COMMIT</code>
    </UndefinedConstant>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;lastsql</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/database/MssqlManager.php">
    <RedundantCondition occurrences="4">
      <code>$colMatchPos !== false</code>
      <code>$containsCommaPos !== false</code>
      <code>strpos($gb,"'")!==false</code>
      <code>strpos($orig_order_match, ',') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>strpos($orig_order_match, " ") === false</code>
      <code>strpos($sql, "'") === false</code>
    </TypeDoesNotContainType>
    <UndefinedMethod occurrences="2">
      <code>selectDb</code>
      <code>selectDb</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;lastsql</code>
      <code>$this-&gt;lastsql</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/database/MysqlManager.php">
    <ParamNameMismatch occurrences="1">
      <code>$tablename</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="2">
      <code>strpos($term, ' ') !== false</code>
      <code>strpos(strtoupper($query), 'DROP PRIMARY KEY') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="3">
      <code>strpos($tempTableTestQuery, '__uw_temp') === false</code>
      <code>strpos($tempTableTestQuery, '__uw_temp') === false</code>
      <code>strpos($tempTableTestQuery, 'idx') === false</code>
    </TypeDoesNotContainType>
    <UndefinedMethod occurrences="3">
      <code>getL</code>
      <code>selectDb</code>
      <code>selectDb</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;lastsql</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/database/MysqliManager.php">
    <InvalidArgument occurrences="1">
      <code>$dbResult</code>
    </InvalidArgument>
    <RedundantCondition occurrences="1">
      <code>$pos !== false</code>
    </RedundantCondition>
    <TooFewArguments occurrences="1">
      <code>mysqli_get_client_info()</code>
    </TooFewArguments>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;lastsql</code>
      <code>$this-&gt;retryCount</code>
      <code>$this-&gt;retryCount</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/database/OracleManager.php">
    <InvalidArgument occurrences="2">
      <code>$res</code>
      <code>$res</code>
    </InvalidArgument>
    <ParamNameMismatch occurrences="2">
      <code>$dbname</code>
      <code>$tablename</code>
    </ParamNameMismatch>
    <RedundantCast occurrences="2">
      <code>(int)$count</code>
      <code>(int)$start</code>
    </RedundantCast>
    <RedundantCondition occurrences="1">
      <code>strpos($field, 'upper(') !== false</code>
    </RedundantCondition>
    <UndefinedConstant occurrences="7">
      <code>OCI_ASSOC</code>
      <code>OCI_DEFAULT</code>
      <code>OCI_DEFAULT</code>
      <code>OCI_DESCRIBE_ONLY</code>
      <code>OCI_DESCRIBE_ONLY</code>
      <code>OCI_RETURN_LOBS</code>
      <code>OCI_RETURN_NULLS</code>
    </UndefinedConstant>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;lastQuery</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/database/SqlsrvManager.php">
    <InvalidOperand occurrences="1">
      <code>$this-&gt;database</code>
    </InvalidOperand>
    <RedundantCondition occurrences="5">
      <code>$sqlpos !== false</code>
      <code>$sqlpos !== false</code>
      <code>$sqlpos2 !== false</code>
      <code>$sqlpos2 !== false</code>
      <code>$sqlpos3 !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>$sqlpos !== false</code>
      <code>$sqlpos !== false</code>
    </TypeDoesNotContainType>
    <UndefinedConstant occurrences="2">
      <code>SQLSRV_ERR_ERRORS</code>
      <code>SQLSRV_FETCH_ASSOC</code>
    </UndefinedConstant>
  </file>
  <file src="include/entryPoint.php">
    <InvalidArgument occurrences="4">
      <code>$GLOBALS['installing']</code>
      <code>$GLOBALS['installing']</code>
      <code>$GLOBALS['installing']</code>
      <code>$GLOBALS['installing']</code>
    </InvalidArgument>
    <TypeDoesNotContainType occurrences="3">
      <code>empty($GLOBALS['installing'])</code>
      <code>empty($GLOBALS['installing'])</code>
      <code>empty($GLOBALS['installing'])</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/export_utils.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings;</code>
    </InvalidGlobal>
    <InvalidOperand occurrences="1">
      <code>$sugar_demodata['note_seed_names_and_Descriptions'][mt_rand(0, $count)]</code>
    </InvalidOperand>
    <RedundantCondition occurrences="1">
      <code>is_array($records)</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="27">
      <code>export($type, null, false, true)</code>
      <code>exportFromApi($args, true)</code>
      <code>formatRealNameField($focus, $fields_array, $key, $value)</code>
      <code>formatRealNameField($focus, $fields_array, $key, $value)</code>
      <code>generateSearchWhere($type, $current_post)</code>
      <code>getDelimiter()</code>
      <code>getDelimiter()</code>
      <code>getDelimiter()</code>
      <code>getDelimiter()</code>
      <code>getExportContentFromFilter($args, $remove_from_members, $focus, $members)</code>
      <code>getExportContentFromResult($focus, $result, $members, $remove_from_members, $sample)</code>
      <code>getExportContentFromResult($focus, $result, $members, $remove_from_members, $sample, $options)</code>
      <code>getExportHeaderLabels($focus, $fields_array, $members, $remove_from_members)</code>
      <code>getExportHeaderLabels($focus, $fields_array, $members, $remove_from_members)</code>
      <code>getNonPrimaryEmailsData($focus, $keys)</code>
      <code>getNonPrimaryEmailsExportQuery($bean, $chunk)</code>
      <code>getSearchForm($seed, $module)</code>
      <code>getTranslatedFieldValue($focus, $key, $base_value, $val)</code>
      <code>getTranslatedFieldValue($focus, $key, $value, $record)</code>
      <code>get_field_order_mapping($focus-&gt;module_dir, $fields_array, true, $focus-&gt;fields_to_exclude)</code>
      <code>get_field_order_mapping($focus-&gt;module_dir, $val)</code>
      <code>get_field_order_mapping2($args['module'], $record, true, false)</code>
      <code>get_field_order_mapping2($args['module'], array_keys($records[0]), true, true)</code>
      <code>returnFakeDataRow($focus, $fields_array, $sampleRecordNum)</code>
      <code>serializeNonPrimaryEmails($emails)</code>
      <code>translateForExport($dbname, $focus)</code>
      <code>translateForExport('email_addresses_non_primary', $focus)</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="1">
      <code>$searchdefs</code>
    </UndefinedVariable>
  </file>
  <file src="include/externalAPI/Base/ExternalAPIBase.php">
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;connector_source</code>
      <code>$this-&gt;connector_source</code>
      <code>$this-&gt;eapmBean</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedVariable occurrences="1">
      <code>$proxy_settings</code>
    </UndefinedVariable>
  </file>
  <file src="include/externalAPI/Base/OAuthPluginBase.php">
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;oauth_secret</code>
      <code>$this-&gt;oauth_secret</code>
      <code>$this-&gt;oauth_token</code>
      <code>$this-&gt;oauth_token</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;eapmBean</code>
      <code>$this-&gt;eapmBean</code>
      <code>$this-&gt;oauth_secret</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/externalAPI/DocuSign/ExtAPIDocuSign.php">
    <UndefinedClass occurrences="49">
      <code>$apiClient</code>
      <code>$client</code>
      <code>$client</code>
      <code>$client</code>
      <code>$document</code>
      <code>$document</code>
      <code>$document</code>
      <code>$document</code>
      <code>$e</code>
      <code>$e</code>
      <code>$e</code>
      <code>$e</code>
      <code>$e</code>
      <code>$e</code>
      <code>$e</code>
      <code>$e</code>
      <code>$e</code>
      <code>$e</code>
      <code>$this-&gt;getClient()</code>
      <code>$this-&gt;getClient()</code>
      <code>DocuSign\Api\EnvelopesApi</code>
      <code>DocuSign\Api\EnvelopesApi</code>
      <code>DocuSign\Api\EnvelopesApi</code>
      <code>DocuSign\Api\EnvelopesApi</code>
      <code>DocuSign\Api\EnvelopesApi</code>
      <code>DocuSign\Api\EnvelopesApi</code>
      <code>DocuSign\Api\EnvelopesApi</code>
      <code>DocuSign\Api\EnvelopesApi\GetDocumentOptions</code>
      <code>DocuSign\Api\EnvelopesApi\GetEnvelopeOptions</code>
      <code>DocuSign\Api\EnvelopesApi\UpdateRecipientsOptions</code>
      <code>DocuSign\Api\FoldersApi</code>
      <code>DocuSign\Api\FoldersApi\ListItemsOptions</code>
      <code>DocuSign\Client\ApiClient</code>
      <code>DocuSign\Client\ApiClient</code>
      <code>DocuSign\Client\ApiException</code>
      <code>DocuSign\Client\ApiException</code>
      <code>DocuSign\Client\ApiException</code>
      <code>DocuSign\Client\ApiException</code>
      <code>DocuSign\Client\Auth\OAuthToken</code>
      <code>DocuSign\Model\Document</code>
      <code>DocuSign\Model\EnvelopeDefinition</code>
      <code>DocuSign\Model\EnvelopeEvent</code>
      <code>DocuSign\Model\EnvelopeEvent</code>
      <code>DocuSign\Model\EnvelopeEvent</code>
      <code>DocuSign\Model\EnvelopeEvent</code>
      <code>DocuSign\Model\EnvelopeEvent</code>
      <code>DocuSign\Model\ErrorDetails</code>
      <code>DocuSign\Model\ErrorDetails</code>
      <code>DocuSign\Model\EventNotification</code>
    </UndefinedClass>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;envelopDefinition</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;eapmBean</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/externalAPI/ExternalAPIFactory.php">
    <InvalidDocblock occurrences="1">
      <code>public static function loadAPI($apiName, $ignoreAuth=false)</code>
    </InvalidDocblock>
  </file>
  <file src="include/externalAPI/GoToMeeting/ExtAPIGoToMeeting.php">
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;eapmBean</code>
      <code>$this-&gt;eapmBean</code>
      <code>$this-&gt;eapmBean</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/externalAPI/Google/ExtAPIGoogle.php">
    <InvalidReturnStatement occurrences="1"/>
    <ParamNameMismatch occurrences="1">
      <code>$mimeType</code>
    </ParamNameMismatch>
  </file>
  <file src="include/externalAPI/IBMSmartCloud/ExtAPIIBMSmartCloud.php">
    <ParamNameMismatch occurrences="4">
      <code>$attendeeID</code>
      <code>$document</code>
      <code>$error</code>
      <code>$mimeType</code>
    </ParamNameMismatch>
    <TypeDoesNotContainType occurrences="3">
      <code>is_object($xml)</code>
      <code>is_object($xml)</code>
      <code>is_object($xml)</code>
    </TypeDoesNotContainType>
    <UndefinedMethod occurrences="2">
      <code>getAttribute</code>
      <code>getAttribute</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="6">
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;joinURL</code>
      <code>$this-&gt;meetingID</code>
      <code>$this-&gt;subscriberID</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="5">
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;eapmBean</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/externalAPI/LotusLive/ExtAPILotusLive.php">
    <ParamNameMismatch occurrences="4">
      <code>$attendeeID</code>
      <code>$document</code>
      <code>$error</code>
      <code>$mimeType</code>
    </ParamNameMismatch>
    <TypeDoesNotContainType occurrences="3">
      <code>is_object($xml)</code>
      <code>is_object($xml)</code>
      <code>is_object($xml)</code>
    </TypeDoesNotContainType>
    <UndefinedMethod occurrences="2">
      <code>getAttribute</code>
      <code>getAttribute</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="6">
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;joinURL</code>
      <code>$this-&gt;meetingID</code>
      <code>$this-&gt;subscriberID</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="5">
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;api_data</code>
      <code>$this-&gt;eapmBean</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/externalAPI/Twitter/ExtAPITwitter.php">
    <UndefinedClass occurrences="2">
      <code>SugarFeed</code>
      <code>SugarFeed</code>
    </UndefinedClass>
  </file>
  <file src="include/externalAPI/WebEx/ExtAPIWebEx.php">
    <ParamNameMismatch occurrences="1">
      <code>$attendeeID</code>
    </ParamNameMismatch>
    <TypeDoesNotContainType occurrences="1">
      <code>is_object($responseXML)</code>
    </TypeDoesNotContainType>
    <UndefinedThisPropertyAssignment occurrences="11">
      <code>$this-&gt;account_url</code>
      <code>$this-&gt;details_xml</code>
      <code>$this-&gt;edit_xml</code>
      <code>$this-&gt;getuser_xml</code>
      <code>$this-&gt;hostmeeting_xml</code>
      <code>$this-&gt;invite_xml</code>
      <code>$this-&gt;joinmeeting_xml</code>
      <code>$this-&gt;listmeeting_xml</code>
      <code>$this-&gt;schedule_xml</code>
      <code>$this-&gt;uninvite_xml</code>
      <code>$this-&gt;unschedule_xml</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="12">
      <code>$this-&gt;account_url</code>
      <code>$this-&gt;account_url</code>
      <code>$this-&gt;details_xml</code>
      <code>$this-&gt;edit_xml</code>
      <code>$this-&gt;getuser_xml</code>
      <code>$this-&gt;hostmeeting_xml</code>
      <code>$this-&gt;invite_xml</code>
      <code>$this-&gt;joinmeeting_xml</code>
      <code>$this-&gt;listmeeting_xml</code>
      <code>$this-&gt;schedule_xml</code>
      <code>$this-&gt;uninvite_xml</code>
      <code>$this-&gt;unschedule_xml</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/externalAPI/cmis_repository_wrapper.php">
    <UndefinedFunction occurrences="19">
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>Exception("Not Implemented")</code>
      <code>getObject($objectId, $options)</code>
    </UndefinedFunction>
    <UndefinedMethod occurrences="1">
      <code>extractObjectEntry</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;auth_options</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;auth_options</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/generic/LayoutManager.php">
    <RedundantCondition occurrences="1">
      <code>!class_exists($class_name)</code>
    </RedundantCondition>
  </file>
  <file src="include/generic/Save2.php">
    <RedundantCondition occurrences="1">
      <code>strpos($key,"REL_ATTRIBUTE_") !== false</code>
    </RedundantCondition>
    <TooManyArguments occurrences="1">
      <code>setup</code>
    </TooManyArguments>
    <UndefinedFunction occurrences="1">
      <code>create_campaign_log_entry($id, $focus, $focus-&gt;module_dir,$focus, $focus-&gt;id)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$inline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetField.php">
    <UndefinedThisPropertyAssignment occurrences="5">
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;base_URL</code>
      <code>$this-&gt;is_dynamic</code>
      <code>$this-&gt;local_current_module</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetFieldbool.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetFieldcurrency.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>empty($global_currency_obj)</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($layout_def['name'],'_usdoll') === false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="8">
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name1'])</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="1">
      <code>$value</code>
    </UndefinedVariable>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetFielddatetime.php">
    <InvalidScalarArgument occurrences="5">
      <code>$date_parts[0]</code>
      <code>$date_parts[1]</code>
      <code>$date_parts[2]</code>
      <code>$time_parts[0]</code>
      <code>$time_parts[1]</code>
    </InvalidScalarArgument>
    <MissingDocblockType occurrences="1">
      <code>protected function expandDate($date, $end = false)</code>
    </MissingDocblockType>
    <RedundantCondition occurrences="2">
      <code>strpos($layout_def['qualifier_name'], 'quarter') !== false</code>
      <code>strpos($layout_def['qualifier_name'], 'year') !== false</code>
    </RedundantCondition>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetFielddecimal.php">
    <UndefinedFunction occurrences="2">
      <code>format_number(parent::displayListPlain($layout_def), $layout_def['precision'], $layout_def['precision'])</code>
      <code>format_number(parent::displayListPlain($layout_def), 2, 2)</code>
    </UndefinedFunction>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetFieldencrypt.php">
    <InternalClass occurrences="6">
      <code>Blowfish::decode(Blowfish::getKey('encrypt_field'), $value)</code>
      <code>Blowfish::encode(Blowfish::getKey('encrypt_field'), $layout_def['input_name0'])</code>
      <code>Blowfish::encode(Blowfish::getKey('encrypt_field'), $layout_def['input_name0'])</code>
      <code>Blowfish::getKey('encrypt_field')</code>
      <code>Blowfish::getKey('encrypt_field')</code>
      <code>Blowfish::getKey('encrypt_field')</code>
    </InternalClass>
    <InternalMethod occurrences="6">
      <code>Blowfish::decode(Blowfish::getKey('encrypt_field'), $value)</code>
      <code>Blowfish::encode(Blowfish::getKey('encrypt_field'), $layout_def['input_name0'])</code>
      <code>Blowfish::encode(Blowfish::getKey('encrypt_field'), $layout_def['input_name0'])</code>
      <code>Blowfish::getKey('encrypt_field')</code>
      <code>Blowfish::getKey('encrypt_field')</code>
      <code>Blowfish::getKey('encrypt_field')</code>
    </InternalMethod>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetFieldenum.php">
    <ParamNameMismatch occurrences="5">
      <code>$layoutDef</code>
      <code>$layoutDef</code>
      <code>$layoutDef</code>
      <code>$layoutDef</code>
      <code>$layoutDef</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="2">
      <code>!empty($layout_def['remove_blank']) &amp;&amp; $layout_def['remove_blank']</code>
      <code>$layout_def['remove_blank']</code>
    </RedundantCondition>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetFieldfloat.php">
    <UndefinedFunction occurrences="9">
      <code>format_number(parent::displayListPlain($layout_def), $precision, $precision)</code>
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name0'])</code>
      <code>unformat_number($layout_def['input_name1'])</code>
    </UndefinedFunction>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetFieldint.php">
    <UndefinedFunction occurrences="1">
      <code>format_number($rawField, 0, 0)</code>
    </UndefinedFunction>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetFieldmultienum.php">
    <ParamNameMismatch occurrences="5">
      <code>$layout_def</code>
      <code>$layout_def</code>
      <code>$layout_def</code>
      <code>$layout_def</code>
      <code>$layout_def</code>
    </ParamNameMismatch>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetFieldname.php">
    <InvalidGlobal occurrences="5">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <UndefinedVariable occurrences="1">
      <code>$field_def</code>
    </UndefinedVariable>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetFieldrelate.php">
    <UndefinedMethod occurrences="1">
      <code>loadRelationship</code>
    </UndefinedMethod>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetFieldsingleenum.php">
    <RedundantCondition occurrences="2">
      <code>!empty($layout_def['remove_blank']) &amp;&amp; $layout_def['remove_blank']</code>
      <code>$layout_def['remove_blank']</code>
    </RedundantCondition>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetFieldtimeperiod.php">
    <ParamNameMismatch occurrences="4">
      <code>$layout_def</code>
      <code>$layout_def</code>
      <code>$layout_def</code>
      <code>$layout_def</code>
    </ParamNameMismatch>
    <UndefinedFunction occurrences="1">
      <code>quoted($name)</code>
    </UndefinedFunction>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetReportField.php">
    <EmptyArrayAccess occurrences="1">
      <code>$used_aliases[$short_alias]</code>
    </EmptyArrayAccess>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($layout_def['name'], '_usdoll') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelEditButton.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;bean</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedVariable occurrences="1">
      <code>$layout_defs</code>
    </UndefinedVariable>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelEditProjectTasksButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$widget_data</code>
    </ParamNameMismatch>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelIcon.php">
    <RedundantCondition occurrences="1">
      <code>!empty($layout_def['attachment_image_only']) &amp;&amp; $layout_def['attachment_image_only'] == true</code>
    </RedundantCondition>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelRemoveButtonProjects.php">
    <RedundantCondition occurrences="2">
      <code>!$hideremove</code>
      <code>$layout_def['ListView'] &amp;&amp; !$hideremove</code>
    </RedundantCondition>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopArchiveEmailButton.php">
    <InvalidOperand occurrences="1">
      <code>$defines['module'] == "History"</code>
    </InvalidOperand>
    <ParamNameMismatch occurrences="1">
      <code>$defines</code>
    </ParamNameMismatch>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$defines</code>
    </ParamNameMismatch>
    <TypeDoesNotContainType occurrences="1">
      <code>$defines['parent_bean_name']=='contact'</code>
    </TypeDoesNotContainType>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;asUrl</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopComposeEmailButton.php">
    <InvalidOperand occurrences="1">
      <code>$defines['module'] == "Activities"</code>
    </InvalidOperand>
    <ParamNameMismatch occurrences="1">
      <code>$defines</code>
    </ParamNameMismatch>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopCreateAccountNameButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$defines</code>
    </ParamNameMismatch>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopCreateCampaignLogEntryButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$widget_data</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="2">
      <code>is_array($this-&gt;button_properties)</code>
      <code>is_array($this-&gt;button_properties)</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($this-&gt;module_name)</code>
    </TypeDoesNotContainType>
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;button_properties</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;value</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopCreateLeadNameButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$defines</code>
    </ParamNameMismatch>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopCreateNoteButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$defines</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;subpanelDiv</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopCreateTaskButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$defines</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;subpanelDiv</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopMessage.php">
    <ParamNameMismatch occurrences="1">
      <code>$defines</code>
    </ParamNameMismatch>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopScheduleCallButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$defines</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;subpanelDiv</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopScheduleMeetingButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$defines</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;subpanelDiv</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopSelectAccountButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$widget_data</code>
    </ParamNameMismatch>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopSelectButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$widget_data</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="7">
      <code>$this-&gt;accesskey</code>
      <code>$this-&gt;accesskey</code>
      <code>$this-&gt;button_properties</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;value</code>
      <code>$this-&gt;value</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;button_properties</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopSelectContactsButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$widget_data</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="6">
      <code>$this-&gt;button_properties</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;value</code>
      <code>$this-&gt;value</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;button_properties</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopSelectUsersButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$widget_data</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="6">
      <code>$this-&gt;button_properties</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;value</code>
      <code>$this-&gt;value</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;button_properties</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/generic/SugarWidgets/SugarWidgetSubPanelTopSummaryButton.php">
    <ParamNameMismatch occurrences="1">
      <code>$widget_data</code>
    </ParamNameMismatch>
  </file>
  <file src="include/globalControlLinks.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_strings, $current_user;</code>
      <code>global $sugar_config, $sugar_version, $sugar_flavor, $server_unique_key, $current_language, $action;</code>
    </InvalidGlobal>
    <TypeDoesNotContainNull occurrences="1">
      <code>isset($global_control_links)</code>
    </TypeDoesNotContainNull>
  </file>
  <file src="include/javascript/getYUIComboFile.php">
    <RedundantCondition occurrences="1">
      <code>strpos($param, "..") !== false</code>
    </RedundantCondition>
  </file>
  <file src="include/javascript/javascript.php">
    <ParadoxicalCondition occurrences="1">
      <code>$field == 'id'</code>
    </ParadoxicalCondition>
  </file>
  <file src="include/json_config.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings, $json;</code>
    </InvalidGlobal>
  </file>
  <file src="include/language/en_us.lang.php">
    <DuplicateArrayKey occurrences="5">
      <code>'LBL_ACTIONBUTTON_DOCUMENT_MERGE' =&gt; 'Doc Merge'</code>
      <code>'LBL_ESCALATIONS' =&gt; 'Escalations'</code>
      <code>'LBL_ESCALATIONS' =&gt; 'Escalations'</code>
      <code>'LBL_HINT_COMPANY_LOGO' =&gt; 'Logo'</code>
      <code>'LBL_RELATED_RECORDS' =&gt; 'Related {{module}}'</code>
    </DuplicateArrayKey>
    <InvalidArrayOffset occurrences="18">
      <code>$app_list_strings['moduleList']['EmailAddresses']</code>
      <code>$app_list_strings['moduleList']['EmbeddedFiles']</code>
      <code>$app_list_strings['moduleList']['KBArticles']</code>
      <code>$app_list_strings['moduleList']['KBContentTemplates']</code>
      <code>$app_list_strings['moduleList']['KBContents']</code>
      <code>$app_list_strings['moduleList']['KBDocuments']</code>
      <code>$app_list_strings['moduleList']['Library']</code>
      <code>$app_list_strings['moduleList']['Sugar_Favorites']</code>
      <code>$app_list_strings['moduleList']['Words']</code>
      <code>$app_list_strings['moduleListSingular']['EmailAddresses']</code>
      <code>$app_list_strings['moduleListSingular']['EmbeddedFiles']</code>
      <code>$app_list_strings['moduleListSingular']['KBArticles']</code>
      <code>$app_list_strings['moduleListSingular']['KBContentTemplates']</code>
      <code>$app_list_strings['moduleListSingular']['KBContents']</code>
      <code>$app_list_strings['moduleListSingular']['KBDocuments']</code>
      <code>$app_list_strings['moduleListSingular']['Library']</code>
      <code>$app_list_strings['moduleListSingular']['Sugar_Favorites']</code>
      <code>$app_list_strings['moduleListSingular']['Words']</code>
    </InvalidArrayOffset>
  </file>
  <file src="include/php-sql-parser.php">
    <RedundantCast occurrences="1">
      <code>array_values</code>
    </RedundantCast>
    <RedundantCondition occurrences="5">
      <code>$needed</code>
      <code>$needed &amp;&amp; $token</code>
      <code>$token</code>
      <code>$type != 'operator' &amp;&amp; $type != 'in-list' &amp;&amp; $type != 'sub_expr'</code>
      <code>strpos($token,'`') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="9">
      <code>$mod</code>
      <code>$skip_next</code>
      <code>$sub_expr</code>
      <code>$sub_expr</code>
      <code>$token === false</code>
      <code>'-'</code>
      <code>'AND'</code>
      <code>'ORDER'</code>
      <code>'TRUNCATE'</code>
    </TypeDoesNotContainType>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;parsed</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/resource/Observers/ResourceObserver.php">
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;dieOnError</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/tabs.php">
    <RedundantCondition occurrences="1">
      <code>! empty($tab['hidden']) &amp;&amp; $tab['hidden'] == true</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;jscallback</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;jscallback</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/templates/TemplateGroupChooser.php">
    <RedundantCondition occurrences="1">
      <code>$js_loaded == false</code>
    </RedundantCondition>
  </file>
  <file src="include/upload_file.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <UndefinedThisPropertyAssignment occurrences="8">
      <code>$this-&gt;api</code>
      <code>$this-&gt;dirp</code>
      <code>$this-&gt;file_size</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;mime_type</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="14">
      <code>$this-&gt;dirp</code>
      <code>$this-&gt;dirp</code>
      <code>$this-&gt;dirp</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;fp</code>
      <code>$this-&gt;mime_type</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="include/utils.php">
    <DuplicateArrayKey occurrences="2">
      <code>'default_decimal_seperator' =&gt; '.'</code>
      <code>'default_number_grouping_seperator' =&gt; ','</code>
    </DuplicateArrayKey>
    <InvalidArrayOffset occurrences="2">
      <code>$override[$key]</code>
      <code>$override[$key]</code>
    </InvalidArrayOffset>
    <InvalidDocblock occurrences="1">
      <code>function create_export_query_relate_link_patch($module, $searchFields, $where)</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="3">
      <code>global $app_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_language;</code>
    </InvalidGlobal>
    <InvalidOperand occurrences="3">
      <code>$a_dec</code>
      <code>$b_dec</code>
      <code>$b_sec</code>
    </InvalidOperand>
    <MissingDocblockType occurrences="4">
      <code>function appendPortToHost($url, $port)</code>
      <code>function getJavascriptSiteURL()</code>
      <code>function getPhpInfo($level=-1)</code>
      <code>function get_custom_file_if_exists($file)</code>
    </MissingDocblockType>
    <MissingFile occurrences="1">
      <code>require 'config.php'</code>
    </MissingFile>
    <RedundantCondition occurrences="59">
      <code>!empty($GLOBALS['savePreferencesToDB']) &amp;&amp; $GLOBALS['savePreferencesToDB']</code>
      <code>$GLOBALS['savePreferencesToDB']</code>
      <code>$fieldValue !== false</code>
      <code>strpos($ac, 'application/vnd.wap.xhtml+xml') !== false</code>
      <code>strpos($path, '..') !== false</code>
      <code>strpos($server_software,'Microsoft-IIS') !== false</code>
      <code>strpos($sys_iis_version,$ver) !== false</code>
      <code>strpos($sys_iis_version,$ver) !== false</code>
      <code>strpos($sys_iis_version,$ver) !== false</code>
      <code>strpos($ua, 'alcatel') !== false</code>
      <code>strpos($ua, 'au-mic,') !== false</code>
      <code>strpos($ua, 'audiovox') !== false</code>
      <code>strpos($ua, 'avantgo') !== false</code>
      <code>strpos($ua, 'blackberry') !== false</code>
      <code>strpos($ua, 'blazer') !== false</code>
      <code>strpos($ua, 'cldc-') !== false</code>
      <code>strpos($ua, 'danger') !== false</code>
      <code>strpos($ua, 'epoc') !== false</code>
      <code>strpos($ua, 'ericsson,') !== false</code>
      <code>strpos($ua, 'ericy') !== false</code>
      <code>strpos($ua, 'ipad') !== false</code>
      <code>strpos($ua, 'ipaq') !== false</code>
      <code>strpos($ua, 'iphone') !== false</code>
      <code>strpos($ua, 'iphone') !== false</code>
      <code>strpos($ua, 'ipod') !== false</code>
      <code>strpos($ua, 'j2me') !== false</code>
      <code>strpos($ua, 'linux') !== false</code>
      <code>strpos($ua, 'mac') !== false</code>
      <code>strpos($ua, 'midp-') !== false</code>
      <code>strpos($ua, 'mobile') !== false</code>
      <code>strpos($ua, 'mot') !== false</code>
      <code>strpos($ua, 'mozilla') !== false</code>
      <code>strpos($ua, 'netfront') !== false</code>
      <code>strpos($ua, 'nitro') !== false</code>
      <code>strpos($ua, 'nokia') !== false</code>
      <code>strpos($ua, 'opera mini') !== false</code>
      <code>strpos($ua, 'palm') !== false</code>
      <code>strpos($ua, 'palmsource') !== false</code>
      <code>strpos($ua, 'panasonic') !== false</code>
      <code>strpos($ua, 'philips') !== false</code>
      <code>strpos($ua, 'pocketpc') !== false</code>
      <code>strpos($ua, 'portalmmm') !== false</code>
      <code>strpos($ua, 'rover') !== false</code>
      <code>strpos($ua, 'samsung') !== false</code>
      <code>strpos($ua, 'sanyo') !== false</code>
      <code>strpos($ua, 'series60') !== false</code>
      <code>strpos($ua, 'sharp') !== false</code>
      <code>strpos($ua, 'sie-') !== false</code>
      <code>strpos($ua, 'smartphone') !== false</code>
      <code>strpos($ua, 'sony') !== false</code>
      <code>strpos($ua, 'symbian') !== false</code>
      <code>strpos($ua, 'up.browser') !== false</code>
      <code>strpos($ua, 'up.link') !== false</code>
      <code>strpos($ua, 'up.link') !== false</code>
      <code>strpos($ua, 'vodafone/') !== false</code>
      <code>strpos($ua, 'wap1.') !== false</code>
      <code>strpos($ua, 'wap2.') !== false</code>
      <code>strpos($ua, 'windows ce') !== false</code>
      <code>true</code>
    </RedundantCondition>
    <TooManyArguments occurrences="1">
      <code>LoggerManager :: getLogger('SugarCRM')</code>
    </TooManyArguments>
    <TypeDoesNotContainType occurrences="5">
      <code>!$_REQUEST['sugar_body_only']</code>
      <code>!$_REQUEST['sugar_body_only']</code>
      <code>!$_REQUEST['to_pdf']</code>
      <code>!$_REQUEST['to_pdf']</code>
      <code>''</code>
    </TypeDoesNotContainType>
    <UndefinedClass occurrences="2">
      <code>SugarTemplateUtilities</code>
      <code>SugarTemplateUtilities</code>
    </UndefinedClass>
    <UndefinedFunction occurrences="19">
      <code>check_existing_element($hook_array, $event, $action_array)</code>
      <code>check_existing_element($hook_array, $event, $action_array)</code>
      <code>db_concat($join_table_alias, $field['db_concat_fields'])</code>
      <code>get_hook_array($module_name)</code>
      <code>get_hook_array($module_name)</code>
      <code>replace_or_add_logic_type($hook_array)</code>
      <code>replace_or_add_logic_type($hook_array)</code>
      <code>sugar_cache_clear("{$category}-{$name}")</code>
      <code>sugar_cache_put("{$category}-{$name}", $value)</code>
      <code>sugar_cache_put($cache_key, $return_value)</code>
      <code>sugar_cache_put($cache_key, $return_value)</code>
      <code>sugar_cache_put($cache_key, $return_value)</code>
      <code>sugar_cache_retrieve("{$category}-{$name}")</code>
      <code>sugar_cache_retrieve($cache_key)</code>
      <code>sugar_cache_retrieve($cache_key)</code>
      <code>sugar_cache_retrieve($cache_key)</code>
      <code>sugar_cache_retrieve($cache_key)</code>
      <code>write_logic_file($module_name, $new_contents)</code>
      <code>write_logic_file($module_name, $new_contents)</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$bean-&gt;last_name</code>
    </UndefinedPropertyAssignment>
    <UndefinedVariable occurrences="11">
      <code>$data</code>
      <code>$defaultNameFormat</code>
      <code>$export_delimiter</code>
      <code>$join_type</code>
      <code>$max_tabs</code>
      <code>$navigation_paradigm</code>
      <code>$subpanel_links</code>
      <code>$subpanel_tabs</code>
      <code>$swap_last_viewed</code>
      <code>$swap_shortcuts</code>
      <code>$theme_strings</code>
    </UndefinedVariable>
  </file>
  <file src="include/utils/LegacyJsonServer.php">
    <UndefinedFunction occurrences="1">
      <code>from_html($focus-&gt;$field)</code>
    </UndefinedFunction>
  </file>
  <file src="include/utils/LogicHook.php">
    <RedundantCondition occurrences="1">
      <code>false !== strpos($class, '\\')</code>
    </RedundantCondition>
    <UndefinedVariable occurrences="1">
      <code>$hook_array</code>
    </UndefinedVariable>
  </file>
  <file src="include/utils/array_utils.php">
    <TypeDoesNotContainNull occurrences="1">
      <code>isset($value)</code>
    </TypeDoesNotContainNull>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($key, '.') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/utils/autoloader.php">
    <RedundantCondition occurrences="5">
      <code>$class_map === null</code>
      <code>false !== strpos($class, '\\')</code>
      <code>strpos($class, 'SugarWidgetField') !== false</code>
      <code>strpos($className, '\\') !== false</code>
      <code>strpos($metadata, "..") !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($className, $customBase) === false</code>
    </TypeDoesNotContainType>
    <UndefinedVariable occurrences="2">
      <code>$extensions</code>
      <code>$searchFields</code>
    </UndefinedVariable>
  </file>
  <file src="include/utils/encryption_utils.php">
    <InternalClass occurrences="3">
      <code>Blowfish::decode($key, $encoded)</code>
      <code>Blowfish::encode($key, $data)</code>
      <code>Blowfish::getKey($type)</code>
    </InternalClass>
    <InternalMethod occurrences="3">
      <code>Blowfish::decode($key, $encoded)</code>
      <code>Blowfish::encode($key, $data)</code>
      <code>Blowfish::getKey($type)</code>
    </InternalMethod>
  </file>
  <file src="include/utils/expression_utils.php">
    <UndefinedFunction occurrences="6">
      <code>compare_bool_values($target_object, $lhs_field, $operator, $rhs_value)</code>
      <code>compare_values($rel_object, $lhs_field, $operator, $rhs_value)</code>
      <code>filter_out_linked_records($target_list, $optional_where['lhs_field'], $optional_where['operator'], $optional_where['rhs_value'])</code>
      <code>setup_filter_records($target_list, $action_array[$target_filter])</code>
      <code>translate_operator($filter_array['operator'], "sql")</code>
      <code>translate_operator($target_exp_array['operator'], $type)</code>
    </UndefinedFunction>
  </file>
  <file src="include/utils/file_utils.php">
    <RedundantCondition occurrences="4">
      <code>strpos($filename, '.') !== false</code>
      <code>strpos($filename, '.') !== false</code>
      <code>strpos($filename, '..') !== false</code>
      <code>strpos($filename, chr(0)) !== false</code>
    </RedundantCondition>
  </file>
  <file src="include/utils/layout_utils.php">
    <RedundantCondition occurrences="1">
      <code>$is_min_max !== false</code>
    </RedundantCondition>
  </file>
  <file src="include/utils/sugar_file_utils.php">
    <TooManyArguments occurrences="2">
      <code>is_dir($path, $mode)</code>
      <code>is_file($path, $mode)</code>
    </TooManyArguments>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($fileName, '://') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="include/vCard.php">
    <MissingFile occurrences="1">
      <code>include('custom/include/vCardTrimStrings.php')</code>
    </MissingFile>
    <RedundantCondition occurrences="1">
      <code>$size &gt; 0</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="17">
      <code>from_html($contact-&gt;account_name)</code>
      <code>from_html($contact-&gt;birthdate)</code>
      <code>from_html($contact-&gt;department)</code>
      <code>from_html($contact-&gt;department)</code>
      <code>from_html($contact-&gt;email1)</code>
      <code>from_html($contact-&gt;first_name)</code>
      <code>from_html($contact-&gt;last_name)</code>
      <code>from_html($contact-&gt;phone_fax)</code>
      <code>from_html($contact-&gt;phone_home)</code>
      <code>from_html($contact-&gt;phone_mobile)</code>
      <code>from_html($contact-&gt;phone_work)</code>
      <code>from_html($contact-&gt;primary_address_city)</code>
      <code>from_html($contact-&gt;primary_address_country)</code>
      <code>from_html($contact-&gt;primary_address_postalcode)</code>
      <code>from_html($contact-&gt;primary_address_state)</code>
      <code>from_html($contact-&gt;primary_address_street)</code>
      <code>from_html($contact-&gt;salutation)</code>
    </UndefinedFunction>
  </file>
  <file src="include/workflow/action_utils.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>empty($relBean-&gt;id) &amp;&amp; (!empty($focus-&gt;required_fields[$field]) &amp;&amp; $focus-&gt;required_fields[$field] == true)</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>unformat_number($new_value)</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="2">
      <code>$rel_object-&gt;email1_set_in_workflow</code>
      <code>$rel_object-&gt;email2_set_in_workflow</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="include/workflow/alert_utils.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="1">
      <code>$template-&gt;id = ""</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="64">
      <code>check_special_fields($field_array['name'], $focus, false, array())</code>
      <code>check_special_fields($field_array['name'], $focus, true, array())</code>
      <code>check_special_fields($field_array['name'], $rel_object, false, array())</code>
      <code>check_special_fields($field_array['name'], $rel_object, true, array())</code>
      <code>check_special_fields($target_name, $target_module)</code>
      <code>check_special_fields($user_meta_array['field_value'], $target_object)</code>
      <code>compile_rel_user_info($rel_object, $user_meta_array, $address_array)</code>
      <code>compile_rel_user_info($rel_object2, $user_meta_array, $address_array)</code>
      <code>create_email_body($focus, $mailer, $admin, $alert_msg, $alert_shell_array, "", $alert_user_array)</code>
      <code>fill_mail_object($mail_object, $focus, $alert_msg, "body_html", $notify_user_id, $alert_user_array)</code>
      <code>from_html($notify_user)</code>
      <code>from_html($notify_user-&gt;email1)</code>
      <code>from_html($notify_user-&gt;email2)</code>
      <code>from_html($target_module-&gt;$target_email)</code>
      <code>from_html($xtpl-&gt;text($template_name . "_Subject"))</code>
      <code>from_html(trim($xtpl-&gt;text($template_name)))</code>
      <code>get_alert_recipient($current_user-&gt;id)</code>
      <code>get_alert_recipient($target_user_id)</code>
      <code>get_alert_recipient($target_user_id)</code>
      <code>get_alert_recipient($tmpUserObject-&gt;id)</code>
      <code>get_alert_recipient($user_meta_array['field_value'])</code>
      <code>get_alert_recipient($user_object-&gt;id)</code>
      <code>get_alert_recipient($user_object-&gt;id)</code>
      <code>get_alert_recipient_from_custom_fields($focus, $user_meta_array['rel_email_value'], $user_meta_array['field_value'])</code>
      <code>get_href_link($focus)</code>
      <code>get_href_link($rel_object)</code>
      <code>get_invite_email($focus, $admin, $address_array, $invitePerson, $alert_msg, $alert_shell_array)</code>
      <code>get_invite_email($focus, $admin, $address_array, $invitePerson, $alert_msg, $alert_shell_array)</code>
      <code>get_invite_link($focus, $notify_user_id)</code>
      <code>get_invite_link($rel_object, $notify_user_id)</code>
      <code>get_manager_info($target_user_id)</code>
      <code>get_manager_info($target_user_id)</code>
      <code>get_related_array($focus, $user_meta_array, $address_array)</code>
      <code>get_system_default_body($mailer, $focus, $userInfo['notify_user'])</code>
      <code>get_system_default_body($mailer, $focus, $userInfo['notify_user'])</code>
      <code>get_system_default_body($mailer, $focus, $userInfo['notify_user'])</code>
      <code>get_user_alert_details($temp_target_module, $user_meta_array, $address_array)</code>
      <code>handle_email_attachments($mail_object, $notes)</code>
      <code>invite_people($focus)</code>
      <code>invite_people($focus)</code>
      <code>parse_alert_template($focus, $template-&gt;body, $notify_user_id, $alert_user_array)</code>
      <code>parse_alert_template($focus, $template-&gt;body_html, $notify_user_id, $alert_user_array)</code>
      <code>parse_alert_template($focus, $template-&gt;subject, $notify_user_id, $alert_user_array)</code>
      <code>parse_target_body($target_body, $focus-&gt;module_dir)</code>
      <code>populate_usr_con_arrays($userInfo, $users, $contacts)</code>
      <code>populate_usr_con_arrays($userInfo, $users, $contacts)</code>
      <code>populate_usr_con_arrays($userInfo, $users, $contacts)</code>
      <code>populate_usr_con_arrays($userInfo, $users, $contacts)</code>
      <code>populate_usr_con_arrays($userInfo, $users, $contacts)</code>
      <code>populate_usr_con_arrays($userInfo, $users, $contacts)</code>
      <code>populate_usr_con_arrays($userInfo, $users, $contacts)</code>
      <code>populate_usr_con_arrays($userInfo, $users, $contacts)</code>
      <code>process_rel_type("filter", "expression", $rel_list, $user_meta_array, true)</code>
      <code>process_rel_type("filter", "expression", $rel_list, $user_meta_array, true)</code>
      <code>process_rel_type("filter", "expression", $rel_list2, $user_meta_array, true)</code>
      <code>process_rel_type("rel_module1_type", "rel1_filter", $rel_list, $user_meta_array)</code>
      <code>process_rel_type("rel_module1_type", "rel1_filter", $rel_list, $user_meta_array)</code>
      <code>process_rel_type("rel_module2_type", "rel2_filter", $rel_list2, $user_meta_array)</code>
      <code>reconstruct_target_body($focus, $target_body, $component_array, $notify_user_id, $alert_user_array)</code>
      <code>replace_target_body_items($target_body, $replace_array)</code>
      <code>send_workflow_alert($target_module, $address_array, $alert_msg, $admin, $alert_shell_array, $check_for_bridge, $alert_user_array)</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="13">
      <code>$existing_contacts</code>
      <code>$existing_users</code>
      <code>$focus</code>
      <code>$focus</code>
      <code>$focus</code>
      <code>$focus</code>
      <code>$focus</code>
      <code>$focus</code>
      <code>$focus</code>
      <code>$focus</code>
      <code>$notify_mail</code>
      <code>$notify_mail</code>
      <code>$notify_mail</code>
    </UndefinedVariable>
  </file>
  <file src="include/workflow/expression_utils.php">
    <UndefinedFunction occurrences="4">
      <code>express_add($first, $second)</code>
      <code>express_divide($first, $second)</code>
      <code>express_multiple($first, $second)</code>
      <code>express_subtract($first, $second)</code>
    </UndefinedFunction>
  </file>
  <file src="include/workflow/field_utils.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>!empty($target_field_array['isMultiSelect']) &amp;&amp; $target_field_array['isMultiSelect'] == true</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>get_class($temp_module) == 'Call'</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="10">
      <code>find_start_position($target_array, $rel_this-&gt;$field)</code>
      <code>get_display_text($source_object, $field_name, $source_object-&gt;$field_name, null, null, $context)</code>
      <code>get_display_text($source_object, $field_name, $source_object-&gt;fetched_row[$field_name], null, null, $context)</code>
      <code>get_expression($meta_array['ext1'], $rel_this-&gt;$field, $meta_array['value'])</code>
      <code>get_manager_info($current_user-&gt;id)</code>
      <code>get_manager_info($focus-&gt;{$meta_array['value']})</code>
      <code>get_username_by_id($field_value)</code>
      <code>get_username_by_id($source_object-&gt;assigned_user_id)</code>
      <code>get_username_by_id($source_object-&gt;fetched_row['assigned_user_id'])</code>
      <code>perform_save($source_object)</code>
    </UndefinedFunction>
  </file>
  <file src="include/workflow/glue.php">
    <UndefinedThisPropertyAssignment occurrences="28">
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
      <code>$this-&gt;temp_eval</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="include/workflow/plugin_utils.php">
    <MissingFile occurrences="1">
      <code>require 'custom/workflow/plugins/plugin_list.php'</code>
    </MissingFile>
  </file>
  <file src="include/workflow/time_utils.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$wflow_schedule-&gt;target_module</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="include/workflow/trigger_utils.php">
    <InvalidPropertyFetch occurrences="1">
      <code>$rel_object-&gt;field_defs</code>
    </InvalidPropertyFetch>
  </file>
  <file src="install.php">
    <InvalidArrayOffset occurrences="1">
      <code>$workflow[trim($_REQUEST['current_step'])]</code>
    </InvalidArrayOffset>
    <InvalidGlobal occurrences="2">
      <code>global $sugar_config;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <MissingFile occurrences="4">
      <code>include('install/lang.config.php')</code>
      <code>include_once('config.php')</code>
      <code>include_once('config.php')</code>
      <code>require_once('config.php')</code>
    </MissingFile>
    <UndefinedGlobalVariable occurrences="1">
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/UserDemoData.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="install/checkDBSettings.php">
    <InvalidArgument occurrences="1">
      <code>$_SESSION['setup_db_create_database']</code>
    </InvalidArgument>
    <UndefinedFunction occurrences="42">
      <code>create_db_user_creds(10)</code>
      <code>create_db_user_creds(5)</code>
      <code>getFtsSettings()</code>
      <code>getInstallDbInstance()</code>
      <code>getInstallDbInstance()</code>
      <code>installLog(".. {$erMsg}")</code>
      <code>installLog(".. {$erMsg}")</code>
      <code>installLog("Basic form info is INVALID, exit Process.")</code>
      <code>installLog("Basic form info is valid, continuing Process.")</code>
      <code>installLog("Begin DB Check Process *************")</code>
      <code>installLog("Begining to check FTS Settings.")</code>
      <code>installLog("Connection made using  host: {$_SESSION['setup_db_host_name']}, usr: {$_SESSION['setup_db_sugarsales_user']}")</code>
      <code>installLog("Connection made using  host: {$_SESSION['setup_db_host_name']}, usr: {$_SESSION['setup_db_sugarsales_user']}")</code>
      <code>installLog("DB Selected, will reuse {$_SESSION['setup_db_database_name']}")</code>
      <code>installLog("DB not selected, will create {$_SESSION['setup_db_database_name']}")</code>
      <code>installLog("ERROR::  {$errors[$errIdx]}")</code>
      <code>installLog("ERROR::  {$errors['ERR_DBCONF_PASSWORD_MISMATCH']}")</code>
      <code>installLog("ERROR::  {$errors['ERR_DB_HOSTNAME']}")</code>
      <code>installLog("ERROR::  {$errors['ERR_DB_LOGIN_FAILURE']}")</code>
      <code>installLog("ERROR::  {$errors['ERR_DB_LOGIN_FAILURE']}")</code>
      <code>installLog("ERROR::  {$errors['ERR_DB_MSSQL_DB_NAME']}")</code>
      <code>installLog("ERROR::  {$errors['ERR_DB_NAME']}")</code>
      <code>installLog("ERROR::  {$errors['ERR_DB_OCI8_DB_NAME']}")</code>
      <code>installLog("ERROR:: Elastic Search is required.")</code>
      <code>installLog("ERROR:: No FTS version available." . $_SESSION['setup_fts_type'])</code>
      <code>installLog("ERROR:: Unable to connect to FTS." . $_SESSION['setup_fts_type'])</code>
      <code>installLog("ERROR:: Unsupported version of Elastic search." . $_SESSION['setup_fts_type'])</code>
      <code>installLog("ERROR:: {$errors[$error]}")</code>
      <code>installLog("ERROR:: {$errors['ERR_DB_EXISTS_NOT']}")</code>
      <code>installLog("ERROR:: {$errors['ERR_DB_EXISTS_PROCEED']}")</code>
      <code>installLog("ERROR:: {$errors['ERR_DB_EXISTS_WITH_CONFIG']}")</code>
      <code>installLog("ERROR:: {$errors['ERR_DB_PRIV_USER']}")</code>
      <code>installLog("ERROR:: {$errors['ERR_DB_USER_EXISTS']}")</code>
      <code>installLog("End DB Check Process *************")</code>
      <code>installLog("FATAL:: errors have been detected!  User will not be allowed to continue.  Errors are as follow:")</code>
      <code>installLog("FTS connection results: $ftsStatus")</code>
      <code>installLog("Passed DB install check")</code>
      <code>installLog("SUCCESS:: no errors detected!")</code>
      <code>installLog("Testing priviliged account...")</code>
      <code>installLog("Testing user account...")</code>
      <code>installLog("WARNING:: no errors detected, but DB tables will be dropped!, issuing warning to user")</code>
      <code>installLog("testing with {$db-&gt;dbType}:{$db-&gt;variant}")</code>
    </UndefinedFunction>
  </file>
  <file src="install/confirmSettings.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config, $db, $app_strings, $mod_strings;</code>
    </InvalidGlobal>
    <RedundantCast occurrences="1">
      <code>(int)constant('SUGARCRM_MIN_MEM')</code>
    </RedundantCast>
    <RedundantCondition occurrences="1">
      <code>strpos(ini_get('suhosin.perdir'), 'e') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>$memory_limit == ""</code>
      <code>strpos($_SERVER["SERVER_SOFTWARE"], 'Microsoft-IIS') === false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>getDbConnection()</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="12">
      <code>$css</code>
      <code>$css</code>
      <code>$help_url</code>
      <code>$help_url</code>
      <code>$icon</code>
      <code>$icon</code>
      <code>$loginImage</code>
      <code>$loginImage</code>
      <code>$next_step</code>
      <code>$next_step</code>
      <code>$sugar_md</code>
      <code>$sugar_md</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/createSnipUser.php">
    <UndefinedFunction occurrences="1">
      <code>installLog("creating new user for Snip")</code>
    </UndefinedFunction>
  </file>
  <file src="install/dbConfig_a.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_version, $js_custom_version;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getInstallDbInstance()</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="55">
      <code>$app_strings</code>
      <code>$css</code>
      <code>$db_errors</code>
      <code>$db_errors</code>
      <code>$help_url</code>
      <code>$icon</code>
      <code>$loginImage</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$next_step</code>
      <code>$next_step</code>
      <code>$next_step</code>
      <code>$sugar_md</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/demoData.en_us.php">
    <DuplicateArrayKey occurrences="1"/>
    <InvalidGlobal occurrences="1">
      <code>global $sugar_demodata;</code>
    </InvalidGlobal>
  </file>
  <file src="install/installDisabled.php">
    <UndefinedGlobalVariable occurrences="6">
      <code>$disabled_text</code>
      <code>$disabled_title</code>
      <code>$disabled_title_2</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$sugar_md</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/installSystemCheck.php">
    <RedundantCondition occurrences="3">
      <code>$error_found</code>
      <code>strpos($_SERVER["SERVER_SOFTWARE"],'Microsoft-IIS') !== false</code>
      <code>strpos($server_software,'Microsoft-IIS') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainNull occurrences="2">
      <code>!isset( $install_script )</code>
      <code>!isset( $install_script ) || !$install_script</code>
    </TypeDoesNotContainNull>
    <TypeDoesNotContainType occurrences="2">
      <code>''</code>
      <code>strpos($_SERVER["SERVER_SOFTWARE"],'Microsoft-IIS') === false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="10">
      <code>installLog("Begin System Check Process *************")</code>
      <code>installLog("ERROR:: {$mod_strings['LBL_CHECKSYS_DB_SUPPORT_NOT_AVAILABLE']}")</code>
      <code>installLog("Error:: ".$mod_strings['ERR_NO_DIRECT_SCRIPT'])</code>
      <code>installLog($mod_strings['ERR_CHECKSYS_CSPRNG'].': '.$message)</code>
      <code>installLog($mod_strings['ERR_CHECKSYS_FASTCGI'].' '.$iis_version)</code>
      <code>installLog($mod_strings['ERR_CHECKSYS_FASTCGI_LOGGING'])</code>
      <code>installLog($mod_strings['ERR_CHECKSYS_FASTCGI_LOGGING'].' '.$iis_version)</code>
      <code>installLog($mod_strings['ERR_CHECKSYS_IIS_INVALID_VER'].' '.$iis_version)</code>
      <code>installLog($mod_strings['ERR_CHECKSYS_PHP_INVALID_VER'].'  '.$php_version)</code>
      <code>installLog($mod_strings['LBL_BACKWARD_COMPATIBILITY_ON'].'  '.'Php Backward Compatibility')</code>
    </UndefinedFunction>
  </file>
  <file src="install/installType.php">
    <UndefinedGlobalVariable occurrences="23">
      <code>$css</code>
      <code>$current_language</code>
      <code>$help_url</code>
      <code>$icon</code>
      <code>$loginImage</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$next_step</code>
      <code>$sugar_md</code>
      <code>$supportedLanguages</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/install_utils.php">
    <EmptyArrayAccess occurrences="1">
      <code>$manifest['id_name']</code>
    </EmptyArrayAccess>
    <InvalidArgument occurrences="1">
      <code>$rewrite_config_array[$i]['skip_file']</code>
    </InvalidArgument>
    <InvalidArrayOffset occurrences="1">
      <code>$redirect_config_array[$i]</code>
    </InvalidArrayOffset>
    <InvalidGlobal occurrences="1">
      <code>global $current_user, $mod_strings;</code>
    </InvalidGlobal>
    <InvalidScalarArgument occurrences="1">
      <code>(double)microtime()*1000000</code>
    </InvalidScalarArgument>
    <MissingFile occurrences="7">
      <code>include('install/lang.config.php')</code>
      <code>require($mapFile)</code>
      <code>require('config.php')</code>
      <code>require('custom/'.$mapFile)</code>
      <code>require_once('config_si.php')</code>
      <code>require_once('custom/install/install_hooks.php')</code>
      <code>require_once('modules_post_install.php')</code>
    </MissingFile>
    <RedundantCondition occurrences="4">
      <code>is_array($exLang)</code>
      <code>isset($manifest)</code>
      <code>isset($zipFile)</code>
      <code>strpos(ini_get('suhosin.perdir'), 'e') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>$pos === false</code>
    </TypeDoesNotContainType>
    <UndefinedClass occurrences="1">
      <code>ext_rest_insideview</code>
    </UndefinedClass>
    <UndefinedFunction occurrences="1">
      <code>unlinkTempFiles($manifest, $zipFile)</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="3">
      <code>$role1-&gt;description</code>
      <code>$role1-&gt;name</code>
      <code>$user-&gt;email</code>
    </UndefinedPropertyAssignment>
    <UndefinedVariable occurrences="4">
      <code>$restrict_str</code>
      <code>$sugar_config_si</code>
      <code>$sugar_config_si</code>
      <code>$sugar_config_si</code>
    </UndefinedVariable>
  </file>
  <file src="install/language/en_us.lang.php">
    <DuplicateArrayKey occurrences="1">
      <code>'LBL_CHECKSYS_DB_SUPPORT_NOT_AVAILABLE' =&gt; 'Database Support was not found.  Please make sure you have the necessary drivers for one of the following supported Database Types: MySQL, MS SQLServer, Oracle, or DB2.  You might need to uncomment the extension in the php.ini file, or recompile with the right binary file, depending on your version of PHP.  Please refer to your PHP Manual for more information on how to enable Database Support.'</code>
    </DuplicateArrayKey>
  </file>
  <file src="install/license.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_version, $js_custom_version;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="23">
      <code>$current_language</code>
      <code>$help_url</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$next_step</code>
      <code>$next_step</code>
      <code>$sugar_md</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/licenseKey.php">
    <UndefinedGlobalVariable occurrences="21">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$next_step</code>
      <code>$next_step</code>
      <code>$next_step</code>
      <code>$sugar_md</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/performSetup.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $moduleList;</code>
    </InvalidGlobal>
    <MissingFile occurrences="1">
      <code>require_once("config_override.php")</code>
    </MissingFile>
    <RedundantCondition occurrences="9">
      <code>$new_config</code>
      <code>$new_config</code>
      <code>$new_report</code>
      <code>$new_report</code>
      <code>$new_report</code>
      <code>$new_report</code>
      <code>$new_tables</code>
      <code>$new_tables</code>
      <code>strpos($server_software, 'Microsoft-IIS') !== false</code>
    </RedundantCondition>
    <UndefinedGlobalVariable occurrences="13">
      <code>$beanFiles</code>
      <code>$beanFiles</code>
      <code>$common</code>
      <code>$css</code>
      <code>$help_url</code>
      <code>$icon</code>
      <code>$loginImage</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$sugar_md</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/populateSeedData.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_list_strings;</code>
      <code>global $sugar_config;</code>
      <code>global $sugar_demodata;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="2">
      <code>$sugar_config['create_default_user']</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="64">
      <code>createEmailAddress()</code>
      <code>createEmailAddress()</code>
      <code>createEmailAddress()</code>
      <code>createEmailAddress()</code>
      <code>createEmailAddress()</code>
      <code>createEmailAddress()</code>
      <code>createEmailAddress()</code>
      <code>createWebAddress()</code>
      <code>create_date()</code>
      <code>create_date()</code>
      <code>create_date()</code>
      <code>create_date()</code>
      <code>create_past_date()</code>
      <code>create_phone_number()</code>
      <code>create_phone_number()</code>
      <code>create_phone_number()</code>
      <code>create_phone_number()</code>
      <code>create_phone_number()</code>
      <code>create_phone_number()</code>
      <code>create_phone_number()</code>
      <code>create_phone_number()</code>
      <code>create_phone_number()</code>
      <code>create_phone_number()</code>
      <code>create_time()</code>
      <code>create_time()</code>
      <code>create_time()</code>
      <code>create_time()</code>
      <code>create_time()</code>
      <code>installLog("DemoData: Companies + Related Calls, Notes Meetings and Bugs")</code>
      <code>installLog("DemoData: ConsoleConfiguration")</code>
      <code>installLog("DemoData: Contacts")</code>
      <code>installLog("DemoData: Contracts")</code>
      <code>installLog("DemoData: Creating Users")</code>
      <code>installLog("DemoData: Data Privacy")</code>
      <code>installLog("DemoData: Done Companies + Related Calls, Notes Meetings and Bugs")</code>
      <code>installLog("DemoData: Done ConsoleConfiguration")</code>
      <code>installLog("DemoData: Done Contacts")</code>
      <code>installLog("DemoData: Done Contracts")</code>
      <code>installLog("DemoData: Done Creating Users")</code>
      <code>installLog("DemoData: Done Data Privacy")</code>
      <code>installLog("DemoData: Done Email Templates")</code>
      <code>installLog("DemoData: Done Ent Reports")</code>
      <code>installLog("DemoData: Done Forecasts")</code>
      <code>installLog("DemoData: Done KB")</code>
      <code>installLog("DemoData: Done Leads")</code>
      <code>installLog("DemoData: Done Opportunities")</code>
      <code>installLog("DemoData: Done Products Metadata")</code>
      <code>installLog("DemoData: Done Teams")</code>
      <code>installLog("DemoData: Done Time Periods")</code>
      <code>installLog("DemoData: Done VisualPipeline")</code>
      <code>installLog("DemoData: Email Templates")</code>
      <code>installLog("DemoData: Ent Reports")</code>
      <code>installLog("DemoData: Forecasts")</code>
      <code>installLog("DemoData: KB")</code>
      <code>installLog("DemoData: Leads")</code>
      <code>installLog("DemoData: Opportunities")</code>
      <code>installLog("DemoData: Products Metadata")</code>
      <code>installLog("DemoData: Products")</code>
      <code>installLog("DemoData: Quotes")</code>
      <code>installLog("DemoData: Teams")</code>
      <code>installLog("DemoData: Time Periods")</code>
      <code>installLog("DemoData: VisualPipeline")</code>
      <code>installLog('DemoData: Done with set up Opp forecast fields')</code>
      <code>installLog('DemoData: Set up Opp forecast fields')</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="6">
      <code>$current_language</code>
      <code>$current_language</code>
      <code>$current_language</code>
      <code>$current_language</code>
      <code>$current_language</code>
      <code>$current_language</code>
    </UndefinedGlobalVariable>
    <UndefinedPropertyAssignment occurrences="28">
      <code>$bug-&gt;portal_viewable</code>
      <code>$case-&gt;portal_viewable</code>
      <code>$case-&gt;type</code>
      <code>$contact-&gt;preferred_language</code>
      <code>$contact-&gt;preferred_language</code>
      <code>$email-&gt;duration_minutes</code>
      <code>$kbdocContent-&gt;assigned_user_id</code>
      <code>$kbdocContent-&gt;assigned_user_name</code>
      <code>$kbdocContent-&gt;category_id</code>
      <code>$kbdocContent-&gt;kbdocument_body</code>
      <code>$kbdocContent-&gt;name</code>
      <code>$kbdocContent-&gt;notuseful</code>
      <code>$kbdocContent-&gt;tag</code>
      <code>$kbdocContent-&gt;team_id</code>
      <code>$kbdocContent-&gt;useful</code>
      <code>$lead-&gt;billing_address_state</code>
      <code>$lead-&gt;billing_address_state</code>
      <code>$lead-&gt;converted</code>
      <code>$manufacturer-&gt;list_order</code>
      <code>$note-&gt;assigned_user_name</code>
      <code>$shipper-&gt;list_order</code>
      <code>$taxrate-&gt;disable_num_format</code>
      <code>$taxrate-&gt;list_order</code>
      <code>$template-&gt;renewable</code>
      <code>$template-&gt;service</code>
      <code>$template-&gt;service_duration_unit</code>
      <code>$template-&gt;service_duration_value</code>
      <code>$type-&gt;list_order</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="install/ready.php">
    <UndefinedGlobalVariable occurrences="23">
      <code>$help_url</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$next_step</code>
      <code>$sugar_md</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/register.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="12">
      <code>$common</code>
      <code>$css</code>
      <code>$icon</code>
      <code>$loginImage</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$sugar_md</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/seed_data/Advanced_Password_SeedData.php">
    <InvalidGlobal occurrences="3">
      <code>global $mod_strings;</code>
      <code>global $sugar_config;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <MissingFile occurrences="1">
      <code>require('config.php')</code>
    </MissingFile>
    <UndefinedPropertyAssignment occurrences="2">
      <code>$EmailTemp-&gt;type</code>
      <code>$EmailTemp-&gt;type</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="install/seed_data/Email_Notification_SeedData.php">
    <InvalidGlobal occurrences="2">
      <code>global $mod_strings;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <MissingFile occurrences="1">
      <code>require 'config.php'</code>
    </MissingFile>
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$emailTemp-&gt;type</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="install/seed_data/PdfManager_SeedData.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $installer_mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="4">
      <code>to_html($ss-&gt;fetch('modules/PdfManager/tpls/templateInvoice.tpl'))</code>
      <code>to_html($ss-&gt;fetch('modules/PdfManager/tpls/templateInvoice.tpl'))</code>
      <code>to_html($ss-&gt;fetch('modules/PdfManager/tpls/templateQuote.tpl'))</code>
      <code>to_html($ss-&gt;fetch('modules/PdfManager/tpls/templateQuote.tpl'))</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="4">
      <code>$pdfTemplate-&gt;author</code>
      <code>$pdfTemplate-&gt;author</code>
      <code>$pdfTemplate-&gt;author</code>
      <code>$pdfTemplate-&gt;author</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="install/seed_data/entreport_SeedData.php">
    <UndefinedGlobalVariable occurrences="11">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/seed_data/products_SeedData.php">
    <InvalidGlobal occurrences="1">
      <code>global $serviceCount;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($dollar_id)</code>
    </TypeDoesNotContainType>
    <UndefinedPropertyAssignment occurrences="4">
      <code>$template-&gt;renewable</code>
      <code>$template-&gt;service</code>
      <code>$template-&gt;service_duration_unit</code>
      <code>$template-&gt;service_duration_value</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="install/seed_data/quotes_SeedData.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $sugar_demodata;</code>
    </InvalidGlobal>
    <UndefinedPropertyAssignment occurrences="2">
      <code>$pb-&gt;team_id</code>
      <code>$product-&gt;service_start_date</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="install/siteConfig_a.php">
    <UndefinedFunction occurrences="1">
      <code>getDbConnection()</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="24">
      <code>$help_url</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$next_step</code>
      <code>$sugar_md</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/siteConfig_b.php">
    <UndefinedGlobalVariable occurrences="27">
      <code>$help_url</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$next_step</code>
      <code>$sugar_md</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/systemOptions.php">
    <UndefinedGlobalVariable occurrences="16">
      <code>$help_url</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$next_step</code>
      <code>$sugar_md</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="install/welcome.php">
    <UndefinedGlobalVariable occurrences="16">
      <code>$current_language</code>
      <code>$help_url</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$next_step</code>
      <code>$setup_sugar_version</code>
      <code>$setup_sugar_version</code>
      <code>$sugar_md</code>
      <code>$supportedLanguages</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="json_server.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="jssource/jsmin.php">
    <UndefinedFunction occurrences="1">
      <code>jsmin($this-&gt;text)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;compression</code>
      <code>$this-&gt;text</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;text</code>
      <code>$this-&gt;text</code>
      <code>$this-&gt;text</code>
      <code>$this-&gt;text</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="jssource/minify.php">
    <DuplicateFunction occurrences="1">
      <code>function sugar_cached($dir) { return "cache/$dir"; }</code>
    </DuplicateFunction>
    <InvalidArgument occurrences="1">
      <code>$_REQUEST['force_rebuild']</code>
    </InvalidArgument>
    <RedundantCondition occurrences="2">
      <code>!$forceReb &amp;&amp; $_REQUEST['js_rebuild_concat'] == 'rebuild'</code>
      <code>$argv[2] == '-?'</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="11">
      <code>$argv[2] == '-c'</code>
      <code>$argv[2] == '-c'</code>
      <code>$argv[2] == '-co'</code>
      <code>$argv[2] == '-co'</code>
      <code>$argv[2] == '-m'</code>
      <code>$argv[2] == '-m'</code>
      <code>$argv[2] == '-mo'</code>
      <code>$argv[2] == '-mo'</code>
      <code>$argv[2] == '-r'</code>
      <code>$argv[2] == '-r'</code>
      <code>empty($from)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="jssource/minify_utils.php">
    <RedundantCondition occurrences="6">
      <code>strpos($from_path, '-min.js') !== FALSE</code>
      <code>strpos($from_path, '.min.js') !== FALSE</code>
      <code>strpos($from_path, 'bootstrap') !== FALSE</code>
      <code>strpos($newLine, '*/') !== false</code>
      <code>strpos($newLine, '*/')!== false</code>
      <code>strpos($newLine, '/*')!== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>$jpos===false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/ACL/ACLJSController.php">
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;form</code>
      <code>$this-&gt;is_owner</code>
      <code>$this-&gt;module</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;is_owner</code>
      <code>$this-&gt;module</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ACL/List.php">
    <MissingFile occurrences="2">
      <code>require_once('modules/ACL/Roles/ListUsers.php')</code>
      <code>require_once('modules/ACL/Roles/ListView.php')</code>
    </MissingFile>
  </file>
  <file src="modules/ACL/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ACL/Save.php">
    <MissingFile occurrences="1">
      <code>require_once('modules/ACL/Roles/Save.php')</code>
    </MissingFile>
  </file>
  <file src="modules/ACL/SugarACLStatic.php">
    <ParamNameMismatch occurrences="1">
      <code>$action</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/ACL/install_actions.php">
    <InvalidArgument occurrences="2">
      <code>$createACL</code>
      <code>$installed_classes[$class]</code>
    </InvalidArgument>
    <InvalidGlobal occurrences="1">
      <code>global $current_user,$beanList, $beanFiles, $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ACLActions/ACLAction.php">
    <RedundantCondition occurrences="1">
      <code>isset($type)</code>
    </RedundantCondition>
    <TooManyArguments occurrences="1">
      <code>self::getAllActionsWithOverride($overridden_actions, '', '', '')</code>
    </TooManyArguments>
    <TypeDoesNotContainNull occurrences="1">
      <code>isset($action)</code>
    </TypeDoesNotContainNull>
  </file>
  <file src="modules/ACLActions/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ACLFields/ACLField.php">
    <InvalidArgument occurrences="1">
      <code>$required</code>
    </InvalidArgument>
    <TypeDoesNotContainType occurrences="1">
      <code>$GLOBALS['dictionary'][$object]=== false</code>
    </TypeDoesNotContainType>
    <UndefinedPropertyAssignment occurrences="4">
      <code>$acl-&gt;aclaccess</code>
      <code>$acl-&gt;category</code>
      <code>$acl-&gt;name</code>
      <code>$acl-&gt;role_id</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/ACLFields/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ACLFields/clients/base/menus/header/header.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_string;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ACLRoles/DetailUserRole.php">
    <InvalidArgument occurrences="1">
      <code>$hideTeams</code>
    </InvalidArgument>
    <InvalidGlobal occurrences="2">
      <code>global $app_list_strings, $app_strings, $current_user;</code>
      <code>global $modInvisList;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($hideTeams)</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle( '',array($mod_strings['LBL_MODULE_NAME'],$mod_strings['LBL_ROLES_SUBPANEL_TITLE']), '')</code>
    </UndefinedFunction>
  </file>
  <file src="modules/ACLRoles/DetailView.php">
    <InvalidGlobal occurrences="1">
      <code>global $dictionary;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1"/>
    <UndefinedGlobalVariable occurrences="14">
      <code>$app_list_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/ACLRoles/EditRole.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings, $modInvisList;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1"/>
    <UndefinedGlobalVariable occurrences="2">
      <code>$app_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/ACLRoles/EditView.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle('ACLRoles', $params, true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="9">
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/ACLRoles/ListUsers.php">
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'],array($mod_strings['LBL_MODULE_NAME']), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="2">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/ACLRoles/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ACLRoles/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/ACLRoles/Save.php">
    <UndefinedPropertyAssignment occurrences="2">
      <code>$role-&gt;description</code>
      <code>$role-&gt;name</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/ACLRoles/SeedRoles.php">
    <UndefinedFunction occurrences="1">
      <code>addDefaultRoles(getMLARoles())</code>
    </UndefinedFunction>
  </file>
  <file src="modules/ACLRoles/metadata/popupdefs.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Accounts/Account.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/Accounts/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $app_strings, $sugar_config;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Accounts/metadata/additionalDetails.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Accounts/metadata/popupdefs.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Accounts/views/view.detail.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_strings;</code>
      <code>global $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Activities/EmailReminder.php">
    <UndefinedPropertyAssignment occurrences="2">
      <code>$bean-&gt;email_reminder_sent</code>
      <code>$bean-&gt;email_reminder_sent</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Activities/Forms.php">
    <MissingFile occurrences="1">
      <code>require_once('modules/Calendar/Forms.php')</code>
    </MissingFile>
  </file>
  <file src="modules/Activities/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $mod_strings, $app_strings;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Activities/OpenListView.php">
    <InvalidGlobal occurrences="9">
      <code>global $app_strings;</code>
      <code>global $click_bg;</code>
      <code>global $currentModule, $theme, $focus, $action, $open_status;</code>
      <code>global $current_language;</code>
      <code>global $even_bg;</code>
      <code>global $hilite_bg;</code>
      <code>global $odd_bg;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>get_form_header($current_module_strings['LBL_UPCOMING'], $current_module_strings['LBL_TODAY'].$day_filter.' ('.$timedate-&gt;to_display_date($later, false).') ', false)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="20">
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Activities/SetAcceptStatus.php">
    <InvalidGlobal occurrences="1">
      <code>global $json,$current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Activities/SubPanelView.php">
    <InvalidGlobal occurrences="16">
      <code>global $action;</code>
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $click_bg;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $even_bg;</code>
      <code>global $focus;</code>
      <code>global $focus_calls_list;</code>
      <code>global $focus_emails_list;</code>
      <code>global $focus_meetings_list;</code>
      <code>global $focus_tasks_list;</code>
      <code>global $hilite_bg;</code>
      <code>global $odd_bg;</code>
      <code>global $theme;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>get_form_header($current_module_strings['LBL_HISTORY'], $button, false)</code>
      <code>get_form_header($current_module_strings['LBL_OPEN_ACTIVITIES'], $button, false)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="4">
      <code>$focus_notes_list</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/ActivityStream/Activities/ActivityErasure.php">
    <InvalidArgument occurrences="2">
      <code>!empty($tag['id'])</code>
      <code>!empty($tag['id'])</code>
    </InvalidArgument>
    <TypeDoesNotContainType occurrences="1">
      <code>$contentEnd === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/ActivityStream/Subscriptions/Subscription.php">
    <UndefinedVariable occurrences="1">
      <code>$record</code>
    </UndefinedVariable>
  </file>
  <file src="modules/ActivityStream/clients/base/api/ActivitiesApi.php">
    <ParamNameMismatch occurrences="1">
      <code>$record</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="2">
      <code>$record-&gt;id</code>
      <code>$record-&gt;id</code>
    </RedundantCondition>
    <TooManyArguments occurrences="1">
      <code>execute</code>
    </TooManyArguments>
  </file>
  <file src="modules/Administration/Administration.php">
    <InvalidGlobal occurrences="1">
      <code>global $moduleList;</code>
    </InvalidGlobal>
    <InvalidScalarArgument occurrences="1">
      <code>$var</code>
    </InvalidScalarArgument>
  </file>
  <file src="modules/Administration/Async.php">
    <InvalidArrayOffset occurrences="1">
      <code>$ids[]</code>
    </InvalidArrayOffset>
    <UndefinedFunction occurrences="1">
      <code>from_html($_REQUEST['id'])</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Administration/ClearAdditionalCache.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config, $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Administration/ClearPDFFontCache.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Administration/Common.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>mkdir_recursive($dir)</code>
      <code>sugar_cache_clear($cache_key)</code>
      <code>sugar_cache_clear($cache_key)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Administration/CustomizeFields.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $gridline;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle('Customize Fields', array('Customize Fields'), false)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$moduleList</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/Diagnostic.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_user;</code>
      <code>global $db;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1"/>
  </file>
  <file src="modules/Administration/DiagnosticDelete.php">
    <UndefinedFunction occurrences="1"/>
    <UndefinedGlobalVariable occurrences="7">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/DiagnosticDownload.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Administration/DiagnosticRun.php">
    <InvalidGlobal occurrences="19">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $beanFiles;</code>
      <code>global $cacheDir;</code>
      <code>global $curdatetime;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $currentitems;</code>
      <code>global $db;</code>
      <code>global $getDumpsFrom;</code>
      <code>global $mod_strings;</code>
      <code>global $progress_bar_percent;</code>
      <code>global $skip_md5_diff;</code>
      <code>global $sod_guid;</code>
      <code>global $sugar_config;</code>
      <code>global $sugar_flavor;</code>
      <code>global $sugar_version;</code>
      <code>global $totalitems;</code>
      <code>global $totalweight;</code>
    </InvalidGlobal>
    <MissingFile occurrences="1">
      <code>include( 'files.md5')</code>
    </MissingFile>
    <RedundantCondition occurrences="4">
      <code>!$skip_md5_diff</code>
      <code>!$skip_md5_diff</code>
      <code>$skip_md5_diff</code>
      <code>$skip_md5_diff</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>$currentitems == $totalitems</code>
      <code>$currentitems == $totalitems</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1"/>
    <UndefinedVariable occurrences="1">
      <code>$md5_string</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Administration/DisplayWarnings.php">
    <RedundantCondition occurrences="1">
      <code>strpos($_SERVER["SERVER_SOFTWARE"],'Microsoft-IIS') !== false</code>
    </RedundantCondition>
    <UndefinedGlobalVariable occurrences="6">
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$sugar_config</code>
      <code>$sugar_version</code>
      <code>$sugar_version</code>
      <code>$timedate</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/LicenseSettings.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <TooFewArguments occurrences="1">
      <code>checkDownloadKey()</code>
    </TooFewArguments>
    <UndefinedFunction occurrences="2">
      <code>getClassicModuleTitle("Administration", array("{MOD.LBL_MANAGE_LICENSE}"), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$license</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/Locale.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user, $sugar_config;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1"/>
    <UndefinedGlobalVariable occurrences="10">
      <code>$app_list_strings</code>
      <code>$app_strings</code>
      <code>$locale</code>
      <code>$locale</code>
      <code>$locale</code>
      <code>$locale</code>
      <code>$locale</code>
      <code>$locale</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/PasswordManager.php">
    <InvalidArgument occurrences="1">
      <code>$certData</code>
    </InvalidArgument>
    <UndefinedFunction occurrences="1"/>
    <UndefinedGlobalVariable occurrences="5">
      <code>$app_list_strings</code>
      <code>$app_strings</code>
      <code>$current_user</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/QuickRepairAndRebuild.php">
    <RedundantCondition occurrences="1">
      <code>isset ($sql)</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="3">
      <code>getClassicModuleTitle($mod_strings['LBL_REPAIR_DATABASE'], array($mod_strings['LBL_REPAIR_DATABASE']), false)</code>
      <code>sugar_cache_clear('app_list_strings.'.$language)</code>
      <code>sugar_cache_clear('app_strings.'.$language)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Administration/RebuildAudit.php">
    <InvalidGlobal occurrences="1">
      <code>global $beanFiles, $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Administration/RebuildConfig.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="1">
      <code>$sugar_version</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/RebuildExpressionPlugins.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Administration/RebuildJSLang.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $sugar_config;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/RebuildRelationship.php">
    <InvalidArgument occurrences="1">
      <code>$_REQUEST ['silent']</code>
    </InvalidArgument>
    <TypeDoesNotContainType occurrences="1">
      <code>empty ($_REQUEST ['silent'])</code>
    </TypeDoesNotContainType>
    <UndefinedGlobalVariable occurrences="1">
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/RebuildSchedulers.php">
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle('Administration', array($mod_strings['LBL_REBUILD_SCHEDULERS_TITLE']), false)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="5">
      <code>$current_language</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/RebuildSprites.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Administration/RebuildWorkFlow.php">
    <InvalidGlobal occurrences="3">
      <code>global $beanFiles;</code>
      <code>global $db;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Administration/RepairActivities.php">
    <InvalidGlobal occurrences="1">
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="2">
      <code>$current_user</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/RepairFieldCasing.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="2">
      <code>$current_user</code>
      <code>$repairClass</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/RepairIE.php">
    <UndefinedGlobalVariable occurrences="2">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/RepairIndex.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user, $beanFiles, $dictionary, $sugar_config, $mod_strings;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="3">
      <code>isset($_REQUEST['mode']) and $_REQUEST['mode']=='execute'</code>
      <code>isset($_REQUEST['mode']) and $_REQUEST['mode']=='execute'</code>
      <code>isset($_REQUEST['mode']) and $_REQUEST['mode']=='execute'</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>$_REQUEST['mode'] != 'execute'</code>
      <code>$_REQUEST['mode'] != 'execute'</code>
    </TypeDoesNotContainType>
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/RepairJSFile.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/RepairSeedUsers.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user, $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Administration/RepairXSS.php">
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle('Administration', array($mod_strings['LBL_REPAIRXSS_TITLE']), false)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="5">
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/Save.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Administration/SessionManager.php">
    <UndefinedFunction occurrences="1">
      <code>db_convert("'$time_diff'", 'datetime')</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Administration/SugarSpriteBuilder.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <MissingDocblockType occurrences="1">
      <code>public function createSprites() {</code>
    </MissingDocblockType>
    <TypeDoesNotContainType occurrences="1">
      <code>count($sprites_config)</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>logThis($msg, $GLOBALS['path'])</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Administration/SupportPortal.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1"/>
  </file>
  <file src="modules/Administration/Updater.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1"/>
  </file>
  <file src="modules/Administration/Upgrade.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_user;</code>
      <code>global $gridline;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="2">
      <code>!empty($GLOBALS['sugar_config']['use_sprites']) &amp;&amp; $GLOBALS['sugar_config']['use_sprites']</code>
      <code>$GLOBALS['sugar_config']['use_sprites']</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($server_software,'Microsoft-IIS') === false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_UPGRADE_TITLE']), false)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Administration/UpgradeAccess.php">
    <InvalidGlobal occurrences="2">
      <code>global $mod_strings;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Administration/UpgradeFields.php">
    <InvalidGlobal occurrences="1">
      <code>global $db, $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Administration/UpgradeWizard.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1"/>
  </file>
  <file src="modules/Administration/clear_chart_cache.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config, $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>findAllFiles($search_dir.'/xml', array() )</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Administration/clients/base/api/AdministrationApi.php">
    <InvalidIterator occurrences="1">
      <code>$GLOBALS['system_notification_buffer']</code>
    </InvalidIterator>
    <RedundantCondition occurrences="1">
      <code>$bwcIndex !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>$linkBwcIndex === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Administration/clients/base/api/AuthSettingsApi.php">
    <RedundantCast occurrences="1">
      <code>(string)$this-&gt;getLdapServer($config)</code>
    </RedundantCast>
  </file>
  <file src="modules/Administration/clients/base/api/DenormalizationApi.php">
    <RedundantCondition occurrences="2">
      <code>(array) $fieldLists['denormalized']</code>
      <code>(array) $fieldLists['not_denormalized']</code>
    </RedundantCondition>
    <TypeDoesNotContainNull occurrences="2">
      <code>[]</code>
      <code>[]</code>
    </TypeDoesNotContainNull>
  </file>
  <file src="modules/Administration/clients/base/api/handlers/CspConfigApiHandler.php">
    <RedundantCondition occurrences="1">
      <code>empty($directives)</code>
    </RedundantCondition>
  </file>
  <file src="modules/Administration/controller.php">
    <UndefinedVariable occurrences="3">
      <code>$app_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Administration/index.php">
    <InvalidGlobal occurrences="5">
      <code>global $admin_group_header;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $current_user;</code>
      <code>global $sugar_flavor;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>get_form_header(translate($values[0],'Administration'),$values[1],$values[2])</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Administration/metadata/adminpaneldefs.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user,$admin_group_header;</code>
    </InvalidGlobal>
    <MissingFile occurrences="1">
      <code>include 'custom/modules/Administration/Ext/Administration/administration.ext.php'</code>
    </MissingFile>
  </file>
  <file src="modules/Administration/repairDatabase.php">
    <InvalidArgument occurrences="1">
      <code>$hideModuleMenu</code>
    </InvalidArgument>
    <InvalidGlobal occurrences="1">
      <code>global $current_user, $beanFiles, $mod_strings;</code>
    </InvalidGlobal>
    <InvalidScope occurrences="2">
      <code>$this</code>
      <code>$this</code>
    </InvalidScope>
    <RedundantCondition occurrences="1">
      <code>isset($sql)</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($hideModuleMenu)</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_REPAIR_DATABASE'], array($mod_strings['LBL_REPAIR_DATABASE']), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="2">
      <code>$dictionary</code>
      <code>$dictionary</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/repairSelectModule.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_language;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="1">
      <code>$beanList</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/repairUniSearch.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config, $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Administration/updater_utils.php">
    <RedundantCondition occurrences="3">
      <code>$systemStatus</code>
      <code>$systemStatus</code>
      <code>is_array($licenseSettings)</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="5">
      <code>sugarDecode($key,$encodedResult)</code>
      <code>sugarDecode('validation', $licenseSettings['license_validation_key'])</code>
      <code>sugarEncode($key, serialize($info))</code>
      <code>sugar_cache_put('api_system_status',$systemStatus)</code>
      <code>sugar_cache_retrieve('api_system_status')</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Administration/upgradeTeams.php">
    <UndefinedGlobalVariable occurrences="5">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Administration/views/view.apiplatforms.php">
    <MissingFile occurrences="1">
      <code>require $file_loc</code>
    </MissingFile>
    <UndefinedFunction occurrences="1"/>
  </file>
  <file src="modules/Administration/views/view.cloudinsights.php">
    <UndefinedFunction occurrences="1"/>
  </file>
  <file src="modules/Administration/views/view.configureshortcutbar.php">
    <UndefinedFunction occurrences="1"/>
    <UndefinedVariable occurrences="1">
      <code>$viewdefs</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Administration/views/view.enablewirelessmodules.php">
    <UndefinedFunction occurrences="1"/>
    <UndefinedGlobalVariable occurrences="2">
      <code>$wireless_module_registry</code>
      <code>$wireless_module_registry</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/ArchiveRuns/vardefs.php">
    <DuplicateArrayKey occurrences="1">
      <code>'full_text_search' =&gt; false</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/Audit/Audit.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_list_strings;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="6">
      <code>!empty($genericAssocFieldsArray)</code>
      <code>!empty($moduleAssocFieldsArray)</code>
      <code>is_array($genericAssocFieldsArray)</code>
      <code>is_array($moduleAssocFieldsArray)</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;team_id</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Audit/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/Audit/clients/base/api/AuditApi.php">
    <UndefinedMethod occurrences="2">
      <code>getAuditLogChunk</code>
      <code>getAuditLogChunk</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Audit/field_assoc.php">
    <InvalidGlobal occurrences="2">
      <code>global $genericAssocFieldsArray;</code>
      <code>global $moduleAssocFieldsArray;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Audit/vardefs.php">
    <DuplicateArrayKey occurrences="1"/>
  </file>
  <file src="modules/Bugs/Bug.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/Bugs/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings,$app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Bugs/metadata/additionalDetails.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/BusinessCenters/BusinessCenter.php">
    <RedundantCast occurrences="1">
      <code>strtolower</code>
    </RedundantCast>
  </file>
  <file src="modules/Calendar/CalendarActivity.php">
    <RedundantCondition occurrences="5">
      <code>empty($act)</code>
      <code>empty($act)</code>
      <code>empty($act)</code>
      <code>empty($act)</code>
      <code>strpos($table_name,'task')!==false</code>
    </RedundantCondition>
  </file>
  <file src="modules/Calendar/CalendarBWC.php">
    <InvalidOperand occurrences="4">
      <code>$hour_end</code>
      <code>$hour_start</code>
      <code>$minute_end</code>
      <code>$minute_start</code>
    </InvalidOperand>
    <InvalidScalarArgument occurrences="2">
      <code>$date_arr['day']</code>
      <code>$date_arr['month']</code>
    </InvalidScalarArgument>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($_REQUEST['year'])</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Calendar/CalendarDisplay.php">
    <InvalidOperand occurrences="2">
      <code>$d_end_hour</code>
      <code>$d_start_hour</code>
    </InvalidOperand>
    <RedundantCondition occurrences="1">
      <code>strpos($time_format, '23') !== false</code>
    </RedundantCondition>
    <StringIncrement occurrences="1">
      <code>$i</code>
    </StringIncrement>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;cal</code>
      <code>$this-&gt;dashlet_id</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="9">
      <code>$this-&gt;cal</code>
      <code>$this-&gt;cal</code>
      <code>$this-&gt;cal</code>
      <code>$this-&gt;cal</code>
      <code>$this-&gt;cal</code>
      <code>$this-&gt;cal</code>
      <code>$this-&gt;cal</code>
      <code>$this-&gt;cal</code>
      <code>$this-&gt;cal</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="2">
      <code>$match</code>
      <code>$time_separator</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Calendar/CalendarUtils.php">
    <InvalidOperand occurrences="2">
      <code>$dtmStart-&gt;format('H')</code>
      <code>$dtmStart-&gt;format('i')</code>
    </InvalidOperand>
    <RedundantCondition occurrences="1">
      <code>strpos($dow,(string)($day_index)) !== false</code>
    </RedundantCondition>
    <UndefinedMethod occurrences="2">
      <code>get_call_users</code>
      <code>get_meeting_users</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="9">
      <code>$bean-&gt;parent_name</code>
      <code>$clone-&gt;date_end</code>
      <code>$clone-&gt;date_end</code>
      <code>$clone-&gt;date_start</code>
      <code>$clone-&gt;date_start</code>
      <code>$clone-&gt;recurring_source</code>
      <code>$clone-&gt;repeat_parent_id</code>
      <code>$clone-&gt;send_invites</code>
      <code>$clone-&gt;update_vcal</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Calendar/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Calendar/clients/base/api/CalendarApi.php">
    <ImplicitToStringCast occurrences="2">
      <code>$eventEnd</code>
      <code>$eventStart</code>
    </ImplicitToStringCast>
    <RedundantCondition occurrences="7">
      <code>!empty($matchedFields) &amp;&amp; is_array($matchedFields)</code>
      <code>$dateTimeObject</code>
      <code>$dateTimeObject</code>
      <code>is_array($calendarModulesInDb)</code>
      <code>is_array($dblClickAction)</code>
      <code>is_array($dblClickAction)</code>
      <code>is_array($matchedFields)</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>is_array($invitees[$inviteesValue[$options['eventColumnName']]])</code>
    </TypeDoesNotContainType>
    <UndefinedMethod occurrences="2">
      <code>setIntervalType</code>
      <code>setIntervalType</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="2">
      <code>$calendarBean-&gt;duration_hours</code>
      <code>$calendarBean-&gt;duration_minutes</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;logger</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="6">
      <code>$this-&gt;logger</code>
      <code>$this-&gt;logger</code>
      <code>$this-&gt;logger</code>
      <code>$this-&gt;logger</code>
      <code>$this-&gt;logger</code>
      <code>$this-&gt;logger</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Calendar/controller.php">
    <InvalidGlobal occurrences="1">
      <code>global $timedate;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="2">
      <code>!empty($_REQUEST['remove_all_recurrences']) &amp;&amp; $_REQUEST['remove_all_recurrences']</code>
      <code>$_REQUEST['remove_all_recurrences']</code>
    </RedundantCondition>
  </file>
  <file src="modules/Calendar/index.php">
    <InvalidGlobal occurrences="2">
      <code>global $cal_strings, $current_language;</code>
      <code>global $shared_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Calendar/language/en_us.lang.php">
    <DuplicateArrayKey occurrences="3">
      <code>'LBL_EVENT_END' =&gt; 'End'</code>
      <code>'LBL_MAY' =&gt; 'May'</code>
      <code>'LBL_SUBJECT' =&gt; 'Subject'</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/Calendar/views/view.quickedit.php">
    <TooFewArguments occurrences="1">
      <code>new EditView()</code>
    </TooFewArguments>
    <TooManyArguments occurrences="2">
      <code>display</code>
      <code>process</code>
    </TooManyArguments>
    <UndefinedMethod occurrences="1">
      <code>setup</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="4">
      <code>$this-&gt;ev-&gt;defs</code>
      <code>$this-&gt;ev-&gt;defs</code>
      <code>$this-&gt;ev-&gt;formName</code>
      <code>$this-&gt;ev-&gt;view</code>
    </UndefinedPropertyAssignment>
    <UndefinedPropertyFetch occurrences="1">
      <code>$this-&gt;ev-&gt;defs</code>
    </UndefinedPropertyFetch>
  </file>
  <file src="modules/Calendar_iCals/Calendar_iCal.php">
    <InvalidClass occurrences="1">
      <code>Timedate</code>
    </InvalidClass>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$calendarApi-&gt;export</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Calendar_iCals/HTTP_WebDAV_Server_Calendar_iCal.php">
    <UndefinedMethod occurrences="1">
      <code>getPreference</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;calendars_uid</code>
      <code>$this-&gt;ical_publish_key</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;user_focus</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Calls/Call.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;repeat_days</code>
      <code>$this-&gt;repeat_dow</code>
      <code>$this-&gt;repeat_ordinal</code>
      <code>$this-&gt;repeat_unit</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Calls/CallFormBase.php">
    <InvalidGlobal occurrences="4">
      <code>global $current_language;</code>
      <code>global $current_language;</code>
      <code>global $current_language;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="4">
      <code>get_left_form_footer()</code>
      <code>get_left_form_header($mod_strings['LBL_NEW_FORM_TITLE'])</code>
      <code>get_left_form_header($title)</code>
      <code>get_validate_record_js()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Calls/CallHelper.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Calls/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings,$app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Calls/SubPanelViewInvitees.php">
    <InvalidGlobal occurrences="9">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $focus;</code>
      <code>global $focus_contacts_list;</code>
      <code>global $focus_users_list;</code>
      <code>global $locale;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>get_form_header($mod_strings['LBL_INVITEES'], $button, false)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Calls/metadata/additionalDetails.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Calls/views/view.list.php">
    <TypeDoesNotContainType occurrences="1">
      <code>$_REQUEST['search_form_only'] == false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/CampaignLog/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/CampaignLog/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/CampaignTrackers/DetailView.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_strings;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME'],$focus-&gt;tracker_name), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/CampaignTrackers/EditView.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_version, $sugar_config;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($focus-&gt;module_dir, $params, true)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/CampaignTrackers/Forms.php">
    <UndefinedFunction occurrences="2">
      <code>get_left_form_footer()</code>
      <code>get_left_form_header($mod_strings['LBL_NEW_FORM_TITLE'])</code>
    </UndefinedFunction>
  </file>
  <file src="modules/CampaignTrackers/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Campaigns/Campaign.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="1">
      <code>strpos($query,'marketing_id') !== false</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;frequency</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Campaigns/CampaignDiagnostic.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>isset($mbox)</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1"/>
  </file>
  <file src="modules/Campaigns/Charts.php">
    <UndefinedFunction occurrences="1">
      <code>db_convert("amount_usdollar","IFNULL",array(0))</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Campaigns/Charts1.php">
    <MissingFile occurrences="1">
      <code>require_once('include/charts/Charts.php')</code>
    </MissingFile>
  </file>
  <file src="modules/Campaigns/EmailQueue.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Campaigns/GenerateWebToLeadForm.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_list_strings, $app_strings,$mod_strings;</code>
      <code>global $timedate;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <InvalidScalarArgument occurrences="1">
      <code>$redirectIncludeParams</code>
    </InvalidScalarArgument>
    <RedundantCondition occurrences="3">
      <code>isset($Web_To_Lead_Form_html)</code>
      <code>isset($bool_fields)</code>
      <code>isset($required_fields)</code>
    </RedundantCondition>
    <UndefinedGlobalVariable occurrences="1">
      <code>$sugar_config</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Campaigns/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Campaigns/PopupCampaignRoi.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedMethod occurrences="2">
      <code>campaign_response_roi_popup</code>
      <code>campaign_response_roi_popup</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Campaigns/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/Campaigns/ProcessBouncedEmails.php">
    <UndefinedFunction occurrences="5">
      <code>checkBouncedEmailForIdentifier($email_description)</code>
      <code>createBouncedCampaignLogEntry($row, $email, $email_description)</code>
      <code>getExistingCampaignLogEntry($identifier)</code>
      <code>markEmailAddressInvalid($row['more_information'])</code>
      <code>retrieveErrorReportAttachment($email)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Campaigns/ProspectLink.php">
    <RedundantCondition occurrences="2">
      <code>$bean_is_lhs</code>
      <code>$bean_is_lhs</code>
    </RedundantCondition>
  </file>
  <file src="modules/Campaigns/QueueCampaign.php">
    <InvalidGlobal occurrences="4">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $timedate;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Campaigns/RemoveMe.php">
    <InvalidGlobal occurrences="2">
      <code>global $beanFiles, $beanList, $current_user;</code>
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Campaigns/RoiDetailView.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $xtpl;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="8">
      <code>format_number(0)</code>
      <code>format_number(0)</code>
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME'],$focus-&gt;name), true)</code>
      <code>unformat_number($click_thru_links)</code>
      <code>unformat_number($focus-&gt;actual_cost)</code>
      <code>unformat_number($focus-&gt;actual_cost)</code>
      <code>unformat_number($focus-&gt;impressions)</code>
      <code>unformat_number($focus-&gt;impressions)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="2">
      <code>$gridline</code>
      <code>$theme</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Campaigns/Save.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Campaigns/Schedule.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $current_user;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>getClassicModuleTitle('Campaigns', array($current_module_strings['LBL_MODULE_SEND_EMAILS']), false)</code>
      <code>getClassicModuleTitle('Campaigns', array($current_module_strings['LBL_MODULE_SEND_TEST']), false)</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$ListView-&gt;mergeduplicates</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Campaigns/SubPanelViewer.php">
    <InvalidGlobal occurrences="4">
      <code>global $beanFiles;</code>
      <code>global $beanList;</code>
      <code>global $gridline;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer($theme)</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Campaigns/Subscriptions.php">
    <InvalidGlobal occurrences="2">
      <code>global $import_file_name, $theme;</code>
      <code>global $mod_strings, $app_list_strings, $app_strings, $current_user, $import_bean_map;</code>
    </InvalidGlobal>
    <InvalidScope occurrences="1">
      <code>$this</code>
    </InvalidScope>
  </file>
  <file src="modules/Campaigns/TrackDetailView.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $xtpl;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME'],$focus-&gt;name), true)</code>
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_NEWSLETTER'],$focus-&gt;name), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Campaigns/WebToLeadCapture.php">
    <InvalidArgument occurrences="1">
      <code>$GLOBALS['check_notify']</code>
    </InvalidArgument>
    <InvalidGlobal occurrences="1">
      <code>global $app_strings, $app_list_strings, $sugar_config, $timedate, $current_user;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>query_client_ip()</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="2">
      <code>$lead-&gt;email</code>
      <code>$lead-&gt;email</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Campaigns/WebToLeadCreation.php">
    <InvalidGlobal occurrences="4">
      <code>global $currentModule;</code>
      <code>global $import_file_name, $theme;</code>
      <code>global $mod_strings, $app_list_strings, $app_strings, $current_user, $import_bean_map;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <InvalidScope occurrences="2">
      <code>$this</code>
      <code>$this</code>
    </InvalidScope>
    <TooFewArguments occurrences="1">
      <code>new EditView</code>
    </TooFewArguments>
    <UndefinedGlobalVariable occurrences="1">
      <code>$sugar_config</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Campaigns/WebToLeadFormSave.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_strings;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Campaigns/WizardHome.php">
    <InvalidGlobal occurrences="10">
      <code>global $app_list_strings;</code>
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="2">
      <code>isset($steps)</code>
      <code>isset($steps)  &amp;&amp; !empty($steps)</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="3">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_CAMPAIGN_WIZARD'].$focus-&gt;name), true, false)</code>
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_CAMPAIGN_WIZARD_START_TITLE'].$focus-&gt;name), true, false)</code>
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_NEWSLETTER_WIZARD_START_TITLE'].$focus-&gt;name), true, false)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Campaigns/WizardMarketing.php">
    <InvalidGlobal occurrences="7">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $theme;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>$campaign_focus-&gt;campaign_type='NewsLetter'</code>
    </RedundantCondition>
    <TooManyArguments occurrences="1">
      <code>get_message_scope_dom($campaign_focus-&gt;id,$campaign_focus-&gt;name,$mrkt_focus-&gt;db)</code>
    </TooManyArguments>
    <UndefinedFunction occurrences="3">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_CAMPAIGN'].' '.$campaign_focus-&gt;name), true)</code>
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_NEWSLETTER WIZARD_TITLE'].' '.$campaign_focus-&gt;name), true)</code>
      <code>get_number_seperators()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Campaigns/WizardMarketingSave.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Campaigns/WizardNewsletter.php">
    <InvalidGlobal occurrences="10">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $odd_bg, $even_bg, $hilite_bg;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $theme;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_CAMPAIGN'].$focus-&gt;name), true, false)</code>
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_NEWSLETTER WIZARD_TITLE'].$focus-&gt;name), true, false)</code>
      <code>get_number_seperators()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Campaigns/WizardNewsletterSave.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Campaigns/metadata/additionalDetails.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Campaigns/metadata/listviewdefs.php">
    <InvalidGlobal occurrences="1">
      <code>global $theme, $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Campaigns/utils.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <MissingDocblockType occurrences="1">
      <code>function get_campaign_mailboxes(&amp;$emails, $get_name=true) {</code>
    </MissingDocblockType>
    <RedundantCondition occurrences="2">
      <code>strpos($news_list['list_type'],  'exempt')!== false</code>
      <code>strpos($subscription_list['list_type'], 'exempt') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainNull occurrences="1">
      <code>!isset($mbox)</code>
    </TypeDoesNotContainNull>
    <TypeDoesNotContainType occurrences="2">
      <code>empty($row)</code>
      <code>strpos($news_list['list_type'], 'exempt') === false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="4">
      <code>campaign_log_lead_or_contact_entry($campaign_id, $parent_bean,$child_bean,$activity_type)</code>
      <code>get_subscription_lists_query($focus, $descriptions)</code>
      <code>get_subscription_lists_query($focus, array('c.content', 'c.frequency'))</code>
      <code>write_mail_merge_log_entry($campaign_id,$row)</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="1">
      <code>$sugar_config</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Campaigns/vardefs.php">
    <DuplicateArrayKey occurrences="1">
      <code>'len' =&gt; 100</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/Cases/Case.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="8">
      <code>$this-&gt;business_hrs_to_first_response</code>
      <code>$this-&gt;first_response_actual_datetime</code>
      <code>$this-&gt;first_response_sla_met</code>
      <code>$this-&gt;first_response_target_datetime</code>
      <code>$this-&gt;first_response_user_id</code>
      <code>$this-&gt;first_response_var_from_target</code>
      <code>$this-&gt;hours_to_first_response</code>
      <code>$this-&gt;new_rel_id</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Cases/CasesApiHelper.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$bean-&gt;source</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Cases/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings,$app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Cases/metadata/additionalDetails.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Cases/upgrade/scripts/post/7_InstallAgentWorkbench.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;defaultDashboardInstaller</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Categories/Category.php">
    <InvalidThrow occurrences="2">
      <code>CategoriesExceptionInterface</code>
      <code>CategoriesExceptionInterface</code>
    </InvalidThrow>
    <NoInterfaceProperties occurrences="9">
      <code>$target-&gt;lft</code>
      <code>$target-&gt;lft</code>
      <code>$target-&gt;lft</code>
      <code>$target-&gt;lft</code>
      <code>$target-&gt;rgt</code>
      <code>$target-&gt;rgt</code>
      <code>$target-&gt;rgt</code>
      <code>$target-&gt;rgt</code>
      <code>$target-&gt;root</code>
    </NoInterfaceProperties>
    <RedundantCondition occurrences="1">
      <code>empty($this-&gt;id)</code>
    </RedundantCondition>
    <UndefinedInterfaceMethod occurrences="2">
      <code>addNode</code>
      <code>addNode</code>
    </UndefinedInterfaceMethod>
  </file>
  <file src="modules/Categories/clients/base/api/TreeApi.php">
    <InvalidArgument occurrences="2">
      <code>$bean</code>
      <code>$bean</code>
    </InvalidArgument>
    <NoInterfaceProperties occurrences="1">
      <code>$bean-&gt;id</code>
    </NoInterfaceProperties>
  </file>
  <file src="modules/Charts/DynamicAction.php">
    <UndefinedGlobalVariable occurrences="1">
      <code>$sugar_config</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/CommentLog/CommentLog.php">
    <TypeDoesNotContainType occurrences="1">
      <code>is_array($row)</code>
    </TypeDoesNotContainType>
    <UndefinedMethod occurrences="2">
      <code>canReceivePushNotifications</code>
      <code>getPreference</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="13">
      <code>$emailTemplate-&gt;body</code>
      <code>$emailTemplate-&gt;body</code>
      <code>$emailTemplate-&gt;body_html</code>
      <code>$emailTemplate-&gt;body_html</code>
      <code>$emailTemplate-&gt;subject</code>
      <code>$emailTemplate-&gt;subject</code>
      <code>$notification-&gt;assigned_user_id</code>
      <code>$notification-&gt;description</code>
      <code>$notification-&gt;is_read</code>
      <code>$notification-&gt;name</code>
      <code>$notification-&gt;parent_id</code>
      <code>$notification-&gt;parent_type</code>
      <code>$notification-&gt;severity</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;module</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/CommentLog/clients/base/api/CommentLogApi.php">
    <UndefinedMethod occurrences="1">
      <code>getRequest</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Configurator/Configurator.php">
    <MissingFile occurrences="2">
      <code>include 'config.php'</code>
      <code>include('config_override.php')</code>
    </MissingFile>
  </file>
  <file src="modules/Configurator/LogView.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Configurator/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Configurator/UploadFileCheck.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Configurator/metadata/SugarpdfSettingsdefs.php">
    <InternalMethod occurrences="4">
      <code>Blowfish::decode(Blowfish::getKey('sugarpdf_pdf_owner_password'), PDF_OWNER_PASSWORD)</code>
      <code>Blowfish::decode(Blowfish::getKey('sugarpdf_pdf_user_password'), PDF_USER_PASSWORD)</code>
      <code>Blowfish::getKey('sugarpdf_pdf_owner_password')</code>
      <code>Blowfish::getKey('sugarpdf_pdf_user_password')</code>
    </InternalMethod>
    <UndefinedGlobalVariable occurrences="33">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Configurator/views/view.sugarpdfsettings.php">
    <InternalClass occurrences="2">
      <code>Blowfish::encode(Blowfish::getKey($k), $_POST[$k])</code>
      <code>Blowfish::getKey($k)</code>
    </InternalClass>
    <InternalMethod occurrences="2">
      <code>Blowfish::encode(Blowfish::getKey($k), $_POST[$k])</code>
      <code>Blowfish::getKey($k)</code>
    </InternalMethod>
    <UndefinedConstant occurrences="6">
      <code>K_PATH_CUSTOM_IMAGES</code>
      <code>K_PATH_CUSTOM_IMAGES</code>
      <code>PDF_CLASS</code>
      <code>PDF_CLASS</code>
      <code>PDF_ENABLE_EZPDF</code>
      <code>PDF_ENABLE_EZPDF</code>
    </UndefinedConstant>
    <UndefinedFunction occurrences="2">
      <code>mkdir_recursive(K_PATH_CUSTOM_IMAGES)</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="1">
      <code>$SugarpdfSettings</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Connectors/ConnectorRecord.php">
    <UndefinedClass occurrences="1">
      <code>MergeRecord</code>
    </UndefinedClass>
  </file>
  <file src="modules/Connectors/InstallDefaultConnectors.php">
    <MissingFile occurrences="2">
      <code>require 'custom/modules/Connectors/metadata/connectors.php'</code>
      <code>require 'custom/modules/Connectors/metadata/display_config.php'</code>
    </MissingFile>
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive('custom/modules/Connectors/metadata')</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Connectors/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Connectors/controller.php">
    <MissingDependency occurrences="1">
      <code>ConnectorRecord</code>
    </MissingDependency>
    <RedundantCondition occurrences="2">
      <code>!empty($beans) &amp;&amp; !empty($mapping)</code>
      <code>!empty($beans) &amp;&amp; !empty($return_params)</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="4">
      <code>mkdir_recursive($dir)</code>
      <code>mkdir_recursive($dir)</code>
      <code>mkdir_recursive($dir)</code>
      <code>mkdir_recursive('custom/modules/Connectors/metadata')</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$results</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Connectors/tabs.php">
    <RedundantCondition occurrences="1">
      <code>! empty($tab['hidden']) &amp;&amp; $tab['hidden'] == true</code>
    </RedundantCondition>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;jscallback</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Connectors/views/view.retrievesource.php">
    <InvalidGlobal occurrences="1">
      <code>global $odd_bg, $even_bg, $hilite_bg, $click_bg;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="1">
      <code>$listViewDefs</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Connectors/views/view.step1.php">
    <TypeDoesNotContainType occurrences="1">
      <code>get_class($val) == 'SugarEmailAddress'</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Connectors/views/view.step2.php">
    <MissingDependency occurrences="1">
      <code>ConnectorRecord</code>
    </MissingDependency>
  </file>
  <file src="modules/ConsoleConfiguration/clients/base/api/ConsoleConfigDefaultMetaDataApi.php">
    <EmptyArrayAccess occurrences="1">
      <code>$viewdefs[$mod]</code>
    </EmptyArrayAccess>
  </file>
  <file src="modules/ConsoleConfiguration/clients/base/api/ConsoleConfigModuleApi.php">
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive(dirname($filename))</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Contacts/AcceptDecline.php">
    <InvalidGlobal occurrences="2">
      <code>global $currentModule, $focus;</code>
      <code>global $sugar_config, $dbconfig, $beanList, $beanFiles, $app_strings, $app_list_strings, $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Contacts/Contact.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="1">
      <code>strpos($order_by,'sync_contact') !== false</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>db_concat($this-&gt;table_name,array('first_name','last_name'))</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;cookie_consent_received_on</code>
      <code>$this-&gt;cookie_consent_received_on</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Contacts/ContactFormBase.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_language;</code>
      <code>global $current_language;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>get_left_form_footer()</code>
      <code>get_left_form_header($mod_strings['LBL_NEW_FORM_TITLE'])</code>
      <code>get_validate_record_js()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Contacts/ContactsApiHelper.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$bean-&gt;sync_contact</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Contacts/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $app_strings, $sugar_config;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Contacts/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/Contacts/ShowDuplicates.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_language;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="1">
      <code>$error_msg != ''</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Contacts/metadata/additionalDetails.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Contacts/metadata/listviewdefs.php">
    <DuplicateArrayKey occurrences="2">
      <code>'return_action' =&gt; 'ListView'</code>
      <code>'return_action' =&gt; 'ListView'</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/Contacts/metadata/popupdefs.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Contacts/metadata/popupdefsEmail.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Contacts/views/view.contactaddresspopup.php">
    <UndefinedMethod occurrences="1">
      <code>process_page_for_address</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Contacts/views/view.edit.php">
    <TypeDoesNotContainType occurrences="2">
      <code>!$admin-&gt;settings['portal_on']</code>
      <code>!$admin-&gt;settings['portal_on']</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Contacts/views/view.mailmergepopup.php">
    <UndefinedMethod occurrences="1">
      <code>process_page_for_merge</code>
    </UndefinedMethod>
  </file>
  <file src="modules/ContractTypes/DetailView.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_strings;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME'],$focus-&gt;name), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/ContractTypes/Forms.php">
    <InvalidGlobal occurrences="1">
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ContractTypes/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Contracts/Contract.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <MissingDocblockType occurrences="1">
      <code>function get_contract_documents()</code>
    </MissingDocblockType>
  </file>
  <file src="modules/Contracts/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Contracts/Save.php">
    <InvalidGlobal occurrences="1">
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Contracts/metadata/additionalDetails.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Currencies/Currency.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <InvalidScalarArgument occurrences="1">
      <code>$amount</code>
    </InvalidScalarArgument>
    <RedundantCondition occurrences="9">
      <code>!empty($params['convert']) &amp;&amp; $params['convert']</code>
      <code>!empty($params['convert']) &amp;&amp; $params['convert']</code>
      <code>!empty($params['currency_symbol']) &amp;&amp; $params['currency_symbol']</code>
      <code>!empty($params['percentage']) &amp;&amp; $params['percentage']</code>
      <code>$params['convert']</code>
      <code>$params['convert']</code>
      <code>$params['currency_symbol']</code>
      <code>$params['currency_symbol']</code>
      <code>$params['percentage']</code>
    </RedundantCondition>
    <UndefinedVariable occurrences="5">
      <code>$m_currency_decimal</code>
      <code>$m_currency_iso</code>
      <code>$m_currency_name</code>
      <code>$m_currency_round</code>
      <code>$m_currency_symbol</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Currencies/ListCurrency.php">
    <InvalidGlobal occurrences="1">
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>unformat_number($_POST['conversion_rate'])</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Currencies/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Currencies/index.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user, $focus;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="4">
      <code>format_number($focus-&gt;conversion_rate, 10, 10)</code>
      <code>get_form_header(htmlspecialchars($app_strings['LBL_CREATE_BUTTON_LABEL']) . ' Currency' . $headerHTML, $editButtonHTML, false)</code>
      <code>get_form_header(htmlspecialchars($app_strings['LBL_EDIT_BUTTON_LABEL']) . ' &amp;raquo; ' . htmlspecialchars($focus-&gt;name) . $headerHTML, $editButtonHTML, false)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/CustomQueries/BindMapView.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>isset($_REQUEST['record']) &amp;&amp; isset($_REQUEST['record'])</code>
    </RedundantCondition>
  </file>
  <file src="modules/CustomQueries/CustomQuery.php">
    <InvalidArrayOffset occurrences="1">
      <code>$valid['result_type']</code>
    </InvalidArrayOffset>
    <ParamNameMismatch occurrences="2">
      <code>$query_id</code>
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="2">
      <code>$is_sub_query!==false</code>
      <code>strpos($customQuery, "{tj}")!==false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>$valid['result']=="Error"</code>
      <code>$valid['result']=="Error"</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/CustomQueries/Delete.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="2">
      <code>$app_strings</code>
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/CustomQueries/DetailView.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $export_module;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="1">
      <code>$currentModule</code>
    </UndefinedGlobalVariable>
    <UndefinedMethod occurrences="1">
      <code>get_custom_queries</code>
    </UndefinedMethod>
  </file>
  <file src="modules/CustomQueries/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/CustomQueries/RepairQuery.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/CustomQueries/Save.php">
    <UndefinedGlobalVariable occurrences="3">
      <code>$app_strings</code>
      <code>$current_user</code>
      <code>$return_id</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/CustomQueries/index.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>isset($_REQUEST['edit']) &amp;&amp; $_REQUEST['edit']=='true'</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="2">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_TITLE']), true)</code>
      <code>get_form_header($mod_strings['LBL_CUSTOMQUERY']." ".$focus-&gt;name . '&amp;nbsp;' . $header_text, '', false)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="2">
      <code>$action</code>
      <code>$currentModule</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Dashboards/Dashboard.php">
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;assigned_user_id</code>
      <code>$this-&gt;team_id</code>
      <code>$this-&gt;view_name</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Dashboards/DefaultDashboardInstaller.php">
    <RedundantCondition occurrences="1">
      <code>empty($view['saved_report_id'])</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>installLog("removed invalid report dashlet: " . print_r($metadata['components'][$i]['rows'][$j][$k], true))</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Dashboards/clients/base/api/DashboardDefaultMetadataApi.php">
    <TypeDoesNotContainType occurrences="1">
      <code>empty($dashboard)</code>
    </TypeDoesNotContainType>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$dashboard-&gt;metadata</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Dashboards/clients/base/api/DashboardListApi.php">
    <UndefinedMethod occurrences="1">
      <code>getResourceURI</code>
    </UndefinedMethod>
  </file>
  <file src="modules/DataArchiver/clients/base/api/DataArchiverApi.php">
    <InvalidArgument occurrences="1">
      <code>$e</code>
    </InvalidArgument>
  </file>
  <file src="modules/DataArchiver/clients/base/views/record/record.php">
    <UndefinedGlobalVariable occurrences="1">
      <code>$module</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/DataArchiver/vardefs.php">
    <DuplicateArrayKey occurrences="1">
      <code>'full_text_search' =&gt; false</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/DataSets/DataSet.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/DataSets/DataSetLayoutSave.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/DataSets/DataSet_Attribute.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;exportable</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/DataSets/DataSet_Layout.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;display_type</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/DataSets/Delete.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/DataSets/LayoutPopup.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>isset($_REQUEST['record']) &amp;&amp; isset($_REQUEST['record'])</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/DataSets/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/DataSets/Popup.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>get_form_header($mod_strings['LBL_SEARCH_FORM_TITLE'], "", false)</code>
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/DataSets/Save.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/DataSets/SubPanelView.php">
    <InvalidGlobal occurrences="8">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $current_user;</code>
      <code>global $focus;</code>
      <code>global $focus_list;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="8">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/DocuSignEnvelopes/clients/base/api/DocuSignApi.php">
    <InvalidGlobal occurrences="1">
      <code>global $timedate;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>$dotPosition !== false</code>
    </RedundantCondition>
    <UndefinedClass occurrences="14">
      <code>$e</code>
      <code>$e</code>
      <code>$ex</code>
      <code>$ex</code>
      <code>$ex</code>
      <code>$ex</code>
      <code>$ex</code>
      <code>$ex</code>
      <code>DocuSign\Client\ApiException</code>
      <code>DocuSign\Client\ApiException</code>
      <code>DocuSign\Client\ApiException</code>
      <code>DocuSign\Client\ApiException</code>
      <code>DocuSign\Model\ErrorDetails</code>
      <code>DocuSign\Model\ReturnUrlRequest</code>
    </UndefinedClass>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;limit</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;envelopeId</code>
      <code>$this-&gt;envelopeId</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="2">
      <code>$envelopeBean</code>
      <code>$envelopeBean</code>
    </UndefinedVariable>
  </file>
  <file src="modules/DocuSignEnvelopes/clients/base/api/extras/dsSendReturn.php">
    <UndefinedGlobalVariable occurrences="1">
      <code>$apiRoot</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/DocumentMerges/clients/base/api/DocumentMergeApi.php">
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($fileName, $extension) === false</code>
    </TypeDoesNotContainType>
    <UndefinedDocblockClass occurrences="1">
      <code>const MAX_RETRIEVE = 20;</code>
    </UndefinedDocblockClass>
    <UndefinedPropertyAssignment occurrences="15">
      <code>$document-&gt;filename_file</code>
      <code>$document-&gt;is_merged_c</code>
      <code>$document-&gt;name</code>
      <code>$documentMergeBean-&gt;assigned_user_id</code>
      <code>$documentMergeBean-&gt;file_type</code>
      <code>$documentMergeBean-&gt;merge_type</code>
      <code>$documentMergeBean-&gt;parent_id</code>
      <code>$documentMergeBean-&gt;parent_type</code>
      <code>$documentMergeBean-&gt;record_ids</code>
      <code>$documentMergeBean-&gt;status</code>
      <code>$documentMergeBean-&gt;template_id</code>
      <code>$revision-&gt;assigned_user_id</code>
      <code>$revision-&gt;file</code>
      <code>$revision-&gt;modified_user_id</code>
      <code>$revision-&gt;team_id</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/DocumentMerges/language/en_us.lang.php">
    <DuplicateArrayKey occurrences="1">
      <code>'LBL_DOCUMENT_MERGE_BARCODE' =&gt; 'Barcode'</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/DocumentRevisions/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/DocumentTemplates/DocumentTemplate.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;uploadfile</code>
      <code>$this-&gt;uploadfile</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Documents/Delete.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Documents/Document.php">
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;last_rev_mime_type</code>
      <code>$this-&gt;name</code>
      <code>$this-&gt;name</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Documents/DocumentsApiHelper.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$bean-&gt;document_revision_id</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Documents/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Documents/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/Documents/clients/base/api/DocumentsFileApi.php">
    <UndefinedMethod occurrences="2">
      <code>createRevisionBean</code>
      <code>createRevisionBean</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="3">
      <code>$bean-&gt;document_revision_id</code>
      <code>$bean-&gt;revision</code>
      <code>$bean-&gt;revision</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Documents/views/view.duplicate.php">
    <TooFewArguments occurrences="1">
      <code>new DuplicateView()</code>
    </TooFewArguments>
  </file>
  <file src="modules/Documents/views/view.edit.php">
    <RedundantCondition occurrences="1">
      <code>empty($this-&gt;bean-&gt;id)</code>
    </RedundantCondition>
  </file>
  <file src="modules/Documents/views/view.extdoc.php">
    <UndefinedFunction occurrences="2">
      <code>get_form_header(translate('LBL_SEARCH_FORM_TITLE','Documents'), '', false)</code>
      <code>insert_popup_header($GLOBALS['theme'], false)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;seed</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/DynamicFields/DynamicField.php">
    <RedundantCondition occurrences="2">
      <code>$field</code>
      <code>$field</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="2">
      <code>db_concat($joinTableAlias, $name_field_def['db_concat_fields'])</code>
      <code>mkdir_recursive($this-&gt;base_path)</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="18">
      <code>$field-&gt;comments</code>
      <code>$fmd-&gt;audited</code>
      <code>$fmd-&gt;autoinc_next</code>
      <code>$fmd-&gt;comments</code>
      <code>$fmd-&gt;default_value</code>
      <code>$fmd-&gt;duplicate_merge</code>
      <code>$fmd-&gt;ext1</code>
      <code>$fmd-&gt;ext2</code>
      <code>$fmd-&gt;ext3</code>
      <code>$fmd-&gt;ext4</code>
      <code>$fmd-&gt;help</code>
      <code>$fmd-&gt;len</code>
      <code>$fmd-&gt;massupdate</code>
      <code>$fmd-&gt;pii</code>
      <code>$fmd-&gt;reportable</code>
      <code>$fmd-&gt;required</code>
      <code>$fmd-&gt;type</code>
      <code>$fmd-&gt;vname</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;request</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="8">
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;request</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/DynamicFields/FieldViewer.php">
    <UndefinedThisPropertyAssignment occurrences="16">
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
      <code>$this-&gt;ss</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;ss</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/DynamicFields/Save.php">
    <MissingFile occurrences="1">
      <code>require_once('modules/DynamicLayout/AddField.php')</code>
    </MissingFile>
    <UndefinedGlobalVariable occurrences="1">
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
    <UndefinedMethod occurrences="2">
      <code>getFieldHTML</code>
      <code>getFieldLabelHTML</code>
    </UndefinedMethod>
  </file>
  <file src="modules/DynamicFields/templates/Fields/Forms/actionbutton.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/DynamicFields/templates/Fields/Forms/enum2.php">
    <RedundantCondition occurrences="2">
      <code>isset($multi)</code>
      <code>isset($radio)</code>
    </RedundantCondition>
    <TypeDoesNotContainNull occurrences="2">
      <code>false</code>
      <code>false</code>
    </TypeDoesNotContainNull>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateAddress.php">
    <ParamNameMismatch occurrences="1">
      <code>$dynamicField</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateAutoIncrement.php">
    <RedundantCondition occurrences="1">
      <code>$vardef['min'] !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>$vardef['min'] !== false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateCurrency.php">
    <UndefinedFunction occurrences="1">
      <code>unformat_number($this-&gt;default)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;related_fields</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateEnum.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings;</code>
    </InvalidGlobal>
    <InvalidOperand occurrences="1">
      <code>isset ( $this-&gt;$def )</code>
    </InvalidOperand>
    <TypeDoesNotContainType occurrences="1">
      <code>get_class($this) == 'TemplateEnum'</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="2">
      <code>get_widget ( $def [ 'type' ] )</code>
      <code>rmdir_recursive($dropdownFolder)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;localVardefMap</code>
      <code>$this-&gt;visibility_grid</code>
      <code>$this-&gt;visibility_grid</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="7">
      <code>$this-&gt;action</code>
      <code>$this-&gt;action</code>
      <code>$this-&gt;action</code>
      <code>$this-&gt;localVardefMap</code>
      <code>$this-&gt;options</code>
      <code>$this-&gt;options</code>
      <code>$this-&gt;trigger</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateField.php">
    <RedundantCondition occurrences="2">
      <code>!empty($this-&gt;required) &amp;&amp; $this-&gt;required</code>
      <code>$this-&gt;required</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>get_xtpl_detail()</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="10">
      <code>$this-&gt;duplicate_merge_dom_value</code>
      <code>$this-&gt;duplicate_merge_dom_value</code>
      <code>$this-&gt;duplicate_merge_dom_value</code>
      <code>$this-&gt;duplicate_merge_dom_value</code>
      <code>$this-&gt;duplicate_merge_dom_value</code>
      <code>$this-&gt;duplicate_merge_dom_value</code>
      <code>$this-&gt;enforced</code>
      <code>$this-&gt;full_text_search</code>
      <code>$this-&gt;full_text_search</code>
      <code>$this-&gt;full_text_search</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateHTML.php">
    <UndefinedFunction occurrences="1">
      <code>from_html(nl2br($this-&gt;ext4))</code>
    </UndefinedFunction>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateImage.php">
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;border</code>
      <code>$this-&gt;height</code>
      <code>$this-&gt;width</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateInt.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;auto_increment</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateMultiEnum.php">
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;options</code>
      <code>$this-&gt;options</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateRadioEnum.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateRange.php">
    <UndefinedFunction occurrences="3">
      <code>mkdir_recursive('custom/modules/'.$module.'/metadata')</code>
      <code>mkdir_recursive('custom/modules/'.$module.'/metadata')</code>
      <code>mkdir_recursive('custom/modules/'.$module.'/metadata')</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;options</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedVariable occurrences="1">
      <code>$searchFields</code>
    </UndefinedVariable>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateRelatedTextField.php">
    <UndefinedPropertyFetch occurrences="3">
      <code>$df-&gt;module</code>
      <code>$df-&gt;module</code>
      <code>$df-&gt;module</code>
    </UndefinedPropertyFetch>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;id_name</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateTextArea.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;cols</code>
      <code>$this-&gt;rows</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/DynamicFields/templates/Fields/TemplateURL.php">
    <RedundantCondition occurrences="1">
      <code>substr($value ,0,8) != 'index.php'</code>
    </RedundantCondition>
  </file>
  <file src="modules/EAPM/CheckLogins.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/EAPM/EAPM.php">
    <UndefinedFunction occurrences="1">
      <code>sugar_cache_clear('meetings_type_drop_down')</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;api_data</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/EAPM/views/Oauth2RedirectTrait.php">
    <UndefinedMethod occurrences="1">
      <code>buildBasicResponse</code>
    </UndefinedMethod>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;dataSource</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/EmailAddresses/Confirm.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user, $sugar_config;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/EmailMan/EmailImage.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/EmailMan/EmailMan.php">
    <InvalidArrayOffset occurrences="1">
      <code>$query['group_by']</code>
    </InvalidArrayOffset>
    <TypeDoesNotContainType occurrences="1">
      <code>!isset($this-&gt;current_emailmarketing)</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="3">
      <code>from_html($this-&gt;current_emailtemplate-&gt;body)</code>
      <code>from_html($this-&gt;current_emailtemplate-&gt;body_html)</code>
      <code>from_html($this-&gt;current_emailtemplate-&gt;subject)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="18">
      <code>$this-&gt;current_campaign</code>
      <code>$this-&gt;current_emailmarketing</code>
      <code>$this-&gt;current_emailtemplate</code>
      <code>$this-&gt;current_mailbox</code>
      <code>$this-&gt;email1</code>
      <code>$this-&gt;has_optout_links</code>
      <code>$this-&gt;has_optout_links</code>
      <code>$this-&gt;mailbox_from_addr</code>
      <code>$this-&gt;newmessage</code>
      <code>$this-&gt;newmessage</code>
      <code>$this-&gt;ref_email</code>
      <code>$this-&gt;target_tracker_key</code>
      <code>$this-&gt;target_tracker_key</code>
      <code>$this-&gt;tracker_urls</code>
      <code>$this-&gt;tracker_urls</code>
      <code>$this-&gt;tracking_url</code>
      <code>$this-&gt;tracking_url</code>
      <code>$this-&gt;tracking_url</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedVariable occurrences="2">
      <code>$mod_strings</code>
      <code>$tracker_url</code>
    </UndefinedVariable>
  </file>
  <file src="modules/EmailMan/EmailManDelivery.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/EmailMan/testOutboundEmail.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/EmailMan/views/view.config.php">
    <RedundantCondition occurrences="1">
      <code>$focus-&gt;settings['notify_allow_default_outbound']</code>
    </RedundantCondition>
  </file>
  <file src="modules/EmailMarketing/Delete.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/EmailMarketing/DetailView.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1"/>
  </file>
  <file src="modules/EmailMarketing/EditView.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($focus-&gt;module_dir, $params, true)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/EmailMarketing/EmailMarketing.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;mode</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/EmailMarketing/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/EmailMarketing/Save.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/EmailMarketing/SubPanelView.php">
    <InvalidGlobal occurrences="7">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $focus;</code>
      <code>global $focus_list;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/EmailParticipants/vardefs.php">
    <InvalidGlobal occurrences="1">
      <code>global $dictionary;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/EmailTemplates/AttachFiles.php">
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive($cachedir)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/EmailTemplates/Delete.php">
    <UndefinedFunction occurrences="1">
      <code>sugar_cache_clear('select_array:'.$focus-&gt;object_name.'namebase_module=\''.$focus-&gt;base_module.'\'name')</code>
    </UndefinedFunction>
  </file>
  <file src="modules/EmailTemplates/DetailView.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>from_html($focus-&gt;body_html)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$app_list_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/EmailTemplates/EditView.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>getClassicModuleTitle($focus-&gt;module_dir, $params, true)</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="22">
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
    <UndefinedPropertyAssignment occurrences="8">
      <code>$focus-&gt;contact_id</code>
      <code>$focus-&gt;contact_name</code>
      <code>$focus-&gt;date_due_flag</code>
      <code>$focus-&gt;filename</code>
      <code>$focus-&gt;parent_id</code>
      <code>$focus-&gt;parent_name</code>
      <code>$focus-&gt;parent_type</code>
      <code>$focus-&gt;parent_type</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/EmailTemplates/EmailTemplate.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <RedundantCast occurrences="1">
      <code>array_values</code>
    </RedundantCast>
    <UndefinedFunction occurrences="1">
      <code>currency_format_number($value)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;parsed_entities</code>
      <code>$this-&gt;parsed_entities</code>
      <code>$this-&gt;parsed_urls</code>
      <code>$this-&gt;parsed_urls</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/EmailTemplates/EmailTemplateFormBase.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_language;</code>
      <code>global $current_language;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="4">
      <code>from_html($focus-&gt;body_html)</code>
      <code>get_left_form_footer()</code>
      <code>get_left_form_header($mod_strings['LBL_NEW_FORM_TITLE'])</code>
      <code>get_validate_record_js()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/EmailTemplates/PopupDocumentsCampaignTemplate.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_mod_strings;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>get_form_header($current_mod_strings['LBL_SEARCH_FORM_TITLE'], '', false)</code>
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_language</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/EmailText/vardefs.php">
    <InvalidGlobal occurrences="1">
      <code>global $dictionary;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Emails/ArchivedEmailsLink.php">
    <ParamNameMismatch occurrences="1">
      <code>$return_as_array</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/Emails/Compose.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_language;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <MissingFile occurrences="1">
      <code>include 'modules/Emails/index.php'</code>
    </MissingFile>
    <UndefinedFunction occurrences="16">
      <code>from_html($bean-&gt;full_name)</code>
      <code>from_html($bean-&gt;full_name)</code>
      <code>from_html($bean-&gt;name)</code>
      <code>from_html($contact-&gt;full_name)</code>
      <code>from_html($contact-&gt;full_name)</code>
      <code>from_html($email-&gt;description_html)</code>
      <code>from_html($ie-&gt;email-&gt;cc_addrs)</code>
      <code>from_html($ie-&gt;email-&gt;from_addr)</code>
      <code>from_html($parentName)</code>
      <code>from_html($primaryAddress)</code>
      <code>from_html($primaryAddress)</code>
      <code>from_html($primaryAddress)</code>
      <code>from_html(str_replace("&amp;nbsp;", " ", $namePlusEmail))</code>
      <code>to_html(!empty($ie-&gt;email-&gt;to_addrs_names) ? $ie-&gt;email-&gt;to_addrs_names : $ie-&gt;email-&gt;to_addrs)</code>
      <code>to_html($ie-&gt;email-&gt;cc_addrs_names)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Emails/Email.php">
    <DuplicateArrayKey occurrences="1">
      <code>'flagged' =&gt; 'flagged'</code>
    </DuplicateArrayKey>
    <InvalidGlobal occurrences="3">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $dictionary;</code>
    </InvalidGlobal>
    <InvalidOperand occurrences="1">
      <code>$isDateFromSearchSet</code>
    </InvalidOperand>
    <ParamNameMismatch occurrences="1">
      <code>$encoded</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="6">
      <code>empty($dateSent)</code>
      <code>empty($exToAddrs)</code>
      <code>empty($exbccAddrs)</code>
      <code>empty($exccAddrs)</code>
      <code>false !== strpos($html, $htmlSig)</code>
      <code>false !== strpos($plain, $plainSig)</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($upload_file)</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="21">
      <code>from_html($addresses)</code>
      <code>from_html($addresses)</code>
      <code>from_html($bean-&gt;get_summary_text())</code>
      <code>from_html($emailAddress)</code>
      <code>from_html($emails)</code>
      <code>from_html($file)</code>
      <code>from_html($ret)</code>
      <code>from_html($str)</code>
      <code>from_html($text)</code>
      <code>from_html($this-&gt;bcc_addrs)</code>
      <code>from_html($this-&gt;cc_addrs)</code>
      <code>from_html($this-&gt;description)</code>
      <code>from_html($this-&gt;description)</code>
      <code>from_html($this-&gt;description_html)</code>
      <code>from_html($this-&gt;description_html)</code>
      <code>from_html($this-&gt;from_addr)</code>
      <code>from_html($this-&gt;to_addrs)</code>
      <code>get_form_header($mod_strings['LBL_DIST_TITLE'], '', false)</code>
      <code>to_html($bean-&gt;description)</code>
      <code>to_html($this-&gt;from_name)</code>
      <code>to_html($this-&gt;name)</code>
    </UndefinedFunction>
    <UndefinedMethod occurrences="3">
      <code>retrieveEmailAddresses</code>
      <code>retrieveEmailText</code>
      <code>synchronizeEmailParticipants</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="12">
      <code>$acase-&gt;pending_processing</code>
      <code>$attachment-&gt;team_set_selected_id</code>
      <code>$attachment-&gt;team_set_selected_id</code>
      <code>$bean-&gt;date_start</code>
      <code>$bean-&gt;date_start</code>
      <code>$bean-&gt;description</code>
      <code>$bean-&gt;time_start</code>
      <code>$bean-&gt;time_start</code>
      <code>$note-&gt;email_id</code>
      <code>$note-&gt;email_id</code>
      <code>$note-&gt;email_type</code>
      <code>$note-&gt;email_type</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="11">
      <code>$this-&gt;contact_email</code>
      <code>$this-&gt;contact_email</code>
      <code>$this-&gt;contact_name_mod</code>
      <code>$this-&gt;contact_name_mod</code>
      <code>$this-&gt;contact_name_owner</code>
      <code>$this-&gt;contact_name_owner</code>
      <code>$this-&gt;contact_phone</code>
      <code>$this-&gt;contact_phone</code>
      <code>$this-&gt;in_save</code>
      <code>$this-&gt;in_save</code>
      <code>$this-&gt;outbound_email_id</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Emails/EmailRecipientRelationship.php">
    <UndefinedPropertyAssignment occurrences="2">
      <code>$bean-&gt;parent_type</code>
      <code>$rhs-&gt;email_address_id</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Emails/EmailSenderRelationship.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$rhs-&gt;email_address_id</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Emails/EmailUI.php">
    <InvalidDocblock occurrences="2">
      <code>function buildTreeNode($key, $label, $mbox, $ieId, $nodePath, $isGroup, $ie) {</code>
      <code>function getRelatedEmail($beanType, $whereArr, $relatedBeanInfoArr = ''){</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="1">
      <code>global $ie;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="6">
      <code>$foundInSystemAccounts</code>
      <code>$show_subpanels</code>
      <code>is_array($exTo)</code>
      <code>strpos($folder, 'sugar::') !== false</code>
      <code>strpos($k, 'LBL_EMAIL_') !== false</code>
      <code>strpos($k, 'emailAddress') !== false</code>
    </RedundantCondition>
    <TooFewArguments occurrences="1">
      <code>new EditView()</code>
    </TooFewArguments>
    <TooManyArguments occurrences="1">
      <code>display</code>
    </TooManyArguments>
    <TypeDoesNotContainType occurrences="2">
      <code>!$admin-&gt;settings['portal_on']</code>
      <code>!$admin-&gt;settings['portal_on']</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="32">
      <code>findAllFiles($cacheRoot."/attachments/", array())</code>
      <code>findAllFiles($cacheRoot."/messages/", array())</code>
      <code>findAllFiles($path, array())</code>
      <code>from_html($ccAddresses)</code>
      <code>from_html($ccAddresses)</code>
      <code>from_html($current_user-&gt;full_name)</code>
      <code>from_html($defaultSignature['signature_html'])</code>
      <code>from_html($email-&gt;cc_addrs)</code>
      <code>from_html($focus-&gt;description_html)</code>
      <code>from_html($focus-&gt;description_html)</code>
      <code>from_html($name)</code>
      <code>from_html($ret['name'])</code>
      <code>from_html($return['name'])</code>
      <code>from_html($singleCompose)</code>
      <code>from_html($storedOptions['from_name'])</code>
      <code>from_html($str)</code>
      <code>from_html($systemReturn['name'])</code>
      <code>from_html($systemReturn['name'])</code>
      <code>from_html($toAddresses)</code>
      <code>from_html($toAddresses)</code>
      <code>from_html(strtolower(trim($email-&gt;from_addr)))</code>
      <code>from_html(strtolower(trim($emailMeta['email_address'])))</code>
      <code>getClassicModuleTitle('Emails', array($mod_strings['LBL_INBOUND_TITLE'],$focus-&gt;name), true)</code>
      <code>getClassicModuleTitle('Emails', array($mod_strings['LBL_LIST_FORM_DRAFTS_TITLE'],$focus-&gt;name), true)</code>
      <code>getClassicModuleTitle('Emails', array($mod_strings['LBL_SENT_MODULE_NAME'],$focus-&gt;name), true)</code>
      <code>mkdir_recursive($cacheFolderPath)</code>
      <code>mkdir_recursive($path)</code>
      <code>mkdir_recursive(clean_path("{$cacheRoot}/attachments"))</code>
      <code>mkdir_recursive(clean_path("{$cacheRoot}/folders"))</code>
      <code>mkdir_recursive(clean_path("{$cacheRoot}/messages"))</code>
      <code>mkdir_recursive(clean_path($cacheRoot))</code>
      <code>to_html($out['meta']['email']['name'])</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$macro_values</code>
    </UndefinedGlobalVariable>
    <UndefinedMethod occurrences="7">
      <code>assignVar</code>
      <code>assignVar</code>
      <code>assignVar</code>
      <code>assignVar</code>
      <code>assignVar</code>
      <code>render</code>
      <code>setup</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="5">
      <code>$EditView-&gt;defs</code>
      <code>$EditView-&gt;defs</code>
      <code>$EditView-&gt;defs</code>
      <code>$EditView-&gt;defs</code>
      <code>$EditView-&gt;view</code>
    </UndefinedPropertyAssignment>
    <UndefinedPropertyFetch occurrences="2">
      <code>$EditView-&gt;defs</code>
      <code>$EditView-&gt;sectionPanels</code>
    </UndefinedPropertyFetch>
    <UndefinedVariable occurrences="4">
      <code>$a</code>
      <code>$bccAddresses</code>
      <code>$bccAddresses</code>
      <code>$cacheRoot</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Emails/EmailsApiHelper.php">
    <UndefinedMethod occurrences="1">
      <code>isStateTransitionAllowed</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="6">
      <code>$bean-&gt;bcc_addrs</code>
      <code>$bean-&gt;cc_addrs</code>
      <code>$bean-&gt;from_addr</code>
      <code>$bean-&gt;state</code>
      <code>$bean-&gt;state</code>
      <code>$bean-&gt;to_addrs</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Emails/EmailsHookHandler.php">
    <UndefinedMethod occurrences="1">
      <code>updateAttachmentVisibility</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Emails/MailRecord.php">
    <UndefinedFunction occurrences="2">
      <code>from_html($this-&gt;html_body)</code>
      <code>from_html($this-&gt;text_body)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Emails/clients/base/api/EmailsApi.php">
    <UndefinedMethod occurrences="1">
      <code>sendEmail</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$email-&gt;outbound_email_id</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Emails/clients/base/api/MailApi.php">
    <InvalidScalarArgument occurrences="1">
      <code>300</code>
    </InvalidScalarArgument>
    <TypeDoesNotContainType occurrences="1">
      <code>is_array($args)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Employees/Employee.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;emailAddress</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Employees/Error.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Employees/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Employees/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/Employees/WapMenu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Employees/vardefs.php">
    <InvalidGlobal occurrences="1">
      <code>global $dictionary;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Employees/views/view.edit.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings;</code>
    </InvalidGlobal>
    <TooFewArguments occurrences="1">
      <code>new EmployeesEditView()</code>
    </TooFewArguments>
  </file>
  <file src="modules/Employees/views/view.list.php">
    <TypeDoesNotContainType occurrences="1">
      <code>$_REQUEST['search_form_only'] == false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/ExpressionEngine/views/view.execfunction.php">
    <InvalidGlobal occurrences="1">
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;function</code>
      <code>$this-&gt;id</code>
      <code>$this-&gt;params</code>
      <code>$this-&gt;tmodule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ExpressionEngine/views/view.rollupwizard.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;package</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;package</code>
      <code>$this-&gt;selLink</code>
      <code>$this-&gt;tmodule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ExpressionEngine/views/view.selectrelatedfield.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;package</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;package</code>
      <code>$this-&gt;selLink</code>
      <code>$this-&gt;tmodule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ExpressionEngine/views/view.validaterelatedfield.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;package</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;link</code>
      <code>$this-&gt;tmodule</code>
      <code>$this-&gt;tmodule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Expressions/Expression.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_list_strings;</code>
      <code>global $beanList;</code>
      <code>global $process_dictionary;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Expressions/Filter_Popup.php">
    <UndefinedFunction occurrences="1">
      <code>insert_popup_footer()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Expressions/Filter_Selector.php">
    <InvalidGlobal occurrences="11">
      <code>global $app_list_strings;</code>
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $beanList;</code>
      <code>global $current_user;</code>
      <code>global $dictionary;</code>
      <code>global $mod_strings, $current_language;</code>
      <code>global $mod_strings;</code>
      <code>global $selector_meta_array;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Expressions/MetaArray.php">
    <InvalidGlobal occurrences="1">
      <code>global $selector_meta_array;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Expressions/RelateSelector.php">
    <InvalidGlobal occurrences="7">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Expressions/SingleSelector.php">
    <InvalidGlobal occurrences="7">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/ForecastManagerWorksheets/ForecastManagerWorksheet.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;team_id</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ForecastWorksheets/ForecastWorksheet.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$rli-&gt;product_template_name</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/ForecastWorksheets/ForecastWorksheetHooks.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$worksheet-&gt;date_modified</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Forecasts/Forecast.php">
    <UndefinedFunction occurrences="4">
      <code>format_number($forecast_fields['BEST_CASE'], 0, 0)</code>
      <code>format_number($forecast_fields['LIKELY_CASE'], 0, 0)</code>
      <code>format_number($forecast_fields['OPP_WEIGH_VALUE'], 0, 0)</code>
      <code>format_number($forecast_fields['WORST_CASE'], 0, 0)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;closed_amount</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Forecasts/ForecastDirectReports.php">
    <UndefinedFunction occurrences="13">
      <code>format_number( $forecast_fields['BEST_CASE'],0,0)</code>
      <code>format_number( $forecast_fields['LIKELY_CASE'],0,0)</code>
      <code>format_number( $forecast_fields['OPP_WEIGH_VALUE'],0,0)</code>
      <code>format_number( $forecast_fields['WORST_CASE'],0,0)</code>
      <code>format_number($this-&gt;currency-&gt;convertFromDollar($last_committed["BEST_CASE"]),0,0)</code>
      <code>format_number($this-&gt;currency-&gt;convertFromDollar($last_committed["LIKELY_CASE"]),0,0)</code>
      <code>format_number($this-&gt;currency-&gt;convertFromDollar($last_committed["WORST_CASE"]),0,0)</code>
      <code>format_number($this-&gt;currency-&gt;convertFromDollar($row['amount_base_currency']),0,0)</code>
      <code>format_number($this-&gt;total_best_case_number,0,0)</code>
      <code>format_number($this-&gt;total_commit_value_number,0,0)</code>
      <code>format_number($this-&gt;total_likely_case_number,0,0)</code>
      <code>format_number($this-&gt;total_weigh_value_number,0,0)</code>
      <code>format_number($this-&gt;total_worst_case_number,0,0)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="25">
      <code>$this-&gt;date_committed</code>
      <code>$this-&gt;date_committed</code>
      <code>$this-&gt;date_entered</code>
      <code>$this-&gt;date_entered</code>
      <code>$this-&gt;opp_best_case</code>
      <code>$this-&gt;opp_best_case</code>
      <code>$this-&gt;opp_best_case</code>
      <code>$this-&gt;opp_likely_case</code>
      <code>$this-&gt;opp_likely_case</code>
      <code>$this-&gt;opp_likely_case</code>
      <code>$this-&gt;opp_worst_case</code>
      <code>$this-&gt;opp_worst_case</code>
      <code>$this-&gt;opp_worst_case</code>
      <code>$this-&gt;wk_best_case</code>
      <code>$this-&gt;wk_best_case</code>
      <code>$this-&gt;wk_best_case</code>
      <code>$this-&gt;wk_best_case</code>
      <code>$this-&gt;wk_likely_case</code>
      <code>$this-&gt;wk_likely_case</code>
      <code>$this-&gt;wk_likely_case</code>
      <code>$this-&gt;wk_likely_case</code>
      <code>$this-&gt;wk_worst_case</code>
      <code>$this-&gt;wk_worst_case</code>
      <code>$this-&gt;wk_worst_case</code>
      <code>$this-&gt;wk_worst_case</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Forecasts/ForecastOpportunities.php">
    <InvalidArrayOffset occurrences="2">
      <code>$last_committed["BEST_CASE"]</code>
      <code>$last_committed["BEST_CASE"]</code>
    </InvalidArrayOffset>
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>strpos($order_by, 'date_entered') !== false</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="8">
      <code>format_number($abc['TOTAL_AMOUNT'],0,0)</code>
      <code>format_number($abc['WEIGHTEDVALUE'],0,0)</code>
      <code>format_number($temp_array['REVENUE'],0,0)</code>
      <code>format_number($temp_array['WEIGHTED_VALUE'],0,0)</code>
      <code>format_number($this-&gt;currency-&gt;convertFromDollar($row["best_case"]),0,0)</code>
      <code>format_number($this-&gt;currency-&gt;convertFromDollar($row["likely_case"]),0,0)</code>
      <code>format_number($this-&gt;currency-&gt;convertFromDollar($row["worst_case"]),0,0)</code>
      <code>format_number($this-&gt;currency-&gt;convertFromDollar($row['amount_base_currency'],0),0,0)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Forecasts/ForecastUtils.php">
    <InvalidGlobal occurrences="4">
      <code>global $href_string;</code>
      <code>global $listViewDefs;</code>
      <code>global $listViewDefs;</code>
      <code>global $theme, $mod_strings, $current_language;</code>
    </InvalidGlobal>
    <MissingFile occurrences="1">
      <code>require_once('modules/Forecasts/Charts.php')</code>
    </MissingFile>
    <UndefinedFunction occurrences="1">
      <code>get_number_seperators()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Forecasts/clients/base/api/ForecastsFilterApi.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Forecasts/language/en_us.lang.php">
    <DuplicateArrayKey occurrences="1">
      <code>'LBL_FORECASTS_CONFIG_HELP_RANGES' =&gt; 'Configure how you would like to categorize {{forecastByModule}}. &lt;br&gt;&lt;br&gt;Please note that the Range settings cannot be changed after the first commit. For upgraded instances, the Range setting is locked in with existing Forecast data.&lt;br&gt;&lt;br&gt;You may select two or more categories based on probability ranges or create categories which are not based on probability. &lt;br&gt;&lt;br&gt;There are check-boxes to the left of your custom categories; use these to decide which ranges will be included within the Forecast amount committed and reported to managers. &lt;br&gt;&lt;br&gt;A user may change the include/exclude status and category of {{forecastByModule}} manually from their worksheet.'</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/HealthCheck/HealthCheck.php">
    <UndefinedThisPropertyAssignment occurrences="5">
      <code>$this-&gt;bucket</code>
      <code>$this-&gt;error</code>
      <code>$this-&gt;flag</code>
      <code>$this-&gt;logfile</code>
      <code>$this-&gt;logmeta</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/HealthCheck/Scanner/Scanner.php">
    <EmptyArrayAccess occurrences="1">
      <code>$viewdefs['KBContents']</code>
    </EmptyArrayAccess>
    <InvalidArgument occurrences="1">
      <code>$result</code>
    </InvalidArgument>
    <InvalidDocblock occurrences="1">
      <code>public function updateStatus()</code>
    </InvalidDocblock>
    <InvalidIterator occurrences="1">
      <code>$hook_array</code>
    </InvalidIterator>
    <InvalidScalarArgument occurrences="1">
      <code>$error-&gt;getLine()</code>
    </InvalidScalarArgument>
    <MissingFile occurrences="2">
      <code>require $customRecordViewFileName</code>
      <code>require 'files.md5'</code>
    </MissingFile>
    <RedundantCondition occurrences="10">
      <code>!$found</code>
      <code>$curlyBracketsCount === 1 &amp;&amp; !$found</code>
      <code>false !== strpos($errfile, sugar_cached('smarty3/'))</code>
      <code>strpos($deffile, "/subpanels/") !== false</code>
      <code>strpos($errstr, 'session_set_save_handler') !== false</code>
      <code>strpos($file, '/.pre_500/') !== false</code>
      <code>strpos($filename, ".suback.php") !== false</code>
      <code>strpos($filename, "_backup") !== false</code>
      <code>strpos($panel['get_subpanel_data'], 'function:') !== false</code>
      <code>strpos(basename($file), basename($deffile, '.php')) !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>class_exists($utilClass, false)</code>
    </TypeDoesNotContainType>
    <UndefinedClass occurrences="1">
      <code>\SmartyConverter</code>
    </UndefinedClass>
    <UndefinedFunction occurrences="2">
      <code>rmdir_recursive($cacheDir)</code>
      <code>rmdir_recursive('./_smarty3_')</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="6">
      <code>$this-&gt;beanFiles</code>
      <code>$this-&gt;beanFiles</code>
      <code>$this-&gt;beanList</code>
      <code>$this-&gt;beanList</code>
      <code>$this-&gt;bwcModulesHash</code>
      <code>$this-&gt;objectList</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="5">
      <code>$this-&gt;beanFiles</code>
      <code>$this-&gt;beanList</code>
      <code>$this-&gt;beanList</code>
      <code>$this-&gt;beanList</code>
      <code>$this-&gt;objectList</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/HealthCheck/Scanner/ScannerMeta.php">
    <RedundantCondition occurrences="2">
      <code>$lang</code>
      <code>$lang</code>
    </RedundantCondition>
  </file>
  <file src="modules/HealthCheck/Scanner/package-checklist.php">
    <DuplicateArrayKey occurrences="2"/>
  </file>
  <file src="modules/HealthCheck/pack.php">
    <InvalidArgument occurrences="1">
      <code>$zip</code>
    </InvalidArgument>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($argv[1])</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/HealthCheck/pack_sortinghat.php">
    <InvalidScalarArgument occurrences="1">
      <code>true</code>
    </InvalidScalarArgument>
  </file>
  <file src="modules/HealthCheck/smarty.phar">
    <InvalidScalarArgument occurrences="1">
      <code>1</code>
    </InvalidScalarArgument>
  </file>
  <file src="modules/HealthCheck/views/view.index.php">
    <DuplicateClass occurrences="1">
      <code>ViewIndex</code>
    </DuplicateClass>
  </file>
  <file src="modules/HintEnrichFieldConfigs/HintEnrichFieldConfig.php">
    <InvalidScalarArgument occurrences="1">
      <code>true</code>
    </InvalidScalarArgument>
  </file>
  <file src="modules/History/clients/base/api/HistoryApi.php">
    <UndefinedMethod occurrences="2">
      <code>$beans['_rows']</code>
      <code>$rows</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Holidays/Delete.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Holidays/DetailView.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME']), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Holidays/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Holidays/Save.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Holidays/metadata/subpanels/default.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Home/AddToFavorites.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Home/LastViewed.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Home/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings, $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Home/PopupSugar.php">
    <InvalidGlobal occurrences="1">
      <code>global $theme, $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Home/QuickSearch.php">
    <RedundantCondition occurrences="1">
      <code>is_array($data['fields'])</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>is_array($recordIn)</code>
    </TypeDoesNotContainType>
    <UndefinedClass occurrences="1">
      <code>ViewFts</code>
    </UndefinedClass>
  </file>
  <file src="modules/Home/SaveSubpanelLayout.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Home/SubpanelCreates.php">
    <MissingFile occurrences="1">
      <code>require_once('include/EditView/EditViewQuickCreate.php')</code>
    </MissingFile>
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_language</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Home/SubpanelEdits.php">
    <MissingFile occurrences="1">
      <code>require_once('include/EditView/EditViewQuickCreate.php')</code>
    </MissingFile>
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_language</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Home/UnifiedSearch.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $modListHeader, $app_strings, $beanList, $beanFiles;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Home/UnifiedSearchAdvanced.php">
    <InvalidArgument occurrences="1">
      <code>$data['checked']</code>
    </InvalidArgument>
    <InvalidGlobal occurrences="1">
      <code>global $app_strings;</code>
    </InvalidGlobal>
    <MissingDocblockType occurrences="2">
      <code>public function getUnifiedSearchModules()</code>
      <code>public function getUnifiedSearchModulesDisplay()</code>
    </MissingDocblockType>
    <MissingFile occurrences="1">
      <code>include('custom/modules/unified_search_modules_display.php')</code>
    </MissingFile>
    <RedundantCondition occurrences="2">
      <code>strpos($field,'email') !== false</code>
      <code>strpos($field,'phone') !== false</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="2">
      <code>from_html(clean_string($this-&gt;query_string, 'UNIFIED_SEARCH'))</code>
      <code>mkdir_recursive($cachedir)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;cache_display</code>
      <code>$this-&gt;cache_search</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;cache_search</code>
      <code>$this-&gt;cache_search</code>
      <code>$this-&gt;cache_search</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Home/upgrade/scripts/post/7_InstallPortalHomeDashboard.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;defaultDashboardInstaller</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Import/Forms.php">
    <RedundantCondition occurrences="1">
      <code>strpos($time_format, '23') !== false</code>
    </RedundantCondition>
  </file>
  <file src="modules/Import/Importer.php">
    <InvalidArgument occurrences="2">
      <code>$processed_fields[$field_name]</code>
      <code>$processed_fields[$key]</code>
    </InvalidArgument>
    <InvalidGlobal occurrences="1">
      <code>global $locale;</code>
    </InvalidGlobal>
    <RedundantCast occurrences="1">
      <code>strtolower</code>
    </RedundantCast>
    <RedundantCondition occurrences="1">
      <code>false == $rowValue</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="6">
      <code>!$attrs</code>
      <code>!$processed_fields[$field_name]</code>
      <code>!$processed_fields[$field_name]</code>
      <code>!$processed_fields[$key]</code>
      <code>!$processed_fields[$key]</code>
      <code>$attrs</code>
    </TypeDoesNotContainType>
    <UndefinedDocblockClass occurrences="1">
      <code>protected $sugarToExternalSourceFieldMap = array();</code>
    </UndefinedDocblockClass>
    <UndefinedPropertyAssignment occurrences="3">
      <code>$focus-&gt;sync_contact</code>
      <code>$focus-&gt;sync_contact</code>
      <code>$focus-&gt;sync_contact</code>
    </UndefinedPropertyAssignment>
    <UndefinedVariable occurrences="2">
      <code>$defaultRowValue</code>
      <code>$fieldDefs</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Import/language/en_us.lang.php">
    <InvalidGlobal occurrences="1">
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Import/sources/ExternalSourceEAPMAdapter.php">
    <UndefinedDocblockClass occurrences="1">
      <code>private $_recordSet = array();</code>
    </UndefinedDocblockClass>
  </file>
  <file src="modules/Import/sources/ImportFile.php">
    <ParamNameMismatch occurrences="1">
      <code>$totalItems</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/Import/views/ImportView.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;importModule</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;importModule</code>
      <code>$this-&gt;importModule</code>
      <code>$this-&gt;importModule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Import/views/view.confirm.php">
    <TypeDoesNotContainType occurrences="3">
      <code>strpos($_FILES['userfile']['type'],'application/vnd.ms-excel') === false</code>
      <code>strpos($_FILES['userfile']['type'],'octet-stream') === false</code>
      <code>strpos($_FILES['userfile']['type'],'text') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Import/views/view.error.php">
    <UndefinedMethod occurrences="1">
      <code>self::getImportSourceOptions()</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Import/views/view.extstep1.php">
    <UndefinedFunction occurrences="1">
      <code>getControl($module,$defaultField,$fields[$defaultField],( isset($default_values[$defaultField]) ? $default_values[$defaultField] : '' ))</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="2">
      <code>$default_values</code>
      <code>$default_values</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Import/views/view.step1.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;importModule</code>
      <code>$this-&gt;importModule</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;importModule</code>
      <code>$this-&gt;importModule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Import/views/view.step2.php">
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;importModule</code>
      <code>$this-&gt;importModule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Import/views/view.step3.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3"/>
  </file>
  <file src="modules/InboundEmail/Delete.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/InboundEmail/DetailView.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_config;</code>
      <code>global $theme;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>getClassicModuleTitle('InboundEmail', array($mod_strings['LBL_BOUNCE_MODULE_NAME'],$focus-&gt;name), true)</code>
      <code>getClassicModuleTitle('InboundEmail', array($mod_strings['LBL_MODULE_NAME'],$focus-&gt;name), true)</code>
      <code>getClassicModuleTitle('InboundEmail', array($mod_strings['LBL_PERSONAL_MODULE_NAME'],$focus-&gt;name), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="16">
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/InboundEmail/EditView.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/InboundEmail/InboundEmail.php">
    <InvalidDocblock occurrences="3">
      <code>function groupUserDupeCheck() {</code>
      <code>function retrieveByGroupFolderId($groupFolderId) {</code>
      <code>function retrieveByGroupId($groupId) {</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="3">
      <code>global $current_user;</code>
      <code>global $db;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <InvalidOperand occurrences="2">
      <code>$a_offset[$i]</code>
      <code>$k</code>
    </InvalidOperand>
    <InvalidScalarArgument occurrences="4">
      <code>$msgnos</code>
      <code>$thisBc</code>
      <code>$thisBc</code>
      <code>$uidsToDelete</code>
    </InvalidScalarArgument>
    <MissingFile occurrences="1">
      <code>require_once('include/PHP_Compat/convert_uudecode.php')</code>
    </MissingFile>
    <RedundantCast occurrences="1">
      <code>strtolower</code>
    </RedundantCast>
    <RedundantCondition occurrences="15">
      <code>!$copy &amp;&amp; isset($_REQUEST['delete']) &amp;&amp; ($_REQUEST['delete'] == "true") &amp;&amp; $importStatus</code>
      <code>!$forDisplay</code>
      <code>!$toSugarFolder-&gt;is_group</code>
      <code>!empty($v)</code>
      <code>$importStatus</code>
      <code>$this-&gt;delete_seen == 1  &amp;&amp; !$forDisplay</code>
      <code>strpos($email, ',') !== false</code>
      <code>strpos($from, $filterDomain) !== false</code>
      <code>strpos($html, "&lt;o:p&gt;") !== false</code>
      <code>strpos($html, 'class="MsoNormal"') !== false</code>
      <code>strpos($replyTo, $filterDomain) !== false</code>
      <code>strpos($text, "''") !== false</code>
      <code>strpos($uid, $app_strings['LBL_EMAIL_DELIMITER']) !== false</code>
      <code>strpos(strtolower($headerLine), 'delivered-to:') !== false</code>
      <code>strpos(strtolower($headerLine), 'x-real-to:') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="3">
      <code>!isset($message_id)</code>
      <code>!isset($message_id)</code>
      <code>is_array($exHeaders)</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="32">
      <code>campaign_process_bounced_emails($email, $header)</code>
      <code>from_html($overview-&gt;{$colDef['name']})</code>
      <code>from_html($storedOptions['from_name'])</code>
      <code>from_html($storedOptions['reply_to_name'])</code>
      <code>from_html($storedOptions['reply_to_name'])</code>
      <code>from_html($subject)</code>
      <code>from_html($this-&gt;email-&gt;description_html, false)</code>
      <code>from_html($v)</code>
      <code>from_html($v)</code>
      <code>from_html($v)</code>
      <code>from_html($v)</code>
      <code>from_html($v)</code>
      <code>from_html($v)</code>
      <code>from_html($v)</code>
      <code>from_html($v)</code>
      <code>from_html($v)</code>
      <code>mkdir_recursive($cacheFolderPath)</code>
      <code>parse_alert_template($c, $et-&gt;body)</code>
      <code>parse_alert_template($c, $et-&gt;body_html)</code>
      <code>to_html($from)</code>
      <code>to_html($msg-&gt;to)</code>
      <code>to_html($msgPart)</code>
      <code>to_html($raw)</code>
      <code>to_html($text)</code>
      <code>to_html($this-&gt;email-&gt;cc_addrs_names)</code>
      <code>to_html($this-&gt;email-&gt;cc_addrs_names)</code>
      <code>to_html($this-&gt;email-&gt;from_addr)</code>
      <code>to_html($this-&gt;email-&gt;from_addr_name)</code>
      <code>to_html($this-&gt;email-&gt;reply_to_addr)</code>
      <code>to_html($this-&gt;email-&gt;to_addrs)</code>
      <code>to_html($this-&gt;email-&gt;to_addrs_names)</code>
      <code>to_html($value)</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="3">
      <code>$overview-&gt;imap_uid</code>
      <code>$overview-&gt;imap_uid</code>
      <code>$overview-&gt;imap_uid</code>
    </UndefinedPropertyAssignment>
    <UndefinedVariable occurrences="2">
      <code>$fileName</code>
      <code>$sugar_config</code>
    </UndefinedVariable>
  </file>
  <file src="modules/InboundEmail/ListView.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="1">
      <code>$app_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/InboundEmail/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/InboundEmail/Popup.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="2">
      <code>$current_language</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/InboundEmail/Save.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/InboundEmail/ShowInboundFoldersList.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_config;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>!empty($requestMailBox)</code>
    </RedundantCondition>
  </file>
  <file src="modules/InboundEmail/index.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle('InboundEmail', array($mod_strings['LBL_MODULE_TITLE'], $mod_strings['LBL_HOME']), true)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/KBContents/KBContent.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$category-&gt;is_external</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="10">
      <code>$this-&gt;language</code>
      <code>$this-&gt;notuseful</code>
      <code>$this-&gt;notuseful</code>
      <code>$this-&gt;revision</code>
      <code>$this-&gt;revision</code>
      <code>$this-&gt;useful</code>
      <code>$this-&gt;useful</code>
      <code>$this-&gt;usefulness_user_vote</code>
      <code>$this-&gt;usefulness_user_vote</code>
      <code>$this-&gt;usefulness_user_vote</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/KBContents/KBContentsApiHelper.php">
    <UndefinedMethod occurrences="1">
      <code>getRequest</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$bean-&gt;viewcount</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Leads/ConvertLayoutMetadataParser.php">
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive(dirname($filename))</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_view</code>
      <code>$this-&gt;seed</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;_history</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$viewdefs</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Leads/Lead.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/Leads/LeadConvert.php">
    <EmptyArrayAccess occurrences="1">
      <code>$viewdefs['Leads']</code>
    </EmptyArrayAccess>
  </file>
  <file src="modules/Leads/LeadFormBase.php">
    <InvalidGlobal occurrences="5">
      <code>global $current_language;</code>
      <code>global $current_language;</code>
      <code>global $current_language;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>get_left_form_footer()</code>
      <code>get_left_form_header($mod_strings['LBL_NEW_FORM_TITLE'])</code>
      <code>get_validate_record_js()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Leads/clients/base/api/LeadConvertApi.php">
    <UndefinedMethod occurrences="1">
      <code>getRequest</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Leads/views/view.editconvert.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;defs</code>
      <code>$this-&gt;parser</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;parser</code>
      <code>$this-&gt;parser</code>
      <code>$this-&gt;parser</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/MailMerge/MailMerge.php">
    <UndefinedClass occurrences="1">
      <code>COM</code>
    </UndefinedClass>
  </file>
  <file src="modules/MailMerge/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/MailMerge/Merge.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <InvalidScalarArgument occurrences="1">
      <code>(double)microtime()*1000000</code>
    </InvalidScalarArgument>
  </file>
  <file src="modules/MailMerge/Step1.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_version, $sugar_config, $db;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/MailMerge/Step2.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/MailMerge/Step3.php">
    <InvalidGlobal occurrences="8">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $even_bg;</code>
      <code>global $locale;</code>
      <code>global $mod_strings;</code>
      <code>global $odd_bg;</code>
      <code>global $sugar_version, $sugar_config;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/MailMerge/Step4.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $locale;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/MailMerge/index.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_language;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Mailer/AttachmentPeer.php">
    <TypeDoesNotContainType occurrences="1">
      <code>"Note"</code>
    </TypeDoesNotContainType>
    <UndefinedMethod occurrences="1">
      <code>getUploadId</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Mailer/BaseMailer.php">
    <InvalidDocblock occurrences="1">
      <code>abstract class BaseMailer implements IMailer</code>
    </InvalidDocblock>
  </file>
  <file src="modules/Mailer/EmailFormatter.php">
    <UndefinedFunction occurrences="1">
      <code>from_html($string)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Mailer/EmbeddedImage.php">
    <InvalidDocblock occurrences="1">
      <code>class EmbeddedImage extends Attachment</code>
    </InvalidDocblock>
  </file>
  <file src="modules/Mailer/ImapMailer.php">
    <RedundantCondition occurrences="1">
      <code>strpos($this-&gt;mailbox-&gt;getHost(), 'gmail') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($this-&gt;client)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Mailer/LaminasOverrides/ContentTransferEncoding.php">
    <RedundantCast occurrences="1">
      <code>(string) $transferEncoding</code>
    </RedundantCast>
    <RedundantCondition occurrences="1">
      <code>strpos($transferEncoding, $validEncoding) !== false</code>
    </RedundantCondition>
  </file>
  <file src="modules/Mailer/LaminasOverrides/Decode.php">
    <RedundantCondition occurrences="1">
      <code>substr($message, 0, $firstlinePos)</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>$firstlinePos === false</code>
      <code>$p === false</code>
    </TypeDoesNotContainType>
    <UndefinedClass occurrences="1">
      <code>Zend_Exception</code>
    </UndefinedClass>
  </file>
  <file src="modules/Mailer/LaminasOverrides/EmailAddress.php">
    <RedundantCondition occurrences="3">
      <code>$length</code>
      <code>$local &amp;&amp; $length</code>
      <code>strpos($value, '..') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>false === UConverter::transcode($localPart, 'UTF-8', 'UTF-8')</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Mailer/LaminasOverrides/HeaderWrap.php">
    <RedundantCondition occurrences="1">
      <code>false !== strpos($originalValue, $value)</code>
    </RedundantCondition>
  </file>
  <file src="modules/Mailer/SmtpMailer.php">
    <InvalidDocblock occurrences="1">
      <code>class SmtpMailer extends BaseMailer</code>
    </InvalidDocblock>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($body, "&lt;html") === false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="3">
      <code>from_html($this-&gt;config-&gt;getPassword())</code>
      <code>from_html($this-&gt;htmlBody)</code>
      <code>from_html($this-&gt;textBody)</code>
    </UndefinedFunction>
    <UndefinedMethod occurrences="1">
      <code>getOAUTHInstance</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$mailer-&gt;accessToken</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Manufacturers/Manufacturer.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/Meetings/JoinExternalMeeting.php">
    <InvalidGlobal occurrences="1">
      <code>global $db, $current_user, $mod_strings, $app_strings, $app_list_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Meetings/Meeting.php">
    <InvalidGlobal occurrences="5">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <NoInterfaceProperties occurrences="1">
      <code>$api-&gt;canInvite</code>
    </NoInterfaceProperties>
    <StringIncrement occurrences="1">
      <code>$i</code>
    </StringIncrement>
    <UndefinedInterfaceMethod occurrences="1">
      <code>logoff</code>
    </UndefinedInterfaceMethod>
    <UndefinedThisPropertyAssignment occurrences="11">
      <code>$this-&gt;creator</code>
      <code>$this-&gt;displayed_url</code>
      <code>$this-&gt;external_id</code>
      <code>$this-&gt;host_url</code>
      <code>$this-&gt;join_url</code>
      <code>$this-&gt;repeat_days</code>
      <code>$this-&gt;repeat_dow</code>
      <code>$this-&gt;repeat_ordinal</code>
      <code>$this-&gt;repeat_unit</code>
      <code>$this-&gt;time_start_hour</code>
      <code>$this-&gt;time_start_hour</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedVariable occurrences="1">
      <code>$time_meridiem</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Meetings/MeetingFormBase.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_language;</code>
      <code>global $current_language;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>get_left_form_footer()</code>
      <code>get_left_form_header($mod_strings['LBL_NEW_FORM_TITLE'])</code>
      <code>get_validate_record_js()</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="2">
      <code>$jscalendarImage</code>
      <code>$lbl_subject</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Meetings/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings,$app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Meetings/SubPanelViewInvitees.php">
    <InvalidGlobal occurrences="8">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $focus;</code>
      <code>global $focus_list;</code>
      <code>global $locale;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>get_form_header($mod_strings['LBL_INVITEE'], $button, false)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="2">
      <code>$focus_contacts_list</code>
      <code>$focus_users_list</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Meetings/metadata/additionalDetails.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Meetings/views/view.list.php">
    <TypeDoesNotContainType occurrences="1">
      <code>$_REQUEST['search_form_only'] == false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Meetings/views/view.listbytype.php">
    <TypeDoesNotContainType occurrences="1">
      <code>$_REQUEST['search_form_only'] == false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/MobileDevices/MobileDevice.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;assigned_user_id</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ModuleBuilder/MB/MBField.php">
    <UndefinedMethod occurrences="1">
      <code>getDBName</code>
    </UndefinedMethod>
  </file>
  <file src="modules/ModuleBuilder/MB/MBLanguage.php">
    <EmptyArrayAccess occurrences="2">
      <code>$app_list_strings['moduleList']</code>
      <code>$app_list_strings['moduleListSingular']</code>
    </EmptyArrayAccess>
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings;</code>
    </InvalidGlobal>
    <UndefinedConstant occurrences="4">
      <code>MB_IMPLEMENTS</code>
      <code>MB_IMPLEMENTS</code>
      <code>MB_TEMPLATES</code>
      <code>MB_TEMPLATES</code>
    </UndefinedConstant>
    <UndefinedFunction occurrences="2">
      <code>copy_recursive($this-&gt;path.'/language/', $path . '/language/')</code>
      <code>mkdir_recursive($save_path)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="8">
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;label</code>
      <code>$this-&gt;label_singular</code>
      <code>$this-&gt;name</code>
      <code>$this-&gt;path</code>
      <code>$this-&gt;strings</code>
      <code>$this-&gt;strings</code>
      <code>$this-&gt;strings</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="15">
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;label</code>
      <code>$this-&gt;label</code>
      <code>$this-&gt;label_singular</code>
      <code>$this-&gt;label_singular</code>
      <code>$this-&gt;name</code>
      <code>$this-&gt;path</code>
      <code>$this-&gt;path</code>
      <code>$this-&gt;path</code>
      <code>$this-&gt;path</code>
      <code>$this-&gt;path</code>
      <code>$this-&gt;strings</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/MB/MBModule.php">
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($name, 'subpanel-') === false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="11">
      <code>copy_recursive ( "$from/$filename" , "$to/$filename" )</code>
      <code>copy_recursive ( $old, $new )</code>
      <code>get_widget($fieldVarDefs['type'])</code>
      <code>mkdir_recursive ( $icondir )</code>
      <code>mkdir_recursive ( $path )</code>
      <code>mkdir_recursive ( $this-&gt;path )</code>
      <code>mkdir_recursive ( $to )</code>
      <code>mkdir_recursive($dir)</code>
      <code>mkdir_recursive($path . '/metadata')</code>
      <code>rmdir_recursive($this-&gt;getModuleDir())</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="11">
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;mbvardefs</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;package_key</code>
      <code>$this-&gt;package_path</code>
      <code>$this-&gt;providedSubpanels</code>
      <code>$this-&gt;providedSubpanels</code>
      <code>$this-&gt;relationships</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="41">
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;key_name</code>
      <code>$this-&gt;mbvardefs</code>
      <code>$this-&gt;mbvardefs</code>
      <code>$this-&gt;mbvardefs</code>
      <code>$this-&gt;mbvardefs</code>
      <code>$this-&gt;mbvardefs</code>
      <code>$this-&gt;mbvardefs</code>
      <code>$this-&gt;mbvardefs</code>
      <code>$this-&gt;mbvardefs</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;package_key</code>
      <code>$this-&gt;package_key</code>
      <code>$this-&gt;package_path</code>
      <code>$this-&gt;package_path</code>
      <code>$this-&gt;package_path</code>
      <code>$this-&gt;package_path</code>
      <code>$this-&gt;relationships</code>
      <code>$this-&gt;relationships</code>
      <code>$this-&gt;relationships</code>
      <code>$this-&gt;relationships</code>
      <code>$this-&gt;relationships</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/MB/MBPackage.php">
    <InvalidDocblock occurrences="1"/>
    <MissingDocblockType occurrences="1">
      <code>$fileInfo</code>
    </MissingDocblockType>
    <ParadoxicalCondition occurrences="1">
      <code>'required'</code>
    </ParadoxicalCondition>
    <RedundantCondition occurrences="4">
      <code>strpos($fileInfo-&gt;getFilename(), $k) !== false</code>
      <code>strpos($fn, $lc_mod.'_'.$lc_mod) !== false</code>
      <code>strpos($fn, strtolower($relatedModule)) !== false</code>
      <code>strpos($trimmedPath, '/Ext/Language') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="3">
      <code>count($app_list_strings) &gt; 0</code>
      <code>count($role_dropdown_filters) &gt; 0</code>
      <code>strpos($fn, $lc_mod) === false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="21">
      <code>copy_recursive( $this-&gt;path . '/language/', $path . '/language/')</code>
      <code>copy_recursive($old, $new)</code>
      <code>copy_recursive($this-&gt;getPackageDir(), $tmppath ."/". $this-&gt;name)</code>
      <code>copy_recursive($this-&gt;path . '/icons/', $icon_path)</code>
      <code>mkdir_recursive($dirName)</code>
      <code>mkdir_recursive($icon_path)</code>
      <code>mkdir_recursive($path)</code>
      <code>mkdir_recursive($path)</code>
      <code>mkdir_recursive($pathmod)</code>
      <code>mkdir_recursive($tmppath)</code>
      <code>mkdir_recursive($zipDir)</code>
      <code>mkdir_recursive($zipDir)</code>
      <code>mkdir_recursive($zipDir)</code>
      <code>rmdir_recursive("$pathmod/Ext")</code>
      <code>rmdir_recursive($path)</code>
      <code>rmdir_recursive($path)</code>
      <code>rmdir_recursive($this-&gt;getBuildDir())</code>
      <code>rmdir_recursive($this-&gt;getBuildDir())</code>
      <code>rmdir_recursive($this-&gt;getPackageDir())</code>
      <code>rmdir_recursive($tmppath)</code>
      <code>to_html($this-&gt;description)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;path</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedVariable occurrences="1">
      <code>$language</code>
    </UndefinedVariable>
  </file>
  <file src="modules/ModuleBuilder/MB/MBPackageTree.php">
    <UndefinedPropertyAssignment occurrences="2">
      <code>$this-&gt;tree-&gt;id</code>
      <code>$yn-&gt;id</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;mb</code>
      <code>$this-&gt;tree</code>
      <code>$this-&gt;tree</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;tree</code>
      <code>$this-&gt;tree</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/MB/MBRelationship.php">
    <UndefinedMethod occurrences="1">
      <code>AbstractRelationships::convertFromOldFormat ( $rel )</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;path</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="11">
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;moduleName</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/MB/MBVardefs.php">
    <EmptyArrayAccess occurrences="1">
      <code>$this-&gt;vardefs['fields'][$this-&gt;name]</code>
    </EmptyArrayAccess>
    <UndefinedConstant occurrences="4">
      <code>MB_IMPLEMENTS</code>
      <code>MB_IMPLEMENTS</code>
      <code>MB_IMPLEMENTS</code>
      <code>MB_TEMPLATES</code>
    </UndefinedConstant>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;key_name</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;key_name</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/Module/DropDownTree.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$this-&gt;tree-&gt;id</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;mb</code>
      <code>$this-&gt;tree</code>
      <code>$this-&gt;tree</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ModuleBuilder/Module/MainTree.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$this-&gt;tree-&gt;id</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;mb</code>
      <code>$this-&gt;tree</code>
      <code>$this-&gt;tree</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ModuleBuilder/Module/StudioModule.php">
    <RedundantCondition occurrences="1">
      <code>$label == 'LBL_FILTER_SEARCH'</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>query_module_access_list($GLOBALS['current_user'])</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="7">
      <code>$this-&gt;providedSubpanels</code>
      <code>$this-&gt;providedSubpanels</code>
      <code>$this-&gt;providedSubpanels</code>
      <code>$this-&gt;providedSubpanels</code>
      <code>$this-&gt;sources</code>
      <code>$this-&gt;sources</code>
      <code>$this-&gt;sources</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;sources</code>
      <code>$this-&gt;sources</code>
      <code>$this-&gt;sources</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/Module/StudioTree.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$this-&gt;tree-&gt;id</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;mb</code>
      <code>$this-&gt;tree</code>
      <code>$this-&gt;tree</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ModuleBuilder/Module/SugarPortalModule.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;module</code>
      <code>$this-&gt;views</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;views</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/Module/SugarPortalTree.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$this-&gt;tree-&gt;id</code>
    </UndefinedPropertyAssignment>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;mb</code>
      <code>$this-&gt;tree</code>
      <code>$this-&gt;tree</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ModuleBuilder/controller.php">
    <InvalidGlobal occurrences="1">
      <code>global $dictionary;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="4">
      <code>!$found</code>
      <code>!empty($_REQUEST [ 'sync_detail_and_edit' ]) &amp;&amp; $_REQUEST['sync_detail_and_edit'] != false</code>
      <code>!empty($_REQUEST ['sync_detail_and_edit']) &amp;&amp; $_REQUEST['sync_detail_and_edit'] != false</code>
      <code>$found</code>
    </RedundantCondition>
    <UndefinedClass occurrences="1">
      <code>SugarTemplateUtilities</code>
    </UndefinedClass>
    <UndefinedFunction occurrences="2">
      <code>mkdir_recursive('custom/portal/custom')</code>
      <code>query_module_access_list($GLOBALS['current_user'])</code>
    </UndefinedFunction>
  </file>
  <file src="modules/ModuleBuilder/parsers/MetaDataFile/MetaDataFileSidecar.php">
    <UndefinedInterfaceMethod occurrences="1">
      <code>getView</code>
    </UndefinedInterfaceMethod>
  </file>
  <file src="modules/ModuleBuilder/parsers/MetaDataFiles.php">
    <RedundantCondition occurrences="1">
      <code>$context != null</code>
    </RedundantCondition>
  </file>
  <file src="modules/ModuleBuilder/parsers/ModuleBuilderParser.php">
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive ( dirname ( $file ) )</code>
    </UndefinedFunction>
  </file>
  <file src="modules/ModuleBuilder/parsers/StandardField.php">
    <EmptyArrayAccess occurrences="1">
      <code>$dictionary[$beanList[$this-&gt;module]]</code>
    </EmptyArrayAccess>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/parser.dropdown.php">
    <MissingDocblockType occurrences="1">
      <code>public function saveDropDown($params, $finalize = true, $lang = '')</code>
    </MissingDocblockType>
    <UndefinedFunction occurrences="2">
      <code>from_html($item[0])</code>
      <code>from_html($item[1])</code>
    </UndefinedFunction>
  </file>
  <file src="modules/ModuleBuilder/parsers/parser.label.php">
    <UndefinedFunction occurrences="4">
      <code>from_html($value)</code>
      <code>from_html($value)</code>
      <code>mkdir_recursive($basepath)</code>
      <code>to_html(strip_tags(from_html($value)))</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;packageName</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="7">
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;moduleName</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$mod_strings</code>
    </UndefinedVariable>
  </file>
  <file src="modules/ModuleBuilder/parsers/parser.modifylayoutview.php">
    <InvalidArrayOffset occurrences="3">
      <code>$this-&gt;_viewdefs ['panels'] [$panelID] [$rowID]</code>
      <code>$this-&gt;_viewdefs ['panels'] [$panelID] [$rowID]</code>
      <code>$this-&gt;_viewdefs ['panels'] [$panelID] [$rowID]</code>
    </InvalidArrayOffset>
    <ParamNameMismatch occurrences="1">
      <code>$module</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;_baseDirectory</code>
      <code>$this-&gt;_sourceView</code>
      <code>$this-&gt;_sourceView</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;_sourceView</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$submittedLayout</code>
    </UndefinedVariable>
  </file>
  <file src="modules/ModuleBuilder/parsers/parser.modifylistview.php">
    <RedundantCondition occurrences="2">
      <code>strpos ( $def [ 'name' ], "_name" ) !== false</code>
      <code>strpos ( $width, "%" ) !== false</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="9">
      <code>$this-&gt;availableFields</code>
      <code>$this-&gt;availableFields</code>
      <code>$this-&gt;availableFields</code>
      <code>$this-&gt;customFile</code>
      <code>$this-&gt;language_module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;originalListViewDefs</code>
      <code>$this-&gt;originalListViewDefs</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="7">
      <code>$this-&gt;customFile</code>
      <code>$this-&gt;language_module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;originalListViewDefs</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/parser.modifysubpanel.php">
    <UndefinedThisPropertyAssignment occurrences="11">
      <code>$this-&gt;availableFields</code>
      <code>$this-&gt;availableFields</code>
      <code>$this-&gt;availableFields</code>
      <code>$this-&gt;language_module</code>
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;originalListViewDefs</code>
      <code>$this-&gt;originalListViewDefs</code>
      <code>$this-&gt;panel</code>
      <code>$this-&gt;subPanelName</code>
      <code>$this-&gt;subPanelParentModule</code>
      <code>$this-&gt;subPanelParentModule</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="9">
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;originalListViewDefs</code>
      <code>$this-&gt;originalListViewDefs</code>
      <code>$this-&gt;panel</code>
      <code>$this-&gt;panel</code>
      <code>$this-&gt;panel</code>
      <code>$this-&gt;subPanelName</code>
      <code>$this-&gt;subPanelParentModule</code>
      <code>$this-&gt;subPanelParentModule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/parser.portallayoutview.php">
    <ParamNameMismatch occurrences="2">
      <code>$module</code>
      <code>$panel</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;_history</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;_history</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/parser.portallistview.php">
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive(dirname($this-&gt;customFile))</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="8">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;availableFields</code>
      <code>$this-&gt;availableFields</code>
      <code>$this-&gt;availableFields</code>
      <code>$this-&gt;mod_strings</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;originalListViewDefs</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="5">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_history</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module_name</code>
      <code>$this-&gt;originalListViewDefs</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$newFile</code>
    </UndefinedVariable>
  </file>
  <file src="modules/ModuleBuilder/parsers/parser.searchfields.php">
    <UndefinedFunction occurrences="2">
      <code>mkdir_recursive("custom/modulebuilder/packages/{$this-&gt;packageName}/modules/{$this-&gt;moduleName}/metadata")</code>
      <code>mkdir_recursive("custom/modules/{$this-&gt;moduleName}/metadata")</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;packageName</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="8">
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;moduleName</code>
      <code>$this-&gt;moduleName</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/relationships/AbstractRelationship.php">
    <RedundantCast occurrences="1">
      <code>strtolower</code>
    </RedundantCast>
    <UndefinedFunction occurrences="1">
      <code>getValidDBName($name, $ensureUnique, MB_MAXDBIDENTIFIERLENGTH)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="7">
      <code>$this-&gt;deleted</code>
      <code>$this-&gt;from_studio</code>
      <code>$this-&gt;joinKeyLHS</code>
      <code>$this-&gt;joinKeyRHS</code>
      <code>$this-&gt;readonly</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_only</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="37">
      <code>$this-&gt;from_studio</code>
      <code>$this-&gt;from_studio</code>
      <code>$this-&gt;is_custom</code>
      <code>$this-&gt;is_custom</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_only</code>
      <code>$this-&gt;relationship_type</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/relationships/AbstractRelationships.php">
    <RedundantCondition occurrences="1">
      <code>strpos($installDefPrefix, '/SugarModules') !== false</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="7">
      <code>mkdir_recursive ( "$basepath/layoutdefs/" )</code>
      <code>mkdir_recursive ( "$basepath/relationships" )</code>
      <code>mkdir_recursive ( "$basepath/vardefs/" )</code>
      <code>mkdir_recursive ( "$basepath/wirelesslayoutdefs/" )</code>
      <code>mkdir_recursive ( $basepath )</code>
      <code>mkdir_recursive("$basepath/language")</code>
      <code>mkdir_recursive("{$basepath}/{$moduleName}/clients")</code>
    </UndefinedFunction>
    <UndefinedMethod occurrences="1">
      <code>delete</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;newRelationshipName</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ModuleBuilder/parsers/relationships/ActivitiesRelationship.php">
    <UndefinedThisPropertyFetch occurrences="16">
      <code>$this-&gt;lhs_label</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_only</code>
      <code>$this-&gt;relationship_only</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/relationships/DeployedRelationships.php">
    <MissingFile occurrences="1">
      <code>include('custom/application/Ext/TableDictionary/tabledictionary.ext.php')</code>
    </MissingFile>
    <TypeDoesNotContainType occurrences="1">
      <code>!empty ($dictionary)</code>
    </TypeDoesNotContainType>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;activitiesToAdd</code>
      <code>$this-&gt;activitiesToAdd</code>
      <code>$this-&gt;newRelationshipName</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ModuleBuilder/parsers/relationships/ManyToManyRelationship.php">
    <UndefinedThisPropertyFetch occurrences="16">
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_subpanel</code>
      <code>$this-&gt;lhs_subpanel</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_only</code>
      <code>$this-&gt;relationship_only</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_subpanel</code>
      <code>$this-&gt;rhs_subpanel</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/relationships/ManyToOneRelationship.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;one_to_many</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="12">
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;one_to_many</code>
      <code>$this-&gt;one_to_many</code>
      <code>$this-&gt;one_to_many</code>
      <code>$this-&gt;one_to_many</code>
      <code>$this-&gt;one_to_many</code>
      <code>$this-&gt;one_to_many</code>
      <code>$this-&gt;one_to_many</code>
      <code>$this-&gt;one_to_many</code>
      <code>$this-&gt;one_to_many</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_only</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/relationships/OneToManyRelationship.php">
    <UndefinedThisPropertyFetch occurrences="19">
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_only</code>
      <code>$this-&gt;relationship_only</code>
      <code>$this-&gt;relationship_only</code>
      <code>$this-&gt;relationship_only</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_subpanel</code>
      <code>$this-&gt;rhs_subpanel</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/relationships/OneToOneRelationship.php">
    <UndefinedThisPropertyFetch occurrences="12">
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;lhs_module</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_name</code>
      <code>$this-&gt;relationship_only</code>
      <code>$this-&gt;relationship_only</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
      <code>$this-&gt;rhs_module</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/relationships/RelationshipFactory.php">
    <RedundantCast occurrences="3">
      <code>strtolower</code>
      <code>strtolower</code>
      <code>strtolower</code>
    </RedundantCast>
    <RedundantCondition occurrences="1">
      <code>!empty ($definition['for_activities']) &amp;&amp; $definition['for_activities'] == true</code>
    </RedundantCondition>
  </file>
  <file src="modules/ModuleBuilder/parsers/relationships/UndeployedRelationships.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;installDefs</code>
      <code>$this-&gt;packageKey</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;installDefs</code>
      <code>$this-&gt;packageKey</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/AbstractMetaDataImplementation.php">
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive(dirname($filename))</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;_variables</code>
      <code>$this-&gt;_variables</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_variables</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/AbstractMetaDataParser.php">
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;_panels</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/DeployedMetaDataImplementation.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_language;</code>
      <code>global $current_language;</code>
      <code>global $current_language;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>rmdir_recursive($path)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;module_dir</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_history</code>
      <code>$this-&gt;module_dir</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/DeployedSidecarFilterImplementation.php">
    <RedundantCondition occurrences="1">
      <code>!$this-&gt;_viewClient !== 'base'</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;bean</code>
      <code>$this-&gt;loadedViewClient</code>
      <code>$this-&gt;loadedViewClient</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_history</code>
      <code>$this-&gt;bean</code>
      <code>$this-&gt;loadedViewClient</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/DeployedSidecarSubpanelImplementation.php">
    <RedundantCondition occurrences="1">
      <code>strpos($this-&gt;sidecarSubpanelName, 'subpanel-for-') !== false</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive($layoutPath, true)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="20">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_language</code>
      <code>$this-&gt;_language</code>
      <code>$this-&gt;bean</code>
      <code>$this-&gt;bean</code>
      <code>$this-&gt;historyPathname</code>
      <code>$this-&gt;loadedModule</code>
      <code>$this-&gt;loadedSubpanelFileName</code>
      <code>$this-&gt;loadedSubpanelFileName</code>
      <code>$this-&gt;loadedSubpanelName</code>
      <code>$this-&gt;loadedSubpanelName</code>
      <code>$this-&gt;loadedSubpanelName</code>
      <code>$this-&gt;mdc</code>
      <code>$this-&gt;overrideArrayKey</code>
      <code>$this-&gt;sidecarFile</code>
      <code>$this-&gt;sidecarFile</code>
      <code>$this-&gt;sidecarFile</code>
      <code>$this-&gt;sidecarSubpanelName</code>
      <code>$this-&gt;sidecarSubpanelName</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="15">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;loadedModule</code>
      <code>$this-&gt;loadedModule</code>
      <code>$this-&gt;loadedModule</code>
      <code>$this-&gt;loadedModule</code>
      <code>$this-&gt;loadedModule</code>
      <code>$this-&gt;loadedModule</code>
      <code>$this-&gt;loadedModule</code>
      <code>$this-&gt;loadedModule</code>
      <code>$this-&gt;loadedSubpanelFileName</code>
      <code>$this-&gt;mdc</code>
      <code>$this-&gt;mdc</code>
      <code>$this-&gt;sidecarFile</code>
      <code>$this-&gt;sidecarSubpanelName</code>
      <code>$this-&gt;sidecarSubpanelName</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$viewdefs</code>
    </UndefinedVariable>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/DeployedSubpanelImplementation.php">
    <UndefinedThisPropertyAssignment occurrences="5">
      <code>$this-&gt;_fullFielddefs</code>
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_language</code>
      <code>$this-&gt;_language</code>
      <code>$this-&gt;historyPathname</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_language</code>
      <code>$this-&gt;historyPathname</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/GridLayoutMetaDataParser.php">
    <InvalidArrayOffset occurrences="3">
      <code>$this-&gt;_viewdefs [ 'panels' ] [ $panelID ] [ $rowID ]</code>
      <code>$this-&gt;_viewdefs [ 'panels' ] [ $panelID ] [ $rowID ]</code>
      <code>$this-&gt;_viewdefs [ 'panels' ] [ $panelID ] [ $rowID ]</code>
    </InvalidArrayOffset>
    <InvalidOperand occurrences="2">
      <code>$field == MBConstants::$EMPTY ['name' ] || $field == $this-&gt;FILLER [ 'name' ]</code>
      <code>$lastRowTouched !== false</code>
    </InvalidOperand>
    <RedundantCondition occurrences="1">
      <code>!empty($def['studio']['required']) &amp;&amp; $def['studio']['required'] == true</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;_originalViewDef</code>
      <code>$this-&gt;_view</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="7">
      <code>$this-&gt;_view</code>
      <code>$this-&gt;_view</code>
      <code>$this-&gt;_view</code>
      <code>$this-&gt;_view</code>
      <code>$this-&gt;_view</code>
      <code>$this-&gt;_view</code>
      <code>$this-&gt;_view</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/History.php">
    <ParamNameMismatch occurrences="1">
      <code>$index</code>
    </ParamNameMismatch>
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive($this-&gt;_dirname)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;_historyLimit</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;_historyLimit</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/PopupMetaDataParser.php">
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive ( dirname ( $writeFile ) )</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;_packageName</code>
      <code>$this-&gt;_view</code>
      <code>$this-&gt;search</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;_view</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/SearchViewMetaDataParser.php">
    <UndefinedThisPropertyAssignment occurrences="6">
      <code>$this-&gt;_saved</code>
      <code>$this-&gt;_saved</code>
      <code>$this-&gt;_saved</code>
      <code>$this-&gt;_saved</code>
      <code>$this-&gt;_saved</code>
      <code>$this-&gt;_searchLayout</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;_saved</code>
      <code>$this-&gt;_searchLayout</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/SidecarFilterLayoutMetaDataParser.php">
    <ParamNameMismatch occurrences="2">
      <code>$defs</code>
      <code>$fieldName</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/SidecarGridLayoutMetaDataParser.php">
    <InvalidOperand occurrences="1">
      <code>$i</code>
    </InvalidOperand>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;fieldsRemovedFromAvailability</code>
      <code>$this-&gt;headerPanelIndex</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="7">
      <code>$this-&gt;_originalViewDef</code>
      <code>$this-&gt;_originalViewDef</code>
      <code>$this-&gt;_view</code>
      <code>$this-&gt;_view</code>
      <code>$this-&gt;_view</code>
      <code>$this-&gt;_view</code>
      <code>$this-&gt;fieldsRemovedFromAvailability</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/SubpanelMetaDataParser.php">
    <MissingDocblockType occurrences="1">
      <code>protected function makeRelateFieldsAsLink($defs)</code>
    </MissingDocblockType>
    <UndefinedFunction occurrences="1">
      <code>from_html($_REQUEST['subpanel_title'])</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;_invisibleFields</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;_invisibleFields</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/UndeployedMetaDataImplementation.php">
    <RedundantCondition occurrences="1">
      <code>MB_HISTORYMETADATALOCATION == $type</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;module</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_history</code>
      <code>$this-&gt;module</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/UndeployedSidecarFilterImplementation.php">
    <UndefinedThisPropertyAssignment occurrences="5">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;client</code>
      <code>$this-&gt;historyPathname</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;sidecarFile</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;sidecarFile</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$viewdefs</code>
    </UndefinedVariable>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/UndeployedSidecarSubpanelImplementation.php">
    <UndefinedThisPropertyAssignment occurrences="8">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_subpanelName</code>
      <code>$this-&gt;client</code>
      <code>$this-&gt;historyPathname</code>
      <code>$this-&gt;mdc</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;sidecarFile</code>
      <code>$this-&gt;sidecarSubpanelName</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="7">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_subpanelName</code>
      <code>$this-&gt;historyPathname</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;module</code>
      <code>$this-&gt;sidecarFile</code>
      <code>$this-&gt;sidecarSubpanelName</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/parsers/views/UndeployedSubpanelImplementation.php">
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_subpanelName</code>
      <code>$this-&gt;historyPathname</code>
      <code>$this-&gt;module</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;_history</code>
      <code>$this-&gt;_subpanelName</code>
      <code>$this-&gt;historyPathname</code>
      <code>$this-&gt;module</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/views/view.displaydeployresult.php">
    <UndefinedThisPropertyAssignment occurrences="6">
      <code>$this-&gt;show_header</code>
      <code>$this-&gt;show_javascript</code>
      <code>$this-&gt;show_search</code>
      <code>$this-&gt;show_subpanels</code>
      <code>$this-&gt;show_title</code>
      <code>$this-&gt;view_print</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ModuleBuilder/views/view.history.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;layout</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;layout</code>
      <code>$this-&gt;layout</code>
      <code>$this-&gt;layout</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/views/view.home.php">
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;buttons</code>
      <code>$this-&gt;buttons</code>
      <code>$this-&gt;buttons</code>
      <code>$this-&gt;buttons</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;buttons</code>
      <code>$this-&gt;buttons</code>
      <code>$this-&gt;buttons</code>
      <code>$this-&gt;buttons</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/views/view.labels.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ModuleBuilder/views/view.layoutview.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_list_strings;</code>
      <code>global $current_language;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>rmdir_recursive($dir)</code>
    </UndefinedFunction>
    <UndefinedInterfaceMethod occurrences="1">
      <code>fileExists</code>
    </UndefinedInterfaceMethod>
    <UndefinedThisPropertyAssignment occurrences="6">
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;fromModuleBuilder</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;sm</code>
      <code>$this-&gt;translatedEditModule</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="18">
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;fromModuleBuilder</code>
      <code>$this-&gt;fromModuleBuilder</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;translatedEditModule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/views/view.listview.php">
    <UndefinedThisPropertyAssignment occurrences="12">
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;fromModuleBuilder</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;subpanel</code>
      <code>$this-&gt;subpanelLabel</code>
      <code>$this-&gt;translatedEditModule</code>
      <code>$this-&gt;translatedViewType</code>
      <code>$this-&gt;translatedViewType</code>
      <code>$this-&gt;translatedViewType</code>
      <code>$this-&gt;translatedViewType</code>
      <code>$this-&gt;translatedViewType</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="24">
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;fromModuleBuilder</code>
      <code>$this-&gt;fromModuleBuilder</code>
      <code>$this-&gt;fromModuleBuilder</code>
      <code>$this-&gt;fromModuleBuilder</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;subpanel</code>
      <code>$this-&gt;subpanel</code>
      <code>$this-&gt;subpanel</code>
      <code>$this-&gt;subpanel</code>
      <code>$this-&gt;subpanelLabel</code>
      <code>$this-&gt;subpanelLabel</code>
      <code>$this-&gt;subpanelLabel</code>
      <code>$this-&gt;translatedEditModule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/views/view.main.php">
    <RedundantCondition occurrences="2">
      <code>$mbt</code>
      <code>$mbt</code>
    </RedundantCondition>
    <UndefinedPropertyAssignment occurrences="3">
      <code>$tiny-&gt;buttonConfig</code>
      <code>$tiny-&gt;buttonConfig2</code>
      <code>$tiny-&gt;buttonConfig3</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/ModuleBuilder/views/view.modulefield.php">
    <InvalidGlobal occurrences="1">
      <code>global $dictionary;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="1">
      <code>$template</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="3">
      <code>!empty($this-&gt;view_object_map['is_clone']) &amp;&amp; $this-&gt;view_object_map['is_clone']</code>
      <code>$this-&gt;view_object_map['is_clone']</code>
    </RedundantCondition>
    <UndefinedPropertyFetch occurrences="6">
      <code>$this-&gt;fv-&gt;ss</code>
      <code>$this-&gt;fv-&gt;ss</code>
      <code>$this-&gt;fv-&gt;ss</code>
      <code>$this-&gt;fv-&gt;ss</code>
      <code>$this-&gt;fv-&gt;ss</code>
      <code>$this-&gt;fv-&gt;ss</code>
    </UndefinedPropertyFetch>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;mbModule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/views/view.modulefields.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $dictionary;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>$def['name'] === 'license_type'</code>
    </RedundantCondition>
    <UndefinedClass occurrences="1">
      <code>?Request</code>
    </UndefinedClass>
  </file>
  <file src="modules/ModuleBuilder/views/view.package.php">
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;buttons</code>
      <code>$this-&gt;buttons</code>
      <code>$this-&gt;package</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;buttons</code>
      <code>$this-&gt;buttons</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;package</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="2">
      <code>$original_name</code>
      <code>$original_name</code>
    </UndefinedVariable>
  </file>
  <file src="modules/ModuleBuilder/views/view.popupview.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings ;</code>
    </InvalidGlobal>
    <UndefinedThisPropertyAssignment occurrences="5">
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editPackage</code>
      <code>$this-&gt;fromModuleBuilder</code>
      <code>$this-&gt;translatedEditModule</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="17">
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editPackage</code>
      <code>$this-&gt;editPackage</code>
      <code>$this-&gt;editPackage</code>
      <code>$this-&gt;editPackage</code>
      <code>$this-&gt;fromModuleBuilder</code>
      <code>$this-&gt;fromModuleBuilder</code>
      <code>$this-&gt;fromModuleBuilder</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/views/view.portallayoutview.php">
    <InvalidArrayOffset occurrences="1">
      <code>$button['width']</code>
    </InvalidArrayOffset>
    <TypeDoesNotContainType occurrences="2">
      <code>$button['id'] == "spacer"</code>
      <code>$button['id'] == "spacer"</code>
    </TypeDoesNotContainType>
    <UndefinedClass occurrences="1">
      <code>Request</code>
    </UndefinedClass>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editModule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/views/view.portallistview.php">
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/views/view.property.php">
    <UndefinedThisPropertyAssignment occurrences="10">
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editPackage</code>
      <code>$this-&gt;id</code>
      <code>$this-&gt;properties</code>
      <code>$this-&gt;properties</code>
      <code>$this-&gt;properties</code>
      <code>$this-&gt;properties</code>
      <code>$this-&gt;properties</code>
      <code>$this-&gt;properties</code>
      <code>$this-&gt;subpanel</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editPackage</code>
      <code>$this-&gt;properties</code>
      <code>$this-&gt;subpanel</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/views/view.relationship.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;fromModuleBuilder</code>
      <code>$this-&gt;smarty</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ModuleBuilder/views/view.relationships.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings ;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="1">
      <code>$template</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;fromModuleBuilder</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ModuleBuilder/views/view.resetmodule.php">
    <TypeDoesNotContainType occurrences="1">
      <code>$madeChanges</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>rmdir_recursive($extDir)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/ModuleBuilder/views/view.searchview.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;title</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="8">
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editLayout</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;editModule</code>
      <code>$this-&gt;fromModuleBuilder</code>
      <code>$this-&gt;translatedEditModule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ModuleBuilder/views/view.wizard.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <UndefinedMethod occurrences="1">
      <code>generateStudioDashletButtons</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;ajax</code>
      <code>$this-&gt;package</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="6">
      <code>$this-&gt;ajax</code>
      <code>$this-&gt;ajax</code>
      <code>$this-&gt;ajax</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;package</code>
      <code>$this-&gt;package</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/MySettings/LoadTabSubpanels.php">
    <InvalidGlobal occurrences="2">
      <code>global $currentModule;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/MySettings/StoreQuery.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;populate_only</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/MySettings/TabController.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Notes/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Notes/Note.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>strpos($mimeType, 'image') !== false</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;email_id</code>
      <code>$this-&gt;email_type</code>
      <code>$this-&gt;upload_id</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Notes/NotesApiHelper.php">
    <UndefinedMethod occurrences="1">
      <code>deleteAttachment</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$note-&gt;account_id</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Notes/metadata/additionalDetails.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Notifications/views/view.systemquicklist.php">
    <UndefinedVariable occurrences="1">
      <code>$settings</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Opportunities/ListViewTop.php">
    <UndefinedGlobalVariable occurrences="2">
      <code>$current_language</code>
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Opportunities/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $app_strings, $sugar_config;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Opportunities/OpportunitiesSeedData.php">
    <UndefinedMethod occurrences="6">
      <code>copyValues</code>
      <code>copyValues</code>
      <code>copyValues</code>
      <code>copyValues</code>
      <code>getClosedStages</code>
      <code>getClosedStages</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="85">
      <code>$fw-&gt;created_by</code>
      <code>$fw-&gt;created_by</code>
      <code>$fw-&gt;modified_user_id</code>
      <code>$fw-&gt;modified_user_id</code>
      <code>$fw-&gt;parent_id</code>
      <code>$fw-&gt;parent_id</code>
      <code>$fw-&gt;parent_id</code>
      <code>$fw-&gt;parent_id</code>
      <code>$opp-&gt;account_id</code>
      <code>$opp-&gt;account_name</code>
      <code>$opp-&gt;amount</code>
      <code>$opp-&gt;amount_usdollar</code>
      <code>$opp-&gt;assigned_user_id</code>
      <code>$opp-&gt;assigned_user_name</code>
      <code>$opp-&gt;base_rate</code>
      <code>$opp-&gt;best_case</code>
      <code>$opp-&gt;commit_stage</code>
      <code>$opp-&gt;created_by</code>
      <code>$opp-&gt;currency_id</code>
      <code>$opp-&gt;date_closed</code>
      <code>$opp-&gt;date_closed_timestamp</code>
      <code>$opp-&gt;date_entered</code>
      <code>$opp-&gt;date_modified</code>
      <code>$opp-&gt;lead_source</code>
      <code>$opp-&gt;modified_user_id</code>
      <code>$opp-&gt;name</code>
      <code>$opp-&gt;opportunity_type</code>
      <code>$opp-&gt;probability</code>
      <code>$opp-&gt;sales_stage</code>
      <code>$opp-&gt;sales_status</code>
      <code>$opp-&gt;team_id</code>
      <code>$opp-&gt;worst_case</code>
      <code>$rli-&gt;account_id</code>
      <code>$rli-&gt;account_name</code>
      <code>$rli-&gt;assigned_user_id</code>
      <code>$rli-&gt;base_rate</code>
      <code>$rli-&gt;best_case</code>
      <code>$rli-&gt;best_case</code>
      <code>$rli-&gt;book_value</code>
      <code>$rli-&gt;category_id</code>
      <code>$rli-&gt;commit_stage</code>
      <code>$rli-&gt;cost_price</code>
      <code>$rli-&gt;created_by</code>
      <code>$rli-&gt;currency_id</code>
      <code>$rli-&gt;date_closed</code>
      <code>$rli-&gt;date_closed</code>
      <code>$rli-&gt;date_closed_timestamp</code>
      <code>$rli-&gt;date_closed_timestamp</code>
      <code>$rli-&gt;date_entered</code>
      <code>$rli-&gt;date_modified</code>
      <code>$rli-&gt;deal_calc</code>
      <code>$rli-&gt;discount_amount</code>
      <code>$rli-&gt;discount_amount</code>
      <code>$rli-&gt;discount_amount</code>
      <code>$rli-&gt;discount_price</code>
      <code>$rli-&gt;discount_rate_percent</code>
      <code>$rli-&gt;discount_rate_percent</code>
      <code>$rli-&gt;generate_purchase</code>
      <code>$rli-&gt;generate_purchase</code>
      <code>$rli-&gt;lead_source</code>
      <code>$rli-&gt;likely_case</code>
      <code>$rli-&gt;list_price</code>
      <code>$rli-&gt;modified_user_id</code>
      <code>$rli-&gt;name</code>
      <code>$rli-&gt;name</code>
      <code>$rli-&gt;name</code>
      <code>$rli-&gt;opportunity_id</code>
      <code>$rli-&gt;opportunity_id</code>
      <code>$rli-&gt;opportunity_id</code>
      <code>$rli-&gt;probability</code>
      <code>$rli-&gt;product_template_id</code>
      <code>$rli-&gt;product_type</code>
      <code>$rli-&gt;quantity</code>
      <code>$rli-&gt;sales_stage</code>
      <code>$rli-&gt;sales_stage</code>
      <code>$rli-&gt;sales_stage</code>
      <code>$rli-&gt;service_end_date</code>
      <code>$rli-&gt;service_end_date</code>
      <code>$rli-&gt;service_end_date</code>
      <code>$rli-&gt;service_start_date</code>
      <code>$rli-&gt;service_start_date</code>
      <code>$rli-&gt;team_id</code>
      <code>$rli-&gt;total_amount</code>
      <code>$rli-&gt;worst_case</code>
      <code>$rli-&gt;worst_case</code>
    </UndefinedPropertyAssignment>
    <UndefinedVariable occurrences="2">
      <code>$account</code>
      <code>$account</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Opportunities/Opportunity.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedFunction occurrences="1">
      <code>perform_save($this)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Opportunities/OpportunityFormBase.php">
    <InvalidGlobal occurrences="7">
      <code>global $current_language;</code>
      <code>global $current_language;</code>
      <code>global $current_language;</code>
      <code>global $db;</code>
      <code>global $mod_strings;</code>
      <code>global $mod_strings;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>get_left_form_footer()</code>
      <code>get_left_form_header($mod_strings['LBL_NEW_FORM_TITLE'])</code>
      <code>get_validate_record_js()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Opportunities/SubPanelView.php">
    <InvalidGlobal occurrences="7">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $focus;</code>
      <code>global $focus_list;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Opportunities/SubPanelViewProjects.php">
    <InvalidGlobal occurrences="7">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $focus;</code>
      <code>global $focus_list;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Opportunities/clients/base/api/OpportunitiesConfigApi.php">
    <InvalidScalarArgument occurrences="1">
      <code>300</code>
    </InvalidScalarArgument>
  </file>
  <file src="modules/Opportunities/clients/base/api/OpportunitiesEnumApi.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings, $app_strings, $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Opportunities/include/OpportunitySetup.php">
    <InvalidOperand occurrences="1">
      <code>$key !== false</code>
    </InvalidOperand>
    <UndefinedMethod occurrences="4">
      <code>fixProductsModule</code>
      <code>get_workflow_object</code>
      <code>get_workflow_object</code>
      <code>write_workflow</code>
    </UndefinedMethod>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$workFlow-&gt;status</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Opportunities/include/OpportunityViews.php">
    <InvalidOperand occurrences="1">
      <code>$status</code>
    </InvalidOperand>
  </file>
  <file src="modules/Opportunities/include/OpportunityWithOutRevenueLineItem.php">
    <UndefinedMethod occurrences="2">
      <code>check_for_child_bridge</code>
      <code>get_workflow_object</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Opportunities/language/en_us.lang.php">
    <DuplicateArrayKey occurrences="3">
      <code>'LBL_HELP_RECORDS' =&gt; 'The {{plural_module_name}} module allows you to track individual sales from start to finish. Each {{module_name}} record represents a prospective sale and includes relevant sale data as well as relating to other important records such as {{quotes_module}}, {{contacts_module}}, etc. An {{module_name}} will typically progress through several Sales Stages until it is marked either "Closed Won" or "Closed Lost". {{plural_module_name}} can be leveraged even further by using Sugar\'s {{forecasts_singular_module}}ing module to understand and predict sales trends as well as focus work to achieve sales quotas.'</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/Opportunities/metadata/listviewdefs.php">
    <DuplicateArrayKey occurrences="1">
      <code>'return_action' =&gt; 'ListView'</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/Opportunities/metadata/popupdefs.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/OptimisticLock/LockResolve.php">
    <InvalidGlobal occurrences="1">
      <code>global $beanFiles, $moduleList;</code>
    </InvalidGlobal>
    <UndefinedClass occurrences="1">
      <code>Link</code>
    </UndefinedClass>
    <UndefinedGlobalVariable occurrences="1">
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/OutboundEmail/clients/base/api/OutboundEmailApi.php">
    <UndefinedMethod occurrences="1">
      <code>saveSystem</code>
    </UndefinedMethod>
  </file>
  <file src="modules/OutboundEmailConfiguration/OutboundSmtpEmailConfiguration.php">
    <InvalidDocblock occurrences="1">
      <code>class OutboundSmtpEmailConfiguration extends OutboundEmailConfiguration</code>
    </InvalidDocblock>
  </file>
  <file src="modules/PdfManager/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $sugar_config, $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/PdfManager/PdfManager.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;header_logo</code>
      <code>$this-&gt;header_logo</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/PdfManager/PdfManagerHelper.php">
    <InvalidGlobal occurrences="2">
      <code>global $locale;</code>
      <code>global $locale;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>format_number_sugarpdf($module_instance-&gt;$name, $locale-&gt;getPrecision(), $locale-&gt;getPrecision(), $format_number_array)</code>
      <code>format_number_sugarpdf($module_instance-&gt;$name, $locale-&gt;getPrecision(), $locale-&gt;getPrecision(), $format_number_array)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/PdfManager/views/view.getfields.php">
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;baseModule</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/ProductBundleNotes/ProductBundleNote.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/ProductBundles/ProductBundle.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedFunction occurrences="2">
      <code>db_convert("'" . TimeDate::getInstance()-&gt;nowDb() . "'", 'datetime')</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;team_id</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ProductCategories/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/ProductCategories/ProductCategory.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/ProductTemplates/Formulas.php">
    <UndefinedVariable occurrences="1">
      <code>$output</code>
    </UndefinedVariable>
  </file>
  <file src="modules/ProductTemplates/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ProductTemplates/ProductTemplate.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedFunction occurrences="1">
      <code>refresh_price_formulas()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/ProductTemplates/formulas/price_cost_markup.php">
    <RedundantCondition occurrences="1">
      <code>$precision == null</code>
    </RedundantCondition>
  </file>
  <file src="modules/ProductTemplates/formulas/price_list_discount.php">
    <RedundantCondition occurrences="1">
      <code>$precision == null</code>
    </RedundantCondition>
  </file>
  <file src="modules/ProductTemplates/formulas/price_profit_margin.php">
    <RedundantCondition occurrences="1">
      <code>$precision == null</code>
    </RedundantCondition>
  </file>
  <file src="modules/ProductTypes/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ProductTypes/ProductType.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/Products/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings, $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Products/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/Products/Product.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedFunction occurrences="1">
      <code>refresh_price_formulas()</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="14">
      <code>$this-&gt;service</code>
      <code>$this-&gt;service_duration_unit</code>
      <code>$this-&gt;service_duration_unit</code>
      <code>$this-&gt;service_duration_unit</code>
      <code>$this-&gt;service_duration_unit</code>
      <code>$this-&gt;service_duration_unit</code>
      <code>$this-&gt;service_duration_value</code>
      <code>$this-&gt;service_duration_value</code>
      <code>$this-&gt;service_duration_value</code>
      <code>$this-&gt;service_duration_value</code>
      <code>$this-&gt;service_duration_value</code>
      <code>$this-&gt;service_end_date</code>
      <code>$this-&gt;service_end_date</code>
      <code>$this-&gt;service_start_date</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Products/metadata/subpanels/default.php">
    <DuplicateArrayKey occurrences="1"/>
  </file>
  <file src="modules/Project/Convert.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_language;</code>
      <code>global $current_user;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME'],$focus-&gt;name), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="11">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Project/Dashboard.php">
    <InvalidGlobal occurrences="8">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_language;</code>
      <code>global $current_user;</code>
      <code>global $hilite_bg;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $theme;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME'],$mod_strings['LBL_MY_PROJECTS_DASHBOARD']), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="4">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Project/EditGridView.php">
    <InvalidGlobal occurrences="9">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_language;</code>
      <code>global $current_user, $mod_strings;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $hilite_bg;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle("Project", $params, true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="4">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$parentProjectTask</code>
      <code>$parentProjectTask</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Project/Export.php">
    <InvalidGlobal occurrences="7">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_language;</code>
      <code>global $current_user;</code>
      <code>global $locale;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Project/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings, $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Project/Project.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/Project/ProjectTemplatesListView.php">
    <InvalidGlobal occurrences="8">
      <code>global $app_list_strings;</code>
      <code>global $app_strings, $mod_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $current_user;</code>
      <code>global $focus_list;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="2">
      <code>$_REQUEST['search_form_only']</code>
      <code>$params['default']</code>
    </RedundantCondition>
  </file>
  <file src="modules/Project/ResourceReport.php">
    <InvalidGlobal occurrences="7">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_language;</code>
      <code>global $current_user;</code>
      <code>global $hilite_bg;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_RESOURCE_REPORT']), false)</code>
      <code>insert_popup_footer()</code>
      <code>insert_popup_header()</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="4">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Project/Save.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>isset($_REQUEST['duplicateSave']) &amp;&amp; $_REQUEST['duplicateSave'] === "true"</code>
    </RedundantCondition>
  </file>
  <file src="modules/Project/SaveGrid.php">
    <InvalidGlobal occurrences="1">
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Project/SubPanelView.php">
    <InvalidGlobal occurrences="7">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $focus;</code>
      <code>global $focus_list;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Project/metadata/additionalDetails.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Project/metadata/subpaneldefs.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user, $app;</code>
      <code>global $modules_exempt_from_availability_check;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Project/sugarpdf/sugarpdf.projectgrid.php">
    <UndefinedConstant occurrences="8">
      <code>K_BLANK_IMAGE</code>
      <code>K_PATH_CUSTOM_IMAGES</code>
      <code>K_PATH_IMAGES</code>
      <code>PDF_FONT_NAME_MAIN</code>
      <code>PDF_FONT_SIZE_MAIN</code>
      <code>PDF_PAGE_FORMAT</code>
      <code>PDF_SMALL_HEADER_LOGO</code>
      <code>PDF_SMALL_HEADER_LOGO_WIDTH</code>
    </UndefinedConstant>
  </file>
  <file src="modules/Project/upgrade/scripts/post/6_ProjectTaskInModuleList.php">
    <InvalidGlobal occurrences="1">
      <code>global $moduleList, $modInvisList;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Project/vardefs.php">
    <DuplicateArrayKey occurrences="2">
      <code>'required' =&gt; true</code>
      <code>'required' =&gt; true</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/Project/views/view.list.php">
    <TypeDoesNotContainType occurrences="1">
      <code>$_REQUEST['search_form_only'] == false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Project/views/view.quickedit.php">
    <MissingFile occurrences="1">
      <code>require_once('include/MVC/View/views/view.quickedit.php')</code>
    </MissingFile>
    <UndefinedClass occurrences="1">
      <code>ViewQuickEdit</code>
    </UndefinedClass>
  </file>
  <file src="modules/ProjectTask/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ProjectTask/MyProjectTasks.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_language, $current_user;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ProjectTask/ProjectTask.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="8">
      <code>$this-&gt;assigned_user_id</code>
      <code>$this-&gt;assigned_user_id</code>
      <code>$this-&gt;depends_on_name_mod</code>
      <code>$this-&gt;depends_on_name_owner</code>
      <code>$this-&gt;parent_name_mod</code>
      <code>$this-&gt;parent_name_owner</code>
      <code>$this-&gt;project_name</code>
      <code>$this-&gt;utilization</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ProjectTask/SubPanelView.php">
    <InvalidGlobal occurrences="7">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $focus;</code>
      <code>global $focus_list;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ProjectTask/metadata/additionalDetails.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ProjectTask/vardefs.php">
    <DuplicateArrayKey occurrences="2">
      <code>'required' =&gt; true</code>
      <code>'required' =&gt; true</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/ProjectTask/views/view.list.php">
    <RedundantCondition occurrences="2">
      <code>$_REQUEST['search_form_only']</code>
      <code>$params['default']</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>$_REQUEST['search_form_only'] == false</code>
    </TypeDoesNotContainType>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$searchForm-&gt;lv</code>
    </UndefinedPropertyAssignment>
    <UndefinedPropertyFetch occurrences="1">
      <code>$searchForm-&gt;searchColumns</code>
    </UndefinedPropertyFetch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;saved_search</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ProspectLists/ProspectList.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedConstant occurrences="1">
      <code>MoreDetail</code>
    </UndefinedConstant>
    <UndefinedGlobalVariable occurrences="1">
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/ProspectLists/ProspectListFormBase.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_language;</code>
      <code>global $current_language;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>get_left_form_footer()</code>
      <code>get_left_form_header($mod_strings['LBL_NEW_FORM_TITLE'])</code>
      <code>get_validate_record_js()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/ProspectLists/ProspectListsService.php">
    <MissingDocblockType occurrences="1">
      <code>public function addRecordsToProspectList($moduleName, $prospectListId, $recordIds)</code>
    </MissingDocblockType>
  </file>
  <file src="modules/ProspectLists/metadata/popupdefs.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Prospects/Prospect.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/PurchasedLineItems/PurchasedLineItem.php">
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;service</code>
      <code>$this-&gt;service_duration_unit</code>
      <code>$this-&gt;service_duration_value</code>
      <code>$this-&gt;service_end_date</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/PurchasedLineItems/vardefs.php">
    <DuplicateArrayKey occurrences="1">
      <code>'studio' =&gt; false</code>
    </DuplicateArrayKey>
    <InvalidClass occurrences="1">
      <code>VarDefManager</code>
    </InvalidClass>
  </file>
  <file src="modules/Quotas/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Quotas/Quota.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="1">
      <code>$retrieve_created_by</code>
    </ParamNameMismatch>
    <UndefinedFunction occurrences="6">
      <code>format_number($quota-&gt;amount, 2, 2, array('convert' =&gt; true, 'currency_symbol' =&gt; true))</code>
      <code>format_number($row['amount'], 2, 2, array('convert' =&gt; true, 'currency_symbol' =&gt; false))</code>
      <code>format_number($row['amount'], 2, 2, array('convert' =&gt; true, 'currency_symbol' =&gt; true))</code>
      <code>format_number($row['group_amount'], 2, 2, array('convert' =&gt; true, 'currency_symbol' =&gt; true))</code>
      <code>format_number($this-&gt;amount_base_currency, 2, 2, array('convert' =&gt; true, 'currency_symbol' =&gt; false))</code>
      <code>format_number($this-&gt;amount_base_currency, 2, 2, array('convert' =&gt; true, 'currency_symbol' =&gt; true))</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Quotas/index.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $sugar_config;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>getClassicModuleTitle($focus-&gt;module_dir, $params, true)</code>
      <code>get_form_header($form_title, $editButtonHTML, false)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Quotes/Layouts.php">
    <InvalidGlobal occurrences="2">
      <code>global $layouts;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <MissingFile occurrences="1">
      <code>include_once('modules/Quotes/EmailPDF.php')</code>
    </MissingFile>
    <RedundantCondition occurrences="1">
      <code>isset($layouts)</code>
    </RedundantCondition>
  </file>
  <file src="modules/Quotes/Quote.php">
    <InvalidGlobal occurrences="1">
      <code>global $beanFiles;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="5">
      <code>$disable_num_format</code>
      <code>$row != null</code>
      <code>$row != null</code>
      <code>$row != null</code>
      <code>$row != null</code>
    </RedundantCondition>
    <UndefinedMethod occurrences="1">
      <code>getExportCharset</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="20">
      <code>$this-&gt;billing_account_mod</code>
      <code>$this-&gt;billing_account_mod</code>
      <code>$this-&gt;billing_account_name_owner</code>
      <code>$this-&gt;billing_account_name_owner</code>
      <code>$this-&gt;billing_contact_name_mod</code>
      <code>$this-&gt;billing_contact_name_mod</code>
      <code>$this-&gt;billing_contact_name_owner</code>
      <code>$this-&gt;billing_contact_name_owner</code>
      <code>$this-&gt;opportunity_name_mod</code>
      <code>$this-&gt;opportunity_name_mod</code>
      <code>$this-&gt;opportunity_name_owner</code>
      <code>$this-&gt;opportunity_name_owner</code>
      <code>$this-&gt;shipping_account_mod</code>
      <code>$this-&gt;shipping_account_mod</code>
      <code>$this-&gt;shipping_account_name_owner</code>
      <code>$this-&gt;shipping_account_name_owner</code>
      <code>$this-&gt;shipping_contact_name_mod</code>
      <code>$this-&gt;shipping_contact_name_mod</code>
      <code>$this-&gt;shipping_contact_name_owner</code>
      <code>$this-&gt;shipping_contact_name_owner</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Quotes/QuotesApiHelper.php">
    <ParamNameMismatch occurrences="1">
      <code>$quote</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="2">
      <code>!$hasBillingAccountId</code>
      <code>!$hasBillingAccountId</code>
    </RedundantCondition>
    <UndefinedPropertyAssignment occurrences="7">
      <code>$quote-&gt;billing_account_id</code>
      <code>$quote-&gt;billing_account_id</code>
      <code>$quote-&gt;billing_contact_id</code>
      <code>$quote-&gt;shipping_account_id</code>
      <code>$quote-&gt;shipping_account_id</code>
      <code>$quote-&gt;shipping_account_id</code>
      <code>$quote-&gt;shipping_contact_id</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Quotes/clients/base/filters/default/default.php">
    <DuplicateArrayKey occurrences="1"/>
  </file>
  <file src="modules/Quotes/config.php">
    <MissingFile occurrences="1">
      <code>include_once('custom/modules/Quotes/config.php')</code>
    </MissingFile>
  </file>
  <file src="modules/Quotes/metadata/additionalDetails.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Quotes/sugarpdf/sugarpdf.invoice.php">
    <UndefinedConstant occurrences="2">
      <code>PDF_HEADER_LOGO</code>
      <code>PDF_HEADER_LOGO_WIDTH</code>
    </UndefinedConstant>
  </file>
  <file src="modules/Quotes/sugarpdf/sugarpdf.quotes.php">
    <UndefinedConstant occurrences="5">
      <code>K_BLANK_IMAGE</code>
      <code>K_PATH_CUSTOM_IMAGES</code>
      <code>K_PATH_IMAGES</code>
      <code>PDF_FONT_NAME_MAIN</code>
      <code>PDF_FONT_SIZE_MAIN</code>
    </UndefinedConstant>
  </file>
  <file src="modules/Quotes/sugarpdf/sugarpdf.standard.php">
    <RedundantCondition occurrences="2">
      <code>$pdf_group_subtotal</code>
      <code>is_array($product_bundle_list)</code>
    </RedundantCondition>
    <UndefinedConstant occurrences="2">
      <code>PDF_HEADER_LOGO</code>
      <code>PDF_HEADER_LOGO_WIDTH</code>
    </UndefinedConstant>
  </file>
  <file src="modules/Quotes/views/view.detail.php">
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($_SERVER['HTTP_USER_AGENT'], 'Mozilla/5') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Quotes/views/view.edit.php">
    <RedundantCondition occurrences="2">
      <code>is_array($product_bundle_list)</code>
      <code>is_array($product_bundle_list)</code>
    </RedundantCondition>
  </file>
  <file src="modules/Quotes/views/view.sugarpdf.php">
    <InvalidGlobal occurrences="1">
      <code>global $beanFiles;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Relationships/Relationship.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;_self_referencing</code>
      <code>$this-&gt;_self_referencing</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Relationships/RelationshipHandler.php">
    <RedundantCondition occurrences="1">
      <code>$rel_array!=null</code>
    </RedundantCondition>
  </file>
  <file src="modules/Relationships/views/view.editfields.php">
    <TypeDoesNotContainType occurrences="1">
      <code>$count%1</code>
    </TypeDoesNotContainType>
    <UndefinedClass occurrences="1">
      <code>Link</code>
    </UndefinedClass>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;fields</code>
      <code>$this-&gt;id</code>
      <code>$this-&gt;rel</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;fields</code>
      <code>$this-&gt;id</code>
      <code>$this-&gt;rel</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Releases/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Releases/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/Releases/Release.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/Releases/index.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>isset($_REQUEST['edit']) &amp;&amp; $_REQUEST['edit']=='true'</code>
    </RedundantCondition>
    <UndefinedGlobalVariable occurrences="1">
      <code>$currentModule</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/ReportMaker/DetailView.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $focus;</code>
      <code>global $focus_list;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle("ReportMaker", [htmlspecialchars($focus-&gt;get_summary_text())], true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/ReportMaker/EditView.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle('ReportMaker', $params, true)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/ReportMaker/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/ReportMaker/Popup.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>get_form_header($mod_strings['LBL_SEARCH_FORM_TITLE'], "", false)</code>
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/ReportMaker/ReportMaker.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;published</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ReportMaker/ReportView.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle("Report Maker", array($mod_strings['LBL_MODULE_TITLE'] . " " . $focus-&gt;name), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="4">
      <code>$action</code>
      <code>$currentModule</code>
      <code>$currentModule</code>
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/ReportMaker/Save.php">
    <UndefinedGlobalVariable occurrences="2">
      <code>$app_strings</code>
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/ReportMaker/process_scheduled.php">
    <InvalidGlobal occurrences="2">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>query_module_access_list($current_user)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/ReportSchedules/ReportSchedule.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;next_run</code>
      <code>$this-&gt;next_run</code>
      <code>$this-&gt;schedule_type</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/ReportSchedules/upgrade/scripts/post/9_RemoveRSCopyFromPro.php">
    <MissingFile occurrences="1">
      <code>require $customFile</code>
    </MissingFile>
  </file>
  <file src="modules/Reports/Exporters/ReportCSVExporterMatrix.php">
    <InvalidDocblock occurrences="1">
      <code>protected function groupFunctionHandler(</code>
    </InvalidDocblock>
  </file>
  <file src="modules/Reports/Exporters/ReportCSVExporterMatrix1x1.php">
    <UndefinedFunction occurrences="1">
      <code>unformat_number(empty($cell) ? 0 : $cell)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Reports/Exporters/ReportCSVExporterMatrix1x2.php">
    <UndefinedFunction occurrences="1">
      <code>unformat_number(empty($cell) ? 0 : $cell)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Reports/Exporters/ReportCSVExporterMatrix2x1.php">
    <UndefinedFunction occurrences="1">
      <code>unformat_number(empty($cell) ? 0 : $cell)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Reports/Exporters/ReportCSVExporterRowsAndColumns.php">
    <UndefinedFunction occurrences="1">
      <code>from_html($row['cells'][$i])</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Reports/Exporters/ReportCSVExporterSummationWithDetails.php">
    <RedundantCondition occurrences="1">
      <code>is_array($tree)</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>$row === 0</code>
      <code>$row === 0</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Reports/Exporters/ReportExporter.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;reporter</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;reporter</code>
      <code>$this-&gt;reporter</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Reports/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_language;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Reports/Report.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $current_language;</code>
      <code>global $current_user, $mod_strings;</code>
      <code>global $current_user, $mod_strings;</code>
    </InvalidGlobal>
    <InvalidLiteralArgument occurrences="1">
      <code>"' '"</code>
    </InvalidLiteralArgument>
    <RedundantCondition occurrences="1">
      <code>strpos($display_column['name'], '_usdoll') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>strpos($display_column['name'], '_usdoll') === false</code>
      <code>strpos($field_def['name'], '_usdoll') === false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>db_concat($secondaryTableAlias, $extModule-&gt;field_defs['name']['db_concat_fields'])</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="16">
      <code>$this-&gt;child_filter</code>
      <code>$this-&gt;child_filter_by</code>
      <code>$this-&gt;child_filter_by</code>
      <code>$this-&gt;child_filter_name</code>
      <code>$this-&gt;report_def_str</code>
      <code>$this-&gt;report_def_str</code>
      <code>$this-&gt;report_def_str</code>
      <code>$this-&gt;report_def_str</code>
      <code>$this-&gt;report_def_str</code>
      <code>$this-&gt;report_def_str</code>
      <code>$this-&gt;report_def_str</code>
      <code>$this-&gt;report_max</code>
      <code>$this-&gt;report_offset</code>
      <code>$this-&gt;report_offset</code>
      <code>$this-&gt;summary_order_by</code>
      <code>$this-&gt;total_count</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="8">
      <code>$this-&gt;child_filter</code>
      <code>$this-&gt;child_filter</code>
      <code>$this-&gt;report_def_str</code>
      <code>$this-&gt;report_max</code>
      <code>$this-&gt;report_max</code>
      <code>$this-&gt;report_offset</code>
      <code>$this-&gt;report_offset</code>
      <code>$this-&gt;total_count</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Reports/ReportCache.php">
    <UndefinedFunction occurrences="2">
      <code>from_html($this-&gt;contents)</code>
      <code>from_html($this-&gt;report_options)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Reports/ReportCriteriaResults.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_language, $report_modules, $modules_report, $current_user, $app_strings, $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="4">
      <code>!empty($_REQUEST['addtofavorites']) &amp;&amp; $_REQUEST['addtofavorites']</code>
      <code>!empty($_REQUEST['removefromfavorites']) &amp;&amp; $_REQUEST['removefromfavorites']</code>
      <code>$_REQUEST['addtofavorites']</code>
      <code>$_REQUEST['removefromfavorites']</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>template_handle_pdf($args['reporter'])</code>
    </UndefinedFunction>
    <UndefinedPropertyFetch occurrences="2">
      <code>$reportObj-&gt;report_def_str</code>
      <code>$reportObj-&gt;report_def_str</code>
    </UndefinedPropertyFetch>
  </file>
  <file src="modules/Reports/ReportsApiHelper.php">
    <UndefinedPropertyAssignment occurrences="2">
      <code>$bean-&gt;fromApi</code>
      <code>$bean-&gt;report_type</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Reports/ReportsWizard.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user, $mod_strings, $ACLAllowedModules, $current_language, $app_list_strings, $app_strings, $sugar_config, $sugar_version;</code>
    </InvalidGlobal>
    <InvalidScope occurrences="1">
      <code>$this</code>
    </InvalidScope>
    <UndefinedGlobalVariable occurrences="3">
      <code>$args</code>
      <code>$args</code>
      <code>$args</code>
    </UndefinedGlobalVariable>
    <UndefinedPropertyFetch occurrences="3">
      <code>$args['reporter']-&gt;report_offset</code>
      <code>$args['reporter']-&gt;report_offset</code>
      <code>$args['reporter']-&gt;report_offset</code>
    </UndefinedPropertyFetch>
  </file>
  <file src="modules/Reports/SavedReport.php">
    <RedundantCondition occurrences="3">
      <code>empty($report)</code>
      <code>strpos($type, 'char') !== false</code>
      <code>strpos($type, 'text') !== false</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="2">
      <code>from_html($this-&gt;$key)</code>
      <code>to_html($str)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;description</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Reports/clients/base/api/ReportsApi.php">
    <RedundantCondition occurrences="4">
      <code>!$report</code>
      <code>$report</code>
      <code>$reporter</code>
      <code>$reporter</code>
    </RedundantCondition>
  </file>
  <file src="modules/Reports/clients/base/api/ReportsDashletsApi.php">
    <RedundantCondition occurrences="2">
      <code>$reporter</code>
      <code>$reporter</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;title</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Reports/clients/base/api/ReportsExportApi.php">
    <UndefinedFunction occurrences="2">
      <code>template_handle_pdf($reporter, false)</code>
      <code>template_handle_pdf($reporter, false)</code>
    </UndefinedFunction>
    <UndefinedMethod occurrences="2">
      <code>getResponse</code>
      <code>getResponse</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Reports/clients/base/api/ReportsSearchApi.php">
    <InvalidDocblock occurrences="1">
      <code>protected function getCustomWhereForModule($module, $query = null)</code>
    </InvalidDocblock>
  </file>
  <file src="modules/Reports/config.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $beanFiles;</code>
      <code>global $report_modules;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="2">
      <code>empty($beanList)</code>
      <code>is_array($all_modules)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Reports/custom/boxStats.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Reports/custom/goals.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <UndefinedClass occurrences="1">
      <code>Phaser</code>
    </UndefinedClass>
  </file>
  <file src="modules/Reports/index.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_language, $report_modules, $modules_report, $mod_strings;</code>
      <code>global $current_user;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>isset($error_msg)</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>'module'</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>template_handle_pdf($args['reporter'])</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$app_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Reports/saveInline.php">
    <InvalidGlobal occurrences="1">
      <code>global $locale;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>currency_format_number($bean-&gt;$field, $params)</code>
      <code>format_number($bean-&gt;$field)</code>
      <code>unformat_number($field_value)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Reports/schedule/save_schedule.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user, $timedate, $app_strings;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Reports/sugarpdf/sugarpdf.reports.php">
    <UndefinedConstant occurrences="10">
      <code>K_BLANK_IMAGE</code>
      <code>K_PATH_CUSTOM_IMAGES</code>
      <code>K_PATH_IMAGES</code>
      <code>PDF_FONT_NAME_MAIN</code>
      <code>PDF_FONT_SIZE_MAIN</code>
      <code>PDF_PAGE_FORMAT</code>
      <code>PDF_SMALL_HEADER_LOGO</code>
      <code>PDF_SMALL_HEADER_LOGO</code>
      <code>PDF_SMALL_HEADER_LOGO_WIDTH</code>
      <code>PDF_SMALL_HEADER_LOGO_WIDTH</code>
    </UndefinedConstant>
  </file>
  <file src="modules/Reports/templates/templates_list_view.php">
    <InvalidGlobal occurrences="2">
      <code>global $report_smarty;</code>
      <code>global $start_link_wrapper,$end_link_wrapper;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="2">
      <code>$oddRow</code>
      <code>$oddRow</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="78">
      <code>unformat_number($grandTotal[$columnData2[$m]][$columnData3[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData2[$m]][$columnData3[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData2[$m]][$columnData3[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData2[$m]][$columnData3[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData2[$m]]['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData2[$m]]['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData2[$m]]['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData2[$m]]['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData2[$n]][$columnData3Array[$j]][$sumKey], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData3Array[$j]][$sumKey], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData3[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData3[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData3[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData3[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal[$columnData[$j]][$sumKey], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($grandTotal['Total'][$sumKey], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i][$columnData2Array[$n]][$columnData3Array[$p]][$sumKey], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i][$columnData2[$m]]['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i][$columnData2[$m]]['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i][$columnData2[$m]]['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i][$columnData2[$m]]['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i][$columnData2[$m]]['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i]['Total'][$columnData3[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i]['Total'][$columnData3[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i]['Total'][$columnData3[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i]['Total'][$columnData3[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i]['Total'][$columnData3[$j]][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i]['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i]['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i]['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i]['Total'][$sumKey], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i]['Total']['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i]['Total']['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($rowsAndColumnsData[$i]['Total']['Total'][$key], $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
      <code>unformat_number($value, $useBaseCurrency)</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="1">
      <code>$mod_strings</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Reports/templates/templates_modules_def_js.php">
    <InvalidGlobal occurrences="1">
      <code>global $beanFiles;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getACLAllowedModules()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Reports/templates/templates_pdf.php">
    <MissingFile occurrences="1">
      <code>require_once('modules/Reports/templates/templates_ezpdf.php')</code>
    </MissingFile>
  </file>
  <file src="modules/Reports/templates/templates_reports.php">
    <InvalidGlobal occurrences="2">
      <code>global $global_json;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>empty($filtersContent)</code>
    </RedundantCondition>
    <TooManyArguments occurrences="1">
      <code>template_total_view($reporter,$args)</code>
    </TooManyArguments>
    <UndefinedFunction occurrences="2">
      <code>getACLAllowedModules()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Reports/templates/templates_reports_request_js.php">
    <InvalidGlobal occurrences="1">
      <code>global $report_modules;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Reports/templates/templates_tcpdf.php">
    <UndefinedFunction occurrences="2">
      <code>preprocess($type, $reporter)</code>
      <code>process($pdf, $reporter-&gt;name, $stream)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Reports/views/view.buildreportmoduletree.php">
    <UndefinedFunction occurrences="1">
      <code>getACLAllowedModules()</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="2">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedVariable>
  </file>
  <file src="modules/RevenueLineItems/RevenueLineItem.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <UndefinedThisPropertyAssignment occurrences="12">
      <code>$this-&gt;service_duration_unit</code>
      <code>$this-&gt;service_duration_unit</code>
      <code>$this-&gt;service_duration_unit</code>
      <code>$this-&gt;service_duration_unit</code>
      <code>$this-&gt;service_duration_unit</code>
      <code>$this-&gt;service_duration_value</code>
      <code>$this-&gt;service_duration_value</code>
      <code>$this-&gt;service_duration_value</code>
      <code>$this-&gt;service_duration_value</code>
      <code>$this-&gt;service_duration_value</code>
      <code>$this-&gt;service_end_date</code>
      <code>$this-&gt;service_end_date</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/RevenueLineItems/clients/base/api/RevenueLineItemToQuoteConvertApi.php">
    <InvalidOperand occurrences="1">
      <code>$key</code>
    </InvalidOperand>
  </file>
  <file src="modules/RevenueLineItems/jobs/RevenueLineItemsCurrencyRateUpdate.php">
    <InvalidGlobal occurrences="1">
      <code>global $timedate, $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/RevenueLineItems/upgrade/scripts/post/2_RevenueLineItemSyncToForecastWorksheet.php">
    <TypeDoesNotContainType occurrences="1">
      <code>is_array($field)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Roles/DetailView.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME'],$focus-&gt;get_summary_text()), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Roles/EditView.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME'],$focus-&gt;name), true)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Roles/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Roles/SaveUserRelationship.php">
    <UndefinedGlobalVariable occurrences="1">
      <code>$sugar_config</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Roles/SubPanelViewUsers.php">
    <InvalidGlobal occurrences="7">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $focus;</code>
      <code>global $focus_list;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/SNIP/ConfigureSnip.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1"/>
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/SNIP/SugarSNIP.php">
    <MissingFile occurrences="1">
      <code>include 'custom/modules/SNIP/createdefs.php'</code>
    </MissingFile>
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;client</code>
      <code>$this-&gt;last_error</code>
      <code>$this-&gt;last_error</code>
      <code>$this-&gt;last_error</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;client</code>
      <code>$this-&gt;last_error</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/SNIP/iCalParser.php">
    <RedundantCondition occurrences="1">
      <code>$prev_exists</code>
    </RedundantCondition>
    <UndefinedMethod occurrences="2">
      <code>properties</code>
      <code>stack</code>
    </UndefinedMethod>
    <UndefinedPropertyFetch occurrences="1">
      <code>$val-&gt;event</code>
    </UndefinedPropertyFetch>
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="13">
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
      <code>$this-&gt;event</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/SavedSearch/ListView.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings, $app_list_strings, $current_language, $currentModule, $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="5">
      <code>getClassicModuleTitle('SavedSearch', array($mod_strings['LBL_MODULE_TITLE']), false)</code>
      <code>get_form_header($mod_strings['LBL_LIST_FORM_TITLE'], '', false)</code>
      <code>get_form_header($mod_strings['LBL_SEARCH_FORM_TITLE'], '', false)</code>
      <code>to_html($_REQUEST['name'])</code>
      <code>to_html($_REQUEST['search_module'])</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/SavedSearch/SavedSearch.php">
    <RedundantCast occurrences="1">
      <code>array_values</code>
    </RedundantCast>
    <RedundantCondition occurrences="2">
      <code>!empty($val['default']) &amp;&amp; $val['default']</code>
      <code>$val['default']</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>checkRequired($prefix, array_keys($focus-&gt;required_fields))</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="5">
      <code>$this-&gt;orderBy</code>
      <code>$this-&gt;orderBy</code>
      <code>$this-&gt;sortOrder</code>
      <code>$this-&gt;sortOrder</code>
      <code>$this-&gt;sortOrder</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/SavedSearch/index.php">
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Schedulers/JobThread.php">
    <InvalidScope occurrences="1">
      <code>$this</code>
    </InvalidScope>
    <UndefinedClass occurrences="1">
      <code>Job</code>
    </UndefinedClass>
    <UndefinedGlobalVariable occurrences="1">
      <code>$a</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Schedulers/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Schedulers/Scheduler.php">
    <InvalidDocblock occurrences="1">
      <code>function deriveDBDateTimes($focus)</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <InvalidOperand occurrences="2">
      <code>$mult</code>
      <code>$mult</code>
    </InvalidOperand>
    <RedundantCondition occurrences="4">
      <code>false !== strpos($interval, '*/')</code>
      <code>false !== strpos($interval, ',')</code>
      <code>false !== strpos($interval, '-')</code>
      <code>false !== strpos($val, '-')</code>
    </RedundantCondition>
    <StringIncrement occurrences="10">
      <code>$i</code>
      <code>$i</code>
      <code>$i</code>
      <code>$i</code>
      <code>$i</code>
      <code>$i</code>
      <code>$i</code>
      <code>$i</code>
      <code>$i</code>
      <code>$i</code>
    </StringIncrement>
    <UndefinedConstant occurrences="1">
      <code>date_time_start</code>
    </UndefinedConstant>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;job_queue_table</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Schedulers/_AddJobsHere.php">
    <MissingFile occurrences="2">
      <code>require("config.php")</code>
      <code>require('custom/modules/Schedulers/_AddJobsHere.php')</code>
    </MissingFile>
    <UndefinedPropertyFetch occurrences="2">
      <code>$sugarFolder-&gt;acl_team_set_id</code>
      <code>$sugarFolder-&gt;acl_team_set_id</code>
    </UndefinedPropertyFetch>
  </file>
  <file src="modules/Schedulers/language/en_us.lang.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Schedulers/views/view.edit.php">
    <RedundantCondition occurrences="2">
      <code>strpos($exInterval[0], '*/') !== false</code>
      <code>strpos($exInterval[1], '*/') !== false</code>
    </RedundantCondition>
    <StringIncrement occurrences="2">
      <code>$i</code>
      <code>$i</code>
    </StringIncrement>
  </file>
  <file src="modules/SchedulersJobs/SchedulersJob.php">
    <InvalidScalarArgument occurrences="1">
      <code>$result</code>
    </InvalidScalarArgument>
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;errors</code>
      <code>$this-&gt;errors</code>
      <code>$this-&gt;errors</code>
      <code>$this-&gt;errors</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Shippers/Shipper.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/Studio/Forms.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_version, $sugar_config;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="2">
      <code>!$debug</code>
      <code>$debug</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="2">
      <code>get_left_form_footer()</code>
      <code>get_left_form_header($mod_strings['LBL_TOOLBOX'])</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Studio/index.php">
    <UndefinedFunction occurrences="1">
      <code>buildRedirectURL('', 'Administration')</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Studio/wizards/EditDropDownWizard.php">
    <MissingFile occurrences="2">
      <code>require_once('modules/Studio/DropDowns/EditView.php')</code>
      <code>require_once('modules/Studio/DropDowns/EditView.php')</code>
    </MissingFile>
  </file>
  <file src="modules/Studio/wizards/RenameModules.php">
    <RedundantCondition occurrences="3">
      <code>isset($renamedefs)</code>
      <code>strpos($mod_strings[$key], $substring) !== false</code>
      <code>strpos($search, $replace) !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($oldStringValue, $replace) === false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array("&lt;a href='#Administration'&gt;".$mod_strings['LBL_MODULE_NAME']."&lt;/a&gt;", $mod_strings['LBL_RENAME_TABS']), false)</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="1">
      <code>$viewdefs</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Studio/wizards/StudioWizard.php">
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle('StudioWizard', array($mod_strings['LBL_MODULE_TITLE']), false)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/SugarFavorites/SugarFavorites.php">
    <UndefinedVariable occurrences="2">
      <code>$date_modified</code>
      <code>$modified_user</code>
    </UndefinedVariable>
  </file>
  <file src="modules/SugarLive/upgrade/scripts/post/9_SugarLiveUpdateConfigSettings.php">
    <UndefinedMethod occurrences="2">
      <code>retrieveSettings</code>
      <code>saveSetting</code>
    </UndefinedMethod>
  </file>
  <file src="modules/SugarLive/upgrade/scripts/post/9_SugarLiveUpdateConfigSettingsForPortal.php">
    <UndefinedMethod occurrences="1">
      <code>retrieveSettings</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Tags/Tag.php">
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;assigned_user_id</code>
      <code>$this-&gt;name</code>
      <code>$this-&gt;name_lower</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Tags/clients/base/api/TagsApi.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$bean-&gt;verifiedUnique</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Tasks/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings,$app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Tasks/MyTasks.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_language, $current_user, $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Tasks/Task.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Tasks/metadata/additionalDetails.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Tasks/vardefs.php">
    <DuplicateArrayKey occurrences="1">
      <code>'options' =&gt; 'parent_type_display'</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/TaxRates/TaxRate.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/TeamNotices/DefaultNotices.php">
    <UndefinedGlobalVariable occurrences="3">
      <code>$timedate</code>
      <code>$timedate</code>
      <code>$timedate</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/TeamNotices/DisplayNotices.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>db_convert("'".$timedate-&gt;nowDbDate()."'", 'date')</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$timedate</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/TeamNotices/EditView.php">
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle('TeamNotices', $params, true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="17">
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$app_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$mod_strings</code>
      <code>$timedate</code>
      <code>$timedate</code>
      <code>$timedate</code>
      <code>$timedate</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/TeamNotices/ListView.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle('TeamNotices', array($mod_strings['LBL_MODULE_NAME']), true)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/TeamNotices/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/TeamNotices/TeamNotice.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/Teams/AddUserToTeam.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Teams/Delete.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Teams/DetailView.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME']. ": " . $focus-&gt;get_summary_text()), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Teams/EditView.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>isset($_REQUEST['record']) &amp;&amp; isset($_REQUEST['record'])</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME'],$focus-&gt;get_summary_text()), true)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Teams/Error.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings, $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Teams/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Teams/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/Teams/ReassignTeams.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Teams/RemoveUserFromTeam.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Teams/Save.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="2">
      <code>null != $focus-&gt;fetched_row</code>
      <code>null != $row</code>
    </RedundantCondition>
  </file>
  <file src="modules/Teams/SubPanelViewUsers.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;hideNewButton</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedVariable occurrences="1">
      <code>$widget_data</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Teams/Team.php">
    <RedundantCondition occurrences="1">
      <code>is_string($filter)</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="5">
      <code>sugar_cache_put("teamname_$team_id",$teamname)</code>
      <code>sugar_cache_put("teamname_{$this-&gt;id}",$this-&gt;name)</code>
      <code>sugar_cache_put('team_array-'.$add_blank.'ADDBLANK'.$current_user-&gt;id, $team_array)</code>
      <code>sugar_cache_retrieve("teamname_$team_id")</code>
      <code>sugar_cache_retrieve('team_array-'. $add_blank.'ADDBLANK'.$user-&gt;id)</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="4">
      <code>$membership-&gt;explicit_assign</code>
      <code>$membership-&gt;implicit_assign</code>
      <code>$membership-&gt;team_id</code>
      <code>$membership-&gt;user_id</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Teams/TeamSetLink.php">
    <ParamNameMismatch occurrences="2">
      <code>$module_id</code>
      <code>$team_id</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/Teams/TeamSetManager.php">
    <InvalidDocblock occurrences="1">
      <code>private static function replaceTeamSet($oldTeamSetId, $newTeamSetId, array $modules)</code>
    </InvalidDocblock>
    <RedundantCondition occurrences="1">
      <code>$pos !== false</code>
    </RedundantCondition>
    <UndefinedMethod occurrences="2">
      <code>getTeams</code>
      <code>setup</code>
    </UndefinedMethod>
  </file>
  <file src="modules/TimePeriods/AnnualTimePeriod.php">
    <RedundantCondition occurrences="2">
      <code>'-1 year'</code>
      <code>'1 year'</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>$this-&gt;is_fiscal</code>
      <code>$this-&gt;is_fiscal</code>
    </TypeDoesNotContainType>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;next_date_modifier</code>
      <code>$this-&gt;previous_date_modifier</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/TimePeriods/DetailView.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $focus;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME'],$focus-&gt;get_summary_text()), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/TimePeriods/EditView.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $mod_strings;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>isset($_REQUEST['record']) &amp;&amp; isset($_REQUEST['record'])</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME'],$focus-&gt;name), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="3">
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/TimePeriods/Error.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_strings;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/TimePeriods/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/TimePeriods/MonthTimePeriod.php">
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;chart_data_modifier</code>
      <code>$this-&gt;chart_label</code>
      <code>$this-&gt;next_date_modifier</code>
      <code>$this-&gt;previous_date_modifier</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/TimePeriods/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/TimePeriods/QuarterTimePeriod.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_language;</code>
    </InvalidGlobal>
    <UndefinedThisPropertyAssignment occurrences="5">
      <code>$this-&gt;chart_data_key</code>
      <code>$this-&gt;chart_data_modifier</code>
      <code>$this-&gt;chart_label</code>
      <code>$this-&gt;next_date_modifier</code>
      <code>$this-&gt;previous_date_modifier</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/TimePeriods/Save.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/TimePeriods/TimePeriod.php">
    <MissingDocblockType occurrences="2">
      <code>public static function getBean($id)</code>
      <code>public static function getCurrentId($type = '')</code>
    </MissingDocblockType>
    <UndefinedMethod occurrences="1">
      <code>determineCurrentStartDateByType</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Trackers/Metric.php">
    <UndefinedThisPropertyAssignment occurrences="3">
      <code>$this-&gt;_mutable</code>
      <code>$this-&gt;_name</code>
      <code>$this-&gt;_type</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;_mutable</code>
      <code>$this-&gt;_name</code>
      <code>$this-&gt;_type</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Trackers/Tracker.php">
    <UndefinedClass occurrences="1">
      <code>SugarTemplateUtilities</code>
    </UndefinedClass>
  </file>
  <file src="modules/Trackers/TrackerManager.php">
    <NoInterfaceProperties occurrences="2">
      <code>$monitor-&gt;module_name</code>
      <code>$monitor-&gt;name</code>
    </NoInterfaceProperties>
    <UndefinedInterfaceMethod occurrences="2">
      <code>clear</code>
      <code>save</code>
    </UndefinedInterfaceMethod>
  </file>
  <file src="modules/Trackers/monitor/Monitor.php">
    <MissingDocblockType occurrences="1">
      <code>function isDirty(){</code>
    </MissingDocblockType>
  </file>
  <file src="modules/Trackers/monitor/tracker_queries_monitor.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;date_modified</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;query_id</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Trackers/monitor/tracker_sessions_monitor.php">
    <UndefinedConstant occurrences="1">
      <code>MAX_SESSION_LENGTH</code>
    </UndefinedConstant>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;new</code>
      <code>$this-&gt;new</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Trackers/store/DatabaseStore.php">
    <EmptyArrayAccess occurrences="1">
      <code>$dictionary[$monitor-&gt;name]</code>
    </EmptyArrayAccess>
  </file>
  <file src="modules/UpgradeWizard/CliUpgrader.php">
    <InvalidDocblock occurrences="1"/>
    <MissingFile occurrences="4">
      <code>require_once 'HealthCheckClient.php'</code>
      <code>require_once 'HealthCheckHelper.php'</code>
      <code>require_once 'SugarHeartbeatClient.php'</code>
      <code>require_once 'SugarSystemInfo.php'</code>
    </MissingFile>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($parts)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/UpgradeWizard/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_language;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/UpgradeWizard/ShadowUpgrader.php">
    <UndefinedFunction occurrences="1">
      <code>shadow($templ_dir, $this-&gt;context['original_source_dir'], array("cache", "upload", "config.php"))</code>
    </UndefinedFunction>
  </file>
  <file src="modules/UpgradeWizard/SugarMerge/DetailViewMerge.php">
    <UndefinedDocblockClass occurrences="1">
      <code>protected $scanForMultiPanel = true;</code>
    </UndefinedDocblockClass>
  </file>
  <file src="modules/UpgradeWizard/SugarMerge/EditViewMerge.php">
    <UndefinedDocblockClass occurrences="4">
      <code>protected $bestMatch = true;</code>
      <code>protected $fp = null;</code>
      <code>protected $isMultiPanel = true;</code>
      <code>protected $scanForMultiPanel = true;</code>
    </UndefinedDocblockClass>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;defaulPanel</code>
      <code>$this-&gt;mergeData</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;mergeData</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/UpgradeWizard/SugarMerge/MergeUtils.php">
    <RedundantCondition occurrences="2">
      <code>is_array($new)</code>
      <code>is_array($old)</code>
    </RedundantCondition>
  </file>
  <file src="modules/UpgradeWizard/SugarMerge/SubpanelMerge.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;mergeData</code>
      <code>$this-&gt;mergeData</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;mergeData</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/UpgradeWizard/SugarMerge/SugarMerge.php">
    <InvalidGlobal occurrences="1">
      <code>global $moduleList;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/UpgradeWizard/UpgradeDriver.php">
    <MissingFile occurrences="2">
      <code>include 'config.php'</code>
      <code>include 'config_override.php'</code>
    </MissingFile>
    <NullArgument occurrences="1">
      <code>$sugar_flavor</code>
    </NullArgument>
    <RedundantCondition occurrences="1">
      <code>strpos($server_software, 'Microsoft-IIS') !== false</code>
    </RedundantCondition>
    <TooManyArguments occurrences="1">
      <code>run</code>
    </TooManyArguments>
    <UndefinedMethod occurrences="1">
      <code>getHelper</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;mod_strings</code>
      <code>$this-&gt;mod_strings</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;mod_strings</code>
      <code>$this-&gt;mod_strings</code>
      <code>$this-&gt;mod_strings</code>
      <code>$this-&gt;mod_strings</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/UpgradeWizard/WebUpgrader.php">
    <InvalidPropertyAssignmentValue occurrences="1">
      <code>self::IIS_CONTENT_LENGTH</code>
    </InvalidPropertyAssignmentValue>
    <MissingFile occurrences="2">
      <code>require_once 'HealthCheckClient.php'</code>
      <code>require_once 'HealthCheckHelper.php'</code>
    </MissingFile>
    <NullArgument occurrences="1">
      <code>null</code>
    </NullArgument>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$lengthAttribute-&gt;item(0)-&gt;value</code>
    </UndefinedPropertyAssignment>
    <UndefinedPropertyFetch occurrences="1">
      <code>$lengthAttribute-&gt;item(0)-&gt;value</code>
    </UndefinedPropertyFetch>
  </file>
  <file src="modules/UpgradeWizard/deleteCache.php">
    <UndefinedFunction occurrences="3">
      <code>findAllFiles($cachedir,$allModFiles)</code>
      <code>findAllFiles($cachedir,$allModFiles)</code>
      <code>findAllFiles($cachedir,$allModFiles)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/UpgradeWizard/layouts.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="18">
      <code>logThis("Adding $moduleKey module to rollback list.")</code>
      <code>logThis("Layout Commits, rollBackMergedModules is unable to find backup file $srcBackupFile , nothing to do.")</code>
      <code>logThis("Layout Commits, rollBackMergedModules successfully reverted file $srcFile")</code>
      <code>logThis("Layout Commits, rollBackMergedModules was unable to copy file: $srcBackupFile, to $srcFile.")</code>
      <code>logThis('Layout Commits about to show selection table')</code>
      <code>logThis('Layout Commits completed successfully')</code>
      <code>logThis('Layout Commits examining modules to revert')</code>
      <code>logThis('Layout Commits merged the following modules: ' . print_r($actualMergedList, TRUE))</code>
      <code>logThis('Layout Commits will rollback the following modules: ' . print_r($rollBackList, TRUE))</code>
      <code>logThis('Layout Commits, iterating over module:' . $moduleName)</code>
      <code>logThis('Layout Commits, rollBackMergedModules backup file: ' . $srcBackupFile)</code>
      <code>logThis('Layout Commits, rollBackMergedModules is removing file: ' . $srcFile)</code>
      <code>logThis('Layout Commits, rollBackMergedModules source file: ' . $srcDirectory)</code>
      <code>logThis('Layout Commits, selected modules by user: ' . print_r($selectedModules, TRUE))</code>
      <code>logThis('Layout Commits, starting rollback')</code>
      <code>logThis('Upgrade Wizard At Layout Commits')</code>
      <code>set_upgrade_progress('layouts','done')</code>
      <code>set_upgrade_progress('layouts','in_progress')</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="11">
      <code>$smarty</code>
      <code>$smarty</code>
      <code>$smarty</code>
      <code>$smarty</code>
      <code>$smarty</code>
      <code>$smarty</code>
      <code>$smarty</code>
      <code>$smarty</code>
      <code>$smarty</code>
      <code>$smarty</code>
      <code>$steps</code>
    </UndefinedGlobalVariable>
    <UndefinedVariable occurrences="1">
      <code>$srcDirectory</code>
    </UndefinedVariable>
  </file>
  <file src="modules/UpgradeWizard/pack_shadow.php">
    <TypeDoesNotContainType occurrences="1">
      <code>empty($argv[1])</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/UpgradeWizard/upgrade_screen.php">
    <UndefinedGlobalVariable occurrences="8">
      <code>$appearanceClass</code>
      <code>$logoFileName</code>
      <code>$token</code>
      <code>$token</code>
      <code>$token</code>
      <code>$upgraderVersion</code>
      <code>$upgraderVersion</code>
      <code>$upgraderVersion</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/UpgradeWizard/uw_emptyFunctions.php">
    <DuplicateFunction occurrences="1">
      <code>function getJSPath($file=''){</code>
    </DuplicateFunction>
  </file>
  <file src="modules/UpgradeWizard/uw_utils.php">
    <InvalidArgument occurrences="1">
      <code>$touched[$rel_name]</code>
    </InvalidArgument>
    <InvalidGlobal occurrences="3">
      <code>global $argv;</code>
      <code>global $path;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <InvalidIterator occurrences="1">
      <code>$currState</code>
    </InvalidIterator>
    <MissingDocblockType occurrences="1">
      <code>function getAllModules() {</code>
    </MissingDocblockType>
    <MissingFile occurrences="4">
      <code>require($mapFile)</code>
      <code>require('custom/'.$mapFile)</code>
      <code>require('modules/Dashboard/dashlets.php')</code>
      <code>require(CONNECTOR_DISPLAY_CONFIG_FILE)</code>
    </MissingFile>
    <RedundantCondition occurrences="4">
      <code>$memory_limit == "-1"</code>
      <code>$subdirs != null</code>
      <code>is_resource($fp)</code>
      <code>strpos( clean_path($dir), $skipMe ) !== false</code>
    </RedundantCondition>
    <TooFewArguments occurrences="1">
      <code>extractFile($zip_file, "manifest.php")</code>
    </TooFewArguments>
    <TypeDoesNotContainType occurrences="4">
      <code>$changed</code>
      <code>$memory_limit == ""</code>
      <code>$memory_limit == ""</code>
      <code>is_array($currState)</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>unzip_file($zip_file, $file_in_zip, $my_zip_dir)</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="8">
      <code>$argv</code>
      <code>$upgrade_config</code>
      <code>$upgrade_config</code>
      <code>$upgrade_config</code>
      <code>$upgrade_config</code>
      <code>$upgrade_config</code>
      <code>$upgrade_config</code>
      <code>$upgrade_vars</code>
    </UndefinedVariable>
  </file>
  <file src="modules/UserSignatures/UserSignature.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;created_by</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Users/Authenticate.php">
    <InvalidGlobal occurrences="5">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
      <code>global $record;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>query_module_access_list($current_user)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$authController</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Users/ChangeGroupTab.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="2">
      <code>$current_user</code>
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Users/Changenewpassword.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_language, $sugar_config;</code>
      <code>global $app_strings;</code>
      <code>global $current_language;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Users/Error.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_strings;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="2">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Users/GeneratePassword.php">
    <InvalidArrayOffset occurrences="6">
      <code>$_POST['Users0emailAddress0']</code>
      <code>$_POST['link']</code>
      <code>$_POST['sugar_user_name']</code>
      <code>$_POST['user_email']</code>
      <code>$_POST['user_name']</code>
      <code>$_POST['username']</code>
    </InvalidArrayOffset>
    <InvalidGlobal occurrences="5">
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $new_pwd;</code>
      <code>global $sugar_config;</code>
      <code>global $timedate;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Users/Logout.php">
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Users/Menu.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user, $sugar_config;</code>
      <code>global $mod_strings, $app_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Users/PopupSignature.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $curent_language;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_SIGNATURE'].' '.$focus-&gt;name), true)</code>
      <code>insert_popup_header()</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="2">
      <code>$currentModule</code>
      <code>$current_language</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Users/PopupUsers.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>get_form_header($mod_strings['LBL_SEARCH_FORM_TITLE'], "", false)</code>
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_language</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Users/Save.php">
    <InvalidArgument occurrences="2">
      <code>$only_verify_data</code>
      <code>$only_verify_data</code>
    </InvalidArgument>
    <InvalidGlobal occurrences="1">
      <code>global $new_pwd;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="10">
      <code>!$newUser &amp;&amp; $teamSetField != null</code>
      <code>!empty($only_verify_data)</code>
      <code>!isset($_POST['use_real_names']) &amp;&amp; !isset($_POST['from_dcmenu'])</code>
      <code>empty($only_verify_data)</code>
      <code>isset($_POST['reminder_checked']) &amp;&amp; $_POST['reminder_checked'] == '1'</code>
      <code>isset($_REQUEST['return_action']) &amp;&amp; $_REQUEST['return_action'] != ""</code>
      <code>isset($_REQUEST['return_module']) &amp;&amp; $_REQUEST['return_module'] != ""</code>
      <code>strpos($k, "sugarpdf_pdf") !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="2">
      <code>$_POST['is_admin'] == '1'</code>
      <code>$_POST['is_admin'] == '1'</code>
    </TypeDoesNotContainType>
    <UndefinedGlobalVariable occurrences="9">
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Users/SaveSignature.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>from_html($_REQUEST['description'])</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$us-&gt;signature_html</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/Users/SaveTimezone.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Users/SetTimezone.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Users/SubPanelViewTeams.php">
    <DuplicateClass occurrences="1">
      <code>SubPanelViewTeams</code>
    </DuplicateClass>
  </file>
  <file src="modules/Users/UpdateTourStatus.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="1">
      <code>$current_user</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Users/User.php">
    <InvalidDocblock occurrences="2">
      <code>function getEmailLink(</code>
      <code>function getEmailLink2($emailAddress, &amp;$focus, $contact_id='', $ret_module='', $ret_action='DetailView', $ret_id='', $class='') {</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $sugar_flavor;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="6">
      <code>!$this-&gt;is_admin</code>
      <code>!$this-&gt;is_admin</code>
      <code>$firstNamePos !== false</code>
      <code>$lastNamePos !== false</code>
      <code>$this-&gt;is_admin</code>
      <code>$this-&gt;is_admin</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="3">
      <code>$firstNamePos !== false</code>
      <code>$firstNamePos === false</code>
      <code>$onPos === false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="2">
      <code>array_key($foundBundles)</code>
      <code>from_html($fullName)</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="5">
      <code>$this-&gt;cookie_consent_received_on</code>
      <code>$this-&gt;cookie_consent_received_on</code>
      <code>$this-&gt;default_team_name</code>
      <code>$this-&gt;default_team_name</code>
      <code>$this-&gt;last_login</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedVariable occurrences="1">
      <code>$foundSubs</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Users/UserViewHelper.php">
    <InvalidGlobal occurrences="1">
      <code>global $dictionary;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="6">
      <code>$position !== false</code>
      <code>$this-&gt;bean-&gt;is_group</code>
      <code>$this-&gt;bean-&gt;portal_only</code>
      <code>$this-&gt;bean-&gt;portal_only</code>
      <code>isset($buttons_footer)</code>
      <code>isset($buttons_header)</code>
    </RedundantCondition>
    <UndefinedVariable occurrences="1">
      <code>$admin</code>
    </UndefinedVariable>
  </file>
  <file src="modules/Users/UsersApiHelper.php">
    <TypeDoesNotContainType occurrences="1">
      <code>is_array($emails)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Users/authentication/AuthenticationController.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;nextStep</code>
      <code>$this-&gt;nextStep</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Users/authentication/BaseAuthenticate.php">
    <UndefinedFunction occurrences="1">
      <code>query_client_ip()</code>
    </UndefinedFunction>
  </file>
  <file src="modules/Users/authentication/IdmModeAuthTrait.php">
    <InvalidArgument occurrences="1">
      <code>false</code>
    </InvalidArgument>
  </file>
  <file src="modules/Users/clients/base/menus/header/header.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Users/clients/base/views/panel-top-for-reportschedules/panel-top-for-reportschedules.php">
    <DuplicateArrayKey occurrences="1">
      <code>'label' =&gt; ' '</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/Users/clients/base/views/subpanel-for-reportschedules/subpanel-for-reportschedules.php">
    <DuplicateArrayKey occurrences="1">
      <code>'label' =&gt; ' '</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/Users/metadata/reassignScriptMetadata.php">
    <UndefinedGlobalVariable occurrences="9">
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Users/metadata/subpaneldefs.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/Users/metadata/subpanels/ForProspectLists.php">
    <DuplicateArrayKey occurrences="1">
      <code>'target_module' =&gt; 'Employees'</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/Users/metadata/subpanels/ForTeams.php">
    <DuplicateArrayKey occurrences="1">
      <code>'sortable'=&gt;false</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/Users/password_utils.php">
    <InvalidGlobal occurrences="1">
      <code>global $timedate;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>$type != ''</code>
    </RedundantCondition>
  </file>
  <file src="modules/Users/reassignUserRecords.php">
    <InvalidGlobal occurrences="3">
      <code>global $current_user;</code>
      <code>global $locale, $dictionary;</code>
      <code>global $mod_strings, $app_strings, $current_user;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="5">
      <code>$app_list_strings</code>
      <code>$app_list_strings</code>
      <code>$moduleFilters</code>
      <code>$moduleFilters</code>
      <code>$moduleFilters</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/Users/vardefs.php">
    <DuplicateArrayKey occurrences="1">
      <code>'table' =&gt; 'teams'</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/Users/views/view.authenticate.php">
    <InvalidScalarArgument occurrences="2">
      <code>ini_get('session.cookie_httponly')</code>
      <code>ini_get('session.cookie_secure')</code>
    </InvalidScalarArgument>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;platform</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/Users/views/view.detail.php">
    <MissingDocblockType occurrences="1">
      <code>protected function getHelpText($module)</code>
    </MissingDocblockType>
    <UndefinedMethod occurrences="1">
      <code>getPreference</code>
    </UndefinedMethod>
  </file>
  <file src="modules/Users/views/view.edit.php">
    <MissingDocblockType occurrences="1">
      <code>protected function getHelpText($module)</code>
    </MissingDocblockType>
    <UndefinedFunction occurrences="1">
      <code>displayAdminError(translate('WARN_LICENSE_SEATS_USER_CREATE', 'Administration'))</code>
    </UndefinedFunction>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;fieldHelper</code>
      <code>$this-&gt;fieldHelper</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;fieldHelper</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/Users/views/view.list.php">
    <TypeDoesNotContainType occurrences="1">
      <code>$_REQUEST['search_form_only'] == false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/Users/views/view.quickedit.php">
    <MissingFile occurrences="1">
      <code>require_once('include/MVC/View/views/view.quickedit.php')</code>
    </MissingFile>
    <UndefinedClass occurrences="1">
      <code>ViewQuickEdit</code>
    </UndefinedClass>
  </file>
  <file src="modules/Versions/Version.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;team_id</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/WebLogicHooks/WebLogicHook.php">
    <DuplicateArrayKey occurrences="1"/>
  </file>
  <file src="modules/WorkFlow/Delete.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlow/DetailView.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $focus, $support_coming_due, $support_expired;</code>
      <code>global $focus_triggers_list, $focus_alerts_list, $focus_trigger_filters_list, $focus_actions_list;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1"/>
    <UndefinedGlobalVariable occurrences="4">
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$current_user</code>
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlow/EditView.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlow/IframeDropdown.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_list_strings;</code>
      <code>global $beanList;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlow/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlow/ProcessListView.php">
    <InvalidGlobal occurrences="9">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_user;</code>
      <code>global $focus_list;</code>
      <code>global $list_max_entries_per_page;</code>
      <code>global $mod_strings;</code>
      <code>global $title;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_ID'], array($mod_strings['LBL_PROCESS_LIST'])	, true)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/WorkFlow/Save.php">
    <UndefinedConstant occurrences="2">
      <code>id</code>
      <code>id</code>
    </UndefinedConstant>
  </file>
  <file src="modules/WorkFlow/WorkFlow.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="3">
      <code>!empty($action_output_array['action_processed']) &amp;&amp; $action_output_array['action_processed']==true</code>
      <code>!empty($eval_array['trigger_processed']) &amp;&amp; $eval_array['trigger_processed']==true</code>
      <code>!empty($eval_array['trigger_processed']) &amp;&amp; $eval_array['trigger_processed']==true</code>
    </RedundantCondition>
    <UndefinedClass occurrences="1">
      <code>QueryGlue</code>
    </UndefinedClass>
    <UndefinedThisPropertyAssignment occurrences="6">
      <code>$this-&gt;column_options</code>
      <code>$this-&gt;column_options</code>
      <code>$this-&gt;query_name</code>
      <code>$this-&gt;query_name</code>
      <code>$this-&gt;rel_name</code>
      <code>$this-&gt;rel_name</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedVariable occurrences="1">
      <code>$current_language</code>
    </UndefinedVariable>
  </file>
  <file src="modules/WorkFlow/WorkFlowDetailView.php">
    <InvalidGlobal occurrences="3">
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>from_html($focus-&gt;body_html)</code>
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_ID'], array($mod_strings['LBL_ALERT_TEMPLATES'],$focus-&gt;name), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlow/WorkFlowEditView.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>$show_related==true</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>$show_related==false</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_ID'], array($mod_strings['LBL_ALERT_TEMPLATES'],$focus-&gt;name), true)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/WorkFlow/WorkFlowListView.php">
    <InvalidGlobal occurrences="10">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_user;</code>
      <code>global $focus_list;</code>
      <code>global $image_path;</code>
      <code>global $list_max_entries_per_page;</code>
      <code>global $mod_strings;</code>
      <code>global $title;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_ID'], array($mod_strings['LBL_ALERT_TEMPLATES']), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="2">
      <code>$current_language</code>
      <code>$current_language</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlow/WorkFlowSchedule.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedVariable occurrences="1">
      <code>$temp_array</code>
    </UndefinedVariable>
  </file>
  <file src="modules/WorkFlowActionShells/CreateStep1.php">
    <InvalidGlobal occurrences="7">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $process_dictionary;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <InvalidScope occurrences="3">
      <code>$this</code>
      <code>$this</code>
      <code>$this</code>
    </InvalidScope>
    <RedundantCondition occurrences="1">
      <code>isset($_REQUEST['record']) &amp;&amp; isset($_REQUEST['record'])</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="3">
      <code>get_plugin("workflow", "action_createstep1", $focus)</code>
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowActionShells/CreateStep2.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <InvalidScope occurrences="3">
      <code>$this</code>
      <code>$this</code>
      <code>$this</code>
    </InvalidScope>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowActionShells/Delete.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowActionShells/EditView.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="2">
      <code>isset($_REQUEST['record']) &amp;&amp; isset($_REQUEST['record'])</code>
      <code>isset($_REQUEST['workflow_id']) &amp;&amp; isset($_REQUEST['workflow_id'])</code>
    </RedundantCondition>
  </file>
  <file src="modules/WorkFlowActionShells/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowActionShells/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/WorkFlowActionShells/Selector.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowActionShells/SubPanelView.php">
    <InvalidGlobal occurrences="7">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $focus;</code>
      <code>global $focus_actions_list;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowActionShells/WorkFlowActionShell.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_strings;</code>
      <code>global $process_dictionary;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="1">
      <code>!empty($list_data_array['action_processed']) &amp;&amp; $list_data_array['action_processed']==true</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;hasError</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/WorkFlowActions/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowActions/SelectFields.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>isset($_REQUEST['record']) &amp;&amp; isset($_REQUEST['record'])</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowActions/Selector.php">
    <InvalidGlobal occurrences="7">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings, $current_language;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowActions/WorkFlowAction.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/WorkFlowAlertShells/Delete.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowAlertShells/DetailView.php">
    <InvalidGlobal occurrences="7">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $focus;</code>
      <code>global $focus_alertcomp_list;</code>
      <code>global $mod_strings;</code>
      <code>global $workflow_object;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings[$focus-&gt;target_meta_array['module_title']],$focus-&gt;name), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowAlertShells/EditView.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="2">
      <code>isset($_REQUEST['record']) &amp;&amp; isset($_REQUEST['record'])</code>
      <code>isset($_REQUEST['workflow_id']) &amp;&amp; isset($_REQUEST['workflow_id'])</code>
    </RedundantCondition>
  </file>
  <file src="modules/WorkFlowAlertShells/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowAlertShells/Popup_picker.php">
    <DuplicateClass occurrences="1">
      <code>Popup_Picker</code>
    </DuplicateClass>
  </file>
  <file src="modules/WorkFlowAlertShells/SubPanelView.php">
    <InvalidGlobal occurrences="8">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $current_module_strings, $current_module_strings2;</code>
      <code>global $focus;</code>
      <code>global $focus_actions_list;</code>
      <code>global $focus_alerts_list;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="2">
      <code>$mod_strings</code>
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowAlertShells/WorkFlowAlertShell.php">
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;hasError</code>
      <code>$this-&gt;target_meta_array</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/WorkFlowAlerts/CreateStep1.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <InvalidScope occurrences="3">
      <code>$this</code>
      <code>$this</code>
      <code>$this</code>
    </InvalidScope>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowAlerts/CreateStep2.php">
    <InvalidGlobal occurrences="7">
      <code>global $alert_meta_user_array;</code>
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <InvalidScope occurrences="3">
      <code>$this</code>
      <code>$this</code>
      <code>$this</code>
    </InvalidScope>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="3">
      <code>$current_language</code>
      <code>$current_language</code>
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowAlerts/Delete.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowAlerts/DetailView.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $focus, $support_coming_due, $support_expired;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_TITLE'],$focus-&gt;name), true)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowAlerts/DisplayRelInfo.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_list_strings;</code>
      <code>global $beanList;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowAlerts/EditView.php">
    <InvalidGlobal occurrences="5">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowAlerts/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowAlerts/MetaArray.php">
    <InvalidGlobal occurrences="1">
      <code>global $alert_meta_user_array;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowAlerts/Popup.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>isset($_REQUEST['record']) &amp;&amp; isset($_REQUEST['record'])</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowAlerts/Selector.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowAlerts/SubPanelView.php">
    <InvalidGlobal occurrences="7">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language, $current_module_strings;</code>
      <code>global $focus;</code>
      <code>global $focus_alertcomp_list;</code>
      <code>global $theme;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="3">
      <code>$workflow_object</code>
      <code>$workflow_object</code>
      <code>$workflow_object</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowAlerts/WorkFlowAlert.php">
    <InvalidGlobal occurrences="1">
      <code>global $process_dictionary;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;hasError</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/WorkFlowTriggerShells/CreateStep1.php">
    <InvalidGlobal occurrences="8">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $process_dictionary;</code>
      <code>global $sugar_version, $sugar_config;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <InvalidScope occurrences="3">
      <code>$this</code>
      <code>$this</code>
      <code>$this</code>
    </InvalidScope>
    <UndefinedFunction occurrences="5">
      <code>getClassicModuleTitle($mod_strings['LBL_FILTER_FORM_TITLE'], array($mod_strings['LBL_FILTER_FORM_TITLE'],$mod_strings['LBL_FILTER_FORM_TITLE']), false)</code>
      <code>getClassicModuleTitle($mod_strings['LBL_TRIGGER_FORM_TITLE'], array($mod_strings['LBL_TRIGGER_FORM_TITLE'],$mod_strings['LBL_TRIGGER_FORM_TITLE']), false)</code>
      <code>get_plugin("workflow", "trigger_createstep1", $focus)</code>
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowTriggerShells/CreateStepCount.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <InvalidScope occurrences="3">
      <code>$this</code>
      <code>$this</code>
      <code>$this</code>
    </InvalidScope>
    <RedundantCondition occurrences="2">
      <code>isset($_REQUEST['record']) &amp;&amp; isset($_REQUEST['record'])</code>
      <code>isset($_REQUEST['workflow_id']) &amp;&amp; isset($_REQUEST['workflow_id'])</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowTriggerShells/CreateStepFilter.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <InvalidScope occurrences="3">
      <code>$this</code>
      <code>$this</code>
      <code>$this</code>
    </InvalidScope>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header($theme)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowTriggerShells/CreateStepSpecific.php">
    <InvalidGlobal occurrences="6">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $mod_strings;</code>
      <code>global $theme;</code>
      <code>global $urlPrefix;</code>
    </InvalidGlobal>
    <InvalidScope occurrences="3">
      <code>$this</code>
      <code>$this</code>
      <code>$this</code>
    </InvalidScope>
    <UndefinedFunction occurrences="2">
      <code>insert_popup_footer()</code>
      <code>insert_popup_header()</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="2">
      <code>$current_language</code>
      <code>$gridline</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowTriggerShells/Delete.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowTriggerShells/EditView.php">
    <InvalidGlobal occurrences="4">
      <code>global $app_list_strings;</code>
      <code>global $app_strings;</code>
      <code>global $current_user;</code>
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowTriggerShells/FilterSubPanelView.php">
    <InvalidGlobal occurrences="6">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language;</code>
      <code>global $focus;</code>
      <code>global $focus_trigger_filters_list;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowTriggerShells/Menu.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/WorkFlowTriggerShells/SubPanelView.php">
    <InvalidGlobal occurrences="8">
      <code>global $action;</code>
      <code>global $app_strings;</code>
      <code>global $app_strings;</code>
      <code>global $currentModule;</code>
      <code>global $current_language, $current_module_strings;</code>
      <code>global $focus;</code>
      <code>global $focus_trigger_filters_list;</code>
      <code>global $focus_triggers_list;</code>
    </InvalidGlobal>
    <UndefinedGlobalVariable occurrences="1">
      <code>$mod_strings</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="modules/WorkFlowTriggerShells/WorkFlowTriggerShell.php">
    <InvalidGlobal occurrences="1">
      <code>global $process_dictionary;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="1">
      <code>$the_query_string</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="2">
      <code>!empty($list_data_array['action_processed']) &amp;&amp; $list_data_array['action_processed']==true</code>
      <code>strpos($trigger_display_text,'class="error"') !== false</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;hasError</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/iCals/HTTP_WebDAV_Server_iCal.php">
    <InvalidDocblock occurrences="2">
      <code>public function ServeICalRequest($base = false)</code>
      <code>public function http_GET()</code>
    </InvalidDocblock>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;user_focus</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;user_focus</code>
      <code>$this-&gt;user_focus</code>
      <code>$this-&gt;user_focus</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/iCals/iCal.php">
    <RedundantCondition occurrences="3">
      <code>$hide_calls</code>
      <code>is_array($eventAttendees)</code>
      <code>is_array($eventAttendees)</code>
    </RedundantCondition>
  </file>
  <file src="modules/pmse_Emails_Templates/clients/base/api/PMSEEmailsTemplates.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;crmDataWrapper</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;crmDataWrapper</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/pmse_Emails_Templates/clients/base/layouts/compose-sugarlinks/compose-sugarlinks.php">
    <DuplicateArrayKey occurrences="2">
      <code>'name' =&gt; 'main-pane'</code>
      <code>'type' =&gt; 'simple'</code>
    </DuplicateArrayKey>
  </file>
  <file src="modules/pmse_Inbox/clients/base/api/PMSECasesListApi.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;pmse</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/pmse_Inbox/clients/base/api/PMSEEngineApi.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <UndefinedClass occurrences="13">
      <code>$objectBean</code>
      <code>$objectBean</code>
      <code>$objectBean</code>
      <code>$objectBean</code>
      <code>$objectBean-&gt;act_name</code>
      <code>$objectBean-&gt;act_name</code>
      <code>$objectBean-&gt;evn_name</code>
      <code>$objectBean-&gt;evn_name</code>
      <code>BpmFlow</code>
      <code>BpmnActivity</code>
      <code>BpmnActivity</code>
      <code>BpmnEvent</code>
      <code>BpmnEvent</code>
    </UndefinedClass>
    <UndefinedMethod occurrences="2">
      <code>findRoute</code>
      <code>getRequest</code>
    </UndefinedMethod>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;pmse</code>
      <code>$this-&gt;wrapper</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;wrapper</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$options</code>
    </UndefinedVariable>
  </file>
  <file src="modules/pmse_Inbox/clients/base/api/PMSEEngineFilterApi.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEElements/PMSEChangeField.php">
    <RedundantCondition occurrences="2">
      <code>is_object($bean)</code>
      <code>isset($bean) &amp;&amp; is_object($bean)</code>
    </RedundantCondition>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEElements/PMSEUserTask.php">
    <InvalidGlobal occurrences="1">
      <code>global $disable_redirects;</code>
    </InvalidGlobal>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEEngineUtils.php">
    <DuplicateArrayKey occurrences="1">
      <code>'CF' =&gt; array('assigned_user_id', 'likely_case', 'worst_case', 'best_case', 'teams')</code>
    </DuplicateArrayKey>
    <MissingDocblockType occurrences="2">
      <code>public static function getAllModules()</code>
      <code>public static function unsetCommonFields($projectData, $except = array(), $showValue = false)</code>
    </MissingDocblockType>
    <RedundantCondition occurrences="2">
      <code>$def['name'] === 'license_type'</code>
      <code>strpos($key, 'emailAddress') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>$GLOBALS['sugar_config']['exclude_notifications'][$bean-&gt;module_dir] != true</code>
    </TypeDoesNotContainType>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$bean-&gt;isPASaveRequest</code>
    </UndefinedPropertyAssignment>
    <UndefinedVariable occurrences="1">
      <code>$fieldName</code>
    </UndefinedVariable>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEEvalRelations.php">
    <RedundantCondition occurrences="1">
      <code>strpos($value1, $value2) !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($value1, $value2) === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEExecuter.php">
    <ParadoxicalCondition occurrences="1"/>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEExpressionEvaluator.php">
    <InvalidArrayOffset occurrences="2">
      <code>$boolarray[$token-&gt;expValue]</code>
      <code>array(false =&gt; 'false', true =&gt; 'true')</code>
    </InvalidArrayOffset>
    <ParadoxicalCondition occurrences="1">
      <code>is_float($token-&gt;expValue)</code>
    </ParadoxicalCondition>
    <RedundantCondition occurrences="1">
      <code>is_double($token-&gt;expValue)</code>
    </RedundantCondition>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEFieldsUtils.php">
    <InvalidGlobal occurrences="1">
      <code>global $app_list_strings;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>get_expression($meta_array['ext1'], $rel_this-&gt;$field, $meta_array['value'])</code>
      <code>get_manager_info($current_user-&gt;id)</code>
      <code>get_manager_info($focus-&gt;{$meta_array['value']})</code>
    </UndefinedFunction>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEFlowRouter.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;pmseElementRunner</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;elementStack</code>
      <code>$this-&gt;pmseElementRunner</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEHandlers/PMSEEmailHandler.php">
    <RedundantCondition occurrences="1">
      <code>strpos($key, 'emailAddress') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>empty($email)</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>from_html($text)</code>
    </UndefinedFunction>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEHandlers/PMSEUserAssignmentHandler.php">
    <ImplicitToStringCast occurrences="3">
      <code>$checkTime</code>
      <code>$checkTime</code>
      <code>$nowTime</code>
    </ImplicitToStringCast>
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <UndefinedMethod occurrences="4">
      <code>getCloseTime</code>
      <code>getOpenTime</code>
      <code>getPreference</code>
      <code>isOpen</code>
    </UndefinedMethod>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEImporter.php">
    <MissingDocblockType occurrences="1">
      <code>protected $suffix = '';</code>
    </MissingDocblockType>
    <UndefinedMethod occurrences="1">
      <code>SugarLogger::getLogger()</code>
    </UndefinedMethod>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSELogger.php">
    <UndefinedDocblockClass occurrences="1"/>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEPreProcessor/PMSEElementValidator.php">
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($url, 'pmse') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEPreProcessor/PMSEPreProcessor.php">
    <TypeDoesNotContainType occurrences="1">
      <code>empty($bean)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSEProjectImporter.php">
    <RedundantCondition occurrences="4">
      <code>$pos !== false</code>
      <code>$pos !== false</code>
      <code>strpos($key, '_name') !== false</code>
      <code>strpos($key, '_uid') !== false</code>
    </RedundantCondition>
    <UndefinedPropertyAssignment occurrences="5">
      <code>$bean-&gt;assigned_user_id</code>
      <code>$bean-&gt;assigned_user_id</code>
      <code>$bean-&gt;pro_status</code>
      <code>$bean-&gt;pro_status</code>
      <code>$bean-&gt;pro_status</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="modules/pmse_Inbox/engine/PMSERelatedModule.php">
    <MissingDocblockType occurrences="2">
      <code>public function addRelatedRecord($moduleBean, $linkField, $fields, $def = null)</code>
      <code>public function addRelatedRecordValues($relatedModuleBean, $fields)</code>
    </MissingDocblockType>
  </file>
  <file src="modules/pmse_Inbox/engine/parser/PMSEBusinessRuleParser.php">
    <ParamNameMismatch occurrences="2">
      <code>$args</code>
      <code>$evaluatedBean</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/pmse_Inbox/engine/parser/PMSEFieldParser.php">
    <ParamNameMismatch occurrences="1">
      <code>$evaluatedBean</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;timeDate</code>
      <code>$this-&gt;timeDate</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="modules/pmse_Inbox/engine/parser/PMSEFormResponseParser.php">
    <ParamNameMismatch occurrences="2">
      <code>$args</code>
      <code>$evaluatedBean</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/pmse_Inbox/engine/parser/PMSEUserRoleParser.php">
    <ParamNameMismatch occurrences="1">
      <code>$evaluatedBean</code>
    </ParamNameMismatch>
  </file>
  <file src="modules/pmse_Inbox/engine/wrappers/PMSEHistoryLogWrapper.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="2">
      <code>0</code>
      <code>0</code>
    </RedundantCondition>
    <TypeDoesNotContainNull occurrences="1">
      <code>!isset($args)</code>
    </TypeDoesNotContainNull>
    <TypeDoesNotContainType occurrences="2">
      <code>!is_array($args)</code>
      <code>!isset($args) || !is_array($args)</code>
    </TypeDoesNotContainType>
    <UndefinedThisPropertyAssignment occurrences="5">
      <code>$this-&gt;currentUser</code>
      <code>$this-&gt;currentUser</code>
      <code>$this-&gt;data</code>
      <code>$this-&gt;db</code>
      <code>$this-&gt;db</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="6">
      <code>$this-&gt;currentUser</code>
      <code>$this-&gt;data</code>
      <code>$this-&gt;data</code>
      <code>$this-&gt;data</code>
      <code>$this-&gt;data</code>
      <code>$this-&gt;data</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/pmse_Project/clients/base/api/PMSEProjectCRUDApi.php">
    <UndefinedMethod occurrences="1">
      <code>saveRelatedBeans</code>
    </UndefinedMethod>
  </file>
  <file src="modules/pmse_Project/clients/base/api/wrappers/PMSEActivityDefinitionWrapper.php">
    <InvalidArrayOffset occurrences="1">
      <code>$row['label']</code>
    </InvalidArrayOffset>
    <RedundantCondition occurrences="1">
      <code>isset($args['record']) &amp;&amp; count($args) &gt; 0</code>
    </RedundantCondition>
  </file>
  <file src="modules/pmse_Project/clients/base/api/wrappers/PMSECrmDataWrapper.php">
    <InvalidArgument occurrences="1">
      <code>$groupFields[$field['group']]</code>
    </InvalidArgument>
    <InvalidArrayOffset occurrences="1">
      <code>$tmpField['relationship']</code>
    </InvalidArrayOffset>
    <InvalidDocblock occurrences="1">
      <code>public function setBeanList($beanList)</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="1">
      <code>global $db;</code>
    </InvalidGlobal>
    <UndefinedMethod occurrences="1">
      <code>getSelectRows</code>
    </UndefinedMethod>
    <UndefinedVariable occurrences="1">
      <code>$beanModule</code>
    </UndefinedVariable>
  </file>
  <file src="modules/pmse_Project/clients/base/api/wrappers/PMSEDynaForm.php">
    <EmptyArrayAccess occurrences="1">
      <code>$viewdefs[$baseModule]</code>
    </EmptyArrayAccess>
  </file>
  <file src="modules/pmse_Project/clients/base/api/wrappers/PMSEEventDefinitionWrapper.php">
    <RedundantCondition occurrences="2">
      <code>is_array($related)</code>
      <code>isset($args['record']) &amp;&amp; count($args) &gt; 0</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;crmDataWrapper</code>
      <code>$this-&gt;crmDataWrapper</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;crmDataWrapper</code>
      <code>$this-&gt;crmDataWrapper</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="modules/pmse_Project/clients/base/api/wrappers/PMSEGatewayDefinitionWrapper.php">
    <RedundantCondition occurrences="1">
      <code>isset($args['record']) &amp;&amp; count($args) &gt; 0</code>
    </RedundantCondition>
  </file>
  <file src="modules/pmse_Project/clients/base/api/wrappers/PMSEProjectWrapper.php">
    <InvalidGlobal occurrences="1">
      <code>global $beanList;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="2">
      <code>!$row[$field]</code>
      <code>!$row[$field]</code>
    </TypeDoesNotContainType>
  </file>
  <file src="modules/vCals/HTTP_WebDAV_Server_vCal.php">
    <InvalidDocblock occurrences="3">
      <code>function ServeRequest($base = false)</code>
      <code>function http_GET()</code>
      <code>function http_PUT()</code>
    </InvalidDocblock>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;user_focus</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="7">
      <code>$this-&gt;user_focus</code>
      <code>$this-&gt;user_focus</code>
      <code>$this-&gt;user_focus</code>
      <code>$this-&gt;user_focus</code>
      <code>$this-&gt;user_focus</code>
      <code>$this-&gt;user_focus</code>
      <code>$this-&gt;user_focus</code>
    </UndefinedThisPropertyFetch>
    <UndefinedVariable occurrences="1">
      <code>$focus</code>
    </UndefinedVariable>
  </file>
  <file src="modules/vCals/vCal.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
  </file>
  <file src="pdf.php">
    <InvalidGlobal occurrences="1">
      <code>global $locale;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
    <UndefinedMethod occurrences="1">
      <code>SugarAutoLoader::includeFile($includeFile)</code>
    </UndefinedMethod>
  </file>
  <file src="portal2/index.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config, $db, $fileName, $current_user, $locale, $current_language, $beanFiles, $beanList, $objectList, $moduleList, $modInvisList;</code>
    </InvalidGlobal>
  </file>
  <file src="portal2/tests/clients/portal/PortalIndex.php">
    <UndefinedClass occurrences="1">
      <code>Sugar_PHPUnit_Framework_TestCase</code>
    </UndefinedClass>
  </file>
  <file src="process_queue.php">
    <InvalidGlobal occurrences="2"/>
    <MissingFile occurrences="1">
      <code>require_once('config.php')</code>
    </MissingFile>
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="process_workflow.php">
    <InvalidGlobal occurrences="2">
      <code>global $app_list_strings, $app_strings, $current_language;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="service/core/REST/SugarRest.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;implementation</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;faultServer</code>
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;implementation</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="service/core/REST/SugarRestDecorator.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="service/core/REST/SugarRestJSON.php">
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;faultServer</code>
      <code>$this-&gt;implementation</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="service/core/REST/SugarRestRSS.php">
    <ParamNameMismatch occurrences="1">
      <code>$faultObject</code>
    </ParamNameMismatch>
    <UndefinedVariable occurrences="2">
      <code>$app_strings</code>
      <code>$errorObject</code>
    </UndefinedVariable>
  </file>
  <file src="service/core/REST/SugarRestSerialize.php">
    <UndefinedThisPropertyFetch occurrences="2">
      <code>$this-&gt;faultServer</code>
      <code>$this-&gt;implementation</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="service/core/SoapHelperWebService.php">
    <InvalidDocblock occurrences="2">
      <code>function validate_authenticated($session_id){</code>
      <code>public function validate_user($user_name, $password)</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="3">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $disable_date_format;</code>
    </InvalidGlobal>
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>query_client_ip()</code>
    </UndefinedFunction>
  </file>
  <file src="service/core/SugarRestService.php">
    <ParamNameMismatch occurrences="2">
      <code>$className</code>
      <code>$registryClass</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="4">
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;registryClass</code>
      <code>$this-&gt;responseClass</code>
      <code>$this-&gt;serverClass</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;implementation</code>
      <code>$this-&gt;registryClass</code>
      <code>$this-&gt;responseClass</code>
      <code>$this-&gt;serverClass</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="service/core/SugarSoapService.php">
    <ParadoxicalCondition occurrences="1">
      <code>!defined('sugarEntry')</code>
    </ParadoxicalCondition>
    <ParamNameMismatch occurrences="2">
      <code>$implementationClass</code>
      <code>$registryClass</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;in_service</code>
      <code>$this-&gt;in_service</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;in_service</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="service/core/SugarWebService.php">
    <ParadoxicalCondition occurrences="1">
      <code>!defined('sugarEntry')</code>
    </ParadoxicalCondition>
  </file>
  <file src="service/core/SugarWebServiceImpl.php">
    <InvalidDocblock occurrences="1">
      <code>function seamless_login($session){</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="4">
      <code>global $current_language;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>query_client_ip()</code>
    </UndefinedFunction>
  </file>
  <file src="service/v2/SugarSoapService2.php">
    <ParamNameMismatch occurrences="1">
      <code>$implementationClass</code>
    </ParamNameMismatch>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;in_service</code>
      <code>$this-&gt;in_service</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="service/v3/SugarWebServiceImplv3.php">
    <InvalidDocblock occurrences="2">
      <code>function get_module_layout_md5($session, $module_name, $type, $view){</code>
      <code>public function get_module_layout($session, $a_module_names, $a_type, $a_view, $md5 = false)</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="3">
      <code>global $current_language;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="1">
      <code>query_client_ip()</code>
    </UndefinedFunction>
  </file>
  <file src="service/v3/SugarWebServiceUtilv3.php">
    <UndefinedVariable occurrences="2">
      <code>$layout_defs</code>
      <code>$wireless_module_registry</code>
    </UndefinedVariable>
  </file>
  <file src="service/v3_1/SugarWebServiceImplv3_1.php">
    <InvalidDocblock occurrences="2">
      <code>function get_module_layout_md5($session, $module_name, $type, $view, $acl_check = TRUE){</code>
      <code>public function get_module_layout(</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="5">
      <code>global $current_language;</code>
      <code>global $current_language;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="2">
      <code>query_client_ip()</code>
      <code>template_handle_pdf($reporter, false)</code>
    </UndefinedFunction>
  </file>
  <file src="service/v3_1/SugarWebServiceUtilv3_1.php">
    <RedundantCondition occurrences="2">
      <code>strpos($field,'email') !== false</code>
      <code>strpos($field,'phone') !== false</code>
    </RedundantCondition>
    <UndefinedVariable occurrences="1">
      <code>$wireless_module_registry</code>
    </UndefinedVariable>
  </file>
  <file src="service/v4/SugarWebServiceImplv4.php">
    <InvalidDocblock occurrences="1">
      <code>function get_module_layout($session, $a_module_names, $a_type, $a_view,$acl_check = TRUE, $md5 = FALSE){</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="4">
      <code>global $current_language;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <ParamNameMismatch occurrences="2">
      <code>$acl_check</code>
      <code>$md5</code>
    </ParamNameMismatch>
    <UndefinedFunction occurrences="2">
      <code>query_client_ip()</code>
      <code>template_handle_pdf($reporter, false)</code>
    </UndefinedFunction>
  </file>
  <file src="service/v4/SugarWebServiceUtilv4.php">
    <ParamNameMismatch occurrences="1">
      <code>$moduleName</code>
    </ParamNameMismatch>
    <RedundantCondition occurrences="2">
      <code>!empty($favorites) &amp;&amp; $favorites</code>
      <code>$favorites</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>query_client_ip()</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="1">
      <code>$layout_defs</code>
    </UndefinedVariable>
  </file>
  <file src="service/v4_1/SugarWebServiceImplv4_1.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
  </file>
  <file src="service/v4_1/SugarWebServiceUtilv4_1.php">
    <InvalidDocblock occurrences="1">
      <code>function validate_authenticated($session_id)</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="silentFTSIndex.php">
    <InvalidGlobal occurrences="1">
      <code>global $current_user;</code>
    </InvalidGlobal>
  </file>
  <file src="soap.php">
    <InvalidGlobal occurrences="1">
      <code>global $soap_server_object;</code>
    </InvalidGlobal>
  </file>
  <file src="soap/SoapData.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="1">
      <code>isset($in)</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="3">
      <code>validate_authenticated($session)</code>
      <code>validate_authenticated($session)</code>
      <code>validate_authenticated($session)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="3">
      <code>$server</code>
      <code>$server</code>
      <code>$server</code>
    </UndefinedGlobalVariable>
    <UndefinedVariable occurrences="1">
      <code>$params</code>
    </UndefinedVariable>
  </file>
  <file src="soap/SoapDeprecated.php">
    <InvalidDocblock occurrences="4">
      <code>function create_session($user_name, $password)</code>
      <code>function end_session($user_name)</code>
      <code>function track_email($user_name, $password,$parent_id, $contact_ids, $date_sent, $email_subject, $email_body)</code>
      <code>function validate_user($user_name, $password){</code>
    </InvalidDocblock>
    <ParadoxicalCondition occurrences="1">
      <code>!defined('sugarEntry')</code>
    </ParadoxicalCondition>
    <UndefinedGlobalVariable occurrences="1">
      <code>$server</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="soap/SoapHelperFunctions.php">
    <InvalidGlobal occurrences="2">
      <code>global $current_user;</code>
      <code>global $invalid_contact_fields;</code>
    </InvalidGlobal>
    <UndefinedFunction occurrences="3">
      <code>getValidDBName($field)</code>
      <code>unzip_file( $zip_file, $file_in_zip, $my_zip_dir )</code>
      <code>validate_authenticated($session)</code>
    </UndefinedFunction>
    <UndefinedVariable occurrences="1">
      <code>$value</code>
    </UndefinedVariable>
  </file>
  <file src="soap/SoapStudio.php">
    <UndefinedFunction occurrences="1">
      <code>validate_authenticated($session)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$server</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="soap/SoapSugarUsers.php">
    <InvalidDocblock occurrences="4">
      <code>function get_note_attachment($session,$id)</code>
      <code>function is_loopback(){</code>
      <code>function seamless_login($session, $ip = null)</code>
      <code>function validate_authenticated($session_id){</code>
    </InvalidDocblock>
    <InvalidGlobal occurrences="8">
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $current_user;</code>
      <code>global $sugar_config;</code>
      <code>global $sugar_config;</code>
    </InvalidGlobal>
    <RedundantCondition occurrences="4">
      <code>$pos !== false</code>
      <code>$pos !== false</code>
      <code>$pos2 !== false</code>
      <code>$pos2 !== false</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="5">
      <code>get_linked_records($related_module, $module_name, $module_id)</code>
      <code>query_client_ip()</code>
      <code>query_client_ip()</code>
      <code>query_client_ip()</code>
      <code>validate_user($user_name, $password)</code>
    </UndefinedFunction>
    <UndefinedGlobalVariable occurrences="1">
      <code>$server</code>
    </UndefinedGlobalVariable>
  </file>
  <file src="src/CSP/ContentSecurityPolicy.php">
    <InvalidReturnType occurrences="1">
      <code>ContentSecurityPolicy</code>
    </InvalidReturnType>
  </file>
  <file src="src/Cache/Backend/WinCache.php">
    <TypeDoesNotContainType occurrences="1">
      <code>wincache_ucache_set($values, null, $ttl ?? 0) === []</code>
    </TypeDoesNotContainType>
  </file>
  <file src="src/Calendar/QueryManager.php">
    <RedundantCondition occurrences="1">
      <code>is_array($dblClickAction)</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="6">
      <code>$this-&gt;defaultFilters</code>
      <code>$this-&gt;filterManager</code>
      <code>$this-&gt;logger</code>
      <code>$this-&gt;params</code>
      <code>$this-&gt;query</code>
      <code>$this-&gt;targetBean</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="16">
      <code>$this-&gt;defaultFilters</code>
      <code>$this-&gt;filterManager</code>
      <code>$this-&gt;logger</code>
      <code>$this-&gt;logger</code>
      <code>$this-&gt;logger</code>
      <code>$this-&gt;logger</code>
      <code>$this-&gt;params</code>
      <code>$this-&gt;query</code>
      <code>$this-&gt;query</code>
      <code>$this-&gt;query</code>
      <code>$this-&gt;query</code>
      <code>$this-&gt;query</code>
      <code>$this-&gt;query</code>
      <code>$this-&gt;query</code>
      <code>$this-&gt;targetBean</code>
      <code>$this-&gt;targetBean</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="src/CloudDrive/DriveFacade.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;drive</code>
      <code>$this-&gt;drive</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="10">
      <code>$this-&gt;drive</code>
      <code>$this-&gt;drive</code>
      <code>$this-&gt;drive</code>
      <code>$this-&gt;drive</code>
      <code>$this-&gt;drive</code>
      <code>$this-&gt;drive</code>
      <code>$this-&gt;drive</code>
      <code>$this-&gt;drive</code>
      <code>$this-&gt;drive</code>
      <code>$this-&gt;drive</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="src/CloudDrive/Drives/GoogleDrive.php">
    <DuplicateArrayKey occurrences="2">
      <code>'includeItemsFromAllDrives' =&gt; true</code>
      <code>'includeItemsFromAllDrives' =&gt; true</code>
    </DuplicateArrayKey>
    <FalsableReturnStatement occurrences="1">
      <code>false</code>
    </FalsableReturnStatement>
  </file>
  <file src="src/CloudDrive/Drives/OneDrive.php">
    <UndefinedDocblockClass occurrences="1">
      <code>InvalidArgumentException</code>
    </UndefinedDocblockClass>
  </file>
  <file src="src/CloudDrive/Model/DriveItemMapper.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;data</code>
      <code>$this-&gt;type</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="4">
      <code>$this-&gt;data</code>
      <code>$this-&gt;data</code>
      <code>$this-&gt;type</code>
      <code>$this-&gt;type</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="src/Console/Command/Api/IdmModeManageCommand.php">
    <InvalidGlobal occurrences="1">
      <code>global $sugar_idm_config;</code>
    </InvalidGlobal>
  </file>
  <file src="src/Console/Command/Elasticsearch/CleanupQueueCommand.php">
    <TypeDoesNotContainType occurrences="1">
      <code>empty($modules)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="src/Console/Command/Elasticsearch/SilentReindexMultiProcessCommand.php">
    <InvalidScalarArgument occurrences="1">
      <code>$bucketId</code>
    </InvalidScalarArgument>
  </file>
  <file src="src/Console/CommandRegistry/CommandRegistryInterface.php">
    <MissingDocblockType occurrences="1">
      <code>public function validateMode($mode);</code>
    </MissingDocblockType>
  </file>
  <file src="src/DbArchiver/DbArchiver.php">
    <RedundantCondition occurrences="3">
      <code>$type === \DataArchiver::PROCESS_TYPE_DELETE &amp;&amp; isset($casIds)</code>
      <code>isset($casIds)</code>
      <code>isset($casIds)</code>
    </RedundantCondition>
    <TypeDoesNotContainNull occurrences="1">
      <code>$type === \DataArchiver::PROCESS_TYPE_DELETE &amp;&amp; !isset($casIds)</code>
    </TypeDoesNotContainNull>
    <UndefinedDocblockClass occurrences="1">
      <code>Doctrine\DBAL\Exception</code>
    </UndefinedDocblockClass>
  </file>
  <file src="src/Dbal/Compat/PDO.php">
    <DuplicateClass occurrences="1">
      <code>PDO</code>
    </DuplicateClass>
  </file>
  <file src="src/Dbal/Connection.php">
    <ParamNameMismatch occurrences="2">
      <code>$query</code>
      <code>$query</code>
    </ParamNameMismatch>
  </file>
  <file src="src/Dbal/IbmDb2/Connection.php">
    <InternalMethod occurrences="2">
      <code>new DB2Exception(db2_stmt_errormsg())</code>
      <code>new Statement($db2Stmt)</code>
    </InternalMethod>
    <InvalidClass occurrences="1">
      <code>DB2Exception</code>
    </InvalidClass>
  </file>
  <file src="src/Dbal/IbmDb2/Db2Exception.php">
    <InternalClass occurrences="1">
      <code>AbstractException</code>
    </InternalClass>
    <MissingImmutableAnnotation occurrences="2">
      <code>AbstractException</code>
      <code>Db2Exception</code>
    </MissingImmutableAnnotation>
  </file>
  <file src="src/Dbal/IbmDb2/Statement.php">
    <InternalMethod occurrences="1">
      <code>new Db2Exception($msg, $code)</code>
    </InternalMethod>
  </file>
  <file src="src/Dbal/SqlSrv/Connection.php">
    <InternalMethod occurrences="1">
      <code>new Statement($this-&gt;conn, $sql, $this-&gt;lastInsertId)</code>
    </InternalMethod>
  </file>
  <file src="src/Denormalization/Relate/Db/Db.php">
    <ParamNameMismatch occurrences="4">
      <code>$denormalizedFieldName</code>
      <code>$relatedFieldName</code>
      <code>$relatedKey</code>
      <code>$relatedTableName</code>
    </ParamNameMismatch>
  </file>
  <file src="src/Denormalization/Relate/PreChecker.php">
    <RedundantCondition occurrences="1">
      <code>$secondI === $firstI</code>
    </RedundantCondition>
    <UndefinedDocblockClass occurrences="1">
      <code>Doctrine\DBAL\Exception</code>
    </UndefinedDocblockClass>
  </file>
  <file src="src/Denormalization/TeamSecurity/Listener/PreFetch.php">
    <UndefinedFunction occurrences="1">
      <code>sugar_cache_clear('teamSetIdByUser' . $userId)</code>
    </UndefinedFunction>
  </file>
  <file src="src/Denormalization/TeamSecurity/Listener/Updater.php">
    <InvalidDocblock occurrences="1">
      <code>private function query($template)</code>
    </InvalidDocblock>
  </file>
  <file src="src/Denormalization/TeamSecurity/TeamsetPruner.php">
    <MissingFile occurrences="1">
      <code>include 'TeamsetPruner/backupTables.php'</code>
    </MissingFile>
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;db</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="6">
      <code>$this-&gt;command</code>
      <code>$this-&gt;db</code>
      <code>$this-&gt;db</code>
      <code>$this-&gt;db</code>
      <code>$this-&gt;db</code>
      <code>$this-&gt;db</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="src/DocumentMerge/Client/Adapter/AdapterFactory.php">
    <InvalidNullableReturnType occurrences="1">
      <code>string</code>
    </InvalidNullableReturnType>
    <NullableReturnStatement occurrences="1">
      <code>$class</code>
    </NullableReturnStatement>
  </file>
  <file src="src/DocumentMerge/Client/Adapter/Adapters/MultiMergeDataAdapter.php">
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;payload</code>
      <code>$this-&gt;payload</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="src/DocumentMerge/Configuration/Configuration.php">
    <UndefinedVariable occurrences="1">
      <code>$config</code>
    </UndefinedVariable>
  </file>
  <file src="src/DocumentMerge/ServiceFactory.php">
    <TypeDoesNotContainType occurrences="1">
      <code>class_exists($serviceClass)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="src/Elasticsearch/Adapter/Bulk.php">
    <UndefinedMethod occurrences="1">
      <code>getElasticServerVersion</code>
    </UndefinedMethod>
  </file>
  <file src="src/Elasticsearch/Adapter/DeleteDocumentWithType.php">
    <ParamNameMismatch occurrences="1">
      <code>$action</code>
    </ParamNameMismatch>
  </file>
  <file src="src/Elasticsearch/Adapter/IndexDocumentWithType.php">
    <ParamNameMismatch occurrences="1">
      <code>$action</code>
    </ParamNameMismatch>
  </file>
  <file src="src/Elasticsearch/Adapter/ResultSet.php">
    <InvalidReturnStatement occurrences="2">
      <code>$this-&gt;resultSet-&gt;next()</code>
      <code>$this-&gt;resultSet-&gt;rewind()</code>
    </InvalidReturnStatement>
  </file>
  <file src="src/Elasticsearch/Index/IndexCollection.php">
    <UndefinedClass occurrences="1">
      <code>Client</code>
    </UndefinedClass>
  </file>
  <file src="src/Elasticsearch/Index/IndexManager.php">
    <UndefinedClass occurrences="2">
      <code>$e</code>
      <code>Exception</code>
    </UndefinedClass>
  </file>
  <file src="src/Elasticsearch/Index/IndexPool.php">
    <InvalidArgument occurrences="1">
      <code>IndexManager::isOneIndexEnabled()</code>
    </InvalidArgument>
  </file>
  <file src="src/Elasticsearch/Logger.php">
    <InvalidDocblock occurrences="1">
      <code>public function onRequestFailure(Connection $connection, \Exception $e, $path, $method, $data)</code>
    </InvalidDocblock>
    <RedundantCondition occurrences="1">
      <code>strpos($expMsg, "no such index") !== false</code>
    </RedundantCondition>
    <UndefinedMethod occurrences="1">
      <code>getRequest</code>
    </UndefinedMethod>
  </file>
  <file src="src/Elasticsearch/Mapping/MappingInterface.php">
    <UndefinedDocblockClass occurrences="1">
      <code>MappingException</code>
    </UndefinedDocblockClass>
  </file>
  <file src="src/Elasticsearch/Mapping/Property/ObjectProperty.php">
    <UndefinedClass occurrences="1">
      <code>MappingException</code>
    </UndefinedClass>
    <UndefinedDocblockClass occurrences="1">
      <code>protected $dynamic = false;</code>
    </UndefinedDocblockClass>
  </file>
  <file src="src/Elasticsearch/Provider/GlobalSearch/Handler/Implement/AutoIncrementHandler.php">
    <MissingDocblockType occurrences="1">
      <code>protected function retrieveFieldByQuery(\SugarBean $bean, $fieldName)</code>
    </MissingDocblockType>
  </file>
  <file src="src/Elasticsearch/Provider/GlobalSearch/Handler/Implement/CommentLogHandler.php">
    <ParamNameMismatch occurrences="1">
      <code>$sfs</code>
    </ParamNameMismatch>
  </file>
  <file src="src/Elasticsearch/Provider/GlobalSearch/Handler/Implement/EmailAddressHandler.php">
    <ParamNameMismatch occurrences="2">
      <code>$analysisBuilder</code>
      <code>$sfs</code>
    </ParamNameMismatch>
  </file>
  <file src="src/Elasticsearch/Provider/GlobalSearch/Handler/Implement/MultiFieldHandler.php">
    <ParamNameMismatch occurrences="2">
      <code>$analysisBuilder</code>
      <code>$sfs</code>
    </ParamNameMismatch>
  </file>
  <file src="src/Elasticsearch/Provider/GlobalSearch/ResultParser.php">
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($value, $this-&gt;getPreTag()) === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="src/Elasticsearch/Provider/Visibility/Filter/TeamSetFilter.php">
    <InvalidGlobal occurrences="1">
      <code>global $db;</code>
    </InvalidGlobal>
  </file>
  <file src="src/Elasticsearch/Query/QueryBuilder.php">
    <InvalidDocblock occurrences="1">
      <code>public function addAggregation($id, AggregationInterface $agg)</code>
    </InvalidDocblock>
  </file>
  <file src="src/Elasticsearch/Queue/ConsumerJob.php">
    <ParamNameMismatch occurrences="1">
      <code>$module</code>
    </ParamNameMismatch>
  </file>
  <file src="src/Elasticsearch/Queue/QueueManager.php">
    <InvalidDocblock occurrences="1">
      <code>protected function generateQueryModuleFromQueue(\SugarBean $bean, int $bucketId = self::DEFAULT_BUCKET_ID)</code>
    </InvalidDocblock>
    <UndefinedPropertyAssignment occurrences="12">
      <code>$job-&gt;assigned_user_id</code>
      <code>$job-&gt;data</code>
      <code>$job-&gt;job_delay</code>
      <code>$job-&gt;name</code>
      <code>$job-&gt;target</code>
      <code>$scheduler-&gt;catch_up</code>
      <code>$scheduler-&gt;date_time_end</code>
      <code>$scheduler-&gt;date_time_start</code>
      <code>$scheduler-&gt;job</code>
      <code>$scheduler-&gt;job_interval</code>
      <code>$scheduler-&gt;name</code>
      <code>$scheduler-&gt;status</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="src/Hint/HintSetup.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;systemInfo</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="src/Hint/Http/Adapter/Curl.php">
    <InvalidScalarArgument occurrences="1">
      <code>$curlResponse</code>
    </InvalidScalarArgument>
    <RedundantCast occurrences="2">
      <code>(string)$body</code>
      <code>(string)$request-&gt;getUri()</code>
    </RedundantCast>
  </file>
  <file src="src/Hint/Http/Client.php">
    <UndefinedClass occurrences="1">
      <code>Exception</code>
    </UndefinedClass>
    <UndefinedDocblockClass occurrences="1">
      <code>SugarApiException</code>
    </UndefinedDocblockClass>
  </file>
  <file src="src/Hint/Initializer.php">
    <RedundantCondition occurrences="4">
      <code>$hasHintLicense !== false</code>
      <code>$tableExists</code>
      <code>$tableExists</code>
      <code>strpos($userRow['license_type'], '"HINT"') !== false</code>
    </RedundantCondition>
    <TooManyArguments occurrences="1">
      <code>getCorrectSiteURL</code>
    </TooManyArguments>
  </file>
  <file src="src/Hint/Job/registerConfigJob.php">
    <InvalidScalarArgument occurrences="1">
      <code>true</code>
    </InvalidScalarArgument>
    <RedundantCondition occurrences="2">
      <code>$configDataBean</code>
      <code>$configDataBean</code>
    </RedundantCondition>
  </file>
  <file src="src/Hint/Manager.php">
    <RedundantCondition occurrences="1">
      <code>strpos($licenses, '"HINT"') !== false</code>
    </RedundantCondition>
    <UndefinedThisPropertyAssignment occurrences="2">
      <code>$this-&gt;obfuscationSalt</code>
      <code>$this-&gt;obfuscationSalt</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;obfuscationSalt</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="src/Hint/Queue/ProcessorFactory.php">
    <InvalidReturnStatement occurrences="1">
      <code>self::$CACHE[$type]</code>
    </InvalidReturnStatement>
  </file>
  <file src="src/Hint/Queue/Queue.php">
    <TypeDoesNotContainType occurrences="2">
      <code>!$chunk</code>
      <code>$chunk</code>
    </TypeDoesNotContainType>
  </file>
  <file src="src/IdentityProvider/Authentication/Config.php">
    <RedundantCondition occurrences="1">
      <code>$result</code>
    </RedundantCondition>
    <TypeDoesNotContainNull occurrences="1">
      <code>$default</code>
    </TypeDoesNotContainNull>
    <UndefinedMethod occurrences="1">
      <code>canBeAuthenticated</code>
    </UndefinedMethod>
  </file>
  <file src="src/IdentityProvider/Authentication/IdmModeLimitationTrait.php">
    <RedundantCondition occurrences="1">
      <code>$fieldDefs['name'] === 'license_type'</code>
    </RedundantCondition>
  </file>
  <file src="src/IdentityProvider/Authentication/Listener/Success/OIDC/SessionListener.php">
    <UndefinedFunction occurrences="1">
      <code>query_client_ip()</code>
    </UndefinedFunction>
  </file>
  <file src="src/IdentityProvider/Authentication/Provider/IdPAuthenticationProvider.php">
    <UndefinedInterfaceMethod occurrences="3">
      <code>getProviderKey</code>
      <code>getTenant</code>
      <code>loadUserBySrn</code>
    </UndefinedInterfaceMethod>
    <UndefinedMethod occurrences="1">
      <code>remoteIdpAuthenticate</code>
    </UndefinedMethod>
  </file>
  <file src="src/IdentityProvider/Authentication/Provider/OIDCAuthenticationProvider.php">
    <InaccessibleMethod occurrences="1">
      <code>getScopeSeparator</code>
    </InaccessibleMethod>
    <UndefinedInterfaceMethod occurrences="14">
      <code>getCrmOAuthScope</code>
      <code>getCrmOAuthScope</code>
      <code>getCrmOAuthScope</code>
      <code>getIdentity</code>
      <code>getScope</code>
      <code>getScope</code>
      <code>getTenant</code>
      <code>getTenant</code>
      <code>getTenant</code>
      <code>getTenant</code>
      <code>getTenant</code>
      <code>loadUserByField</code>
      <code>loadUserBySrn</code>
      <code>setAllowInactive</code>
    </UndefinedInterfaceMethod>
    <UndefinedMethod occurrences="5">
      <code>getJwtBearerAccessToken</code>
      <code>getKeySet</code>
      <code>getUserInfo</code>
      <code>introspectToken</code>
      <code>revokeToken</code>
    </UndefinedMethod>
  </file>
  <file src="src/IdentityProvider/Authentication/Subscriber/SugarOnAuthLockoutSubscriber.php">
    <TypeDoesNotContainType occurrences="2">
      <code>!$user</code>
      <code>$user</code>
    </TypeDoesNotContainType>
  </file>
  <file src="src/IdentityProvider/Authentication/User/LocalUserChecker.php">
    <UndefinedInterfaceMethod occurrences="1">
      <code>getSugarUser</code>
    </UndefinedInterfaceMethod>
  </file>
  <file src="src/IdentityProvider/Authentication/UserProvider/SugarOIDCUserProvider.php">
    <UndefinedInterfaceMethod occurrences="2">
      <code>loadUserByField</code>
      <code>setAllowInactive</code>
    </UndefinedInterfaceMethod>
  </file>
  <file src="src/IdentityProvider/Authentication/UserProvider/SugarSAMLUserProvider.php">
    <ParamNameMismatch occurrences="1">
      <code>$nameIdentifier</code>
    </ParamNameMismatch>
  </file>
  <file src="src/IdentityProvider/SessionProxy.php">
    <InvalidScalarArgument occurrences="1">
      <code>$_SESSION</code>
    </InvalidScalarArgument>
  </file>
  <file src="src/Integrate/IntegrateUtils.php">
    <UndefinedDocblockClass occurrences="1">
      <code>SugarApiExceptionInvalidParameter</code>
    </UndefinedDocblockClass>
    <UndefinedMethod occurrences="1">
      <code>getVersion</code>
    </UndefinedMethod>
  </file>
  <file src="src/Marketing/MarketingExtras.php">
    <InvalidReturnStatement occurrences="1">
      <code>$contents</code>
    </InvalidReturnStatement>
    <InvalidReturnType occurrences="1">
      <code>string</code>
    </InvalidReturnType>
    <MissingDocblockType occurrences="1">
      <code>protected function getSugarConfig(string $key, $default = null)</code>
    </MissingDocblockType>
    <UndefinedVariable occurrences="1">
      <code>$proxy_settings</code>
    </UndefinedVariable>
  </file>
  <file src="src/Marketing/MarketingExtrasContent.php">
    <InvalidScalarArgument occurrences="1">
      <code>$response</code>
    </InvalidScalarArgument>
    <RedundantCondition occurrences="1">
      <code>strpos($headers, $blacklistedHeader) !== false</code>
    </RedundantCondition>
  </file>
  <file src="src/Marketing/MarketingExtrasHelper.php">
    <MissingDocblockType occurrences="1">
      <code>public function getSugarConfig(string $key, $default = null)</code>
    </MissingDocblockType>
    <UndefinedDocblockClass occurrences="1">
      <code>protected $configObj = null;</code>
    </UndefinedDocblockClass>
  </file>
  <file src="src/MetaData/ViewdefManager.php">
    <RedundantCondition occurrences="2">
      <code>strpos($path['path'], $module) !== false</code>
      <code>strpos($path['path'], 'custom') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($path['path'], '.ext.') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="src/PackageManager/File/PackageZipFile.php">
    <UndefinedFunction occurrences="1">
      <code>rmdir_recursive($this-&gt;packageDir)</code>
    </UndefinedFunction>
  </file>
  <file src="src/PackageManager/PackageManager.php">
    <RedundantCondition occurrences="2">
      <code>$history-&gt;status !== UpgradeHistory::STATUS_STAGED</code>
      <code>$history-&gt;status !== UpgradeHistory::STATUS_STAGED</code>
    </RedundantCondition>
    <UndefinedMethod occurrences="1">
      <code>setModuleScanner</code>
    </UndefinedMethod>
  </file>
  <file src="src/Portal/Search/Elastic.php">
    <InvalidGlobal occurrences="1">
      <code>global $dictionary;</code>
    </InvalidGlobal>
  </file>
  <file src="src/ProcessManager/AccessManager.php">
    <UndefinedDocblockClass occurrences="2">
      <code>SugarApiExceptionNotAuthorized</code>
      <code>SugarApiExceptionNotAuthorized</code>
    </UndefinedDocblockClass>
  </file>
  <file src="src/ProcessManager/Exception/BaseException.php">
    <UndefinedClass occurrences="1">
      <code>Exception</code>
    </UndefinedClass>
  </file>
  <file src="src/ProductDefinition/Config/Source/HttpSource.php">
    <InvalidCatch occurrences="1"/>
  </file>
  <file src="src/Search/Providers/Elastic.php">
    <InvalidGlobal occurrences="1">
      <code>global $dictionary;</code>
    </InvalidGlobal>
  </file>
  <file src="src/SearchEngine/AdminSettings.php">
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive($dir)</code>
    </UndefinedFunction>
  </file>
  <file src="src/Security/Crypto/Blowfish.php">
    <InvalidScalarArgument occurrences="1">
      <code>ceil(16 / strlen($key))</code>
    </InvalidScalarArgument>
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive('custom/blowfish')</code>
    </UndefinedFunction>
  </file>
  <file src="src/Security/Password/Salt.php">
    <UndefinedFunction occurrences="1">
      <code>RuntimeException("Error generating salt")</code>
    </UndefinedFunction>
  </file>
  <file src="src/Security/Validator/ConstraintValidatorFactory.php">
    <UndefinedDocblockClass occurrences="1">
      <code>protected $validators = array();</code>
    </UndefinedDocblockClass>
  </file>
  <file src="src/Security/Validator/Constraints/DropdownListValidator.php">
    <ParamNameMismatch occurrences="1">
      <code>$dropdownList</code>
    </ParamNameMismatch>
  </file>
  <file src="src/Security/Validator/Constraints/FileValidator.php">
    <RedundantCondition occurrences="2">
      <code>strpos($value, '..') !== false</code>
      <code>strpos($value, chr(0)) !== false</code>
    </RedundantCondition>
  </file>
  <file src="src/Security/Validator/Constraints/InputParametersValidator.php">
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($value, chr(0)) === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="src/Session/SessionStorage.php">
    <InvalidScalarArgument occurrences="1">
      <code>$_SESSION</code>
    </InvalidScalarArgument>
    <RedundantCondition occurrences="2">
      <code>is_array($_SESSION)</code>
      <code>is_array($sessionObject)</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>$sessionObject instanceof SessionStorage</code>
    </TypeDoesNotContainType>
  </file>
  <file src="src/UserUtils/Command.php">
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;type</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="src/UserUtils/CommandFactory.php">
    <InvalidNullableReturnType occurrences="1">
      <code>Command</code>
    </InvalidNullableReturnType>
    <NullableReturnStatement occurrences="1">
      <code>null</code>
    </NullableReturnStatement>
  </file>
  <file src="src/UserUtils/Invoker/InvokerPayloadFactory.php">
    <InvalidNullableReturnType occurrences="1">
      <code>InvokerPayload</code>
    </InvalidNullableReturnType>
    <NullableReturnStatement occurrences="1">
      <code>null</code>
    </NullableReturnStatement>
  </file>
  <file src="src/UserUtils/Invoker/payloads/InvokerBasePayload.php">
    <UndefinedThisPropertyFetch occurrences="3">
      <code>$this-&gt;dashboards</code>
      <code>$this-&gt;filters</code>
      <code>$this-&gt;userSettings</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="src/UserUtils/Managers/Manager.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;useScheduledJob</code>
    </UndefinedThisPropertyAssignment>
  </file>
  <file src="src/UserUtils/Managers/ManagerFactory.php">
    <InvalidNullableReturnType occurrences="1">
      <code>Manager</code>
    </InvalidNullableReturnType>
    <NullableReturnStatement occurrences="1">
      <code>null</code>
    </NullableReturnStatement>
  </file>
  <file src="src/UserUtils/Managers/UserSettingsManager.php">
    <UndefinedThisPropertyAssignment occurrences="1">
      <code>$this-&gt;userSettings</code>
    </UndefinedThisPropertyAssignment>
    <UndefinedThisPropertyFetch occurrences="1">
      <code>$this-&gt;userSettings</code>
    </UndefinedThisPropertyFetch>
  </file>
  <file src="styleguide/themes/clients/base/default/variables.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="sugar_version.php">
    <ParadoxicalCondition occurrences="1">
      <code>!defined('sugarEntry') || !sugarEntry</code>
    </ParadoxicalCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="themes/508/themedef.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="themes/Amore/themedef.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="themes/Green/themedef.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="themes/RTL/themedef.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="themes/RacerX/themedef.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="themes/Sugar/themedef.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="upgrade/scripts/post/1_ClearVarDefs.php">
    <EmptyArrayAccess occurrences="1">
      <code>$dictionary[$key]</code>
    </EmptyArrayAccess>
    <InvalidGlobal occurrences="1">
      <code>global $dictionary;</code>
    </InvalidGlobal>
    <InvalidReturnStatement occurrences="1">
      <code>$this-&gt;offsetGet($offset)</code>
    </InvalidReturnStatement>
  </file>
  <file src="upgrade/scripts/post/1_RunSQL.php">
    <RedundantCondition occurrences="1">
      <code>strpos($line, ';') !== false</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($line, '--') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="upgrade/scripts/post/1_SetDefaultProductDefinition.php">
    <InvalidArrayOffset occurrences="1">
      <code>$dictionary['product_definition']['indices']</code>
    </InvalidArrayOffset>
  </file>
  <file src="upgrade/scripts/post/1_UpgradeRelationshipFields.php">
    <EmptyArrayAccess occurrences="1">
      <code>$dictionary[$name]</code>
    </EmptyArrayAccess>
  </file>
  <file src="upgrade/scripts/post/2_Rebuild.php">
    <UndefinedClass occurrences="1">
      <code>new $bean ()</code>
    </UndefinedClass>
  </file>
  <file src="upgrade/scripts/post/2_RepairDateTimes.php">
    <TypeDoesNotContainType occurrences="1">
      <code>is_array($fieldDefinitions)</code>
    </TypeDoesNotContainType>
  </file>
  <file src="upgrade/scripts/post/3_ImportLang.php">
    <MissingFile occurrences="1">
      <code>include('install/lang.config.php')</code>
    </MissingFile>
  </file>
  <file src="upgrade/scripts/post/3_RepairWorkflow.php">
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($workflow-&gt;description, $descriptionFix) === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="upgrade/scripts/post/3_UpgradeAccess.php">
    <RedundantCondition occurrences="1">
      <code>strpos($_SERVER["SERVER_SOFTWARE"],'Microsoft-IIS') !== false</code>
    </RedundantCondition>
  </file>
  <file src="upgrade/scripts/post/7_FixCustomLabelsForCoreModules.php">
    <RedundantCondition occurrences="6">
      <code>$changed</code>
      <code>$changed</code>
      <code>$changed</code>
      <code>$changed</code>
      <code>$changed</code>
      <code>$changed</code>
    </RedundantCondition>
    <TypeDoesNotContainType occurrences="1">
      <code>$upgraded</code>
    </TypeDoesNotContainType>
  </file>
  <file src="upgrade/scripts/post/7_FixCustomModuleCurrencyFields.php">
    <RedundantCondition occurrences="1">
      <code>strpos($module, 'pmse_') !== false</code>
    </RedundantCondition>
  </file>
  <file src="upgrade/scripts/post/7_FixSingularList.php">
    <InvalidArrayOffset occurrences="1">
      <code>$packages[$manifest['key']]</code>
    </InvalidArrayOffset>
    <TypeDoesNotContainType occurrences="1">
      <code>$moduleName</code>
    </TypeDoesNotContainType>
  </file>
  <file src="upgrade/scripts/post/7_Merge7Templates.php">
    <RedundantCondition occurrences="1">
      <code>empty($viewdefs)</code>
    </RedundantCondition>
  </file>
  <file src="upgrade/scripts/post/8_RemoveWebUpgrader.php">
    <TypeDoesNotContainType occurrences="1">
      <code>strpos($package-&gt;name, 'SugarCRM Upgrader') === false</code>
    </TypeDoesNotContainType>
  </file>
  <file src="upgrade/scripts/post/9_AddCustomEmailTemplate.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$emailTemp-&gt;type</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="upgrade/scripts/post/9_AddMentionCommentLogEmailTemplate.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$emailTemp-&gt;type</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="upgrade/scripts/post/9_AddPortalForgotPwdEmailTemplate.php">
    <InvalidGlobal occurrences="1">
      <code>global $mod_strings;</code>
    </InvalidGlobal>
  </file>
  <file src="upgrade/scripts/post/9_AddServicesPDFs.php">
    <UndefinedFunction occurrences="2">
      <code>to_html($ss-&gt;fetch('modules/PdfManager/tpls/templateInvoice.tpl'))</code>
      <code>to_html($ss-&gt;fetch('modules/PdfManager/tpls/templateQuote.tpl'))</code>
    </UndefinedFunction>
    <UndefinedPropertyAssignment occurrences="2">
      <code>$pdfTemplate-&gt;author</code>
      <code>$pdfTemplate-&gt;author</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="upgrade/scripts/post/9_AddTagLabelToViews.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="upgrade/scripts/post/9_EnableConsoleDashboardEdits.php">
    <InvalidDocblock occurrences="1">
      <code>public function getRemoveDashletButtonMeta()</code>
    </InvalidDocblock>
    <UndefinedPropertyAssignment occurrences="2">
      <code>$dashboard-&gt;metadata</code>
      <code>$dashboard-&gt;metadata</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="upgrade/scripts/post/9_FixNotesSubPanels.php">
    <EmptyArrayAccess occurrences="2">
      <code>$viewdefsWrite['panels']</code>
      <code>$viewdefsWrite[key($viewdefsWrite)]</code>
    </EmptyArrayAccess>
  </file>
  <file src="upgrade/scripts/post/9_FixRelationshipLabels.php">
    <InvalidIterator occurrences="1">
      <code>$mod_strings</code>
    </InvalidIterator>
  </file>
  <file src="upgrade/scripts/post/9_InstallDashboards.php">
    <InvalidNullableReturnType occurrences="1">
      <code>bool</code>
    </InvalidNullableReturnType>
    <NullableReturnStatement occurrences="1">
      <code>$isUpgradeToVersion</code>
    </NullableReturnStatement>
  </file>
  <file src="upgrade/scripts/post/9_InstallFocusDrawerDashboards.php">
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive($destDir)</code>
    </UndefinedFunction>
  </file>
  <file src="upgrade/scripts/post/9_InstallRecordDashboards.php">
    <RedundantCondition occurrences="1">
      <code>strpos($module, 'pmse_') !== false</code>
    </RedundantCondition>
    <UndefinedFunction occurrences="1">
      <code>mkdir_recursive($destDir)</code>
    </UndefinedFunction>
  </file>
  <file src="upgrade/scripts/post/9_RemoveDefaultSubpanelTitleFromCustomModules.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
  </file>
  <file src="upgrade/scripts/post/9_RenamePAToAWScheduler.php">
    <MissingFile occurrences="1">
      <code>include $langfile</code>
    </MissingFile>
  </file>
  <file src="upgrade/scripts/post/9_RunFTSIndex.php">
    <NullableReturnStatement occurrences="1">
      <code>$esVersion</code>
    </NullableReturnStatement>
  </file>
  <file src="upgrade/scripts/post/9_UpdateCaseInteractionsDashlet.php">
    <InvalidDocblock occurrences="1">
      <code>protected function getMessageCreateLinkMeta()</code>
    </InvalidDocblock>
    <UndefinedPropertyAssignment occurrences="1">
      <code>$dashboard-&gt;metadata</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="upgrade/scripts/post/9_UpdateDashboardMetadata.php">
    <InvalidReturnType occurrences="1">
      <code>array</code>
    </InvalidReturnType>
  </file>
  <file src="upgrade/scripts/post/9_UpdateOmniChannelDashboard.php">
    <UndefinedPropertyAssignment occurrences="1">
      <code>$dashboardBean-&gt;metadata</code>
    </UndefinedPropertyAssignment>
  </file>
  <file src="upgrade/scripts/post/9_UpgradeSmartyTemplates.php">
    <TypeDoesNotContainType occurrences="1">
      <code>false === strpos($curFile, '/_smarty3_/db/')</code>
    </TypeDoesNotContainType>
    <UndefinedFunction occurrences="1">
      <code>rmdir_recursive('./_smarty3_')</code>
    </UndefinedFunction>
    <UndefinedMethod occurrences="1">
      <code>isDot</code>
    </UndefinedMethod>
  </file>
  <file src="upgrade/scripts/pre/CheckComposerConfig.php">
    <RedundantCast occurrences="1">
      <code>(bool) !strpos($package, '/')</code>
    </RedundantCast>
  </file>
  <file src="upgrade/scripts/pre/Merge7.php">
    <RedundantCondition occurrences="1">
      <code>empty($viewdefs)</code>
    </RedundantCondition>
  </file>
  <file src="upgrade/scripts/pre/RemoveInlineHTMLSpacing.php">
    <MissingDocblockType occurrences="1">
      <code>$this-&gt;log("**** Removal of inline HTML started");</code>
    </MissingDocblockType>
  </file>
  <file src="vCard.php">
    <TypeDoesNotContainType occurrences="1">
      <code>!sugarEntry</code>
    </TypeDoesNotContainType>
    <UndefinedGlobalVariable occurrences="1">
      <code>$sugar_config</code>
    </UndefinedGlobalVariable>
  </file>
</files>
