Skip to content

Bump phan/phan from 2.2.6 to 2.2.7 #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 29, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps phan/phan from 2.2.6 to 2.2.7.

Changelog

Sourced from phan/phan's changelog.

Jul 27 2019, Phan 2.2.7

New features(CLI, Configs):

  • Include columns with most (but not all) occurrences of PhanSyntaxError
    (inferred using the polyfill - these may be incorrect a small fraction of the time)

    When the error is from the native php-ast parser, this is a best guess at the column.

    hide_issue_column can be used to remove the column from issue messages.

  • Add --absolute-path-issue-messages to emit absolute paths instead of relative paths for the file of an issue. (#1640)
    Note that this does not affect files within the issue message.

  • Properly render the progress bar when Phan runs with multiple processes (#2928)

  • Add an HTML output mode to generate an unstyled HTML fragment.
    Example CSS styles can be generated with internal/dump_html_styles.php

  • Add a light color scheme for white backgrounds.

New features(Analysis):

  • Fix failure to infer real types when an invoked function or method had a phpdoc @return in addition to the real type.
  • Infer union type from all classes that an instance method could possibly be, not just the first type seen in the expression's union type. (#2988)
  • Preserve remaining real union types after negation of instanceof checks (e.g. to check for redundant conditions).
  • Warn about throwing from __toString() in php versions prior to php 7.4. (#2805)
  • Emit PhanTypeArraySuspiciousNull for code such as null['foo'] (#2965)
  • If a property with no phpdoc type has a default of an empty array, assume that it's type can be any array (when reading it) until the first assignment is seen.
  • Attempt to analyze modifying dynamic properties by reference (e.g. $var->$prop when $prop is a variable with a known string)
  • For undeclared variables in the global scope, emit PhanUndeclaredGlobalVariable instead of PhanUndeclaredVariable to distinguish those from undeclared variables within functions/methods. (#1652)
  • Emit PhanCompatibleSyntaxNotice for notices such as the deprecated (real) cast in php 7.4, when the real parser is used (#3012)

Language Server/Daemon mode:

  • When PhanSyntaxError is emitted, make the start of the error range
    the column of the error instead of the start of the line.

Plugins:

  • Add EmptyStatementListPlugin to warn about empty statement lists involving if/elseif statements, try statements, and loops.
  • Properly warn about redundant @return annotations followed by other annotation lines in PHPDocRedundantPlugin.

Bug fixes:

  • Treat Foo::class as a reference to the class/interface/trait Foo (#2945)
  • Fix crash for (real) cast in php 7.4. (#3012)
  • Work around crash due to deprecation notices in composer dependencies in php 7.4
Commits
  • bc684dd Merge pull request #3016 from TysonAndre/release-2.2.7
  • b9e9f04 Release Phan 2.2.7
  • 6483476 Merge pull request #3015 from TysonAndre/catch-notice
  • 7cf7b56 Handle deprecation notices from php-ast and composer libraries
  • 7114691 Merge pull request #3013 from TysonAndre/catch-notice
  • 40900cb Catch a deprecation notice in php 7.4 for the (real) cast.
  • 5ebc2c9 Merge pull request #3010 from maksimovic/undeclared-var-global-scope
  • fecc93d add a method to get issue type by variable name and its context
  • 8117c63 Merge pull request #3008 from maksimovic/undeclared-var-global-scope
  • eaf24ab oops, more test expectations need to be updated
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [phan/phan](https://github.com/phan/phan) from 2.2.6 to 2.2.7.
- [Release notes](https://github.com/phan/phan/releases)
- [Changelog](https://github.com/phan/phan/blob/master/NEWS.md)
- [Commits](phan/phan@2.2.6...2.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 29, 2019
@hyperized hyperized merged commit 5f00d3e into master Jul 29, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/composer/phan/phan-2.2.7 branch July 29, 2019 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant