Documentation

CRM_Core_ComposerConfigTest extends TestCase
in package

Class CRM_Core_ComposerConfigTest

Tags
group

headless

Table of Contents

Methods

testHardLocks()  : void
Assert that `composer.lock` remains as expected.

Methods

testHardLocks()

Assert that `composer.lock` remains as expected.

public testHardLocks() : void

Intentions:

  • In civicrm-core, the composer.json is permissive. It can be updated to support different versions of Symfony.
  • In civicrm-core, the composer.lock is less permissive, driven by the interests of existing D7/WP/J sites.

Without this check, a well-meaning developer may upgrade the composer.lock, and no one would notice the change in policy because reviewers' eyes tend to gloss over composer.lock.


        
On this page

Search results