mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[GH-ISSUE #940] composer create-project installing older version #514
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#514
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ConnectGrid on GitHub (Apr 3, 2024).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/940
Originally assigned to: @christer77 on GitHub.
🐛 Bugreport
Running
composer require jason-munro/cyphtinstalls the latest version (1.4.1 at time of this writing). However, callingcomposer create-project jason-munro/cyphtis installing v1.4.0, which has outdated dependencies that don't support PHP 8.3.x.I'm not familiar with enough the
create-projectcommand to know how to fix this.Version & Environment
Rev: []
OS: []
Steps to reproduce
composer create-project jason-munro/cyphtOn PHP 8.3, dependency validation fails.
@marclaporte commented on GitHub (Apr 4, 2024):
@christer77 has volunteered on this one.
@Shadow243 commented on GitHub (Apr 13, 2024):
@ConnectGrid It could be due to caching.
Did you try this:
composer clear-cacheand thencomposer create-project jason-munro/cypht??@marclaporte commented on GitHub (Apr 14, 2024):
What is the exact error message?
Cypht 1.4.x supports minimum PHP 5.6
Cypht 2.0.x (soon to be released) supports minimum PHP 7.4
It could be a pain to support PHP 5.6 to PHP 8.4 so we may want to put a max PHP version for Cypht 1.4.x
Can you try Cypht master? We did some work to support PHP 7.4 to PHP 8.4
@christer77 commented on GitHub (Apr 15, 2024):
ERROR MESSAGE :
The error is not related to cypht but to the htmlpurifier package which was fixed to "^4.13" while this version does not support php 8.3.x, so since 2022-09-16 to fix some bugs including php 8.3.x support htmlpurifier-releases
@christer77 commented on GitHub (Apr 15, 2024):
ERROR MESSAGE :

@marclaporte commented on GitHub (Apr 15, 2024):
ok, so the next version of HTML Purifier will support PHP 8.4
https://github.com/ezyang/htmlpurifier/pull/396
@christer77 commented on GitHub (Apr 15, 2024):
Exactly, and this since version 4.17, this means that I am returning the PR because this of which is 4.16 is limited to 8.3
@marclaporte commented on GitHub (Apr 15, 2024):
@christer77 You need to generate a composer.lock file as well.
@christer77 commented on GitHub (Apr 16, 2024):
It's noted @marclaporte
@marclaporte commented on GitHub (Apr 19, 2024):
@christer77 please see comments for https://github.com/cypht-org/cypht/pull/943
@christer77 commented on GitHub (Apr 21, 2024):
Consideration of comments [#943 ] in PR