--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2019-20b811f212
2019-01-31 03:20:04.985344
--------------------------------------------------------------------------------
Name : phan
Product : Fedora 29
Version : 1.2.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:
18 Jan 2019, **Phan 1.2.1** **New features (CLI):** + Add short flags: `-S`
for `--strict-type-checking`, `-C` for `--color`, `-P` for `--plugin <plugin>`
**New features (Analysis):** + Infer that the result of `array_map` has integer
keys when passed two or more arrays (#2277) + Improve inferences about the left
hand side of `&&` statements such as `$leftVar && (other_expression);`
(#2300) +
Warn about passing an undefined variable to a function expecting a reference
parameter with a real, non-nullable type (#1344) + Include variables in scope as
alternative suggestions for undeclared properties (#1680) + Infer a string
literal when analyzing calls to `basename` or `dirname` on an expression that
evaluates to a string literal. (#2323) + Be stricter about warning when literal
int/string values are passed to incompatible scalar types when
`scalar_implicit_cast` or `scalar_implicit_partial` are used. (#2340)
**Maintenance:** + End the output for `--output-mode <json>` with a newline. +
Upgrade tolerant-php-parser, making the polyfill/fallback properly parse `$a &&
$b = $c` (#2180) + Add updates to the function/method signature map from Psalm
and PHPStan. **Language Server/Daemon mode:** + Add `--output-mode <mode>` to
`phan_client`. (#1568). Supported formats: `phan_client` (default), `text`,
`json`, `csv`, `codeclimate`, `checkstyle`, or `pylint` + Add `--color` to
`phan_client` (e.g. for use with `--output-mode text`) + Add `--language-server-
completion-vscode`. This is a workaround to make completion of variables and
static properties work in [the Phan plugin for VS
Code](https://github.com/tysonandre/vscode-php-phan) + Include Phan's signature
types in hover text for internal and user-defined methods (instead of just the
real types) (#2309) Also, show defaults of non-nullable parameters as `=
default` instead of `= null` + Properly return a result set when requesting
variable completion of `$` followed by nothing. + Fix code completion when
`--language-server-analyze-only-on-save` is on. (#2327) **Plugins:** + Add a
new issue type to `DuplicateExpressionPlugin`: `PhanPluginBothLiteralsBinaryOp`.
(#2297) (warns about suspicious expressions such as `null == 'a literal` in
`$x ?? null == 'a literal'`) + Support `assertInternalType` in
`PHPUnitAssertionPlugin` (#2290) + Warn when identical dynamic expressions (e.g.
variables, function calls) are used as array keys in `DuplicateArrayKeyPlugin`
---- **microsoft/tolerant-php-parser version 0.0.16**
--------------------------------------------------------------------------------
ChangeLog:
* Sat Jan 19 2019 Remi Collet <remi(a)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(a)remirepo.net> - 1.2.0-1
- update to 1.2.0
* Mon Dec 31 2018 Remi Collet <remi(a)remirepo.net> - 1.1.10-1
- update to 1.1.10
* Sun Dec 16 2018 Remi Collet <remi(a)remirepo.net> - 1.1.8-1
- update to 1.1.8
* Sun Dec 9 2018 Remi Collet <remi(a)remirepo.net> - 1.1.7-1
- update to 1.1.7
* Fri Nov 30 2018 Remi Collet <remi(a)remirepo.net> - 1.1.5-1
- update to 1.1.5
* Wed Nov 28 2018 Remi Collet <remi(a)remirepo.net> - 1.1.4-1
- update to 1.1.4
* Wed Nov 21 2018 Remi Collet <remi(a)remirepo.net> - 1.1.3-1
- update to 1.1.3
* Tue Nov 6 2018 Remi Collet <remi(a)remirepo.net> - 1.1.2-1
- update to 1.1.2
* 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-2019-20b811f212' 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
--------------------------------------------------------------------------------