Skip to content

Commit

Permalink
version 2.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
christopheexakat committed Nov 21, 2023
1 parent de8a3f8 commit b52bdb7
Show file tree
Hide file tree
Showing 15 changed files with 1,652 additions and 8,821 deletions.
423 changes: 337 additions & 86 deletions Administrator/Installation.rst

Large diffs are not rendered by default.

28 changes: 27 additions & 1 deletion Annex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,24 +54,34 @@ External links
List of external links mentioned in this documentation.

* `$HTTP_RAW_POST_DATA variable <https://www.php.net/manual/en/reserved.variables.httprawpostdata.php>`_
* `7z <https://www.7-zip.org/7z.html>`_
* `@deprecated <https://docs.phpdoc.org/latest/references/phpdoc/tags/deprecated.html>`_
* `[HttpFoundation] Make sessions secure and lazy #24523 <https://github.com/symfony/symfony/pull/24523>`_
* `Add Exakat To Your CI Pipeline <https://www.exakat.io/add-exakat-to-your-ci-pipeline/>`_
* `Ambassador <https://exakat.readthedocs.io/en/latest/Reports.html#ambassador>`_
* `Aronduby Dump <https://github.com/aronduby/dump>`_
* `Atif Shahab Qureshi <https://twitter.com/Atif__Shahab>`_
* `Backward incompatible changes PHP 7.0 <https://www.php.net/manual/en/migration70.incompatible.php>`_
* `bazaar <https://bazaar.canonical.com/en/>`_
* `Benoit Burnichon <https://twitter.com/BenoitBurnichon>`_
* `Bitwise Operators <https://www.php.net/manual/en/language.operators.bitwise.php>`_
* `Brandon Savage <https://twitter.com/BrandonSavage>`_
* `Carbon <https://carbon.nesbot.com/docs/>`_
* `Carnage <https://twitter.com/giveupalready>`_
* `cat: write error: Broken pipe <https://askubuntu.com/questions/421663/cat-write-error-broken-pipe>`_
* `Classes Abstraction <https://www.php.net/abstract>`_
* `composer <https://getcomposer.org/>`_
* `continue-on-error <https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error>`_
* `curl <http://www.php.net/curl>`_
* `CVS <https://www.nongnu.org/cvs/>`_
* `Data structures <http://docs.php.net/manual/en/book.ds.php>`_
* `DCDFLIB <https://people.sc.fsu.edu/~jburkardt/c_src/cdflib/cdflib.html>`_
* `Deprecate and remove INTL_IDNA_VARIANT_2003 <https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003>`_
* `Deprecated features in PHP 7.2.x <https://www.php.net/manual/en/migration72.deprecated.php>`_
* `directive error_reporting <https://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting>`_
* `Docker <http://www.docker.com/>`_
* `Docker image <https://hub.docker.com/r/exakat/exakat/>`_
* `dotdeb instruction <https://www.dotdeb.org/instructions/>`_
* `download <https://www.exakat.io/download-exakat/>`_
* `Empty Catch Clause <http://wiki.c2.com/?EmptyCatchClause>`_
* `Enchant spelling library <https://www.php.net/manual/en/book.enchant.php>`_
Expand All @@ -84,14 +94,19 @@ List of external links mentioned in this documentation.
* `foreach <https://www.php.net/manual/en/control-structures.foreach.php>`_
* `Frederic Bouchery <https://twitter.com/FredBouchery/>`_
* `George Peter Banyard <https://twitter.com/Girgias>`_
* `Git <https://git-scm.com/>`_
* `Github Action <https://docs.github.com/en/actions>`_
* `Github upload <https://github.com/actions/upload-artifact>`_
* `Github.com/exakat/exakat <https://github.com/exakat/exakat>`_
* `global namespace <https://www.php.net/manual/en/language.namespaces.global.php>`_
* `graphviz <http://www.graphviz.org/>`_
* `Gremlin server <http://tinkerpop.apache.org/>`_
* `hash <http://www.php.net/hash>`_
* `hash_algos <https://www.php.net/hash_algos>`_
* `Holger Woltersdorf <https://twitter.com/hollodotme>`_
* `How to fix Headers already sent error in PHP <http://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php>`_
* `https://www.exakat.io/versions <https://www.exakat.io/versions>`_
* `https://hub.docker.com/r/exakat/exakat-ga <https://hub.docker.com/r/exakat/exakat-ga>`_
* `https://www.exakat.io/ <https://www.exakat.io/>`_
* `https://www.exakat.io/versions/index.php?file=latest <https://www.exakat.io/versions/index.php?file=latest>`_
* `ICU <http://site.icu-project.org/>`_
* `IERS <https://www.iers.org/IERS/EN/Home/home_node.html>`_
Expand All @@ -108,6 +123,7 @@ List of external links mentioned in this documentation.
* `Logical Operators <https://www.php.net/manual/en/language.operators.logical.php>`_
* `Marco Pivetta tweet <https://twitter.com/Ocramius/status/811504929357660160>`_
* `mcrypt_create_iv() <https://www.php.net/manual/en/function.mcrypt-create-iv.php>`_
* `mercurial <https://www.mercurial-scm.org/>`_
* `Migration80 <https://exakat.readthedocs.io/en/latest/Reports.html#migration80>`_
* `MongoDB driver <https://www.php.net/mongo>`_
* `mysqli <https://www.php.net/manual/en/book.mysqli.php>`_
Expand All @@ -125,27 +141,37 @@ List of external links mentioned in this documentation.
* `PMB <https://www.sigb.net/>`_
* `Povilas Korop <https://twitter.com/PovilasKorop>`_
* `Prepare for PHP migration with Exakat <https://www.exakat.io/prepare-for-php-migration-with-exakat/>`_
* `printf <https://www.php.net/printf>`_
* `PSR-3 <https://www.php-fig.org/psr/psr-3>`_
* `RabbitMQ AMQP client library <https://github.com/alanxz/rabbitmq-c>`_
* `rar <https://en.wikipedia.org/wiki/RAR_(file_format)>`_
* `Refactoring code <https://www.jetbrains.com/help/phpstorm/refactoring-source-code.html>`_
* `RFC 7159 <http://www.faqs.org/rfcs/rfc7159>`_
* `RFC 7230 <https://tools.ietf.org/html/rfc7230>`_
* `RFC 822 (MIME) <http://www.faqs.org/rfcs/rfc822.html>`_
* `RFC 959 <http://www.faqs.org/rfcs/rfc959>`_
* `Scope Resolution Operator (::) <https://www.php.net/manual/en/language.oop5.paamayim-nekudotayim.php>`_
* `Specification pattern <https://en.wikipedia.org/wiki/Specification_pattern>`_
* `sqlite3 <http://www.php.net/sqlite3>`_
* `Static Keyword <https://www.php.net/manual/en/language.oop5.static.php>`_
* `Svn <https://subversion.apache.org/>`_
* `tetraweb/php <https://hub.docker.com/r/tetraweb/php/>`_
* `Text <https://exakat.readthedocs.io/en/latest/Reports.html#text>`_
* `The main PPA for PHP (8.0, 7.4, 7.3, 7.2, 7.1, 7.0, 5.6) <https://launchpad.net/~ondrej/+archive/ubuntu/php>`_
* `tokenizer <http://www.php.net/tokenizer>`_
* `Tutorial 1: Let’s learn by example <https://docs.phalconphp.com/en/latest/reference/tutorial.html>`_
* `Type Casting <https://php.net/manual/en/language.types.type-juggling.php#language.types.typecasting>`_
* `Type declarations <https://www.php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration>`_
* `Type Juggling <https://www.php.net/manual/en/language.types.type-juggling.php>`_
* `unset <https://www.php.net/unset>`_
* `upload artifact <https://github.com/actions/upload-artifact>`_
* `V8 Javascript Engine <https://bugs.chromium.org/p/v8/issues/list>`_
* `Vagrant file <https://github.com/exakat/exakat-vagrant>`_
* `Vladimir Reznichenko <https://twitter.com/kalessil>`_
* `workflow_dispatch <https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow>`_
* `www.exakat.io <https://www.exakat.io/versions/>`_
* `YAML Ain't Markup Language <http://www.yaml.org/>`_
* `zip <https://en.wikipedia.org/wiki/Zip_(file_format)>`_



