Skip to content

Commit

Permalink
version 2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
christopheexakat committed Sep 26, 2023
1 parent 7bbd873 commit 95ab544
Show file tree
Hide file tree
Showing 11 changed files with 2,870 additions and 446 deletions.
71 changes: 58 additions & 13 deletions Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,24 @@ Here is the release note of exakat.
+ Refactored generation of VCS

+ Cobbler
+

+ Report
+
+ New cobbler : rename namespace
+ New cobbler : rename function
+ New cobbler : rename constant
+ New cobbler : rename class
+ New cobbler : rename interface
+ New cobbler : rename enums
+ New cobbler : rename trait
+ New cobbler : rename method
+ New cobbler : rename class constant
+ New cobbler : rename property

+ Report
+ Added Classes dependencies table to Ambassador
+ Added Classes dependencies counts table to Ambassador
+ Added Classes dependent counts table to Ambassador
+ Added Namespaces to Exception tree
+ Added list of repeated class names
+ New report : Naming, that checks spelling

+ Analysis
+ Updated analysis : Useless Null Coalesce now omits stdclass
Expand All @@ -45,19 +59,50 @@ Here is the release note of exakat.
+ Updated analysis : Fixed detection of calls to __construct
+ Updated analysis : Avoid Boolean as Argument sped up
+ Updated analysis : Property Could Be Local sped up

+ Tokenizer
+
+ New analysis : Report blind variable used beyond their foreach() loop
+ Updated analysis : Could Use Try has more exceptions sources
+ New analysis : Report recalled conditions
+ Updated analysis : Upgraded Classes depencencies list with attributes, New initializers and instanceof
+ New analysis : Report incompatible property definition between trait and class
+ Updated analysis : Deep definition now includes define() calls and enums
+ Updated analysis : Collection of File dependencies now include interfaces
+ Updated analysis : Fixed but in Could Be Spaceship
+ Updated analysis : Upgraded 'unthrown exception' to handle variables
+ New analysis : report usage of self:: on
+ New analysis : report usage of DNF
+ Updated analysis : readonly usage covers classes and anonymous classes
+ New analysis : report usage of FTN as standalone type
+ New analysis : Collect usage of throw and their method
+ New analysis : Collect literals used in comparisons
+ New analysis : Suggest using array_combine()
+ New analysis : Report comparisons with distinct scalar types
+ New analysis : reports null being used as array's index
+ New analysis : collect all named things in the source code
+ Updated analysis : isComponent also supports enum and declare
+ New analysis : report useless Try clauses
+ New analysis : report converted exceptions
+ New analysis : report methods that are no more than a single if
+ New analysis : suggest to ditch default before assigning it
+ Updated analysis : Unset or Cast was refactored with less raw() calls
+ Updated analysis : PPP declaration style
+ New analysis : collect the number of injections in a constructor
+ New analysis : collect the property usage level for each class
+ New analysis : collect structures, instead of in dump
+ New analysis : collect catch, to complete results with throw collect
+ Updated analysis : report usage of standalone True, False, Null.
+ New analysis : report identical cases in match and switch
+ New analysis : report usage of constants in traits
+ New analysis : preference between short and formal comparison

+ Tokenizer
+ Added support for typed constants
+ Checked support for readonly anonymous classes
+ Fixed LINK in DNF types
+ Added support for attributes in enum, trait, interface and enumcase

**Version 2.5.2 (Wang Gui, 2023-02-04)**


+ Architecture
+

+ Cobbler
+

+ Report
+ New report : Format for SonarCube

Expand Down
2 changes: 1 addition & 1 deletion Introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Introduction
============

This is the documentation of the Exakat engine, version 2.5.3 (Build 1459), on Tue, 09 May 2023 06:47:20 +0000.
This is the documentation of the Exakat engine, version 2.5.3 (Build 1479), on Wed, 20 Sep 2023 07:21:10 +0000.

What is Exakat ?
----------------
Expand Down
6 changes: 3 additions & 3 deletions Reference/Cases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8179,7 +8179,7 @@ Zencart

:ref:`should-use-operator`, in includes/modules/payment/paypal/paypal_curl.php:378.

Here, $options is merged with $values if it is an array. If it is not an array, it is probably a null value, and may be ignored. Adding a 'array' typehint will strengthen the code an catch situations where TransactionSearch() is called with a string, leading to clearer code.
Here, $options is merged with $values if it is an array. If it is not an array, it is probably a null value, and may be ignored. Adding a 'array' type will strengthen the code an catch situations where TransactionSearch() is called with a string, leading to clearer code.

.. code-block:: php
Expand All @@ -8199,7 +8199,7 @@ SugarCrm

:ref:`should-use-operator`, in include/utils.php:2093:464.

$override should an an array : if not, it is actually set by default to empty array. Here, a typehint with a default value of 'array()' would offset the parameter validation to the calling method.
$override should an an array : if not, it is actually set by default to empty array. Here, a type with a default value of 'array()' would offset the parameter validation to the calling method.

.. code-block:: php
Expand Down Expand Up @@ -8547,7 +8547,7 @@ Phinx

:ref:`strict-comparison-with-booleans`, in src/Phinx/Db/Adapter/MysqlAdapter.php:1131.

`ìsNull( )`` always returns a boolean : it may be only be ``true`` or ``false``. Until typehinted properties or return typehint are used, isNull() may return anything else.
`ìsNull( )`` always returns a boolean : it may be only be ``true`` or ``false``. Until typed properties or return type are used, isNull() may return anything else.

.. code-block:: php
Expand Down

0 comments on commit 95ab544

Please sign in to comment.