Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Box 4.5.1 #1766

Merged
merged 10 commits into from
Nov 12, 2023
Merged

Upgrade to Box 4.5.1 #1766

merged 10 commits into from
Nov 12, 2023

Conversation

theofidry
Copy link
Member

@theofidry theofidry commented Dec 2, 2022

This PR:

@theofidry theofidry self-assigned this Dec 2, 2022
@maks-rafalko maks-rafalko self-requested a review December 4, 2022 23:16
@theofidry
Copy link
Member Author

Quick update: I made some progress, I think the problem is with PHPStan or to be more accurate it's extension installer.

I want to capture this on Box side and once it's done I'll update this.

I however don't think I'll be able to finish this before the end of the month.

@theofidry
Copy link
Member Author

I finally got a problematic minimal reproducer working and I now have an idea on how to fix it. So hopefully we'll be able to easily upgrade to 4.3.0 :)

@theofidry
Copy link
Member Author

So the issue right now is that we're trying to build the PHAR on the same systems are we're trying to test, which doesn't work because some are on PHP 8.0 and Box does not work on them.

I also think it's quite computationally wasteful to have to rebuild the PHAR all the time; would you be happy with having a pre-build that compiles the (test) PHAR and then we download it to execute the various e2e tests that are using that PHAR?

@maks-rafalko
Copy link
Member

I also think it's quite computationally wasteful to have to rebuild the PHAR all the time; would you be happy with having a pre-build that compiles the (test) PHAR and then we download it to execute the various e2e tests that are using that PHAR?

sounds good to me 👍

@theofidry theofidry marked this pull request as ready for review November 12, 2023 18:57
@@ -221,10 +221,12 @@ $(PSALM): Makefile

$(INFECTION): vendor $(shell find bin/ src/ -type f) $(BOX) box.json.dist .git/HEAD
composer require infection/codeception-adapter infection/phpspec-adapter
composer install --no-dev
Copy link
Member

Choose a reason for hiding this comment

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

out of curiosity: I thought it was done automatically by Box. Isn't it the case anymore?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is, unfortunately box-project/box#580 is still a problem; So even if Box removes the dev deps, at the moment, the dev plugins are still enabled hence Composer will try to load them (which will fail since the files are no longer here)

Copy link
Member Author

Choose a reason for hiding this comment

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

Will add a note about this

@maks-rafalko maks-rafalko changed the title Upgrade to Box 4.2 Upgrade to Box 4.5.1 Nov 12, 2023
@theofidry theofidry enabled auto-merge (squash) November 12, 2023 19:33
@theofidry theofidry merged commit 5d7a36f into infection:master Nov 12, 2023
55 checks passed
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.

None yet

2 participants