Expand Down
119 changes: 16 additions & 103 deletions 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.6.2 (, 2023-11-04)**
**Version 2.5.5 (, 2023-02-04)**


+ Architecture
Expand All @@ -19,66 +19,22 @@ Here is the release note of exakat.
+

+ Analysis
+

+ Tokenizer
+

**Version 2.6.1 (, 2023-10-19)**


+ Cobbler
+ New Cobbler : Logical to In_array() conversion

+ Analysis
+ Updated analysis : Use same types for comparisons was refactored
+ Updated analysis : Add Zero skips ?? and ?: when it is used to create default values
+ Updated analysis : Implode() args order was refactored with type support
+ New analysis : report multiline expressions
+ New analysis : report usage of typed constants
+ Updated analysis : sprintf() argument counts is improved
+ Updated analysis : double instruction skips try, while, do while.
+ Updated analysis : useless instruction refactored clone expressions
+ Updated analysis : array Append in a list() call
+ Updated analysis : written only variables now take into account isset() too
+ Updated analysis : recursive functions don't report recursion via property or method call()
+ Updated analysis : Shell favorite
+ New analysis : Casting Method Favorite
+ Updated analysis : Ellipsis detection improved
+ New analysis : report arrays that are used for append and direct index access at the same time
+ New analysis : report get_class() and get_parent_class() without arguments
+ Updated analysis : Literal inventory now reports float, array() and heredocs
+ New analysis : report usage of advanced static variable initialisation
+ New analysis : cannot be readonly
+ New analysis : report triplet stats from the internal graph
+ New analysis : report static variables outside a method
+ Updated analysis : Missing types are now covering class constants too
+ New analysis : report usage of Deprecated features (CITE, functions, parameters...)

