--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2018-70df95f7cf
2018-11-01 15:05:49.865261
--------------------------------------------------------------------------------
Name : phan
Product : Fedora 29
Version : 1.1.1
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:
22 Oct 2018, **Phan 1.1.1** ----------------------- New features(Analysis): +
Add `defined at {FILE}:{LINE}` to warnings about property visibility. + Warn
about missing references (`\n` or `$n`) in the replacement template string of
`preg_replace()` (#2047) + Make `@suppress` on closures/functions/methods apply
more consistently to issues emitted when analyzing the closure/function/method
declaration. (#2071) + Make `@suppress` on warnings about unparseable doc
comments work as expected (e.g. for `PhanInvalidCommentForDeclarationType on a
class`) (#1429) + Support checking for missing/invalid files in
`require`/`include`/`require_once`/`include_once` statements. * To enable
these checks, set `enable_include_path_checks` to `true` in your Phan config.
* New issue types: `PhanRelativePathUsed`, `PhanTypeInvalidEval`,
`PhanTypeInvalidRequire`, `PhanInvalidRequireFile`, `PhanMissingRequiredFile`
* New config settings: `enable_include_path_checks`, `include_paths`,
`warn_about_relative_include_statement` + Warn when attempting to unset a
property that was declared (i.e. not a dynamic or magic property) (#569) New
issue type: `PhanTypeObjectUnsetDeclaredProperty` - This warning is emitted
because declared properties are commonly expected to exist when they are
accessed. + Warn about iterating over an object that's not a `Traversable` and
not `stdClass` (#1115) New issue types (for those objects) were added for the
following cases: * Has no declared properties (`TypeNoPropertiesForeach`)
* Has properties and none are accessible. (`TypeNoAccessiblePropertiesForeach`)
* Has properties and some are accessible.
(`TypeSuspiciousNonTraversableForeach`) + Add `@phan-template` and `@phan-
inherits` as aliases for `@template` and `@inherits` + Warn about passing non-
objects to `clone()` (`PhanTypeInvalidCloneNotObject`) (#1798) **Maintenance:**
+ Minor performance improvements. + Increase the default value of
`max_literal_string_type_length` from 50 to 200. + Include Phan version in
Phan's error handler and exception handler output. (#1639) **Bug fixes:** +
Don't crash when parsing an invalid cast expression. Only the fallback/polyfill
parsers were affected. **Language Server/Daemon mode:** * Fix bugs in the
language server. * The language server was previously using the non-PCNTL
fallback implementation unconditionally due to an incorrect default
configuration value. * After this fix, the language server properly uses
PCNTL by default if PCNTL is available. * This bug was
introduced by PR #1743 *. Fix a bug causing the language server to
eventually run out of memory when PCNTL was disabled.
--------------------------------------------------------------------------------
ChangeLog:
* Tue Oct 23 2018 Remi Collet <remi(a)remirepo.net> - 1.1.1-1
- update to 1.1.1
* Tue Oct 9 2018 Remi Collet <remi(a)remirepo.net> - 1.1.0-1
- update to 1.1.0
* Wed Oct 3 2018 Remi Collet <remi(a)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(a)remirepo.net> - 1.0.6-1
- update to 1.0.6
- sources from git snapshot
* Sat Sep 22 2018 Remi Collet <remi(a)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-2018-70df95f7cf' 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
--------------------------------------------------------------------------------