update dependencies and php

master
lub 2 years ago
parent f762b81808
commit 809304566c

@ -6,10 +6,10 @@ RUN composer install
FROM docker.io/php:apache FROM docker.io/php:8.0-apache
EXPOSE 9367/tcp EXPOSE 9367/tcp
ENV QUERY_HOST, QUERY_PORT, QUERY_USER_NAMe, QUERY_USER_PASSWORD_FILE ENV QUERY_HOST, QUERY_PORT, QUERY_USER_NAME, QUERY_USER_PASSWORD_FILE
# copy apache configs # copy apache configs
RUN rm /etc/apache2/sites-enabled/* \ RUN rm /etc/apache2/sites-enabled/* \

@ -3,7 +3,12 @@
"description": "Exports various metrics of a TeamSpeak3 server in a Prometheus compatible format", "description": "Exports various metrics of a TeamSpeak3 server in a Prometheus compatible format",
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"require": { "require": {
"endclothing/prometheus_client_php": "^1.0", "promphp/prometheus_client_php": "*",
"planetteamspeak/ts3-php-framework": "^1.1" "planetteamspeak/ts3-php-framework": "*"
},
"config": {
"platform": {
"php": "8.0"
}
} }
} }

548
composer.lock generated

@ -4,213 +4,162 @@
"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": "912e9fa013f7396569efb80e12cdbe60", "content-hash": "94801d7d79e8d889a8cf8683e2467275",
"packages": [ "packages": [
{ {
"name": "endclothing/prometheus_client_php", "name": "paragonie/constant_time_encoding",
"version": "1.0.1", "version": "v2.6.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/endclothing/prometheus_client_php.git", "url": "https://github.com/paragonie/constant_time_encoding.git",
"reference": "ae61369d8667343cfff70fec648b3448a2076778" "reference": "58c3f47f650c94ec05a151692652a868995d2938"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/endclothing/prometheus_client_php/zipball/ae61369d8667343cfff70fec648b3448a2076778", "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/58c3f47f650c94ec05a151692652a868995d2938",
"reference": "ae61369d8667343cfff70fec648b3448a2076778", "reference": "58c3f47f650c94ec05a151692652a868995d2938",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "php": "^7|^8"
"guzzlehttp/guzzle": "^6.2",
"php": "^7.1",
"symfony/polyfill-apcu": "^1.6"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^7.5" "phpunit/phpunit": "^6|^7|^8|^9",
}, "vimeo/psalm": "^1|^2|^3|^4"
"suggest": {
"ext-apc": "Required if using APCu.",
"ext-redis": "Required if using Redis."
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Prometheus\\": "src/Prometheus/" "ParagonIE\\ConstantTime\\": "src/"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "Daniel Noel-Davies",
"email": "Daniel.Noel-Davies@endclothing.com"
}
],
"time": "2019-10-04T10:46:29+00:00"
},
{
"name": "guzzlehttp/guzzle",
"version": "6.5.2",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "43ece0e75098b7ecd8d13918293029e555a50f82"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/43ece0e75098b7ecd8d13918293029e555a50f82",
"reference": "43ece0e75098b7ecd8d13918293029e555a50f82",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.6.1",
"php": ">=5.5"
},
"require-dev": {
"ext-curl": "*",
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
"psr/log": "^1.1"
},
"suggest": {
"ext-intl": "Required for Internationalized Domain Name (IDN) support",
"psr/log": "Required for using the Log middleware"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "6.5-dev"
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\": "src/"
},
"files": [
"src/functions_include.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
"MIT" "MIT"
], ],
"authors": [ "authors": [
{ {
"name": "Michael Dowling", "name": "Paragon Initiative Enterprises",
"email": "mtdowling@gmail.com", "email": "security@paragonie.com",
"homepage": "https://github.com/mtdowling" "homepage": "https://paragonie.com",
} "role": "Maintainer"
],
"description": "Guzzle is a PHP HTTP client library",
"homepage": "http://guzzlephp.org/",
"keywords": [
"client",
"curl",
"framework",
"http",
"http client",
"rest",
"web service"
],
"time": "2019-12-23T11:57:10+00:00"
}, },
{ {
"name": "guzzlehttp/promises", "name": "Steve 'Sc00bz' Thomas",
"version": "v1.3.1", "email": "steve@tobtu.com",
"homepage": "https://www.tobtu.com",
"role": "Original Developer"
}
],
"description": "Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)",
"keywords": [
"base16",
"base32",
"base32_decode",
"base32_encode",
"base64",
"base64_decode",
"base64_encode",
"bin2hex",
"encoding",
"hex",
"hex2bin",
"rfc4648"
],
"support": {
"email": "info@paragonie.com",
"issues": "https://github.com/paragonie/constant_time_encoding/issues",
"source": "https://github.com/paragonie/constant_time_encoding"
},
"time": "2022-06-14T06:56:20+00:00"
},
{
"name": "paragonie/random_compat",
"version": "v9.99.100",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/promises.git", "url": "https://github.com/paragonie/random_compat.git",
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646" "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646", "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a",
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646", "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5.0" "php": ">= 7"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^4.0" "phpunit/phpunit": "4.*|5.*",
}, "vimeo/psalm": "^1"
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.4-dev"
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\Promise\\": "src/"
},
"files": [
"src/functions_include.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
}
],
"description": "Guzzle promises library",
"keywords": [
"promise"
],
"time": "2016-12-20T10:07:11+00:00"
},
{
"name": "guzzlehttp/psr7",
"version": "1.6.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "239400de7a173fe9901b9ac7c06497751f00727a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/239400de7a173fe9901b9ac7c06497751f00727a",
"reference": "239400de7a173fe9901b9ac7c06497751f00727a",
"shasum": ""
},
"require": {
"php": ">=5.4.0",
"psr/http-message": "~1.0",
"ralouphie/getallheaders": "^2.0.5 || ^3.0.0"
},
"provide": {
"psr/http-message-implementation": "1.0"
},
"require-dev": {
"ext-zlib": "*",
"phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8"
}, },
"suggest": { "suggest": {
"zendframework/zend-httphandlerrunner": "Emit PSR-7 responses" "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
}, },
"type": "library", "type": "library",
"extra": { "notification-url": "https://packagist.org/downloads/",
"branch-alias": { "license": [
"dev-master": "1.6-dev" "MIT"
],
"authors": [
{
"name": "Paragon Initiative Enterprises",
"email": "security@paragonie.com",
"homepage": "https://paragonie.com"
} }
],
"description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
"keywords": [
"csprng",
"polyfill",
"pseudorandom",
"random"
],
"support": {
"email": "info@paragonie.com",
"issues": "https://github.com/paragonie/random_compat/issues",
"source": "https://github.com/paragonie/random_compat"
}, },
"time": "2020-10-15T08:29:30+00:00"
},
{
"name": "phpseclib/phpseclib",
"version": "3.0.19",
"source": {
"type": "git",
"url": "https://github.com/phpseclib/phpseclib.git",
"reference": "cc181005cf548bfd8a4896383bb825d859259f95"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/cc181005cf548bfd8a4896383bb825d859259f95",
"reference": "cc181005cf548bfd8a4896383bb825d859259f95",
"shasum": ""
},
"require": {
"paragonie/constant_time_encoding": "^1|^2",
"paragonie/random_compat": "^1.4|^2.0|^9.99.99",
"php": ">=5.6.1"
},
"require-dev": {
"phpunit/phpunit": "*"
},
"suggest": {
"ext-dom": "Install the DOM extension to load XML formatted public keys.",
"ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
"ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
"ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
"ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations."
},
"type": "library",
"autoload": { "autoload": {
"psr-4": {
"GuzzleHttp\\Psr7\\": "src/"
},
"files": [ "files": [
"src/functions_include.php" "phpseclib/bootstrap.php"
] ],
"psr-4": {
"phpseclib3\\": "phpseclib/"
}
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@ -218,57 +167,107 @@
], ],
"authors": [ "authors": [
{ {
"name": "Michael Dowling", "name": "Jim Wigginton",
"email": "mtdowling@gmail.com", "email": "terrafrost@php.net",
"homepage": "https://github.com/mtdowling" "role": "Lead Developer"
}, },
{ {
"name": "Tobias Schultze", "name": "Patrick Monnerat",
"homepage": "https://github.com/Tobion" "email": "pm@datasphere.ch",
"role": "Developer"
},
{
"name": "Andreas Fischer",
"email": "bantu@phpbb.com",
"role": "Developer"
},
{
"name": "Hans-Jürgen Petrich",
"email": "petrich@tronic-media.com",
"role": "Developer"
},
{
"name": "Graham Campbell",
"email": "graham@alt-three.com",
"role": "Developer"
} }
], ],
"description": "PSR-7 message implementation that also provides common utility methods", "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
"homepage": "http://phpseclib.sourceforge.net",
"keywords": [ "keywords": [
"http", "BigInteger",
"message", "aes",
"psr-7", "asn.1",
"request", "asn1",
"response", "blowfish",
"stream", "crypto",
"uri", "cryptography",
"url" "encryption",
"rsa",
"security",
"sftp",
"signature",
"signing",
"ssh",
"twofish",
"x.509",
"x509"
], ],
"time": "2019-07-01T23:21:34+00:00" "support": {
"issues": "https://github.com/phpseclib/phpseclib/issues",
"source": "https://github.com/phpseclib/phpseclib/tree/3.0.19"
},
"funding": [
{
"url": "https://github.com/terrafrost",
"type": "github"
},
{
"url": "https://www.patreon.com/phpseclib",
"type": "patreon"
},
{
"url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib",
"type": "tidelift"
}
],
"time": "2023-03-05T17:13:09+00:00"
}, },
{ {
"name": "planetteamspeak/ts3-php-framework", "name": "planetteamspeak/ts3-php-framework",
"version": "1.1.33", "version": "1.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/planetteamspeak/ts3phpframework.git", "url": "https://github.com/planetteamspeak/ts3phpframework.git",
"reference": "fb08150b1785bfd0c135f9a337d23be42344b46c" "reference": "5759ab6f4256382e83dfdb1c3424c9261d82420b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/planetteamspeak/ts3phpframework/zipball/fb08150b1785bfd0c135f9a337d23be42344b46c", "url": "https://api.github.com/repos/planetteamspeak/ts3phpframework/zipball/5759ab6f4256382e83dfdb1c3424c9261d82420b",
"reference": "fb08150b1785bfd0c135f9a337d23be42344b46c", "reference": "5759ab6f4256382e83dfdb1c3424c9261d82420b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.2.1" "ext-ctype": "*",
"ext-json": "*",
"ext-openssl": "*",
"php": "^8.0",
"phpseclib/phpseclib": "^3.0"
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^2.0.0", "friendsofphp/php-cs-fixer": "^3.8",
"phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0", "php-coveralls/php-coveralls": "^2.5",
"react/socket": "^0.8.5", "phpcompatibility/php-compatibility": "^9.3",
"satooshi/php-coveralls": "^1.1 || ^2.0", "phpunit/phpunit": "^9.5",
"symfony/yaml": "~2.1|~3.0|~4.0" "react/socket": "^1.11",
"squizlabs/php_codesniffer": "^3.6",
"symfony/yaml": "^6.0"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
"files": [ "psr-4": {
"libraries/TeamSpeak3/TeamSpeak3.php" "PlanetTeamSpeak\\TeamSpeak3Framework\\": "src/"
] }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@ -292,153 +291,80 @@
"teamspeak", "teamspeak",
"ts3" "ts3"
], ],
"time": "2018-08-03T11:46:37+00:00" "support": {
"docs": "https://docs.planetteamspeak.com/ts3/php/framework",
"email": "info@planetteamspeak.com",
"issues": "https://github.com/planetteamspeak/ts3phpframework/issues",
"source": "https://github.com/planetteamspeak/ts3phpframework/tree/1.2.0"
},
"time": "2023-02-16T23:22:27+00:00"
}, },
{ {
"name": "psr/http-message", "name": "promphp/prometheus_client_php",
"version": "1.0.1", "version": "v2.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/http-message.git", "url": "https://github.com/PromPHP/prometheus_client_php.git",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" "reference": "df77bbcc65bd173f2ffaf40ab4e1ca8716da8ce6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", "url": "https://api.github.com/repos/PromPHP/prometheus_client_php/zipball/df77bbcc65bd173f2ffaf40ab4e1ca8716da8ce6",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", "reference": "df77bbcc65bd173f2ffaf40ab4e1ca8716da8ce6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.0" "ext-json": "*",
"php": "^7.2|^8.0"
}, },
"type": "library", "replace": {
"extra": { "endclothing/prometheus_client_php": "*",
"branch-alias": { "jimdo/prometheus_client_php": "*",
"dev-master": "1.0.x-dev" "lkaemmerling/prometheus_client_php": "*"
}
},
"autoload": {
"psr-4": {
"Psr\\Http\\Message\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"description": "Common interface for HTTP messages",
"homepage": "https://github.com/php-fig/http-message",
"keywords": [
"http",
"http-message",
"psr",
"psr-7",
"request",
"response"
],
"time": "2016-08-06T14:39:51+00:00"
},
{
"name": "ralouphie/getallheaders",
"version": "3.0.3",
"source": {
"type": "git",
"url": "https://github.com/ralouphie/getallheaders.git",
"reference": "120b605dfeb996808c31b6477290a714d356e822"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822",
"reference": "120b605dfeb996808c31b6477290a714d356e822",
"shasum": ""
},
"require": {
"php": ">=5.6"
}, },
"require-dev": { "require-dev": {
"php-coveralls/php-coveralls": "^2.1", "guzzlehttp/guzzle": "^6.3|^7.0",
"phpunit/phpunit": "^5 || ^6.5" "phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^1.5.4",
"phpstan/phpstan-phpunit": "^1.1.0",
"phpstan/phpstan-strict-rules": "^1.1.0",
"phpunit/phpunit": "^9.4",
"squizlabs/php_codesniffer": "^3.6",
"symfony/polyfill-apcu": "^1.6"
}, },
"type": "library", "suggest": {
"autoload": { "ext-apc": "Required if using APCu.",
"files": [ "ext-redis": "Required if using Redis.",
"src/getallheaders.php" "promphp/prometheus_push_gateway_php": "An easy client for using Prometheus PushGateway.",
] "symfony/polyfill-apcu": "Required if you use APCu on PHP8.0+"
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Ralph Khattar",
"email": "ralph.khattar@gmail.com"
}
],
"description": "A polyfill for getallheaders.",
"time": "2019-03-08T08:55:37+00:00"
},
{
"name": "symfony/polyfill-apcu",
"version": "v1.13.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-apcu.git",
"reference": "a8e961c841b9ec52927a87914f8820a1ad8f8116"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-apcu/zipball/a8e961c841b9ec52927a87914f8820a1ad8f8116",
"reference": "a8e961c841b9ec52927a87914f8820a1ad8f8116",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.13-dev" "dev-master": "1.0-dev"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Polyfill\\Apcu\\": "" "Prometheus\\": "src/Prometheus/"
}, }
"files": [
"bootstrap.php"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
"MIT" "Apache-2.0"
], ],
"authors": [ "authors": [
{ {
"name": "Nicolas Grekas", "name": "Lukas Kämmerling",
"email": "p@tchwork.com" "email": "kontakt@lukas-kaemmerling.de"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
} }
], ],
"description": "Symfony polyfill backporting apcu_* functions to lower PHP versions", "description": "Prometheus instrumentation library for PHP applications.",
"homepage": "https://symfony.com", "support": {
"keywords": [ "issues": "https://github.com/PromPHP/prometheus_client_php/issues",
"apcu", "source": "https://github.com/PromPHP/prometheus_client_php/tree/v2.6.2"
"compatibility", },
"polyfill", "time": "2022-06-30T03:46:23+00:00"
"portable",
"shim"
],
"time": "2019-11-27T13:56:44+00:00"
} }
], ],
"packages-dev": [], "packages-dev": [],
@ -448,5 +374,9 @@
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
"platform": [], "platform": [],
"platform-dev": [] "platform-dev": [],
"platform-overrides": {
"php": "8.0"
},
"plugin-api-version": "2.3.0"
} }

Loading…
Cancel
Save