[wp-trac] [WordPress Trac] #48086: Add required extensions and libraries to composer.json
WordPress Trac
noreply at wordpress.org
Sat Sep 21 12:15:01 UTC 2019
#48086: Add required extensions and libraries to composer.json
-----------------------------------+-------------------------------------
Reporter: dingo_d | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: 5.2.3
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses: docs, coding-standards
-----------------------------------+-------------------------------------
Comment (by jrf):
> Also, I'll exclude the lock update, but I'm unsure if this will cause
any failures because composer validate complains about them not being up
to date with the changes.
I think you do need to include an updated `composer.lock` with this
change. Just run `composer update --lock` to only update the hash and not
update dependencies.
> So I should just put those libraries to ext- and use wildcard, or remove
them entirely (they seem to be required)? Not sure if there will be any
negative impact for that.
Yes. If they are extensions which are part of the PHP core which cannot be
disabled and PHP cannot be explicitly compiled without them, leaving them
out is fine.
Note: I have not checked the extensions listed. It looks very long to me -
definitely compared to what's in Site Health.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48086#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list