Force Twig 2.0 for now (testing and compatibility)

This commit is contained in:
Andy Miller
2019-05-29 10:16:03 +02:00
parent e0d1385061
commit bc93e70d11
2 changed files with 90 additions and 78 deletions

View File

@@ -24,7 +24,7 @@
"kodus/psr7-server": "*", "kodus/psr7-server": "*",
"nyholm/psr7": "^1.0", "nyholm/psr7": "^1.0",
"twig/twig": "~1.40", "twig/twig": "~2.0",
"erusev/parsedown": "1.6.4", "erusev/parsedown": "1.6.4",
"erusev/parsedown-extra": "~0.7", "erusev/parsedown-extra": "~0.7",
"symfony/yaml": "~4.2", "symfony/yaml": "~4.2",
@@ -49,7 +49,7 @@
"miljar/php-exif": "^0.6.4", "miljar/php-exif": "^0.6.4",
"composer/ca-bundle": "^1.0", "composer/ca-bundle": "^1.0",
"dragonmantank/cron-expression": "^1.2", "dragonmantank/cron-expression": "^1.2",
"phive/twig-extensions-deferred": "^1.0", "phive/twig-extensions-deferred": "^2.0",
"willdurand/negotiation": "^2.3", "willdurand/negotiation": "^2.3",
"itsgoingd/clockwork": "dev-master" "itsgoingd/clockwork": "dev-master"
}, },

