.. _interfaces-possibleinterfaces: .. _possible-interfaces: Possible Interfaces +++++++++++++++++++ This analyzer lists classes that may be a base to create interfaces. Currently, classes with more than 1 defined method are used to identify possible interfaces. An interfaces are considered when at least 2 methods are common in 3 classes. Only the name of the method is used to identify possible methods. Signature and method options are not taken into account. .. code-block:: php Connex PHP features ------------------- + `interface `_ Suggestions ___________ * Add those interfaces, and use the `implements` keyword in the mentioned classes. Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | Interfaces/PossibleInterfaces | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Changed Behavior ` | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 2.0.6 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Severity | Minor | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | Quick (30 mins) | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Precision | Medium | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+