Skip to content

Conversation

@sandesh-as
Copy link

No description provided.

@CLAassistant
Copy link

CLAassistant commented Dec 23, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@delatrie delatrie left a comment

Choose a reason for hiding this comment

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

Hi, @sandesh-as ! Thank you for your contribution.

We need to fix the pipeline before going further. Please review my comment.

@sandesh-as
Copy link
Author

Hi @delatrie, I’ve addressed a few issues that were occurring in the CLI tests. Could you please review the changes and approve the workflow.

"phpunit/phpunit": "^10.0.5 || ^11 || ^12.0.1"
},
"require-dev": {
"amphp/amp": "^3.1.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't use these extra dependencies, so we shouldn't declare them. A better place is to constrain their versions in the include section of the job matrix:

include:
    # Some dev libraries are resolved to versions incompatible with PHP 8.5
    # under the --prefer-lowest strategy. Here we're constraining them to
    # the lowest compatible versions.
  - php-version: "8.5"
    update-constraints: "'--with=amphp/amp:>=3.1.1' '--with=amphp/parallel:>=2.3.3' '--with=nikic/php-parser:>=5.7' '--with=revolt/event-loop:>=1.0.8'"

I'm thinking of giving up the --prefer-lowest testing altogether, since those things are gonna get more and more complex, but let's keep it for now.

$this->expectNotToPerformAssertions();
}

/** @psalm-suppress InvalidAttribute */
Copy link
Contributor

Choose a reason for hiding this comment

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

Fixed in psalm 6.14.3. We can remove these comments now.

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