Skip to content

Commit

Permalink
Version with sitemap for cobblers
Browse files Browse the repository at this point in the history
  • Loading branch information
christopheexakat committed Dec 26, 2023
1 parent 8664295 commit 11fc94a
Show file tree
Hide file tree
Showing 76 changed files with 552 additions and 373 deletions.
1 change: 1 addition & 0 deletions Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Here is the release note of exakat.

+ Tokenizer
+ Added CALLED link to new calls
+ Fixed edgecases with match and readonly

**Version 2.6.3 (, 2023-12-14)**

Expand Down
18 changes: 10 additions & 8 deletions Reference/Rules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ List of Rules
Rules/Classes/CantExtendFinal.rst
Rules/Interfaces/CantImplementTraversable.rst
Rules/Classes/CantInstantiateClass.rst
Rules/Classes/CantOverwriteFinalConstant.rst
Rules/Exceptions/CantThrow.rst
Rules/Classes/CancelCommonMethod.rst
Rules/Functions/CancelledParameter.rst
Expand All @@ -130,7 +131,6 @@ List of Rules
Rules/Classes/CantInheritAbstractMethod.rst
Rules/Classes/CantInstantiateNonClass.rst
Rules/Interfaces/CantOverloadConstants.rst
Rules/Classes/CantOverwriteFinalConstant.rst
Rules/Classes/CantOverwriteFinalMethod.rst
Rules/Php/CantUseReturnValueInWriteContext.rst
Rules/Constants/CaseInsensitiveConstants.rst
Expand Down Expand Up @@ -1813,7 +1813,7 @@ List of analyzers, by version of introduction, newest to oldest. In parenthesis,
* :ref:`Could Be Abstract Method <could-be-abstract-method>`
* :ref:`No Keyword In Namespace <no-keyword-in-namespace>`
* :ref:`Solve Trait Constants <solve-trait-constants>`
* :ref:`Unused Public Method <unused-public-method>`
* :ref:`Unused Public Methods <unused-public-methods>`
* :ref:`date() versus DateTime Preference <date()-versus-datetime-preference>`

* 2.4.8
Expand Down Expand Up @@ -1900,7 +1900,7 @@ List of analyzers, by version of introduction, newest to oldest. In parenthesis,
* 2.3.9

* :ref:`Add Return Typehint <add-return-typehint>`
* :ref:`Cant Overwrite Final Constant <cant-overwrite-final-constant>`
* :ref:`Can't Overwrite Final Constant <can't-overwrite-final-constant>`
* :ref:`Constant : With Or Without Use <constant--with-or-without-use>`
* :ref:`Dont Add Seconds <dont-add-seconds>`
* :ref:`Identical Variables In Foreach <identical-variables-in-foreach>`
Expand Down Expand Up @@ -7586,6 +7586,7 @@ Directory by PHP Function
+ :ref:`Unset In Foreach <unset-in-foreach>`
+ :ref:`Use === null <use-===-null>`
+ :ref:`Use Browscap <use-browscap>`
+ :ref:`Use Closure Trailing Comma <use-closure-trailing-comma>`
+ :ref:`Use Debug <use-debug>`
+ :ref:`Use NullSafe Operator <use-nullsafe-operator>`
+ :ref:`Use Nullable Type <use-nullable-type>`
Expand Down Expand Up @@ -10896,7 +10897,7 @@ Exakat links each rules to PHP features.
+ Final Keyword

+ :ref:`Can't Extend Final <can't-extend-final>`
+ :ref:`Cant Overwrite Final Constant <cant-overwrite-final-constant>`
+ :ref:`Can't Overwrite Final Constant <can't-overwrite-final-constant>`
+ :ref:`Cant Overwrite Final Method <cant-overwrite-final-method>`
+ :ref:`Class Could Be Final <class-could-be-final>`
+ :ref:`Class Should Be Final By Ocramius <class-should-be-final-by-ocramius>`
Expand Down Expand Up @@ -11434,7 +11435,7 @@ Exakat links each rules to PHP features.
+ :ref:`Undefined Methods <undefined-methods>`
+ :ref:`Unreachable Method <unreachable-method>`
+ :ref:`Unused Methods <unused-methods>`
+ :ref:`Unused Public Method <unused-public-method>`
+ :ref:`Unused Public Methods <unused-public-methods>`
+ :ref:`Used Methods <used-methods>`
+ :ref:`Used Once Property <used-once-property>`
+ :ref:`Used Private Methods <used-private-methods>`
Expand Down Expand Up @@ -11627,7 +11628,7 @@ Exakat links each rules to PHP features.

+ Overwrite