164
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "b33c701d98f2944f5396b14688b6063e", "content-hash": "493fc4e440a9ff186cafac7d04296987",
"packages": [ "packages": [
{ {
"name": "antoligy/dom-string-iterators", "name": "antoligy/dom-string-iterators",
@@ -664,12 +664,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/itsgoingd/clockwork.git", "url": "https://github.com/itsgoingd/clockwork.git",
"reference": "2bdf89ecf1ba893f5d0b2e668b94ce167d887216" "reference": "71f01a566211397afa67b0fa9f8b2405761c3dad"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/itsgoingd/clockwork/zipball/2bdf89ecf1ba893f5d0b2e668b94ce167d887216", "url": "https://api.github.com/repos/itsgoingd/clockwork/zipball/71f01a566211397afa67b0fa9f8b2405761c3dad",
"reference": "2bdf89ecf1ba893f5d0b2e668b94ce167d887216", "reference": "71f01a566211397afa67b0fa9f8b2405761c3dad",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -717,7 +717,7 @@
"source": "https://github.com/itsgoingd/clockwork/tree/master", "source": "https://github.com/itsgoingd/clockwork/tree/master",
"issues": "https://github.com/itsgoingd/clockwork/issues" "issues": "https://github.com/itsgoingd/clockwork/issues"
}, },
"time": "2019-05-25T20:46:20+00:00" "time": "2019-05-27T11:22:34+00:00"
}, },
{ {
"name": "kodus/psr7-server", "name": "kodus/psr7-server",
@@ -1202,20 +1202,23 @@
}, },
{ {
"name": "phive/twig-extensions-deferred", "name": "phive/twig-extensions-deferred",
"version": "v1.0.2", "version": "v2.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/rybakit/twig-deferred-extension.git", "url": "https://github.com/rybakit/twig-deferred-extension.git",
"reference": "5a2426d622afa74034e754ca5ea1d1ff7887627f" "reference": "0c2da51bcaeefac09d94d9125d837f8f63b01325"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/rybakit/twig-deferred-extension/zipball/5a2426d622afa74034e754ca5ea1d1ff7887627f", "url": "https://api.github.com/repos/rybakit/twig-deferred-extension/zipball/0c2da51bcaeefac09d94d9125d837f8f63b01325",
"reference": "5a2426d622afa74034e754ca5ea1d1ff7887627f", "reference": "0c2da51bcaeefac09d94d9125d837f8f63b01325",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"twig/twig": "~1.18" "twig/twig": "^2.8"
},
"require-dev": {
"phpunit/phpunit": "^6.5"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@@ -1241,7 +1244,7 @@
"lazy", "lazy",
"twig" "twig"
], ],
"time": "2017-03-17T21:39:21+00:00" "time": "2019-05-24T21:57:45+00:00"
}, },
{ {
"name": "php-http/message-factory", "name": "php-http/message-factory",
@@ -1835,16 +1838,16 @@
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v4.2.8", "version": "v4.2.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "e2840bb38bddad7a0feaf85931e38fdcffdb2f81" "reference": "7a293c9a4587a92e6a0e81edb0bea54071b1b99d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/e2840bb38bddad7a0feaf85931e38fdcffdb2f81", "url": "https://api.github.com/repos/symfony/console/zipball/7a293c9a4587a92e6a0e81edb0bea54071b1b99d",
"reference": "e2840bb38bddad7a0feaf85931e38fdcffdb2f81", "reference": "7a293c9a4587a92e6a0e81edb0bea54071b1b99d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1903,25 +1906,32 @@
], ],
"description": "Symfony Console Component", "description": "Symfony Console Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-04-08T14:23:48+00:00" "time": "2019-05-09T09:19:46+00:00"
}, },
{ {
"name": "symfony/contracts", "name": "symfony/contracts",
"version": "v1.1.0", "version": "v1.1.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/contracts.git", "url": "https://github.com/symfony/contracts.git",
"reference": "d3636025e8253c6144358ec0a62773cae588395b" "reference": "b6e291a08e6b002fb56aa6f3e2a2beb6674d2b2f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/contracts/zipball/d3636025e8253c6144358ec0a62773cae588395b", "url": "https://api.github.com/repos/symfony/contracts/zipball/b6e291a08e6b002fb56aa6f3e2a2beb6674d2b2f",
"reference": "d3636025e8253c6144358ec0a62773cae588395b", "reference": "b6e291a08e6b002fb56aa6f3e2a2beb6674d2b2f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.1.3" "php": "^7.1.3"
}, },
"replace": {
"symfony/cache-contracts": "self.version",
"symfony/event-dispatcher-contracts": "self.version",
"symfony/http-client-contracts": "self.version",
"symfony/service-contracts": "self.version",
"symfony/translation-contracts": "self.version"
},
"require-dev": { "require-dev": {
"psr/cache": "^1.0", "psr/cache": "^1.0",
"psr/container": "^1.0", "psr/container": "^1.0",
@@ -1930,11 +1940,12 @@
"suggest": { "suggest": {
"psr/cache": "When using the Cache contracts", "psr/cache": "When using the Cache contracts",
"psr/container": "When using the Service contracts", "psr/container": "When using the Service contracts",
"symfony/cache-contracts-implementation": "", "psr/event-dispatcher": "When using the EventDispatcher contracts",
"symfony/cache-implementation": "",
"symfony/event-dispatcher-implementation": "", "symfony/event-dispatcher-implementation": "",
"symfony/http-client-contracts-implementation": "", "symfony/http-client-implementation": "",
"symfony/service-contracts-implementation": "", "symfony/service-implementation": "",
"symfony/translation-contracts-implementation": "" "symfony/translation-implementation": ""
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@@ -1974,11 +1985,11 @@
"interoperability", "interoperability",
"standards" "standards"
], ],
"time": "2019-04-27T14:29:50+00:00" "time": "2019-05-28T07:50:59+00:00"
}, },
{ {
"name": "symfony/event-dispatcher", "name": "symfony/event-dispatcher",
"version": "v4.2.8", "version": "v4.2.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/event-dispatcher.git", "url": "https://github.com/symfony/event-dispatcher.git",
@@ -2331,16 +2342,16 @@
}, },
{ {
"name": "symfony/process", "name": "symfony/process",
"version": "v4.2.8", "version": "v4.2.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/process.git", "url": "https://github.com/symfony/process.git",
"reference": "8cf39fb4ccff793340c258ee7760fd40bfe745fe" "reference": "57f11a07b34f009ef64a3f95ad218f895ad95374"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/8cf39fb4ccff793340c258ee7760fd40bfe745fe", "url": "https://api.github.com/repos/symfony/process/zipball/57f11a07b34f009ef64a3f95ad218f895ad95374",
"reference": "8cf39fb4ccff793340c258ee7760fd40bfe745fe", "reference": "57f11a07b34f009ef64a3f95ad218f895ad95374",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2376,11 +2387,11 @@
], ],
"description": "Symfony Process Component", "description": "Symfony Process Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-04-10T16:20:36+00:00" "time": "2019-05-26T20:47:34+00:00"
}, },
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
"version": "v4.2.8", "version": "v4.2.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-dumper.git", "url": "https://github.com/symfony/var-dumper.git",
@@ -2456,7 +2467,7 @@
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v4.2.8", "version": "v4.2.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
@@ -2515,21 +2526,22 @@
}, },
{ {
"name": "twig/twig", "name": "twig/twig",
"version": "v1.41.0", "version": "v2.10.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/twigphp/Twig.git", "url": "https://github.com/twigphp/Twig.git",
"reference": "575cd5028362da591facde1ef5d7b94553c375c9" "reference": "5240e21982885b76629552d83b4ebb6d41ccde6b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/575cd5028362da591facde1ef5d7b94553c375c9", "url": "https://api.github.com/repos/twigphp/Twig/zipball/5240e21982885b76629552d83b4ebb6d41ccde6b",
"reference": "575cd5028362da591facde1ef5d7b94553c375c9", "reference": "5240e21982885b76629552d83b4ebb6d41ccde6b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.4.0", "php": "^7.0",
"symfony/polyfill-ctype": "^1.8" "symfony/polyfill-ctype": "^1.8",
"symfony/polyfill-mbstring": "^1.3"
}, },
"require-dev": { "require-dev": {
"psr/container": "^1.0", "psr/container": "^1.0",
@@ -2539,7 +2551,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.41-dev" "dev-master": "2.10-dev"
} }
}, },
"autoload": { "autoload": {
@@ -2577,7 +2589,7 @@
"keywords": [ "keywords": [
"templating" "templating"
], ],
"time": "2019-05-14T11:59:08+00:00" "time": "2019-05-14T12:03:52+00:00"
}, },
{ {
"name": "willdurand/negotiation", "name": "willdurand/negotiation",
@@ -2859,16 +2871,16 @@
}, },
{ {
"name": "composer/xdebug-handler", "name": "composer/xdebug-handler",
"version": "1.3.2", "version": "1.3.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/xdebug-handler.git", "url": "https://github.com/composer/xdebug-handler.git",
"reference": "d17708133b6c276d6e42ef887a877866b909d892" "reference": "46867cbf8ca9fb8d60c506895449eb799db1184f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/xdebug-handler/zipball/d17708133b6c276d6e42ef887a877866b909d892", "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/46867cbf8ca9fb8d60c506895449eb799db1184f",
"reference": "d17708133b6c276d6e42ef887a877866b909d892", "reference": "46867cbf8ca9fb8d60c506895449eb799db1184f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2899,7 +2911,7 @@
"Xdebug", "Xdebug",
"performance" "performance"
], ],
"time": "2019-01-28T20:25:53+00:00" "time": "2019-05-27T17:52:04+00:00"
}, },
{ {
"name": "doctrine/instantiator", "name": "doctrine/instantiator",
@@ -4225,16 +4237,16 @@
}, },
{ {
"name": "phpstan/phpdoc-parser", "name": "phpstan/phpdoc-parser",
"version": "0.3.3", "version": "0.3.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git", "url": "https://github.com/phpstan/phpdoc-parser.git",
"reference": "472d3161d289f652713a5e353532fa4592663a57" "reference": "ab518a5fc8f1d90f58bd2c5552ba915e2c477b66"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/472d3161d289f652713a5e353532fa4592663a57", "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/ab518a5fc8f1d90f58bd2c5552ba915e2c477b66",
"reference": "472d3161d289f652713a5e353532fa4592663a57", "reference": "ab518a5fc8f1d90f58bd2c5552ba915e2c477b66",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -4268,20 +4280,20 @@
"MIT" "MIT"
], ],
"description": "PHPDoc parser with support for nullable, intersection and generic types", "description": "PHPDoc parser with support for nullable, intersection and generic types",
"time": "2019-04-23T20:26:19+00:00" "time": "2019-05-28T11:40:00+00:00"
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "0.11.7", "version": "0.11.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "32d87d746c70785f78d239855782d27cde0eb6ee" "reference": "fcf0081bf3a254ddacffa03e78be87842d0c09c9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/32d87d746c70785f78d239855782d27cde0eb6ee", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/fcf0081bf3a254ddacffa03e78be87842d0c09c9",
"reference": "32d87d746c70785f78d239855782d27cde0eb6ee", "reference": "fcf0081bf3a254ddacffa03e78be87842d0c09c9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -4294,7 +4306,7 @@
"nette/utils": "^2.4.5 || ^3.0", "nette/utils": "^2.4.5 || ^3.0",
"nikic/php-parser": "^4.0.2", "nikic/php-parser": "^4.0.2",
"php": "~7.1", "php": "~7.1",
"phpstan/phpdoc-parser": "^0.3", "phpstan/phpdoc-parser": "^0.3.4",
"symfony/console": "~3.2 || ~4.0", "symfony/console": "~3.2 || ~4.0",
"symfony/finder": "~3.2 || ~4.0" "symfony/finder": "~3.2 || ~4.0"
}, },
@@ -4342,26 +4354,26 @@
"MIT" "MIT"
], ],
"description": "PHPStan - PHP Static Analysis Tool", "description": "PHPStan - PHP Static Analysis Tool",
"time": "2019-05-19T17:36:42+00:00" "time": "2019-05-28T19:58:33+00:00"
}, },
{ {
"name": "phpstan/phpstan-deprecation-rules", "name": "phpstan/phpstan-deprecation-rules",
"version": "0.11.1", "version": "0.11.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan-deprecation-rules.git", "url": "https://github.com/phpstan/phpstan-deprecation-rules.git",
"reference": "4991f7599646f97f7a2fc2b74ead018f2104ac8e" "reference": "5685fe48873efc5af1f2cc95d9c1b8ae82c728fe"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/4991f7599646f97f7a2fc2b74ead018f2104ac8e", "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/5685fe48873efc5af1f2cc95d9c1b8ae82c728fe",
"reference": "4991f7599646f97f7a2fc2b74ead018f2104ac8e", "reference": "5685fe48873efc5af1f2cc95d9c1b8ae82c728fe",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"nikic/php-parser": "^4.0", "nikic/php-parser": "^4.0",
"php": "~7.1", "php": "~7.1",
"phpstan/phpstan": "^0.11.4" "phpstan/phpstan": "^0.11.8"
}, },
"require-dev": { "require-dev": {
"consistence/coding-standard": "^3.0.1", "consistence/coding-standard": "^3.0.1",
@@ -4393,7 +4405,7 @@
"MIT" "MIT"
], ],
"description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.",
"time": "2019-05-19T19:55:34+00:00" "time": "2019-05-28T19:54:04+00:00"
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
@@ -4649,16 +4661,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "7.5.11", "version": "7.5.12",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "64cb33f5b520da490a7b13149d39b43cf3c890c6" "reference": "9ba59817745b0fe0c1a5a3032dfd4a6d2994ad1c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/64cb33f5b520da490a7b13149d39b43cf3c890c6", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9ba59817745b0fe0c1a5a3032dfd4a6d2994ad1c",
"reference": "64cb33f5b520da490a7b13149d39b43cf3c890c6", "reference": "9ba59817745b0fe0c1a5a3032dfd4a6d2994ad1c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -4729,7 +4741,7 @@
"testing", "testing",
"xunit" "xunit"
], ],
"time": "2019-05-14T04:53:02+00:00" "time": "2019-05-28T11:59:40+00:00"
}, },
{ {
"name": "sebastian/code-unit-reverse-lookup", "name": "sebastian/code-unit-reverse-lookup",
@@ -5299,7 +5311,7 @@
}, },
{ {
"name": "symfony/browser-kit", "name": "symfony/browser-kit",
"version": "v4.2.8", "version": "v4.2.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/browser-kit.git", "url": "https://github.com/symfony/browser-kit.git",
@@ -5356,7 +5368,7 @@
}, },
{ {
"name": "symfony/css-selector", "name": "symfony/css-selector",
"version": "v4.2.8", "version": "v4.2.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/css-selector.git", "url": "https://github.com/symfony/css-selector.git",
@@ -5409,7 +5421,7 @@
}, },
{ {
"name": "symfony/dom-crawler", "name": "symfony/dom-crawler",
"version": "v4.2.8", "version": "v4.2.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/dom-crawler.git", "url": "https://github.com/symfony/dom-crawler.git",
@@ -5466,16 +5478,16 @@
}, },
{ {
"name": "symfony/finder", "name": "symfony/finder",
"version": "v4.2.8", "version": "v4.2.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/finder.git", "url": "https://github.com/symfony/finder.git",
"reference": "e45135658bd6c14b61850bf131c4f09a55133f69" "reference": "e0ff582c4b038567a7c6630f136488b1d793e6a9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/e45135658bd6c14b61850bf131c4f09a55133f69", "url": "https://api.github.com/repos/symfony/finder/zipball/e0ff582c4b038567a7c6630f136488b1d793e6a9",
"reference": "e45135658bd6c14b61850bf131c4f09a55133f69", "reference": "e0ff582c4b038567a7c6630f136488b1d793e6a9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -5511,7 +5523,7 @@
], ],
"description": "Symfony Finder Component", "description": "Symfony Finder Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-04-06T13:51:08+00:00" "time": "2019-05-26T20:47:34+00:00"
}, },
{ {
"name": "theseer/tokenizer", "name": "theseer/tokenizer",