github carthage-software/mago 1.0.0-rc.5
Mago 1.0.0-rc.5

9 hours ago

Bug Fixes

Syntax

  • Fixed parsing of integers prefixed with 0 to correctly interpret them as octal numbers

Analyzer

  • Fixed type narrowing for in_array and Psl\Iter\contains (#658)
  • Fixed assertion scrapping for in_array and Psl\Iter\contains
  • Fixed int/float disjointness handling in conditional type narrowing (#656)

Codex

  • Fixed child native return types to take precedence over parent docblock types (#657)

Improvements

PHP 8.5 Support

  • Semicolon as a switch case separator is now deprecated for PHP >= 8.5

CLI

  • Removed deprecated --no-color flag (use --colors never instead)

Internal

  • Refactored codex populator into modular subcomponents

Full Changelog: 1.0.0-rc.4...1.0.0-rc.5

Don't miss a new mago release

NewReleases is sending notifications on new releases.