[wp-trac] [WordPress Trac] #48086: Add required extensions and libraries to composer.json

WordPress Trac noreply at wordpress.org
Sat Sep 21 09:10:20 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 dingo_d):

 IIRC adding the lib-... requirements is only useful when you actually add
 versions to them. Otherwise, set the ext-... with * instead (for those
 extensions which are not part of the PHP core).

 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.

 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48086#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list