-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid php8 during composer usage atm
- Loading branch information
Showing
1 changed file
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32e6b59
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.
this is using composer 2 now, right? composer 2 should work properly.
32e6b59
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.
Yes, but DBAL seems not ready yet, so the cache clear post process fails:
[php] Fatal Compile Error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs)
See https://github.com/zikula/core/runs/1668626100?check_suite_focus=true
32e6b59
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.
I think this only happens in the
dev
env. if you specify--env=prod
I then I think it works.32e6b59
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.
and
cache:clear
has nothing to do with composer - it is simply running at symfony command.32e6b59
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.
see this as an example. I have errors locally when clearing the cache in the
dev
env also. so I just eliminated it. Although it seems to work in general use (in dev mode). Also I think the errors occurred for me before the jump to composer 2.32e6b59
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.
honestly I can't follow you. feel free to change
update-dependencies.yml
as you think it is correct 😄32e6b59
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.
Sorry - I guess I misunderstood some parts of that and went on a rabbit-trail. I think this is fixed by Doctrine/Dbal v3+
search on the error pointed to ->
but they all seem related to using php8 which this seems to fix? So what does that mean?
DBAL v3.0.0 is released. Might be worth checking to see.
32e6b59
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.
I think we don't get DBAL 3.0.0 yet because other vendors need to become compatible with it first. But good to know that a solution is going to arrive 😄