EasyCorp / EasyCorp/EasyAdminBundle
Ci failure on Symfony 8.0
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 4.3k
- Forks
- 1.1k
- Avg merge
- 8d 2h
- Merged PRs (30d)
- 11
Description
CI for Symfony 8.0 is currently failing with this error:
[critical] Error thrown while running command "doctrine:schema:create". Message: "The setSchema() method requires the DBAL Schema::edit() API which is not available in the current DBAL version. This feature requires doctrine/dbal ^4.5 or higher."
In GenerateSchemaEventArgs.php line 41:
The setSchema() method requires the DBAL Schema::edit() API which is not av
ailable in the current DBAL version. This feature requires doctrine/dbal ^4
.5 or higher.
This commit would fix it: https://github.com/symfony/symfony/commit/17d6bfc353fc9a43974d34686505f308903eebd4
The commit landed in Symfony 7.4 and 8.1 but not in 8.0. Not sure but since 8.0 is EOL the fix may never be released for 8.0 I guess. If that is correct then EA support for 8.0 must be dropped I guess.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the referenced Symfony commit with the Symfony 8.0 CI setup and inspect GenerateSchemaEventArgs.php around line 41. Run the Symfony 8.0 CI path that invokes doctrine:schema:create; done is a passing job or a documented decision to drop 8.0 support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, symfony
- Domain
- backend, ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100