Release Notes - 3.2


  • 3.2.5-funcrel

    3.2.5-funcrel
    Fixes installation issue when path length exceeds 260 characters
  • 3.2.4-funcrel

    3.2.4-funcrel
    Fixes crash of PHPCode_Sniffer
    Updates embedded libraries
  • 3.2.3-funcrel

    3.2.3-funcrel
    Updates embedded libraries
  • 3.2.2-funcrel

    3.2.2-funcrel
    Updates embedded libraries.
  • 3.2.1-funcrel

    3.2.1-funcrel
    Fixes an issue affecting the creation of PHP Symfony Controller Class, PHP Symfony Controller, PHP Symfony Service and PHP Symfony Route objects.
    Enhances the configuration of PHP_CodeSniffer and PHP Mess Detector.
  • 3.2.0-funcrel

    3.2.0-funcrel
    When a PHP section has no word characters, it was incorrectly merged with the following PHP section.
    For v3/8.4 on Linux/Docker: fixes the path of entry/end point definitions.
    Fixes an issue where objects following a standalone semicolon (";") in a PHP file were not being created.
    Fix invalid property names.
  • 3.2.0-beta4

    3.2.0-beta4
    Now fully supported for use with v3/8.4.x.
    Fixed missing “PHP Section” object in files with very long names. 📝 51771
    Fix missing violations in Imaging V3 for Linux.
    Removed warning “Add a prop in metamodel for Inftyp = 9, InfSubTyp = *” during metric generator step.
  • 3.2.0-beta3

    3.2.0-beta3
    Fix “FileNotFoundError” when running an analysis in CAST Imaging V3.
    Fix “com.castsoftware.ua.prepro.PreProcessorException” when running several analyses in parallel.
  • 3.2.0-beta2

    3.2.0-beta2
    Fixes a “KeyError: 0” error when running an analysis in CAST Imaging V3.
    Added the file extensions *.php3, *.php4, *.php5, *.phtml and *.inc in transaction configuration entry points.
    Removed an erroneous “phpSection” object definition located in the php.ini configuration file (this change does not impact PHP Section objects defined in .php files).
    Skipped the preprocessing of “*.json.php” files.
  • 3.2.0-beta1

    3.2.0-beta1
    Support CodeSniffer and PHPMD violations found on quoted PHP sections
    Fixed error “Wrong Plugin Folder”
    Log “warnings” changed to “info”. Size of logs was reduced.
  • 3.2.0-alpha2

    3.2.0-alpha2
    Objects created for one-line quoted PHP sections 📝 46597
    Removed FileNotFoundError for file Current.App
    Reports from PHP_CodeSniffer and PHPMD are now kept in a LISA sub-directory named “third_party_reports”. The detailed results of these tools no longer appear in CAST logs.
    Fixed PHP_CodeSniffer “Fatal error: Allowed memory size of 536870912 bytes exhausted”
    Fixed the warning “KeyError ‘.’ " after analysing a string containing a quote.
  • 3.2.0-alpha1

    3.2.0-alpha1
    Changes implemented to upgrade to PHP 8.2.13, PHP_CodeSniffer 3.9.0 and PHPMD 2.14.1 📝 43895
    Fixes missing violations when two analyses are run in parallel. 📝 37220
    Fixes a false positive violation of the rule “Avoid using PHP short tags” (1007192). 📝 41397
    Fixed false positives and false negatives for rule “Avoid having variables without naming conventions (PHP)” 💎 1007212
    Fixed false positives and false negatives for rule “Use identical type operator rather than “equal” operator (PHP)” 💎 1007026
    Fixed false positives and false negatives for rule “Avoid having variable with too short name (PHP)”. Removed the possibility to parameterize the rule. 💎 1007088
    Fixed false positives and false negatives for rule “Avoid artifacts using “for” loops which can be simplified to a “while” loop (PHP)” 💎 1007022
    Fixed false positives and false negatives for rule “Avoid incrementer jumbling in loops (PHP)” 💎 1007024
    Fixed false positives and false negatives for rule “Avoid using empty statement (PHP)” 💎 1007030
    Fixed false positives and false negatives for rule “Avoid unnecessary final modifiers inside final Classes (PHP)” 💎 1007056
    Fixed false positives and false negatives for rule “Avoid artifacts with unused parameters (PHP)” 💎 1007058
    Fixed false positives and false negatives for rule “Avoid method and functions without comments denoting scope end (PHP)” 💎 1007070
    Fixed false positives and false negatives for rule “Avoid Class name not matching parent file name (PHP)” 💎 1007080
    Fixed false positives and false negatives for rule “Use lowercase for control structures (PHP)” 💎 1007086
    Fixed false positives and false negatives for rule “Avoid “elseif” statements (PHP)” 💎 1007096
    Fixed false positives and false negatives for rule “Avoid unnecessary string concatenations (PHP)” 💎 1007114
    Fixed false positives and false negatives for rule “Avoid empty catch blocks (PHP)” 💎 1007122
    Fixed false positives and false negatives for rule “Avoid artifacts throwing exceptions without @Throws tag in doc comments (PHP)” 💎 1007124
    Fixed false positives and false negatives for rule “Avoid unconditional “if” and “else if\elseif” statements (PHP)” 💎 1007146
    Fixed false positives and false negatives for rule “Avoid methods and constructor overridden only with parent artifact call (PHP)” 💎 1007148
    Fixed false positives and false negatives for rule “Avoid artifacts with optional parameters before required parameters (PHP)” 💎 1007150
    Fixed false positives and false negatives for rule “Avoid using @error suppression (PHP)” 💎 1007206
    Fixed false positives and false negatives for rule “Fixed false positives and false negatives for rule” 💎 1007212
    Fixed false positives and false negatives for rule “Avoid control structures without proper spacing before and after open\close braces - PSR2 (PHP)” 💎 1007228
    Fixed false positives and false negatives for rule “Avoid artifacts with variables passed by reference when calling a function (PHP)” 💎 1007232
    Fixed false positives and false negatives for rule “Avoid having inline control statements (PHP)” 💎 1007234
    Fixed false positives and false negatives for rule “Avoid having Class Methods or Constructor without scope modifiers - Symfony STD (PHP)” 💎 1007236
    Fixed false positives and false negatives for rule “Avoid files that declare both symbols and execute logic with side effects (PHP)” 💎 1007254
    Fixed false positives and false negatives for rule “Avoid method invocation in loop termination expression (PHP)” 💎 1007050
    Fixed false positives and false negatives for rule “Use file inclusion based on API suitability (PHP)” 💎 1007180
    Fixed false positives and false negatives for rule “Avoid using relative path for including files (PHP)” 💎 1007190
    Fixed false positives and false negatives for rule “Avoid cross-site scripting - Improper Neutralization of script-related HTML tags in a web page (PHP)”" 💎 1007244
    Fixed false positives and false negatives for rule “Avoid Remote File Inclusion - Improper Control of Filename for Include/Require Statement in PHP Program (PHP)” 💎 1007246
    Fixed false positives and false negatives for rule “Avoid preg_replace with /e option (PHP)” 💎 1007250
    Fixed false positives and false negatives for rule “Avoid filesystem function calls without sanitizing user input (PHP)” 💎 1007252
    Fixed false positives and false negatives for rule “Avoid having Class Methods or Constructor without scope modifiers - Symfony STD (PHP)” 💎 1007238
    Fixed false positives and false negatives for rule “Avoid artifacts having object instantiation without parenthesis - Symfony STD (PHP)” 💎 1007238
    Fixed false positives and false negatives for rule “Avoid classes having excessive number of derived classes (PHP)”. Removed the possibility to parameterize the rule. 💎 1007036
    Fixed false positives and false negatives for rule “Avoid classes having excessive number of dependencies (PHP)”. Removed the possibility to parameterize the rule. 💎 1007038
    Fixed false positives and false negatives for rule “Avoid Classes with High Depth of Inheritance Tree (PHP)”. Removed the possibility to parameterize the rule. 💎 1007046
    Fixed false positives and false negatives for rule “Avoid having variable with too long name (PHP)”. Removed the possibility to parameterize the rule. 💎 1007090
    Fixed false positives and false negatives for rule “Avoid classes with excessive lines of code (PHP)”. Removed the possibility to parameterize the rule. 💎 1007126
    Fixed false positives and false negatives for rule “Avoid artifacts with excessive number of parameters (PHP)”. Removed the possibility to parameterize the rule. 💎 1007128
    Fixed false positives and false negatives for rule “Avoid Artifacts with excessive lines of code (PHP)”. Removed the possibility to parameterize the rule. 💎 1007130
    Fixed false positives and false negatives for rule “Avoid classes with excessive number of fields (PHP)”. Removed the possibility to parameterize the rule. 💎 1007132
    Fixed false positives and false negatives for rule “Avoid classes with excessive number of methods (PHP)”. Removed the possibility to parameterize the rule. 💎 1007134
    Fixed false positives and false negatives for rule “Avoid classes having with excessive number of public methods and fields (PHP)”. Removed the possibility to parameterize the rule. 💎 1007136
    Fixed false positives and false negatives for rule “Avoid unused local variables (PHP)” 💎 1007138
    Fixed false positives and false negatives for rule “Avoid unused private fields (PHP)” 💎 1007140
    Fixed false positives and false negatives for rule “Avoid unused private methods (PHP)” 💎 1007142
    Fixed false positives and false negatives for rule “Avoid classes with excessive number of weighted methods (PHP)”. Removed the possibility to parameterize the rule. 💎 1007144
    Removed the possibility to parameterize the rule “Avoid Classes implementing excessive number of Interfaces (PHP)” 💎 1007042
    Deprecated rule “Avoid using function or method return value that do not have return (PHP)” 💎 1007168
    Deprecated rule “Avoid function return value ignored (PHP)” 💎 1007170
    Deprecated rule “Avoid file name or path controlled by raw user input (PHP)” 💎 1007262
    Files with extension *.php6 are no longer analyzed. Files with extensions *.php3 and *.ini are now analyzed. New object “Configuration settings” for each *.ini file.Update of the list of file extensions considered by the PHP Analyzer