Skip to content

PHP 8.2 compatibility#210

Merged
Naktibalda merged 3 commits intoCodeception:masterfrom
marcovtwout:php8-compatibility
Nov 16, 2024
Merged

PHP 8.2 compatibility#210
Naktibalda merged 3 commits intoCodeception:masterfrom
marcovtwout:php8-compatibility

Conversation

@marcovtwout
Copy link
Copy Markdown
Contributor

Preliminary support for PHP 8.2 by using development versions of goaop/framework and goaop/parser-reflection.

If you want to test this out right now in your project, use the following in composer.json:

 "require-dev": {
    "codeception/aspect-mock": "dev-php8-compatibility",
    "goaop/framework": "@dev",
    "goaop/parser-reflection": "@dev",
  },
  (..)
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/marcovtwout/codeception-aspect-mock.git"
    }
  ]

"goaop/framework": "^3.0",
"php": "^8.2",
"goaop/framework": "^4.0@dev",
"goaop/parser-reflection": "^4.0@dev",
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.

@marcovtwout I can merge this PR, but I think that it would be better to delay release until goaop/framework 4.0.0 is released.

I added branch alias below.

Copy link
Copy Markdown
Contributor Author

@marcovtwout marcovtwout Nov 18, 2024

Choose a reason for hiding this comment

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

@Naktibalda Thanks! Perhaps you can update the README.md as well on master, there's still some references to the previous / PHP 7.4 version: https://github.com/Codeception/AspectMock/tree/master?tab=readme-ov-file#requirements

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.

Created PR: #212

@Naktibalda Naktibalda merged commit 7247230 into Codeception:master Nov 16, 2024
@marcovtwout
Copy link
Copy Markdown
Contributor Author

FYI: goaop/framework@dev was recently bumped to PHP 8.4, effectively raising requirements for this project from PHP 8.2 to 8.4: goaop/framework#516 (comment)

@marcovtwout marcovtwout deleted the php8-compatibility branch March 30, 2026 13: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.

4 participants