fix(installer): numbers from Gb + composer upgrade
Some checks failed
/ test (push) Has been cancelled

This commit is contained in:
mrflos 2024-09-23 18:51:40 +03:00
parent a7a2f8f31f
commit cc25c7f947
3 changed files with 138 additions and 134 deletions

2
.gitignore vendored
View file

@ -1,3 +1,5 @@
.env .env
/vendor/* /vendor/*
yeswiki-list.csv yeswiki-list.csv
.php-cs-fixer.cache
.DS_Store

261
composer.lock generated
View file

@ -8,16 +8,16 @@
"packages": [ "packages": [
{ {
"name": "amphp/amp", "name": "amphp/amp",
"version": "v3.0.0", "version": "v3.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/amp.git", "url": "https://github.com/amphp/amp.git",
"reference": "aaf0ec1d5a2c20b523258995a10e80c1fb765871" "reference": "138801fb68cfc9c329da8a7b39d01ce7291ee4b0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/amp/zipball/aaf0ec1d5a2c20b523258995a10e80c1fb765871", "url": "https://api.github.com/repos/amphp/amp/zipball/138801fb68cfc9c329da8a7b39d01ce7291ee4b0",
"reference": "aaf0ec1d5a2c20b523258995a10e80c1fb765871", "reference": "138801fb68cfc9c329da8a7b39d01ce7291ee4b0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -27,7 +27,7 @@
"require-dev": { "require-dev": {
"amphp/php-cs-fixer-config": "^2", "amphp/php-cs-fixer-config": "^2",
"phpunit/phpunit": "^9", "phpunit/phpunit": "^9",
"psalm/phar": "^4.13" "psalm/phar": "5.23.1"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -77,7 +77,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/amphp/amp/issues", "issues": "https://github.com/amphp/amp/issues",
"source": "https://github.com/amphp/amp/tree/v3.0.0" "source": "https://github.com/amphp/amp/tree/v3.0.2"
}, },
"funding": [ "funding": [
{ {
@ -85,20 +85,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-12-18T16:52:44+00:00" "time": "2024-05-10T21:37:46+00:00"
}, },
{ {
"name": "amphp/byte-stream", "name": "amphp/byte-stream",
"version": "v2.1.0", "version": "v2.1.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/byte-stream.git", "url": "https://github.com/amphp/byte-stream.git",
"reference": "0a4b0e80dad92c75e6131f8ad253919211540338" "reference": "daa00f2efdbd71565bf64ffefa89e37542addf93"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/byte-stream/zipball/0a4b0e80dad92c75e6131f8ad253919211540338", "url": "https://api.github.com/repos/amphp/byte-stream/zipball/daa00f2efdbd71565bf64ffefa89e37542addf93",
"reference": "0a4b0e80dad92c75e6131f8ad253919211540338", "reference": "daa00f2efdbd71565bf64ffefa89e37542addf93",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -114,7 +114,7 @@
"amphp/php-cs-fixer-config": "^2", "amphp/php-cs-fixer-config": "^2",
"amphp/phpunit-util": "^3", "amphp/phpunit-util": "^3",
"phpunit/phpunit": "^9", "phpunit/phpunit": "^9",
"psalm/phar": "^5.4" "psalm/phar": "5.22.1"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -152,7 +152,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/amphp/byte-stream/issues", "issues": "https://github.com/amphp/byte-stream/issues",
"source": "https://github.com/amphp/byte-stream/tree/v2.1.0" "source": "https://github.com/amphp/byte-stream/tree/v2.1.1"
}, },
"funding": [ "funding": [
{ {
@ -160,20 +160,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-11-19T14:34:16+00:00" "time": "2024-02-17T04:49:38+00:00"
}, },
{ {
"name": "amphp/cache", "name": "amphp/cache",
"version": "v2.0.0", "version": "v2.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/cache.git", "url": "https://github.com/amphp/cache.git",
"reference": "218bb3888d380eb9dd926cd06f803573c84391d3" "reference": "46912e387e6aa94933b61ea1ead9cf7540b7797c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/cache/zipball/218bb3888d380eb9dd926cd06f803573c84391d3", "url": "https://api.github.com/repos/amphp/cache/zipball/46912e387e6aa94933b61ea1ead9cf7540b7797c",
"reference": "218bb3888d380eb9dd926cd06f803573c84391d3", "reference": "46912e387e6aa94933b61ea1ead9cf7540b7797c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -217,7 +217,7 @@
"homepage": "https://amphp.org/cache", "homepage": "https://amphp.org/cache",
"support": { "support": {
"issues": "https://github.com/amphp/cache/issues", "issues": "https://github.com/amphp/cache/issues",
"source": "https://github.com/amphp/cache/tree/v2.0.0" "source": "https://github.com/amphp/cache/tree/v2.0.1"
}, },
"funding": [ "funding": [
{ {
@ -225,20 +225,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-01-09T21:04:12+00:00" "time": "2024-04-19T03:38:06+00:00"
}, },
{ {
"name": "amphp/dns", "name": "amphp/dns",
"version": "v2.1.0", "version": "v2.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/dns.git", "url": "https://github.com/amphp/dns.git",
"reference": "c3b518f321f26e786554480de580f06b9f34d1cd" "reference": "758266b0ea7470e2e42cd098493bc6d6c7100cf7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/dns/zipball/c3b518f321f26e786554480de580f06b9f34d1cd", "url": "https://api.github.com/repos/amphp/dns/zipball/758266b0ea7470e2e42cd098493bc6d6c7100cf7",
"reference": "c3b518f321f26e786554480de580f06b9f34d1cd", "reference": "758266b0ea7470e2e42cd098493bc6d6c7100cf7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -246,7 +246,7 @@
"amphp/byte-stream": "^2", "amphp/byte-stream": "^2",
"amphp/cache": "^2", "amphp/cache": "^2",
"amphp/parser": "^1", "amphp/parser": "^1",
"amphp/windows-registry": "^1", "amphp/windows-registry": "^1.0.1",
"daverandom/libdns": "^2.0.2", "daverandom/libdns": "^2.0.2",
"ext-filter": "*", "ext-filter": "*",
"php": ">=8.1", "php": ">=8.1",
@ -256,7 +256,7 @@
"amphp/php-cs-fixer-config": "^2", "amphp/php-cs-fixer-config": "^2",
"amphp/phpunit-util": "^3", "amphp/phpunit-util": "^3",
"phpunit/phpunit": "^9", "phpunit/phpunit": "^9",
"psalm/phar": "^5.4" "psalm/phar": "5.20"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -305,7 +305,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/amphp/dns/issues", "issues": "https://github.com/amphp/dns/issues",
"source": "https://github.com/amphp/dns/tree/v2.1.0" "source": "https://github.com/amphp/dns/tree/v2.2.0"
}, },
"funding": [ "funding": [
{ {
@ -313,20 +313,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-11-18T15:49:57+00:00" "time": "2024-06-02T19:54:12+00:00"
}, },
{ {
"name": "amphp/hpack", "name": "amphp/hpack",
"version": "v3.2.0", "version": "v3.2.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/hpack.git", "url": "https://github.com/amphp/hpack.git",
"reference": "95895d29ae577a3a5995b46d16def04e11e39947" "reference": "4f293064b15682a2b178b1367ddf0b8b5feb0239"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/hpack/zipball/95895d29ae577a3a5995b46d16def04e11e39947", "url": "https://api.github.com/repos/amphp/hpack/zipball/4f293064b15682a2b178b1367ddf0b8b5feb0239",
"reference": "95895d29ae577a3a5995b46d16def04e11e39947", "reference": "4f293064b15682a2b178b1367ddf0b8b5feb0239",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -379,7 +379,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/amphp/hpack/issues", "issues": "https://github.com/amphp/hpack/issues",
"source": "https://github.com/amphp/hpack/tree/v3.2.0" "source": "https://github.com/amphp/hpack/tree/v3.2.1"
}, },
"funding": [ "funding": [
{ {
@ -387,20 +387,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-09-05T19:59:20+00:00" "time": "2024-03-21T19:00:16+00:00"
}, },
{ {
"name": "amphp/http", "name": "amphp/http",
"version": "v2.1.0", "version": "v2.1.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/http.git", "url": "https://github.com/amphp/http.git",
"reference": "9f3500bef4bb15cf41987f21136539c0a06555a3" "reference": "fe6b4dd50c1e70caf823092398074b5082e1d6da"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/http/zipball/9f3500bef4bb15cf41987f21136539c0a06555a3", "url": "https://api.github.com/repos/amphp/http/zipball/fe6b4dd50c1e70caf823092398074b5082e1d6da",
"reference": "9f3500bef4bb15cf41987f21136539c0a06555a3", "reference": "fe6b4dd50c1e70caf823092398074b5082e1d6da",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -443,7 +443,7 @@
"description": "Basic HTTP primitives which can be shared by servers and clients.", "description": "Basic HTTP primitives which can be shared by servers and clients.",
"support": { "support": {
"issues": "https://github.com/amphp/http/issues", "issues": "https://github.com/amphp/http/issues",
"source": "https://github.com/amphp/http/tree/v2.1.0" "source": "https://github.com/amphp/http/tree/v2.1.1"
}, },
"funding": [ "funding": [
{ {
@ -451,20 +451,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-08-22T19:50:46+00:00" "time": "2024-04-03T18:00:53+00:00"
}, },
{ {
"name": "amphp/http-client", "name": "amphp/http-client",
"version": "v5.0.1", "version": "v5.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/http-client.git", "url": "https://github.com/amphp/http-client.git",
"reference": "9b42ca1a5af9abd1dd8c3f9e45c2bb15957361b7" "reference": "483df9a856625fe4406c7fb6a64d6787105bd184"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/http-client/zipball/9b42ca1a5af9abd1dd8c3f9e45c2bb15957361b7", "url": "https://api.github.com/repos/amphp/http-client/zipball/483df9a856625fe4406c7fb6a64d6787105bd184",
"reference": "9b42ca1a5af9abd1dd8c3f9e45c2bb15957361b7", "reference": "483df9a856625fe4406c7fb6a64d6787105bd184",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -491,7 +491,7 @@
"kelunik/link-header-rfc5988": "^1", "kelunik/link-header-rfc5988": "^1",
"laminas/laminas-diactoros": "^2.3", "laminas/laminas-diactoros": "^2.3",
"phpunit/phpunit": "^9", "phpunit/phpunit": "^9",
"psalm/phar": "^5.4" "psalm/phar": "~5.23"
}, },
"suggest": { "suggest": {
"amphp/file": "Required for file request bodies and HTTP archive logging", "amphp/file": "Required for file request bodies and HTTP archive logging",
@ -538,7 +538,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/amphp/http-client/issues", "issues": "https://github.com/amphp/http-client/issues",
"source": "https://github.com/amphp/http-client/tree/v5.0.1" "source": "https://github.com/amphp/http-client/tree/v5.1.0"
}, },
"funding": [ "funding": [
{ {
@ -546,25 +546,26 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-12-11T03:48:12+00:00" "time": "2024-04-21T16:40:36+00:00"
}, },
{ {
"name": "amphp/parallel", "name": "amphp/parallel",
"version": "v2.2.6", "version": "v2.2.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/parallel.git", "url": "https://github.com/amphp/parallel.git",
"reference": "5aeaad20297507cc754859236720501b54306eba" "reference": "73d293f1fc4df1bebc3c4fce1432e82dd7032238"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/parallel/zipball/5aeaad20297507cc754859236720501b54306eba", "url": "https://api.github.com/repos/amphp/parallel/zipball/73d293f1fc4df1bebc3c4fce1432e82dd7032238",
"reference": "5aeaad20297507cc754859236720501b54306eba", "reference": "73d293f1fc4df1bebc3c4fce1432e82dd7032238",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"amphp/amp": "^3", "amphp/amp": "^3",
"amphp/byte-stream": "^2", "amphp/byte-stream": "^2",
"amphp/cache": "^2",
"amphp/parser": "^1", "amphp/parser": "^1",
"amphp/pipeline": "^1", "amphp/pipeline": "^1",
"amphp/process": "^2", "amphp/process": "^2",
@ -621,7 +622,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/amphp/parallel/issues", "issues": "https://github.com/amphp/parallel/issues",
"source": "https://github.com/amphp/parallel/tree/v2.2.6" "source": "https://github.com/amphp/parallel/tree/v2.2.9"
}, },
"funding": [ "funding": [
{ {
@ -629,20 +630,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2024-01-07T18:12:13+00:00" "time": "2024-03-24T18:27:44+00:00"
}, },
{ {
"name": "amphp/parser", "name": "amphp/parser",
"version": "v1.1.0", "version": "v1.1.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/parser.git", "url": "https://github.com/amphp/parser.git",
"reference": "ff1de4144726c5dad5fab97f66692ebe8de3e151" "reference": "3cf1f8b32a0171d4b1bed93d25617637a77cded7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/parser/zipball/ff1de4144726c5dad5fab97f66692ebe8de3e151", "url": "https://api.github.com/repos/amphp/parser/zipball/3cf1f8b32a0171d4b1bed93d25617637a77cded7",
"reference": "ff1de4144726c5dad5fab97f66692ebe8de3e151", "reference": "3cf1f8b32a0171d4b1bed93d25617637a77cded7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -683,7 +684,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/amphp/parser/issues", "issues": "https://github.com/amphp/parser/issues",
"source": "https://github.com/amphp/parser/tree/v1.1.0" "source": "https://github.com/amphp/parser/tree/v1.1.1"
}, },
"funding": [ "funding": [
{ {
@ -691,20 +692,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-12-30T18:08:47+00:00" "time": "2024-03-21T19:16:53+00:00"
}, },
{ {
"name": "amphp/pipeline", "name": "amphp/pipeline",
"version": "v1.1.0", "version": "v1.2.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/pipeline.git", "url": "https://github.com/amphp/pipeline.git",
"reference": "8a0ecc281bb0932d6b4a786453aff18c55756e63" "reference": "66c095673aa5b6e689e63b52d19e577459129ab3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/pipeline/zipball/8a0ecc281bb0932d6b4a786453aff18c55756e63", "url": "https://api.github.com/repos/amphp/pipeline/zipball/66c095673aa5b6e689e63b52d19e577459129ab3",
"reference": "8a0ecc281bb0932d6b4a786453aff18c55756e63", "reference": "66c095673aa5b6e689e63b52d19e577459129ab3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -750,7 +751,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/amphp/pipeline/issues", "issues": "https://github.com/amphp/pipeline/issues",
"source": "https://github.com/amphp/pipeline/tree/v1.1.0" "source": "https://github.com/amphp/pipeline/tree/v1.2.1"
}, },
"funding": [ "funding": [
{ {
@ -758,20 +759,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-12-23T04:34:28+00:00" "time": "2024-07-04T00:56:47+00:00"
}, },
{ {
"name": "amphp/process", "name": "amphp/process",
"version": "v2.0.1", "version": "v2.0.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/process.git", "url": "https://github.com/amphp/process.git",
"reference": "a65d3bc1f36ef12d44df42a68f0f0643183f1052" "reference": "52e08c09dec7511d5fbc1fb00d3e4e79fc77d58d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/process/zipball/a65d3bc1f36ef12d44df42a68f0f0643183f1052", "url": "https://api.github.com/repos/amphp/process/zipball/52e08c09dec7511d5fbc1fb00d3e4e79fc77d58d",
"reference": "a65d3bc1f36ef12d44df42a68f0f0643183f1052", "reference": "52e08c09dec7511d5fbc1fb00d3e4e79fc77d58d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -818,7 +819,7 @@
"homepage": "https://amphp.org/process", "homepage": "https://amphp.org/process",
"support": { "support": {
"issues": "https://github.com/amphp/process/issues", "issues": "https://github.com/amphp/process/issues",
"source": "https://github.com/amphp/process/tree/v2.0.1" "source": "https://github.com/amphp/process/tree/v2.0.3"
}, },
"funding": [ "funding": [
{ {
@ -826,7 +827,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-01-15T16:00:57+00:00" "time": "2024-04-19T03:13:44+00:00"
}, },
{ {
"name": "amphp/serialization", "name": "amphp/serialization",
@ -888,16 +889,16 @@
}, },
{ {
"name": "amphp/socket", "name": "amphp/socket",
"version": "v2.2.2", "version": "v2.3.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/socket.git", "url": "https://github.com/amphp/socket.git",
"reference": "eb6c5e6baae5aebd9a209f50e81bff38c7efef97" "reference": "58e0422221825b79681b72c50c47a930be7bf1e1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/socket/zipball/eb6c5e6baae5aebd9a209f50e81bff38c7efef97", "url": "https://api.github.com/repos/amphp/socket/zipball/58e0422221825b79681b72c50c47a930be7bf1e1",
"reference": "eb6c5e6baae5aebd9a209f50e81bff38c7efef97", "reference": "58e0422221825b79681b72c50c47a930be7bf1e1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -916,7 +917,7 @@
"amphp/phpunit-util": "^3", "amphp/phpunit-util": "^3",
"amphp/process": "^2", "amphp/process": "^2",
"phpunit/phpunit": "^9", "phpunit/phpunit": "^9",
"psalm/phar": "^5.4" "psalm/phar": "5.20"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -960,7 +961,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/amphp/socket/issues", "issues": "https://github.com/amphp/socket/issues",
"source": "https://github.com/amphp/socket/tree/v2.2.2" "source": "https://github.com/amphp/socket/tree/v2.3.1"
}, },
"funding": [ "funding": [
{ {
@ -968,20 +969,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-12-31T18:12:01+00:00" "time": "2024-04-21T14:33:03+00:00"
}, },
{ {
"name": "amphp/sync", "name": "amphp/sync",
"version": "v2.1.0", "version": "v2.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/sync.git", "url": "https://github.com/amphp/sync.git",
"reference": "50ddc7392cc8034b3e4798cef3cc90d3f4c0441c" "reference": "217097b785130d77cfcc58ff583cf26cd1770bf1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/sync/zipball/50ddc7392cc8034b3e4798cef3cc90d3f4c0441c", "url": "https://api.github.com/repos/amphp/sync/zipball/217097b785130d77cfcc58ff583cf26cd1770bf1",
"reference": "50ddc7392cc8034b3e4798cef3cc90d3f4c0441c", "reference": "217097b785130d77cfcc58ff583cf26cd1770bf1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -995,7 +996,7 @@
"amphp/php-cs-fixer-config": "^2", "amphp/php-cs-fixer-config": "^2",
"amphp/phpunit-util": "^3", "amphp/phpunit-util": "^3",
"phpunit/phpunit": "^9", "phpunit/phpunit": "^9",
"psalm/phar": "^5.4" "psalm/phar": "5.23"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -1035,7 +1036,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/amphp/sync/issues", "issues": "https://github.com/amphp/sync/issues",
"source": "https://github.com/amphp/sync/tree/v2.1.0" "source": "https://github.com/amphp/sync/tree/v2.3.0"
}, },
"funding": [ "funding": [
{ {
@ -1043,20 +1044,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-08-19T13:53:40+00:00" "time": "2024-08-03T19:31:26+00:00"
}, },
{ {
"name": "amphp/windows-registry", "name": "amphp/windows-registry",
"version": "v1.0.0", "version": "v1.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/windows-registry.git", "url": "https://github.com/amphp/windows-registry.git",
"reference": "8248247a41af7f97b88e4716c0f8de39696ef111" "reference": "0d569e8f256cca974e3842b6e78b4e434bf98306"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/windows-registry/zipball/8248247a41af7f97b88e4716c0f8de39696ef111", "url": "https://api.github.com/repos/amphp/windows-registry/zipball/0d569e8f256cca974e3842b6e78b4e434bf98306",
"reference": "8248247a41af7f97b88e4716c0f8de39696ef111", "reference": "0d569e8f256cca974e3842b6e78b4e434bf98306",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1087,7 +1088,7 @@
"description": "Windows Registry Reader.", "description": "Windows Registry Reader.",
"support": { "support": {
"issues": "https://github.com/amphp/windows-registry/issues", "issues": "https://github.com/amphp/windows-registry/issues",
"source": "https://github.com/amphp/windows-registry/tree/v1.0.0" "source": "https://github.com/amphp/windows-registry/tree/v1.0.1"
}, },
"funding": [ "funding": [
{ {
@ -1095,25 +1096,25 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-01-09T22:29:20+00:00" "time": "2024-01-30T23:01:51+00:00"
}, },
{ {
"name": "daverandom/libdns", "name": "daverandom/libdns",
"version": "v2.0.3", "version": "v2.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/DaveRandom/LibDNS.git", "url": "https://github.com/DaveRandom/LibDNS.git",
"reference": "42c2d700d1178c9f9e78664793463f7f1aea248c" "reference": "b84c94e8fe6b7ee4aecfe121bfe3b6177d303c8a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/DaveRandom/LibDNS/zipball/42c2d700d1178c9f9e78664793463f7f1aea248c", "url": "https://api.github.com/repos/DaveRandom/LibDNS/zipball/b84c94e8fe6b7ee4aecfe121bfe3b6177d303c8a",
"reference": "42c2d700d1178c9f9e78664793463f7f1aea248c", "reference": "b84c94e8fe6b7ee4aecfe121bfe3b6177d303c8a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-ctype": "*", "ext-ctype": "*",
"php": ">=7.0" "php": ">=7.1"
}, },
"suggest": { "suggest": {
"ext-intl": "Required for IDN support" "ext-intl": "Required for IDN support"
@ -1137,9 +1138,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/DaveRandom/LibDNS/issues", "issues": "https://github.com/DaveRandom/LibDNS/issues",
"source": "https://github.com/DaveRandom/LibDNS/tree/v2.0.3" "source": "https://github.com/DaveRandom/LibDNS/tree/v2.1.0"
}, },
"time": "2022-09-20T18:15:38+00:00" "time": "2024-04-12T12:12:48+00:00"
}, },
{ {
"name": "devcoder-xyz/php-dotenv", "name": "devcoder-xyz/php-dotenv",
@ -1374,16 +1375,16 @@
}, },
{ {
"name": "league/uri", "name": "league/uri",
"version": "7.4.0", "version": "7.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/uri.git", "url": "https://github.com/thephpleague/uri.git",
"reference": "bf414ba956d902f5d98bf9385fcf63954f09dce5" "reference": "bedb6e55eff0c933668addaa7efa1e1f2c417cc4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/uri/zipball/bf414ba956d902f5d98bf9385fcf63954f09dce5", "url": "https://api.github.com/repos/thephpleague/uri/zipball/bedb6e55eff0c933668addaa7efa1e1f2c417cc4",
"reference": "bf414ba956d902f5d98bf9385fcf63954f09dce5", "reference": "bedb6e55eff0c933668addaa7efa1e1f2c417cc4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1452,7 +1453,7 @@
"docs": "https://uri.thephpleague.com", "docs": "https://uri.thephpleague.com",
"forum": "https://thephpleague.slack.com", "forum": "https://thephpleague.slack.com",
"issues": "https://github.com/thephpleague/uri-src/issues", "issues": "https://github.com/thephpleague/uri-src/issues",
"source": "https://github.com/thephpleague/uri/tree/7.4.0" "source": "https://github.com/thephpleague/uri/tree/7.4.1"
}, },
"funding": [ "funding": [
{ {
@ -1460,20 +1461,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-12-01T06:24:25+00:00" "time": "2024-03-23T07:42:40+00:00"
}, },
{ {
"name": "league/uri-components", "name": "league/uri-components",
"version": "7.4.0", "version": "7.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/uri-components.git", "url": "https://github.com/thephpleague/uri-components.git",
"reference": "9b710019639c1a37692c86159f134a8a6c11de0f" "reference": "b94fe4097885f1b51c4c3fcb78025fbbabbb5d9d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/uri-components/zipball/9b710019639c1a37692c86159f134a8a6c11de0f", "url": "https://api.github.com/repos/thephpleague/uri-components/zipball/b94fe4097885f1b51c4c3fcb78025fbbabbb5d9d",
"reference": "9b710019639c1a37692c86159f134a8a6c11de0f", "reference": "b94fe4097885f1b51c4c3fcb78025fbbabbb5d9d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1534,7 +1535,7 @@
"docs": "https://uri.thephpleague.com", "docs": "https://uri.thephpleague.com",
"forum": "https://thephpleague.slack.com", "forum": "https://thephpleague.slack.com",
"issues": "https://github.com/thephpleague/uri-src/issues", "issues": "https://github.com/thephpleague/uri-src/issues",
"source": "https://github.com/thephpleague/uri-components/tree/7.4.0" "source": "https://github.com/thephpleague/uri-components/tree/7.4.1"
}, },
"funding": [ "funding": [
{ {
@ -1542,20 +1543,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-12-01T06:24:25+00:00" "time": "2024-03-23T07:42:40+00:00"
}, },
{ {
"name": "league/uri-interfaces", "name": "league/uri-interfaces",
"version": "7.4.0", "version": "7.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/uri-interfaces.git", "url": "https://github.com/thephpleague/uri-interfaces.git",
"reference": "bd8c487ec236930f7bbc42b8d374fa882fbba0f3" "reference": "8d43ef5c841032c87e2de015972c06f3865ef718"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/bd8c487ec236930f7bbc42b8d374fa882fbba0f3", "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/8d43ef5c841032c87e2de015972c06f3865ef718",
"reference": "bd8c487ec236930f7bbc42b8d374fa882fbba0f3", "reference": "8d43ef5c841032c87e2de015972c06f3865ef718",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1618,7 +1619,7 @@
"docs": "https://uri.thephpleague.com", "docs": "https://uri.thephpleague.com",
"forum": "https://thephpleague.slack.com", "forum": "https://thephpleague.slack.com",
"issues": "https://github.com/thephpleague/uri-src/issues", "issues": "https://github.com/thephpleague/uri-src/issues",
"source": "https://github.com/thephpleague/uri-interfaces/tree/7.4.0" "source": "https://github.com/thephpleague/uri-interfaces/tree/7.4.1"
}, },
"funding": [ "funding": [
{ {
@ -1626,24 +1627,24 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-11-24T15:40:42+00:00" "time": "2024-03-23T07:42:40+00:00"
}, },
{ {
"name": "psr/http-factory", "name": "psr/http-factory",
"version": "1.0.2", "version": "1.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/http-factory.git", "url": "https://github.com/php-fig/http-factory.git",
"reference": "e616d01114759c4c489f93b099585439f795fe35" "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35", "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
"reference": "e616d01114759c4c489f93b099585439f795fe35", "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.0.0", "php": ">=7.1",
"psr/http-message": "^1.0 || ^2.0" "psr/http-message": "^1.0 || ^2.0"
}, },
"type": "library", "type": "library",
@ -1667,7 +1668,7 @@
"homepage": "https://www.php-fig.org/" "homepage": "https://www.php-fig.org/"
} }
], ],
"description": "Common interfaces for PSR-7 HTTP message factories", "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
"keywords": [ "keywords": [
"factory", "factory",
"http", "http",
@ -1679,9 +1680,9 @@
"response" "response"
], ],
"support": { "support": {
"source": "https://github.com/php-fig/http-factory/tree/1.0.2" "source": "https://github.com/php-fig/http-factory"
}, },
"time": "2023-04-10T20:10:41+00:00" "time": "2024-04-15T12:06:14+00:00"
}, },
{ {
"name": "psr/http-message", "name": "psr/http-message",
@ -1738,16 +1739,16 @@
}, },
{ {
"name": "psr/log", "name": "psr/log",
"version": "3.0.0", "version": "3.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/log.git", "url": "https://github.com/php-fig/log.git",
"reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3",
"reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1782,9 +1783,9 @@
"psr-3" "psr-3"
], ],
"support": { "support": {
"source": "https://github.com/php-fig/log/tree/3.0.0" "source": "https://github.com/php-fig/log/tree/3.0.2"
}, },
"time": "2021-07-14T16:46:02+00:00" "time": "2024-09-11T13:17:53+00:00"
}, },
{ {
"name": "revolt/event-loop", "name": "revolt/event-loop",

View file

@ -1,5 +1,6 @@
#!/usr/bin/php #!/usr/bin/php
<?php <?php
require_once('vendor/autoload.php'); require_once('vendor/autoload.php');
require_once('utils.inc.php'); require_once('utils.inc.php');
@ -90,7 +91,7 @@ if (0 == posix_getuid()) {
$needHerse = checkHerse($herseUser, $hersePass); $needHerse = checkHerse($herseUser, $hersePass);
$user = generateUserFromDomain($domain); $user = generateUserFromDomain($domain);
$climate->bold()->underline()->out('Installation of YesWiki'); $climate->bold()->underline()->out('Installation of YesWiki');
$climate->out('This will install a yeswiki on <bold>'.$domain."</bold>\n".'model <bold>'.$type.'</bold>, <bold>'.str_replace('000000', 'Gb', $quota).' quota</bold>, with the user <bold>'.$user.'</bold>.'."\n".($needHerse ? 'An herse with user <bold>'.$herseUser.'</bold> and password <bold>'.$hersePass.'</bold> will be set up.' : '')); $climate->out('This will install a yeswiki on <bold>'.$domain."</bold>\n".'model <bold>'.$type.'</bold>, <bold>'.preg_replace('/000000$/', 'Gb', $quota).' quota</bold>, with the user <bold>'.$user.'</bold>.'."\n".($needHerse ? 'An herse with user <bold>'.$herseUser.'</bold> and password <bold>'.$hersePass.'</bold> will be set up.' : ''));
$input = $climate->confirm('Is it all good ?'); $input = $climate->confirm('Is it all good ?');
if ($confirm || $input->confirmed()) { if ($confirm || $input->confirmed()) {
$unixUser = createUnixUserWithQuota($user, $quota); $unixUser = createUnixUserWithQuota($user, $quota);