Skip to content

Conversation

gharlan
Copy link
Member

@gharlan gharlan commented Aug 7, 2025

Baseline entries are "todos", but this is not really fixable. So I suggest to use @phpstan-ignore here.

@coveralls
Copy link

coveralls commented Aug 7, 2025

Coverage Status

coverage: 94.72%. remained the same
when pulling 91b74e3 on gharlan:smaller-alwaysfalse
into 042cb6d on PHP-CS-Fixer:master.

@@ -35,6 +35,7 @@ set_error_handler(static function (int $severity, string $message, string $file,
exit(1);
}

// @phpstan-ignore smaller.alwaysFalse
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible to add a comment why we put this ignore, in-code ? so john doe won't wonder

php-cs-fixer Outdated
@@ -35,7 +35,7 @@ set_error_handler(static function (int $severity, string $message, string $file,
exit(1);
}

// @phpstan-ignore smaller.alwaysFalse
// @phpstan-ignore smaller.alwaysFalse (PHPStan knows ower min PHP version, but we want to check the min version here anyway)
Copy link
Member

@keradus keradus Aug 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ower? our?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version here because entrypoint file allows wider PHP range than project itself

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(ref)

Copy link
Member

@keradus keradus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@keradus keradus merged commit 70b3a06 into PHP-CS-Fixer:master Aug 13, 2025
29 of 31 checks passed
@gharlan gharlan deleted the smaller-alwaysfalse branch August 13, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants