composer.json - De-fork dependency, marcj/topsort
authorTim Otten <totten@civicrm.org>
Sun, 18 Feb 2018 21:27:07 +0000 (13:27 -0800)
committerTim Otten <totten@civicrm.org>
Sun, 18 Feb 2018 21:31:57 +0000 (13:31 -0800)
When this dependency was originally added, we needed a few patches (for PHP 5.3 compatibility)
and initially used a forked version of library. Of course, it's undesirable to use a fork
in the long term (e.g. harder to apply upgrades; harder to merge into other build processes).

In the intervening period, upstream has merged the patches for PHP 5.3, and
we've politely asked downstream to get over PHP 5.3, so we're covered on
both ends.  Let's get back on the mainline branch!

composer.json
composer.lock

index 5ac5d6427dad724552e7011a01f8d7e05df67b37..14d4e55664e6de353933ab691b9fbcbda340116b 100644 (file)
@@ -47,7 +47,7 @@
     "totten/ca-config": "~17.05",
     "zetacomponents/base": "1.7.*",
     "zetacomponents/mail": "dev-1.7-civi",
-    "marcj/topsort": "dev-1.0-php53",
+    "marcj/topsort": "~1.1",
     "phpoffice/phpword": "^0.13.0",
     "pear/Validate_Finance_CreditCard": "dev-master",
     "civicrm/civicrm-cxn-rpc": "~0.17.07.01",
     {
       "type": "git",
       "url": "https://github.com/civicrm/zetacomponents-mail.git"
-    },
-    {
-      "type": "git",
-      "url": "https://github.com/totten/topsort.php.git"
     }
   ],
   "scripts": {
index 7a81794d0534b753ef09fd2ae92932dcade0ee2d..a23a94dc1be62a4ab9e99839322ed3a34651d3a7 100644 (file)
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
         "This file is @generated automatically"
     ],
-    "content-hash": "3aaaa7a6146043643e9fe2cbc8030cca",
+    "content-hash": "a278afcb51b1e87282f6373cdc313769",
     "packages": [
         {
             "name": "civicrm/civicrm-cxn-rpc",
         },
         {
             "name": "marcj/topsort",
-            "version": "dev-1.0-php53",
+            "version": "1.1.0",
             "source": {
                 "type": "git",
-                "url": "https://github.com/totten/topsort.php.git",
-                "reference": "2765723d36f0e536d987e42cbc60de52209212bd"
+                "url": "https://github.com/marcj/topsort.php.git",
+                "reference": "387086c2db60ee0a27ac5df588c0f0b30c6bdc4b"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://api.github.com/repos/marcj/topsort.php/zipball/387086c2db60ee0a27ac5df588c0f0b30c6bdc4b",
+                "reference": "387086c2db60ee0a27ac5df588c0f0b30c6bdc4b",
+                "shasum": ""
             },
             "require": {
-                "php": ">=5.3"
+                "php": ">=5.4"
             },
             "require-dev": {
                 "codeclimate/php-test-reporter": "dev-master",
                     "MJS\\TopSort\\Tests\\": "tests/Tests/"
                 }
             },
+            "notification-url": "https://packagist.org/downloads/",
             "license": [
                 "MIT"
             ],
                 "topological sort",
                 "topsort"
             ],
-            "time": "2016-03-25 21:38:05"
+            "time": "2016-11-19T14:58:11+00:00"
         },
         {
             "name": "pclzip/pclzip",
                 }
             ],
             "description": "Validation class for credit cards.",
-            "time": "2016-09-12 08:01:21"
+            "time": "2016-09-12T08:01:21+00:00"
         },
         {
             "name": "phenx/php-font-lib",
             ],
             "description": "The component allows you construct and/or parse Mail messages conforming to  the mail standard. It has support for attachments, multipart messages and HTML  mail. It also interfaces with SMTP to send mail or IMAP, POP3 or mbox to  retrieve e-mail.",
             "homepage": "https://github.com/zetacomponents",
-            "time": "2017-03-14 06:51:24"
+            "time": "2017-03-14T06:51:24+00:00"
         }
     ],
     "packages-dev": [],
     "minimum-stability": "stable",
     "stability-flags": {
         "zetacomponents/mail": 20,
-        "marcj/topsort": 20,
         "pear/validate_finance_creditcard": 20
     },
     "prefer-stable": false,