obsolete

phan-1.1.10-1.fc28

FEDORA-2019-e7115f1b5f created by remi 7 years ago for Fedora 28

30 Dec 2018, Phan 1.1.10

New features(Analysis):

  • Add suggestions if to PhanUndeclaredConstant issue messages about undeclared global constants, if possible. (#2240) Suggestions include other global constants, variables, class constants, properties, and function names.
  • Warn about continue and break with no matching loop/switch scope. (#1869) New issue types: PhanContinueOrBreakTooManyLevels, PhanContinueOrBreakNotInLoop
  • Warn about continue statements targeting switch control structures (doing the same thing as a break) (#1869) New issue types: PhanContinueTargetingSwitch
  • Support inferring template types from array keys. int/string/mixed can be inferred from array<TKey,\someType> when @template TKey is in the class/function-like scope.
  • Phan can now infer template types from even more categories of parameter types in constructors and regular functions/methods. (#522)

  • infer T from Closure(T):\OtherClass and callable(T):\OtherClass

  • infer T from array{keyName:T}
  • infer TKey from array<TKey,\OtherClass> (as int, string, or mixed)

Bug fixes:

  • Refactor the way @template annotations are parsed on classes and function-likes to avoid various edge cases (#2253)
  • Fix a bug causing Phan to fail to analyze closures/uses of closures when used inline (e.g. in function calls)

This update has been submitted for testing by remi.

7 years ago

This update has been pushed to testing.

7 years ago

This update has been obsoleted by phan-1.2.0-1.fc28.

7 years ago

Please log in to add feedback.

Metadata
Type
bugfix
Karma
0
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Thresholds
Minimum Karma
+1
Minimum Testing
7 days
Dates
submitted
7 years ago
in testing
7 years ago

Automated Test Results