+ :ref:`Cant Overwrite Final Constant <cant-overwrite-final-constant>`
+ :ref:`Can't Overwrite Final Constant <can't-overwrite-final-constant>`
+ :ref:`Cant Overwrite Final Method <cant-overwrite-final-method>`
+ :ref:`Immutable Signature <immutable-signature>`
+ :ref:`Overwritten Class Constants <overwritten-class-constants>`
Expand Down Expand Up @@ -11802,7 +11803,7 @@ Exakat links each rules to PHP features.

+ Public Visibility

+ :ref:`Unused Public Method <unused-public-method>`
+ :ref:`Unused Public Methods <unused-public-methods>`

+ Query

Expand Down Expand Up @@ -12650,7 +12651,7 @@ Directory by PHP Error message

Exakat helps reduce the amount of error and warning that code is producing by reporting pattern that are likely to emit errors.

262 PHP error message detailled :
263 PHP error message detailled :

* :ref:`"boolean" will be interpreted as a class name. Did you mean "bool"? <not-a-scalar-type>`
* :ref:`"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? <continue-is-for-loop>`
Expand Down Expand Up @@ -12914,6 +12915,7 @@ Exakat helps reduce the amount of error and warning that code is producing by re
* :ref:`theClass and theTrait define the same property ($property) in the composition of theClass. However, the definition differs and is considered incompatible. <incompatible-property-between-class-and-trait>`
* :ref:`unpack(): Type t: unknown format code <invalid-pack-format>`
* :ref:`version_compare(): Argument #3 ($operator) must be a valid comparison operator <version\_compare-operator>`
* :ref:`y\:\:F cannot override final constant x\:\:F <can't-overwrite-final-constant>`



Expand Down
38 changes: 19 additions & 19 deletions Reference/Rules/Attributes/MissingAttributeAttribute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,24 @@ ___________
Specs
_____

+--------------+-------------------------------------------------------------------------------------------------------------------------+
| Short name | Attributes/MissingAttributeAttribute |
+--------------+-------------------------------------------------------------------------------------------------------------------------+
| Rulesets | :ref:`All <ruleset-All>`, :ref:`Analyze <ruleset-Analyze>`, :ref:`Attributes <ruleset-Attributes>` |
+--------------+-------------------------------------------------------------------------------------------------------------------------+
| Exakat since | 2.2.4 |
+--------------+-------------------------------------------------------------------------------------------------------------------------+
| PHP Version | With PHP 8.0 and more recent |
+--------------+-------------------------------------------------------------------------------------------------------------------------+
| Severity | Minor |
+--------------+-------------------------------------------------------------------------------------------------------------------------+
| Time To Fix | Quick (30 mins) |
+--------------+-------------------------------------------------------------------------------------------------------------------------+
| Precision | Very high |
+--------------+-------------------------------------------------------------------------------------------------------------------------+
| Features | attribute |
+--------------+-------------------------------------------------------------------------------------------------------------------------+
| Available in | `Entreprise Edition <https://www.exakat.io/entreprise-edition>`_, `Exakat Cloud <https://www.exakat.io/exakat-cloud/>`_ |
+--------------+-------------------------------------------------------------------------------------------------------------------------+
+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Short name | Attributes/MissingAttributeAttribute |
+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Rulesets | :ref:`All <ruleset-All>`, :ref:`Analyze <ruleset-Analyze>`, :ref:`Attributes <ruleset-Attributes>`, :ref:`PHP recommendations <ruleset-PHP-recommendations>` |
+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Exakat since | 2.2.4 |
+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
| PHP Version | With PHP 8.0 and more recent |
+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Severity | Minor |
+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Time To Fix | Quick (30 mins) |
+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Precision | Very high |
+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Features | attribute |
+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Available in | `Entreprise Edition <https://www.exakat.io/entreprise-edition>`_, `Exakat Cloud <https://www.exakat.io/exakat-cloud/>`_ |
+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+


2 changes: 2 additions & 0 deletions Reference/Rules/Classes/AmbiguousVisibilities.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ _____
+--------------+-------------------------------------------------------------------------------------------------------------------------+
| Examples | :ref:`case-typo3-classes-ambiguousvisibilities` |
+--------------+-------------------------------------------------------------------------------------------------------------------------+
| Related rule | :ref:`missing-visibility` |
+--------------+-------------------------------------------------------------------------------------------------------------------------+
| Available in | `Entreprise Edition <https://www.exakat.io/entreprise-edition>`_, `Exakat Cloud <https://www.exakat.io/exakat-cloud/>`_ |
+--------------+-------------------------------------------------------------------------------------------------------------------------+

Expand Down

0 comments on commit 11fc94a

Please sign in to comment.