-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
Upgrade to Box 4.5.1 #1766
Conversation
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. |
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 :) |
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? |
sounds good to me 👍 |
@@ -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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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
This PR: