1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-22 08:30:26 +01:00

[ticket/16668] Do not include topological sort everywhere

PHPBB3-16668
This commit is contained in:
Máté Bartus 2021-01-03 13:30:07 +01:00
parent 71441e3fb0
commit 1cf758250a
3 changed files with 9 additions and 16 deletions

View File

@ -29,7 +29,7 @@
"ext-json": "*",
"ext-mbstring": "*",
"bantu/ini-get-wrapper": "~1.0",
"chita/topological_sort": "^1.0",
"chita/topological_sort": "^2.0",
"composer/composer": "^2.0",
"composer/installers": "^1.9",
"composer/package-versions-deprecated": "^1.11",

22
phpBB/composer.lock generated
View File

@ -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": "569d46cb51aed67c281b0425c2fc0381",
"content-hash": "28a6c105dc6e78c65f88c1926eb8b1b7",
"packages": [
{
"name": "bantu/ini-get-wrapper",
@ -42,16 +42,16 @@
},
{
"name": "chita/topological_sort",
"version": "v1.0.2",
"version": "v2.0.1",
"source": {
"type": "git",
"url": "https://github.com/CHItA/TopologicalSort.git",
"reference": "36918dd6b1f48d9deeccf84289184c9e5e91ef4b"
"reference": "34ed1f8459b597ec49bf6dd04a6f837691bb2d5d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/CHItA/TopologicalSort/zipball/36918dd6b1f48d9deeccf84289184c9e5e91ef4b",
"reference": "36918dd6b1f48d9deeccf84289184c9e5e91ef4b",
"url": "https://api.github.com/repos/CHItA/TopologicalSort/zipball/34ed1f8459b597ec49bf6dd04a6f837691bb2d5d",
"reference": "34ed1f8459b597ec49bf6dd04a6f837691bb2d5d",
"shasum": ""
},
"require": {
@ -61,14 +61,6 @@
"phpunit/phpunit": "^7.0"
},
"type": "library",
"autoload": {
"psr-4": {
"CHItA\\TopologicalSort\\": "src/"
},
"files": [
"src/TopologicalSort.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
@ -82,9 +74,9 @@
"description": "Topological sort function",
"support": {
"issues": "https://github.com/CHItA/TopologicalSort/issues",
"source": "https://github.com/CHItA/TopologicalSort/tree/v1.0.2"
"source": "https://github.com/CHItA/TopologicalSort/tree/v2.0.1"
},
"time": "2020-12-31T15:47:10+00:00"
"time": "2021-01-03T12:12:53+00:00"
},
{
"name": "composer/ca-bundle",

View File

@ -116,6 +116,7 @@ class schema_generator
try
{
require_once __DIR__ . '/../../../vendor/chita/topological_sort/src/TopologicalSort.php';
topologicalSort($migrations, $edges, true, $apply_for_each, $filter);
}
catch (LogicException $e)