Commit 5ff57db4 authored by Seamus Lee's avatar Seamus Lee

Update Unit test to ensure it locks in 2.8 and include polyfil

parent c837b233
......@@ -37,6 +37,7 @@
"dompdf/dompdf" : "0.8.*",
"electrolinux/phpquery": "^0.9.6",
"symfony/config": "^2.8.44 || ~3.0",
"symfony/polyfill-iconv": "~1.0",
"symfony/dependency-injection": "^2.8.44 || ~3.0",
"symfony/event-dispatcher": "^2.8.44 || ~3.0",
"symfony/filesystem": "^2.8.44 || ~3.0",
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "e89bfeb385572696a2193f830412c2bf",
"content-hash": "38f5450ab72f881008f5cd10bb588b6f",
"packages": [
{
"name": "civicrm/civicrm-cxn-rpc",
......@@ -1565,6 +1565,65 @@
],
"time": "2018-04-30T19:57:29+00:00"
},
{
"name": "symfony/polyfill-iconv",
"version": "v1.9.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-iconv.git",
"reference": "bcc0cd69185b8a5d8b4a5400c489ed3333bf9bb2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/bcc0cd69185b8a5d8b4a5400c489ed3333bf9bb2",
"reference": "bcc0cd69185b8a5d8b4a5400c489ed3333bf9bb2",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"suggest": {
"ext-iconv": "For best performance"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Iconv\\": ""
},
"files": [
"bootstrap.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill for the Iconv extension",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"iconv",
"polyfill",
"portable",
"shim"
],
"time": "2018-08-06T14:22:27+00:00"
},
{
"name": "symfony/process",
"version": "v2.8.44",
......
......@@ -21,12 +21,12 @@ class CRM_Core_ComposerConfigTest extends \PHPUnit_Framework_TestCase {
*/
public function testHardLocks() {
$hardLocks = array(
'symfony/config' => '/^v2\.6\./',
'symfony/dependency-injection' => '/^v2\.6\./',
'symfony/event-dispatcher' => '/^v2\.6\./',
'symfony/filesystem' => '/^v2\.6\./',
'symfony/finder' => '/^v2\.6\./',
'symfony/process' => '/^v2\.6\./',
'symfony/config' => '/^v2\.8\./',
'symfony/dependency-injection' => '/^v2\.8\./',
'symfony/event-dispatcher' => '/^v2\.8\./',
'symfony/filesystem' => '/^v2\.8\./',
'symfony/finder' => '/^v2\.8\./',
'symfony/process' => '/^v2\.8\./',
);
$lockFile = Civi::paths()->getPath('[civicrm.root]/composer.lock');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment