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

Error with PHP 8.4 #546

Closed
COil opened this issue Oct 28, 2024 · 8 comments
Closed

Error with PHP 8.4 #546

COil opened this issue Oct 28, 2024 · 8 comments

Comments

@COil
Copy link

COil commented Oct 28, 2024

When using PHP 8.4, we have the following error (GitHub Action).

Run castor test

In ErrorHandler.php line 246:
                            
  Unknown error type: 2048  
                            

Error: Process completed with exit code 1.
@lyrixx
Copy link
Member

lyrixx commented Oct 28, 2024

Could you create a minimal reproducer ?

@COil
Copy link
Author

COil commented Oct 28, 2024

@lyrixx
Copy link
Member

lyrixx commented Oct 28, 2024

This is not really a minimal reproducer :/

Anyway, could you try this PR: #542

@COil
Copy link
Author

COil commented Oct 28, 2024

But this this not my code, this is the castor integration on GitHub action thanks to shivammathur/setup-php. I haven't installed PHP 8.4 locally yet.

@lyrixx
Copy link
Member

lyrixx commented Oct 29, 2024

This not really helpful 😞
Anyway, could you try the latest release? https://github.com/jolicode/castor/releases/tag/v0.19.0

@COil
Copy link
Author

COil commented Oct 29, 2024

Hello, I don't have the right to update shivammathur/setup-php.

@lyrixx
Copy link
Member

lyrixx commented Oct 29, 2024

  1. IIRC, I'm pretty sure it use the latest version by default. The only things you have to do is to restart the job
  2. Otherwise, I'm sure it's open source and it accept PR
  3. Finally, we also maintain a github action to install a static castor

@COil
Copy link
Author

COil commented Oct 29, 2024

@COil COil closed this as completed Oct 29, 2024
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

No branches or pull requests

2 participants