Skip to content

Commit

Permalink
Version 2.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
christopheexakat committed Jan 12, 2024
1 parent ba426e6 commit 16840dc
Show file tree
Hide file tree
Showing 57 changed files with 602 additions and 395 deletions.
21 changes: 12 additions & 9 deletions Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Release Note

Here is the release note of exakat.

**Version 2.6.5 (, 2023-12-31)**
**Version 2.6.5 (, 2024-01-11)**


+ Architecture
+
+ Speed up Load with less arrays, more classes

+ Cobbler
+
Expand All @@ -19,6 +19,7 @@ Here is the release note of exakat.
+

+ Analysis
+

+ Tokenizer
+
Expand All @@ -29,12 +30,7 @@ Here is the release note of exakat.
+ Architecture
+ Moved assert configuration to ini_set and php.ini
+ Added a set of token values for Debian 12 and 8.3

+ Cobbler
+

+ Report
+
+ Void is now a single atom in the graph (speed up, less resources)

+ Analysis
+ New analysis : report PHP native attribute usage
Expand All @@ -54,7 +50,14 @@ Here is the release note of exakat.
+ New analysis : could use strcontains()
+ New analysis : suggest removing unused variable in catch
+ New analysis : suggest adding readonly to property
+ New analysis : spot calls just after an instanciation
+ New analysis : spot calls just after an instantiation
+ New analysis: report try without catch but with finally
+ New analysis: report precedence errors with coalesce and comparisons
+ Refactored analysis : Cache Outside Loop was upgraded to spot cases in for, while and do while.
+ Refactored analysis : Join On File is extended with the reverse: file_get_contents() with explode()
+ New analysis: report exported properties
+ Removed analysis: remove duplicate rule OnlyVariableForReference
+ New analysis: report literal passed by reference

+ Tokenizer
+ Added CALLED link to new calls
Expand Down
22 changes: 11 additions & 11 deletions Reference/Cobblers/Functions/RemoveTypes.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
.. _functions-removetypes:

.. _remove-typehint:
.. _remove-type:

Remove Typehint
+++++++++++++++
This cobbler remove the typehint mentions in the code. This might yield some speed when executing, since those tests will be not conveyed at runtime.
Remove Type
+++++++++++
This cobbler remove the type mentions in the code. This might yield some speed when executing, since those tests will be not conveyed at runtime.

Typehints from arguments, method returns and properties are all removed.
Types from arguments, method returns and properties are all removed.


.. _remove-typehint-before:
.. _remove-type-before:

Before
______
Expand All @@ -27,7 +27,7 @@ ______
?>
.. _remove-typehint-after:
.. _remove-type-after:

After
_____
Expand All @@ -46,7 +46,7 @@ _____
?>
.. _remove-typehint-type\_to\_remove:
.. _remove-type-type\_to\_remove:

Parameters
__________
Expand All @@ -57,14 +57,14 @@ __________
| type_to_remove | all | data | A comma separated list of types to remove. For example : never,string,A\B\C;. Use 'All' for everyt type. |
+----------------+---------+------+----------------------------------------------------------------------------------------------------------+

.. _remove-typehint-suggested-analysis:
.. _remove-type-suggested-analysis:

Suggested Analysis
__________________

* :ref:`php-8.1-typehints`

.. _remove-typehint-reverse-cobbler:
.. _remove-type-reverse-cobbler:

Reverse Cobbler
_______________
Expand All @@ -73,7 +73,7 @@ _______________



.. _remove-typehint-specs:
.. _remove-type-specs:

Specs
_____
Expand Down
2 changes: 1 addition & 1 deletion Reference/Cobblers/Functions/SetNullType.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ _____
Reverse Cobbler
_______________

* :ref:`remove-typehint`
* :ref:`remove-type`



Expand Down
2 changes: 1 addition & 1 deletion Reference/Cobblers/Functions/SetTypeVoid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ________________
Reverse Cobbler
_______________

* :ref:`remove-typehint`
* :ref:`remove-type`



Expand Down

0 comments on commit 16840dc

Please sign in to comment.