Skip to content

Commit

Permalink
version 2.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
christopheexakat committed Jun 22, 2022
1 parent a4221f5 commit 3567341
Show file tree
Hide file tree
Showing 9 changed files with 1,984 additions and 1,287 deletions.
41 changes: 0 additions & 41 deletions Annex.rst

Large diffs are not rendered by default.

38 changes: 37 additions & 1 deletion Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Release Note

Here is the release note of exakat.

**Version 2.4.3 (Li Jiancheng, 2022-06-16)**
**Version 2.4.3 (Li Yuanji, 2022-06-30)**


+ Architecture
Expand All @@ -24,6 +24,42 @@ Here is the release note of exakat.
+ Tokenizer
+

**Version 2.4.4 (Li Jiancheng, 2022-06-16)**


+ Architecture
+ Upgraded to Gremlin 3.6.0 (tinkergraph)
+ Prepared engine to work with GSneo4j 3.6.0

+ Cobbler
+ New cobbler : turn ${a} into {$a} for PHP 8.2 compatibility
+ Refactored cobbler : Adds null type to nullable parameters

+ Report
+

+ Analysis
+ Refactored analysis : Non nullable setter skip properties set in constructor
+ Removed analysis : ext/ffmpeg, ext/fdf, ext/xcache, ext/yis, ext/cairo
+ Refactored analysis : ext/rdkafka, ext/zookeeper now uses PDFF
+ Refactored analysis : Should Preprocess, now include local constant strings
+ Refactored analysis : Undefined Interface, now not reporting extra Types
+ New analysis : retyped reference, when a parameter with a type, eventually get a new type
+ Refactored analysis : Static methods called from object, modernization
+ Refactored analysis : New Analyzers, omits local defaults values
+ Refactored analysis : Access Protected now takes into account PDFF
+ Refactored analysis : Null type detection includes null defaut value for parameters.
+ New analysis : Report type error for default values
+ Refactored analysis : 'ds', 'ssh2' were upgraded to PDFF
+ Checked unit tests : 4373 / 4349 test pass (99.5% pass)
+ New analysis : Ice framework
+ New analysis : taint

+ Tokenizer
+ Fixed 'constant' bug with functioncall on a nsname
+ Upgraded Typehint detection to handle clone() calls
+ Upgraded Typehint inference for properties and variables

**Version 2.4.3 (Emperor Gaozu of Tang, 2022-06-02)**


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.4.3 (Build 1335), on Wed, 08 Jun 2022 11:00:26 +0000.
This is the documentation of the Exakat engine, version 2.4.4 (Build 1338), on Mon, 13 Jun 2022 20:29:21 +0000.

What is Exakat ?
----------------
Expand Down
159 changes: 119 additions & 40 deletions Reference/Cobblers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,58 @@ Specs
+----------------+-------------------------------------------------------------------------------------------------------------------------+


.. _structures-removedollarcurly:

.. _remove-dollar-curly:

Remove Dollar Curly
___________________
This cobbler transforms the ```` structure into ``{$ }``. It is assumed that the content of the curly braces are only a variable name.

This update is important for PHP 8.2, where the syntax is deprecated.



.. _remove-dollar-curly-before:

Before
^^^^^^
.. code-block:: php
<?php
$a = ;
?>
.. _remove-dollar-curly-after:

After
^^^^^
.. code-block:: php
<?php
$a = {$b};
?>
.. _remove-dollar-curly-specs:

Specs
^^^^^

+----------------+------------------------------+
| Short Name | Structures/RemoveDollarCurly |
+----------------+------------------------------+
| Exakat version | 2.3.0 |
+----------------+------------------------------+
| Available in | |
+----------------+------------------------------+


.. _classes-removefinal:

.. _remove-final:
Expand Down Expand Up @@ -562,6 +614,14 @@ Related Cobblers
* :ref:`add-final-class`
* :ref:`No anchor for Classes/AddFinalMethod <no-anchor-for-classes-addfinalmethod>`

.. _remove-final-reverse-cobbler:

Reverse Cobbler
^^^^^^^^^^^^^^^

* :ref:`add-final-class`
* :ref:`No anchor for Classes/AddFinalMethod <no-anchor-for-classes-addfinalmethod>`



.. _remove-final-specs:
Expand Down Expand Up @@ -1138,6 +1198,65 @@ Specs
+----------------+--------------------------+


.. _structures-removevariable:

.. _remove-written-only-variable:

Remove Written Only Variable
____________________________
This removes variables that are written only.

.. _remove-written-only-variable-before:

Before
^^^^^^
.. code-block:: php
<?php
function foo() {
$a = 1;
$a += 2; // No usage of $a
}
?>
.. _remove-written-only-variable-after:

After
^^^^^
.. code-block:: php
<?php
function foo() {
}
?>
.. _remove-written-only-variable-suggested-analysis:

Suggested Analysis
^^^^^^^^^^^^^^^^^^

* :ref:`written-only-variables`



.. _remove-written-only-variable-specs:

Specs
^^^^^

+----------------+---------------------------+
| Short Name | Structures/RemoveVariable |
+----------------+---------------------------+
| Exakat version | 2.3.0 |
+----------------+---------------------------+
| Available in | |
+----------------+---------------------------+


.. _structures-renamefunction:

.. _rename-a-function:
Expand Down Expand Up @@ -1778,46 +1897,6 @@ Specs
+----------------+------------------------------------------------------------------+


.. _structures-removevariable:

.. _structures-removevariable:

Structures/RemoveVariable
_________________________


.. _structures-removevariable-before:

Before
^^^^^^
.. code-block:: php
.. _structures-removevariable-after:

After
^^^^^
.. code-block:: php
.. _structures-removevariable-specs:

Specs
^^^^^

+----------------+---------------------------+
| Short Name | Structures/RemoveVariable |
+----------------+---------------------------+
| Exakat version | 2.3.0 |
+----------------+---------------------------+
| Available in | |
+----------------+---------------------------+


.. _structures-switchtomatch:

.. _switch-to-match:
Expand Down

0 comments on commit 3567341

Please sign in to comment.