Skip to content

Narrow subject on matches#54

Merged
Seldaek merged 6 commits into
composer:mainfrom
staabm:nar
Jun 7, 2026
Merged

Narrow subject on matches#54
Seldaek merged 6 commits into
composer:mainfrom
staabm:nar

Conversation

@staabm

@staabm staabm commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Comment thread composer.json
Comment on lines +53 to +54
"@php vendor/bin/phpunit",
"@php vendor/bin/phpunit --testsuite phpstan"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

composer test did not run phpstan tests before.

Comment on lines -96 to -97
// @phpstan-ignore function.alreadyNarrowedType
if (method_exists('PHPStan\Analyser\SpecifiedTypes', 'setRootExpr')) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this was PHPStan 1.x compat code

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Composer still runs phpstan 1 due to php7.2 support, but I guess this branch is 7.4+ so it's ok to drop it.

@Seldaek

Seldaek commented Jun 7, 2026

Copy link
Copy Markdown
Member

Thanks!

@Seldaek Seldaek merged commit 11151f6 into composer:main Jun 7, 2026
11 checks passed
@staabm staabm deleted the nar branch June 7, 2026 11:53
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.

2 participants