Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 4, 2026

Bumps carthage-software/mago from 1.3.0 to 1.4.1.

Release notes

Sourced from carthage-software/mago's releases.

Mago 1.4.1

Patch release with two bug fixes.

🐛 Bug Fixes

Syntax

  • Void cast parsing: Fix parsing of (void) cast expressions (#1021)

Analyzer

  • JSON_THROW_ON_ERROR detection: Detect JSON_THROW_ON_ERROR flag when combined with other flags using bitwise OR (e.g., JSON_THROW_ON_ERROR | JSON_PRETTY_PRINT) (#1022, #886) by @​kzmshx

🙏 Thank You


Full Changelog: carthage-software/mago@1.4.0...1.4.1

Mago 1.4.0

This release brings significant improvements including method call assertions, a new parser configuration section, fault-tolerant parsing, new linter fixers, and numerous bug fixes addressing false positives in the analyzer. A massive thank you to everyone who contributed!

✨ Features

Analyzer

  • Method call assertions: Support for @assert-if-true and @assert-if-false docblock assertions on method calls, enabling type narrowing based on method return values (#763)
  • Unreachable else detection: Detect unreachable else clauses when all enum cases are already handled in if-elseif chains (#356)

Linter

  • Fixer for no-redundant-string-concat: Automatically fix redundant string concatenations (#1018) by @​dotdash
  • Fixer for no-trailing-space: Automatically remove trailing whitespace (#1017) by @​dotdash
  • Fixer for braced-string-interpolation: Automatically add braces around interpolated variables (#1013) by @​dotdash
  • Configurable early-continue threshold: New max-statements-before-early-continue option to control when the early-continue rule recommends refactoring (#979, #975) by @​dotdash

Parser

  • New [parser] configuration section: Configure parser-level settings including the ability to disable short opening tag recognition via enable-short-tags = false (#841)
  • Fault-tolerant parsing: Major parser rewrite introducing fault-tolerant parsing, a foundational step towards LSP support. The parser now recovers from syntax errors and continues analysis, providing better diagnostics for files with minor issues (#988) by @​azjezz

CLI

  • FORCE_COLOR environment variable: Force colored output even when piping to files or other commands, taking precedence over NO_COLOR (#1012)

... (truncated)

Commits
  • 5429336 release: 1.4.1
  • 467c619 fix(syntax): parse void cast correctly
  • 9f58ad0 fix(analyzer): detect JSON_THROW_ON_ERROR in bitwise OR flag expressions (#...
  • 443859f release: 1.4.0
  • 222032c fix(formatter): move comments of class-like members when sorting
  • 813f7d5 feat(linter): add fixer for no-redundant-string-concat rule (#1018)
  • 296a926 fix(formatter): generate settings structs via macro to fix preset override bug
  • 643e1fb feat(linter): add fixer for no-trailing-space (#1017)
  • 3bc2e8b fix(analyzer): convert never-typed array elements to empty arrays inside loops
  • 30163e8 chore(typos): add consts to typos dictionary
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @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)

Bumps [carthage-software/mago](https://github.com/carthage-software/mago) from 1.3.0 to 1.4.1.
- [Release notes](https://github.com/carthage-software/mago/releases)
- [Commits](carthage-software/mago@1.3.0...1.4.1)

---
updated-dependencies:
- dependency-name: carthage-software/mago
  dependency-version: 1.4.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file PHP Pull requests that update Php code labels Feb 4, 2026
@coderabbitai
Copy link

coderabbitai bot commented Feb 4, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

@thorsten thorsten merged commit d83b143 into main Feb 4, 2026
10 checks passed
@dependabot dependabot bot deleted the dependabot/composer/carthage-software/mago-1.4.1 branch February 4, 2026 16:52
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 PHP Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant