Commit ecffa56f authored by catch's avatar catch
Browse files

task: #3612448 Widen constraints in core-recommended for 11.3.x and 10.6.x

By: catch
By: longwave
By: godotislate
By: quietone
By: xjm
parent c4595651
Loading
Loading
Loading
Loading
Loading
+18 −2
Changes for composer/Generator/Builder/DrupalCoreRecommendedBuilder.php: 18 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -31,9 +31,12 @@ public function getPackage() {

    // Make a list of packages we do not want to put in the 'require' section.
    $remove_list = [
      'drupal/core',
      'wikimedia/composer-merge-plugin',
      'composer/installers',
      'drupal/core',
      // Guzzle regularly releases security fixes in only minor releases.
      'guzzlehttp/guzzle',
      'guzzlehttp/promises',
      'guzzlehttp/psr7',
      // This package contains no code other than interfaces, so allow sites
      // to use any compatible version without needing to switch off of
      // drupal/core-recommended.
@@ -42,6 +45,19 @@ public function getPackage() {
      // cycle. In order to allow supporting multiple PHPUnit major versions,
      // we cannot let it be pinned.
      'sebastian/diff',
      // Symfony polyfills are transitive dependency that almost exclusively
      // release security releases as minor releases.
      'symfony/polyfill-ctype',
      'symfony/polyfill-iconv',
      'symfony/polyfill-intl-grapheme',
      'symfony/polyfill-intl-idn',
      'symfony/polyfill-intl-normalizer',
      'symfony/polyfill-mbstring',
      'symfony/polyfill-php84',
      'symfony/polyfill-php85',
      // Twig regularly releases security fixes in only minor releases.
      'twig/twig',
      'wikimedia/composer-merge-plugin',
    ];

    // Copy the 'packages' section from the Composer lock into our 'require'
+1 −13
Changes for composer/Metapackage/CoreRecommended/composer.json: 1 added line, 13 removed lines.
Original line number Diff line number Diff line
@@ -12,9 +12,6 @@
        "composer/semver": "~3.4.4",
        "doctrine/lexer": "~3.0.1",
        "egulias/email-validator": "~4.0.4",
        "guzzlehttp/guzzle": "~7.15.1",
        "guzzlehttp/promises": "~2.5.1",
        "guzzlehttp/psr7": "~2.13.0",
        "masterminds/html5": "~2.10.0",
        "mck89/peast": "~v1.17.4",
        "pear/archive_tar": "~1.6.0",
@@ -41,14 +38,6 @@
        "symfony/http-kernel": "~v7.4.12",
        "symfony/mailer": "~v7.4.12",
        "symfony/mime": "~v7.4.12",
        "symfony/polyfill-ctype": "~v1.37.0",
        "symfony/polyfill-iconv": "~v1.37.0",
        "symfony/polyfill-intl-grapheme": "~v1.37.0",
        "symfony/polyfill-intl-idn": "~v1.38.1",
        "symfony/polyfill-intl-normalizer": "~v1.37.0",
        "symfony/polyfill-mbstring": "~v1.37.0",
        "symfony/polyfill-php84": "~v1.37.0",
        "symfony/polyfill-php85": "~v1.37.0",
        "symfony/process": "~v7.4.11",
        "symfony/psr-http-message-bridge": "~v7.4.8",
        "symfony/routing": "~v7.4.13",
@@ -59,7 +48,6 @@
        "symfony/validator": "~v7.4.10",
        "symfony/var-dumper": "~v7.4.8",
        "symfony/var-exporter": "~v7.4.9",
        "symfony/yaml": "~v7.4.12",
        "twig/twig": "~v3.27.0"
        "symfony/yaml": "~v7.4.12"
    }
}
+0 −1
Changes for core/tests/Drupal/Tests/Composer/Generator/BuilderTest.php: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -33,7 +33,6 @@ public static function builderTestData(): array {
          'require' =>
          [
            'drupal/core' => Composer::drupalVersionBranch(),
            'symfony/polyfill-ctype' => '~v1.12.0',
            'symfony/yaml' => '~v3.4.32',
          ],
          'conflict' =>