-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
Priority: HighAfter critical issues are fixed, handle these before any further issues.After critical issues are fixed, handle these before any further issues.Status: In ProgressThis issue is being worked on and has someone assigned.This issue is being worked on and has someone assigned.Subject: FormatterAn issue or PR related to the formatter.An issue or PR related to the formatter.Type: BugAn issue causing unintended or problematic behavior.An issue causing unintended or problematic behavior.
Description
🐞 Describe the Bug
the following code is formatted incorrectly. it is formatter into one line which breaks the @phpstan-ignore-next-line
usage
🔄 Steps to Reproduce
mago fmt
⚙️ Configuration (mago.toml)
# Mago configuration file
# For more information, see https://mago.carthage.software/#/getting-started/configuration
php_version = "8.3.0"
[source]
paths = ["bin/", "src/", "test/"]
includes = ["vendor"]
[format]
print_width = 180
tab_width = 4
use_tabs = false
null_type_hint = "question"
always_break_named_arguments_list = false
📜 Command Output
na
📂 PHP Code Sample (If Applicable)
<?php
return null !== $payload['repository']['ref']
/** @phpstan-ignore-next-line */
? Tag::fromPayload($payload['repository']['ref'])
: null;
🖥️ Operating System
macOS
📦 How did you install Mago?
Composer (composer require carthage-software/mago
)
📝 Additional Context
No response
Metadata
Metadata
Assignees
Labels
Priority: HighAfter critical issues are fixed, handle these before any further issues.After critical issues are fixed, handle these before any further issues.Status: In ProgressThis issue is being worked on and has someone assigned.This issue is being worked on and has someone assigned.Subject: FormatterAn issue or PR related to the formatter.An issue or PR related to the formatter.Type: BugAn issue causing unintended or problematic behavior.An issue causing unintended or problematic behavior.