-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2019-8767f2f211 2019-03-21 14:39:53.476081 --------------------------------------------------------------------------------
Name : phan Product : Fedora 29 Version : 1.2.6 Release : 1.fc29 URL : https://github.com/phan/phan Summary : A static analyzer for PHP Description : Phan is a static analyzer that looks for common issues and will verify type compatibility on various operations when type information is available or can be deduced. Phan does not make any serious attempt to understand flow control and narrow types based on conditionals.
-------------------------------------------------------------------------------- Update Information:
09 Mar 2019, **Phan 1.2.6** **New features (CLI,Configs)** + Add config `enable_extended_internal_return_type_plugins` to more aggressively infer literal values for functions such as `json_decode`, `strtolower`, `implode`, etc. (disabled by default), + Make `--dead-code-detection` load `UnreachableCodePlugin` if that plugin isn't already loaded (#1824) + Add `--automatic-fix` to fix any issues Phan is capable of fixing (currently a prototype. Fixes are guessed based on line numbers). This is currently limited to: - unreferenced use statements on their own line (requires `--dead-code- detection`). - issues emitted by `WhitespacePlugin` (#2523) - unqualified global function calls/constant uses from namespaces (requires `NotFullyQualifiedUsagePlugin`) (will do the wrong thing for functions that are both global and in the same namespace) **New features (Analysis):** + Make Phan infer more precise literal types for internal constants such as `PHP_EOF`. These depend on the PHP binary used to run Phan. In most cases, that shouldn't matter. + Emit `PhanPluginPrintfVariableFormatString` in `PrintfCheckerPlugin` if the inferred format string isn't a single literal (#2431) + Don't emit `PhanWriteOnlyPrivateProperty` with dead code detection when at least one assignment is by reference (#1658) + Allow a single hyphen between words in `@suppress issue-name` annotations (and `@phan-suppress-next-line issue-name`, etc.) (#2515) Note that CamelCase issue names are conventional for Phan and its plugins. + Emit `PhanCompatibleAutoload` when using `function __autoload() {}` instead of `spl_autoload_register() {}` (#2528) + Be more aggressive about inferring that the result is `null` when accessing array offsets that don't exist. (#2541) + Fix a false positive analyzing `array_map` when the closure has a dependent return type. (#2554) + Emit `PhanNoopArrayAccess` when an array field is fetched but not used (#2538) **Language Server/Daemon mode:** + Fix an error in the language server on didChangeConfiguration + Show hover text of ancestors for class elements (methods, constants, and properties) when no summary is available for the class element. (#1945) **Maintenance** + Don't exit if the AST version Phan uses (currently version 50) is deprecated by php- ast (#1134) **Plugins:** + Write `PhanSelfCheckPlugin` for self-analysis of Phan and plugins for Phan. (#1576) This warns if too many/too few arguments are provided for the issue template when emitting an issue. + Add `AutomaticFixCapability` for plugins to provide fixes for issues for `--automatic-fix` (#2549) + Change issue messages for closures in `UnknownElementTypePlugin` (#2543) **Bug fixes:** + Fix bug: `--ignore- undeclared` failed to properly ignore undeclared elements since 1.2.3 (#2502) + Fix false positive `PhanTypeInvalidDimOffset` for functions nested within other functions. + Support commas in the union types of parameters of magic methods (#2507) + Fix parsing `?(A|B|C)` (#2551) -------------------------------------------------------------------------------- ChangeLog:
* Sun Mar 10 2019 Remi Collet remi@remirepo.net - 1.2.6-1 - update to 1.2.6 * Wed Feb 27 2019 Remi Collet remi@remirepo.net - 1.2.5-1 - update to 1.2.5 - add dependecy on mbstring - add weak dependecy on igbinary * Tue Feb 19 2019 Remi Collet remi@remirepo.net - 1.2.4-1 - update to 1.2.4 - raise dependency on composer/xdebug-handler 1.3.2 * Mon Feb 11 2019 Remi Collet remi@remirepo.net - 1.2.3-1 - update to 1.2.3 * Mon Feb 4 2019 Remi Collet remi@remirepo.net - 1.2.2-1 - update to 1.2.2 * Sat Jan 19 2019 Remi Collet remi@remirepo.net - 1.2.1-1 - update to 1.2.1 - raise dependency on microsoft/tolerant-php-parser 0.0.16 * Sun Jan 6 2019 Remi Collet remi@remirepo.net - 1.2.0-1 - update to 1.2.0 * Mon Dec 31 2018 Remi Collet remi@remirepo.net - 1.1.10-1 - update to 1.1.10 * Sun Dec 16 2018 Remi Collet remi@remirepo.net - 1.1.8-1 - update to 1.1.8 * Sun Dec 9 2018 Remi Collet remi@remirepo.net - 1.1.7-1 - update to 1.1.7 * Fri Nov 30 2018 Remi Collet remi@remirepo.net - 1.1.5-1 - update to 1.1.5 * Wed Nov 28 2018 Remi Collet remi@remirepo.net - 1.1.4-1 - update to 1.1.4 * Wed Nov 21 2018 Remi Collet remi@remirepo.net - 1.1.3-1 - update to 1.1.3 * Tue Nov 6 2018 Remi Collet remi@remirepo.net - 1.1.2-1 - update to 1.1.2 * Tue Oct 23 2018 Remi Collet remi@remirepo.net - 1.1.1-1 - update to 1.1.1 * Tue Oct 9 2018 Remi Collet remi@remirepo.net - 1.1.0-1 - update to 1.1.0 * Wed Oct 3 2018 Remi Collet remi@remirepo.net - 1.0.7-1 - update to 1.0.7 - raise dependency on microsoft/tolerant-php-parser 0.0.13 - php-ast is optional * Wed Sep 26 2018 Remi Collet remi@remirepo.net - 1.0.6-1 - update to 1.0.6 - sources from git snapshot * Sat Sep 22 2018 Remi Collet remi@remirepo.net - 1.0.5-1 - update to 1.0.5 - open https://github.com/phan/phan/issues/1986 keep the tests - keep ast mandatory despite it is now optional --------------------------------------------------------------------------------
This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2019-8767f2f211' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label
All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys --------------------------------------------------------------------------------
package-announce@lists.fedoraproject.org