You are here

protected property PackageManagerTest::$packages in Ludwig 8

Package fixtures.

Type: array

File

tests/src/Unit/PackageManagerTest.php, line 27

Class

PackageManagerTest
@coversDefaultClass \Drupal\ludwig\PackageManager @group ludwig

Namespace

Drupal\Tests\ludwig\Unit

Code

protected $packages = [
  'extension' => [
    'lightning' => [
      'require' => [
        'symfony/css-selector' => [
          'version' => 'v3.2.8',
          'url' => 'https://github.com/symfony/css-selector/archive/v3.2.8.zip',
        ],
      ],
    ],
    'test1' => [
      'require' => [
        'symfony/intl' => [
          'version' => 'v3.2.8',
          'url' => 'https://github.com/symfony/intl/archive/v3.2.8.zip',
        ],
      ],
    ],
    'test2' => [
      'require' => [
        'symfony/config' => [
          'version' => 'v3.2.8',
          'url' => 'https://github.com/symfony/config/archive/v3.2.8.zip',
        ],
      ],
    ],
    'test3a' => [
      'require' => [
        'html2text/html2text' => [
          'version' => 'v4.3.1',
          'url' => 'https://github.com/mtibben/html2text/archive/4.3.1.zip',
        ],
      ],
    ],
    'test3b' => [
      'require' => [
        'html2text/html2text' => [
          'version' => 'v4.0.1',
          'url' => 'https://github.com/mtibben/html2text/archive/4.0.1.zip',
        ],
      ],
    ],
    'test3c' => [
      'require' => [
        'html2text/html2text' => [
          'version' => 'v4.3.1',
          'url' => 'https://github.com/mtibben/html2text/archive/4.3.1.zip',
        ],
      ],
    ],
    'entity_print' => [
      'require' => [
        'dompdf/dompdf' => [
          'version' => 'v0.8.6',
          'url' => 'https://github.com/dompdf/dompdf/releases/download/v0.8.6/dompdf_0-8-6.zip',
          'disable_warnings' => 'TRUE',
        ],
      ],
    ],
    'feeds_ex' => [
      'require' => [
        'querypath/QueryPath' => [
          'version' => 'v3.0.5',
          'url' => 'https://github.com/technosophos/querypath/archive/3.0.5.zip',
        ],
      ],
    ],
    'geoip' => [
      'require' => [
        'maxmind/web-service-common' => [
          'version' => 'v0.8.0',
          'url' => 'https://github.com/maxmind/web-service-common-php/archive/v0.8.0.zip',
        ],
      ],
    ],
  ],
  'installed' => [
    'symfony/config' => [
      'name' => 'symfony/config',
      'description' => 'Symfony Config Component',
      'homepage' => 'http://symfony.com',
      'autoload' => [
        'psr-4' => [
          'Symfony\\Component\\Config\\' => 'src',
        ],
      ],
    ],
    'html2text/html2text' => [
      'name' => 'html2text/html2text',
      'description' => 'Converts HTML to formatted plain text',
      'autoload' => [
        'psr-4' => [
          'Html2Text\\' => [
            'src/',
            'test/',
          ],
        ],
      ],
    ],
    'dompdf/dompdf' => [
      'name' => 'dompdf/dompdf',
      'description' => 'DOMPDF is a CSS 2.1 compliant HTML to PDF converter',
      'homepage' => 'https://github.com/dompdf/dompdf',
      'autoload' => [
        'psr-4' => [
          'Dompdf\\' => 'src/',
        ],
        'classmap' => [
          'lib/',
        ],
      ],
    ],
    'querypath/QueryPath' => [
      'name' => 'querypath/QueryPath',
      'description' => 'HTML/XML querying (CSS 4 or XPath) and processing (like jQuery)',
      'homepage' => 'https://github.com/technosophos/querypath',
      'autoload' => [
        'psr-0' => [
          'QueryPath' => 'src/',
        ],
        'files' => [
          'src/qp_functions.php',
        ],
      ],
    ],
    'maxmind/web-service-common' => [
      'name' => 'maxmind/web-service-common',
      'description' => 'Internal MaxMind Web Service API',
      'homepage' => 'https://github.com/maxmind/web-service-common-php',
      'autoload' => [
        'psr-4' => [
          'MaxMind\\Exception\\' => 'src/Exception',
          'MaxMind\\WebService\\' => 'src/WebService',
        ],
      ],
    ],
  ],
];