Change php and dependencies version to Joomla 5 compatible

This commit is contained in:
Artem Vasilev 2024-03-16 23:02:31 +03:00
parent bc5c75254f
commit 4343d6b3aa
2 changed files with 201 additions and 214 deletions

View File

@ -12,16 +12,23 @@
], ],
"minimum-stability": "stable", "minimum-stability": "stable",
"require": { "require": {
"php": "^7.2.5", "php": "^8.1.0",
"ext-openssl": "*", "ext-openssl": "*",
"league/oauth2-server": "^8.4", "league/oauth2-server": "^8.5.0"
"lcobucci/jwt": "^3.4.6" },
"replace": {
"lcobucci/jwt": "*",
"defuse/php-encryption": "*",
"paragonie/random_compat": "9.99.99"
}, },
"config": { "config": {
"optimize-autoloader": true, "optimize-autoloader": true,
"platform": { "platform": {
"php": "7.2.5" "php": "8.1.0"
}, },
"vendor-dir": "com_oauthserver/administrator/vendor" "vendor-dir": "com_oauthserver/administrator/vendor",
"github-protocols": [
"https"
]
} }
} }

398
composer.lock generated
View File

@ -4,38 +4,43 @@
"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": "b183f271b766b565d7485c78e2d49411", "content-hash": "0a72cc2e0b5406833eaebcb55e04ba86",
"packages": [ "packages": [
{ {
"name": "defuse/php-encryption", "name": "lcobucci/clock",
"version": "v2.4.0", "version": "3.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/defuse/php-encryption.git", "url": "https://github.com/lcobucci/clock.git",
"reference": "f53396c2d34225064647a05ca76c1da9d99e5828" "reference": "039ef98c6b57b101d10bd11d8fdfda12cbd996dc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/defuse/php-encryption/zipball/f53396c2d34225064647a05ca76c1da9d99e5828", "url": "https://api.github.com/repos/lcobucci/clock/zipball/039ef98c6b57b101d10bd11d8fdfda12cbd996dc",
"reference": "f53396c2d34225064647a05ca76c1da9d99e5828", "reference": "039ef98c6b57b101d10bd11d8fdfda12cbd996dc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-openssl": "*", "php": "~8.1.0 || ~8.2.0",
"paragonie/random_compat": ">= 2", "psr/clock": "^1.0"
"php": ">=5.6.0" },
"provide": {
"psr/clock-implementation": "1.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^5|^6|^7|^8|^9|^10", "infection/infection": "^0.26",
"yoast/phpunit-polyfills": "^2.0.0" "lcobucci/coding-standard": "^9.0",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.9.4",
"phpstan/phpstan-deprecation-rules": "^1.1.1",
"phpstan/phpstan-phpunit": "^1.3.2",
"phpstan/phpstan-strict-rules": "^1.4.4",
"phpunit/phpunit": "^9.5.27"
}, },
"bin": [
"bin/generate-defuse-key"
],
"type": "library", "type": "library",
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Defuse\\Crypto\\": "src" "Lcobucci\\Clock\\": "src"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
@ -44,99 +49,14 @@
], ],
"authors": [ "authors": [
{ {
"name": "Taylor Hornby", "name": "Luís Cobucci",
"email": "taylor@defuse.ca", "email": "lcobucci@gmail.com"
"homepage": "https://defuse.ca/"
},
{
"name": "Scott Arciszewski",
"email": "info@paragonie.com",
"homepage": "https://paragonie.com"
} }
], ],
"description": "Secure PHP Encryption Library", "description": "Yet another clock abstraction",
"keywords": [
"aes",
"authenticated encryption",
"cipher",
"crypto",
"cryptography",
"encrypt",
"encryption",
"openssl",
"security",
"symmetric key cryptography"
],
"support": { "support": {
"issues": "https://github.com/defuse/php-encryption/issues", "issues": "https://github.com/lcobucci/clock/issues",
"source": "https://github.com/defuse/php-encryption/tree/v2.4.0" "source": "https://github.com/lcobucci/clock/tree/3.0.0"
},
"time": "2023-06-19T06:10:36+00:00"
},
{
"name": "lcobucci/jwt",
"version": "3.4.6",
"source": {
"type": "git",
"url": "https://github.com/lcobucci/jwt.git",
"reference": "3ef8657a78278dfeae7707d51747251db4176240"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/lcobucci/jwt/zipball/3ef8657a78278dfeae7707d51747251db4176240",
"reference": "3ef8657a78278dfeae7707d51747251db4176240",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"ext-openssl": "*",
"php": "^5.6 || ^7.0"
},
"require-dev": {
"mikey179/vfsstream": "~1.5",
"phpmd/phpmd": "~2.2",
"phpunit/php-invoker": "~1.1",
"phpunit/phpunit": "^5.7 || ^7.3",
"squizlabs/php_codesniffer": "~2.3"
},
"suggest": {
"lcobucci/clock": "*"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.1-dev"
}
},
"autoload": {
"files": [
"compat/class-aliases.php",
"compat/json-exception-polyfill.php",
"compat/lcobucci-clock-polyfill.php"
],
"psr-4": {
"Lcobucci\\JWT\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Luís Otávio Cobucci Oblonczyk",
"email": "lcobucci@gmail.com",
"role": "Developer"
}
],
"description": "A simple library to work with JSON Web Token and JSON Web Signature",
"keywords": [
"JWS",
"jwt"
],
"support": {
"issues": "https://github.com/lcobucci/jwt/issues",
"source": "https://github.com/lcobucci/jwt/tree/3.4.6"
}, },
"funding": [ "funding": [
{ {
@ -148,7 +68,7 @@
"type": "patreon" "type": "patreon"
} }
], ],
"time": "2021-09-28T19:18:28+00:00" "time": "2022-12-19T15:00:24+00:00"
}, },
{ {
"name": "league/event", "name": "league/event",
@ -206,37 +126,37 @@
}, },
{ {
"name": "league/oauth2-server", "name": "league/oauth2-server",
"version": "8.4.2", "version": "8.5.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/oauth2-server.git", "url": "https://github.com/thephpleague/oauth2-server.git",
"reference": "007dc5f6c0151a73b133fec36c9686cc956209d3" "reference": "ab7714d073844497fd222d5d0a217629089936bc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/007dc5f6c0151a73b133fec36c9686cc956209d3", "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/ab7714d073844497fd222d5d0a217629089936bc",
"reference": "007dc5f6c0151a73b133fec36c9686cc956209d3", "reference": "ab7714d073844497fd222d5d0a217629089936bc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"defuse/php-encryption": "^2.2.1", "defuse/php-encryption": "^2.3",
"ext-json": "*",
"ext-openssl": "*", "ext-openssl": "*",
"lcobucci/jwt": "^3.4.6 || ^4.0.4", "lcobucci/clock": "^2.2 || ^3.0",
"lcobucci/jwt": "^4.3 || ^5.0",
"league/event": "^2.2", "league/event": "^2.2",
"league/uri": "^6.4", "league/uri": "^6.7 || ^7.0",
"php": "^7.2 || ^8.0", "php": "^8.0",
"psr/http-message": "^1.0.1" "psr/http-message": "^1.0.1 || ^2.0"
}, },
"replace": { "replace": {
"league/oauth2server": "*", "league/oauth2server": "*",
"lncd/oauth2": "*" "lncd/oauth2": "*"
}, },
"require-dev": { "require-dev": {
"laminas/laminas-diactoros": "^2.4.1", "laminas/laminas-diactoros": "^3.0.0",
"phpstan/phpstan": "^0.12.57", "phpstan/phpstan": "^0.12.57",
"phpstan/phpstan-phpunit": "^0.12.16", "phpstan/phpstan-phpunit": "^0.12.16",
"phpunit/phpunit": "^8.5.13", "phpunit/phpunit": "^9.6.6",
"roave/security-advisories": "dev-master" "roave/security-advisories": "dev-master"
}, },
"type": "library", "type": "library",
@ -282,7 +202,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/thephpleague/oauth2-server/issues", "issues": "https://github.com/thephpleague/oauth2-server/issues",
"source": "https://github.com/thephpleague/oauth2-server/tree/8.4.2" "source": "https://github.com/thephpleague/oauth2-server/tree/8.5.4"
}, },
"funding": [ "funding": [
{ {
@ -290,54 +210,48 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-08-02T22:54:39+00:00" "time": "2023-08-25T22:35:12+00:00"
}, },
{ {
"name": "league/uri", "name": "league/uri",
"version": "6.4.0", "version": "7.4.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/uri.git", "url": "https://github.com/thephpleague/uri.git",
"reference": "09da64118eaf4c5d52f9923a1e6a5be1da52fd9a" "reference": "bf414ba956d902f5d98bf9385fcf63954f09dce5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/uri/zipball/09da64118eaf4c5d52f9923a1e6a5be1da52fd9a", "url": "https://api.github.com/repos/thephpleague/uri/zipball/bf414ba956d902f5d98bf9385fcf63954f09dce5",
"reference": "09da64118eaf4c5d52f9923a1e6a5be1da52fd9a", "reference": "bf414ba956d902f5d98bf9385fcf63954f09dce5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "league/uri-interfaces": "^7.3",
"league/uri-interfaces": "^2.1", "php": "^8.1"
"php": ">=7.2",
"psr/http-message": "^1.0"
}, },
"conflict": { "conflict": {
"league/uri-schemes": "^1.0" "league/uri-schemes": "^1.0"
}, },
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-phpunit": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12",
"phpunit/phpunit": "^8.0 || ^9.0",
"psr/http-factory": "^1.0"
},
"suggest": { "suggest": {
"ext-fileinfo": "Needed to create Data URI from a filepath", "ext-bcmath": "to improve IPV4 host parsing",
"ext-intl": "Needed to improve host validation", "ext-fileinfo": "to create Data URI from file contennts",
"league/uri-components": "Needed to easily manipulate URI objects", "ext-gmp": "to improve IPV4 host parsing",
"psr/http-factory": "Needed to use the URI factory" "ext-intl": "to handle IDN host with the best performance",
"jeremykendall/php-domain-parser": "to resolve Public Suffix and Top Level Domain",
"league/uri-components": "Needed to easily manipulate URI objects components",
"php-64bit": "to improve IPV4 host parsing",
"symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "6.x-dev" "dev-master": "7.x-dev"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"League\\Uri\\": "src" "League\\Uri\\": ""
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
@ -352,7 +266,7 @@
} }
], ],
"description": "URI manipulation library", "description": "URI manipulation library",
"homepage": "http://uri.thephpleague.com", "homepage": "https://uri.thephpleague.com",
"keywords": [ "keywords": [
"data-uri", "data-uri",
"file-uri", "file-uri",
@ -377,8 +291,8 @@
"support": { "support": {
"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/issues", "issues": "https://github.com/thephpleague/uri-src/issues",
"source": "https://github.com/thephpleague/uri/tree/6.4.0" "source": "https://github.com/thephpleague/uri/tree/7.4.0"
}, },
"funding": [ "funding": [
{ {
@ -386,46 +300,44 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-11-22T14:29:11+00:00" "time": "2023-12-01T06:24:25+00:00"
}, },
{ {
"name": "league/uri-interfaces", "name": "league/uri-interfaces",
"version": "2.3.0", "version": "7.4.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/uri-interfaces.git", "url": "https://github.com/thephpleague/uri-interfaces.git",
"reference": "00e7e2943f76d8cb50c7dfdc2f6dee356e15e383" "reference": "bd8c487ec236930f7bbc42b8d374fa882fbba0f3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/00e7e2943f76d8cb50c7dfdc2f6dee356e15e383", "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/bd8c487ec236930f7bbc42b8d374fa882fbba0f3",
"reference": "00e7e2943f76d8cb50c7dfdc2f6dee356e15e383", "reference": "bd8c487ec236930f7bbc42b8d374fa882fbba0f3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-filter": "*",
"php": "^7.2 || ^8.0" "php": "^8.1",
}, "psr/http-factory": "^1",
"require-dev": { "psr/http-message": "^1.1 || ^2.0"
"friendsofphp/php-cs-fixer": "^2.19",
"phpstan/phpstan": "^0.12.90",
"phpstan/phpstan-phpunit": "^0.12.19",
"phpstan/phpstan-strict-rules": "^0.12.9",
"phpunit/phpunit": "^8.5.15 || ^9.5"
}, },
"suggest": { "suggest": {
"ext-intl": "to use the IDNA feature", "ext-bcmath": "to improve IPV4 host parsing",
"symfony/intl": "to use the IDNA feature via Symfony Polyfill" "ext-gmp": "to improve IPV4 host parsing",
"ext-intl": "to handle IDN host with the best performance",
"php-64bit": "to improve IPV4 host parsing",
"symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.x-dev" "dev-master": "7.x-dev"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"League\\Uri\\": "src/" "League\\Uri\\": ""
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
@ -439,17 +351,32 @@
"homepage": "https://nyamsprod.com" "homepage": "https://nyamsprod.com"
} }
], ],
"description": "Common interface for URI representation", "description": "Common interfaces and classes for URI representation and interaction",
"homepage": "http://github.com/thephpleague/uri-interfaces", "homepage": "https://uri.thephpleague.com",
"keywords": [ "keywords": [
"data-uri",
"file-uri",
"ftp",
"hostname",
"http",
"https",
"parse_str",
"parse_url",
"psr-7",
"query-string",
"querystring",
"rfc3986", "rfc3986",
"rfc3987", "rfc3987",
"rfc6570",
"uri", "uri",
"url" "url",
"ws"
], ],
"support": { "support": {
"issues": "https://github.com/thephpleague/uri-interfaces/issues", "docs": "https://uri.thephpleague.com",
"source": "https://github.com/thephpleague/uri-interfaces/tree/2.3.0" "forum": "https://thephpleague.slack.com",
"issues": "https://github.com/thephpleague/uri-src/issues",
"source": "https://github.com/thephpleague/uri-interfaces/tree/7.4.0"
}, },
"funding": [ "funding": [
{ {
@ -457,79 +384,78 @@
"type": "github" "type": "github"
} }
], ],
"time": "2021-06-28T04:27:21+00:00" "time": "2023-11-24T15:40:42+00:00"
}, },
{ {
"name": "paragonie/random_compat", "name": "psr/clock",
"version": "v9.99.100", "version": "1.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/paragonie/random_compat.git", "url": "https://github.com/php-fig/clock.git",
"reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a" "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a", "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d",
"reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a", "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">= 7" "php": "^7.0 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "4.*|5.*",
"vimeo/psalm": "^1"
},
"suggest": {
"ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
}, },
"type": "library", "type": "library",
"autoload": {
"psr-4": {
"Psr\\Clock\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
"MIT" "MIT"
], ],
"authors": [ "authors": [
{ {
"name": "Paragon Initiative Enterprises", "name": "PHP-FIG",
"email": "security@paragonie.com", "homepage": "https://www.php-fig.org/"
"homepage": "https://paragonie.com"
} }
], ],
"description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", "description": "Common interface for reading the clock.",
"homepage": "https://github.com/php-fig/clock",
"keywords": [ "keywords": [
"csprng", "clock",
"polyfill", "now",
"pseudorandom", "psr",
"random" "psr-20",
"time"
], ],
"support": { "support": {
"email": "info@paragonie.com", "issues": "https://github.com/php-fig/clock/issues",
"issues": "https://github.com/paragonie/random_compat/issues", "source": "https://github.com/php-fig/clock/tree/1.0.0"
"source": "https://github.com/paragonie/random_compat"
}, },
"time": "2020-10-15T08:29:30+00:00" "time": "2022-11-25T14:36:26+00:00"
}, },
{ {
"name": "psr/http-message", "name": "psr/http-factory",
"version": "1.1", "version": "1.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/http-message.git", "url": "https://github.com/php-fig/http-factory.git",
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba" "reference": "e616d01114759c4c489f93b099585439f795fe35"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba", "url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35",
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba", "reference": "e616d01114759c4c489f93b099585439f795fe35",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.2 || ^8.0" "php": ">=7.0.0",
"psr/http-message": "^1.0 || ^2.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.1.x-dev" "dev-master": "1.0.x-dev"
} }
}, },
"autoload": { "autoload": {
@ -544,7 +470,61 @@
"authors": [ "authors": [
{ {
"name": "PHP-FIG", "name": "PHP-FIG",
"homepage": "http://www.php-fig.org/" "homepage": "https://www.php-fig.org/"
}
],
"description": "Common interfaces for PSR-7 HTTP message factories",
"keywords": [
"factory",
"http",
"message",
"psr",
"psr-17",
"psr-7",
"request",
"response"
],
"support": {
"source": "https://github.com/php-fig/http-factory/tree/1.0.2"
},
"time": "2023-04-10T20:10:41+00:00"
},
{
"name": "psr/http-message",
"version": "2.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-message.git",
"reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71",
"reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71",
"shasum": ""
},
"require": {
"php": "^7.2 || ^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Psr\\Http\\Message\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "https://www.php-fig.org/"
} }
], ],
"description": "Common interface for HTTP messages", "description": "Common interface for HTTP messages",
@ -558,9 +538,9 @@
"response" "response"
], ],
"support": { "support": {
"source": "https://github.com/php-fig/http-message/tree/1.1" "source": "https://github.com/php-fig/http-message/tree/2.0"
}, },
"time": "2023-04-04T09:50:52+00:00" "time": "2023-04-04T09:54:51+00:00"
} }
], ],
"packages-dev": [], "packages-dev": [],
@ -570,12 +550,12 @@
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"php": "^7.2.5", "php": "^8.1.0",
"ext-openssl": "*" "ext-openssl": "*"
}, },
"platform-dev": [], "platform-dev": [],
"platform-overrides": { "platform-overrides": {
"php": "7.2.5" "php": "8.1.0"
}, },
"plugin-api-version": "2.6.0" "plugin-api-version": "2.6.0"
} }