**Version 2.6.0 (, 2023-10-04)**
**Version 2.5.4 (, 2023-02-04)**


+ Architecture
+ Refactored generation of VCS

+ Cobbler
+ 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
+

+ Report
+

+ Analysis
+ Updated analysis : Useless Null Coalesce now omits stdclass
Expand All @@ -87,62 +43,19 @@ Here is the release note of exakat.
+ Updated analysis : Fixed detection of use for functions and constants
+ Removed analysis : Removed 'Mark callable'
+ Updated analysis : Fixed detection of calls to __construct
+ Updated analysis : Avoid Boolean as Argument sped up
+ Updated analysis : Property Could Be Local sped up
+ 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
+ New analysis : report yield that can be turned into a yield from
+ New analysis : report usage of enum cases in static constant expressions
+ New analysis : report modification of readonly properties in __clone()
+ New analysis : report usage of internal classes with class_alias()
+ New analysis : report usage PHP 8.3 new dynamic
+ New analysis : static variables may be initialized with arbitrary expression in PHP 8.3
+ New analysis : report when an interface's class constant visibility is not public when in the class
+ Updated analysis : upgraded pre-calculate used variable in closure
+ Updated analysis : Insufficient typehint (extended coverage)
+ New analysis : Report final trait method that are overwritten

+ 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

+ Tokenizer
+

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


+ Architecture
+

+ Cobbler
+

+ Report
+ New report : Format for SonarCube

Expand Down

0 comments on commit b52bdb7

Please sign in to comment.