chore: update php and js dependencies to latest

+ migrate phpunit config file to new format
This commit is contained in:
Yassine Doghri 2023-06-19 10:33:11 +00:00
parent 30db9f0667
commit 178bf998ab
5 changed files with 971 additions and 941 deletions

View File

@ -17,23 +17,23 @@
"opawg/user-agents-php": "^v1.0",
"adaures/ipcat-php": "^v1.0.0",
"adaures/podcast-persons-taxonomy": "^v1.0.0",
"phpseclib/phpseclib": "~2.0.42",
"phpseclib/phpseclib": "~2.0.44",
"michalsn/codeigniter4-uuid": "dev-develop",
"codeigniter4/settings": "v2.1.2",
"chrisjean/php-ico": "^1.0.4",
"melbahja/seo": "^v2.1.1",
"codeigniter4/shield": "v1.0.0-beta.3",
"aws/aws-sdk-php": "^3.272.1",
"aws/aws-sdk-php": "^3.273.2",
"mpratt/embera": "^2.0.33"
},
"require-dev": {
"mikey179/vfsstream": "^v1.6.11",
"phpunit/phpunit": "^10.2.2",
"captainhook/captainhook": "^5.16.4",
"symplify/easy-coding-standard": "^11.3.4",
"phpstan/phpstan": "^1.10.18",
"rector/rector": "^0.17.0",
"symplify/coding-standard": "^11.3.0"
"symplify/easy-coding-standard": "^11.4.3",
"phpstan/phpstan": "^1.10.19",
"rector/rector": "^0.17.1",
"symplify/coding-standard": "^11.4.1"
},
"autoload": {
"exclude-from-classmap": [

105
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": "3b16e51ddcbb577efa8a8bb088710a5b",
"content-hash": "9fa20de985bf6177f95f7ac32155d843",
"packages": [
{
"name": "adaures/ipcat-php",
@ -120,16 +120,16 @@
},
{
"name": "aws/aws-sdk-php",
"version": "3.272.1",
"version": "3.273.2",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
"reference": "a0accaf4a16565c0b4438109c978602f27dff3a0"
"reference": "10631467bdf9869a45197a25b490948af2ef7acd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/a0accaf4a16565c0b4438109c978602f27dff3a0",
"reference": "a0accaf4a16565c0b4438109c978602f27dff3a0",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/10631467bdf9869a45197a25b490948af2ef7acd",
"reference": "10631467bdf9869a45197a25b490948af2ef7acd",
"shasum": ""
},
"require": {
@ -205,9 +205,9 @@
"support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.272.1"
"source": "https://github.com/aws/aws-sdk-php/tree/3.273.2"
},
"time": "2023-06-09T18:21:02+00:00"
"time": "2023-06-16T18:53:48+00:00"
},
{
"name": "brick/math",
@ -2052,16 +2052,16 @@
},
{
"name": "phpseclib/phpseclib",
"version": "2.0.42",
"version": "2.0.44",
"source": {
"type": "git",
"url": "https://github.com/phpseclib/phpseclib.git",
"reference": "665d289f59e646a259ebf13f29be7f6f54cab24b"
"reference": "149f608243f8133c61926aae26ce67d2b22b37e5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/665d289f59e646a259ebf13f29be7f6f54cab24b",
"reference": "665d289f59e646a259ebf13f29be7f6f54cab24b",
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/149f608243f8133c61926aae26ce67d2b22b37e5",
"reference": "149f608243f8133c61926aae26ce67d2b22b37e5",
"shasum": ""
},
"require": {
@ -2138,7 +2138,7 @@
],
"support": {
"issues": "https://github.com/phpseclib/phpseclib/issues",
"source": "https://github.com/phpseclib/phpseclib/tree/2.0.42"
"source": "https://github.com/phpseclib/phpseclib/tree/2.0.44"
},
"funding": [
{
@ -2154,7 +2154,7 @@
"type": "tidelift"
}
],
"time": "2023-03-06T12:45:53+00:00"
"time": "2023-06-13T08:41:47+00:00"
},
{
"name": "psr/cache",
@ -3474,16 +3474,16 @@
},
{
"name": "friendsofphp/php-cs-fixer",
"version": "v3.17.0",
"version": "v3.18.0",
"source": {
"type": "git",
"url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
"reference": "3f0ed862f22386c55a767461ef5083bddceeed79"
"reference": "b123395c9fa3a70801f816f13606c0f3a7ada8df"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/3f0ed862f22386c55a767461ef5083bddceeed79",
"reference": "3f0ed862f22386c55a767461ef5083bddceeed79",
"url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/b123395c9fa3a70801f816f13606c0f3a7ada8df",
"reference": "b123395c9fa3a70801f816f13606c0f3a7ada8df",
"shasum": ""
},
"require": {
@ -3554,7 +3554,7 @@
],
"support": {
"issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
"source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.17.0"
"source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.18.0"
},
"funding": [
{
@ -3562,7 +3562,7 @@
"type": "github"
}
],
"time": "2023-05-22T19:59:32+00:00"
"time": "2023-06-18T22:25:45+00:00"
},
{
"name": "mikey179/vfsstream",
@ -3816,16 +3816,16 @@
},
{
"name": "phpstan/phpstan",
"version": "1.10.18",
"version": "1.10.19",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "52b6416c579663eebdd2f1d97df21971daf3b43f"
"reference": "af5a296ff02610c1bfb4ddfac9fd4a08657b9046"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/52b6416c579663eebdd2f1d97df21971daf3b43f",
"reference": "52b6416c579663eebdd2f1d97df21971daf3b43f",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/af5a296ff02610c1bfb4ddfac9fd4a08657b9046",
"reference": "af5a296ff02610c1bfb4ddfac9fd4a08657b9046",
"shasum": ""
},
"require": {
@ -3864,7 +3864,7 @@
"type": "tidelift"
}
],
"time": "2023-06-07T22:00:43+00:00"
"time": "2023-06-14T15:26:58+00:00"
},
{
"name": "phpunit/php-code-coverage",
@ -4295,16 +4295,16 @@
},
{
"name": "rector/rector",
"version": "0.17.0",
"version": "0.17.1",
"source": {
"type": "git",
"url": "https://github.com/rectorphp/rector.git",
"reference": "d8da002b107c9b64d464bb48101290d4d078df4b"
"reference": "11401dc1abba0a359fabbf98f1057f4e65129f86"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/rectorphp/rector/zipball/d8da002b107c9b64d464bb48101290d4d078df4b",
"reference": "d8da002b107c9b64d464bb48101290d4d078df4b",
"url": "https://api.github.com/repos/rectorphp/rector/zipball/11401dc1abba0a359fabbf98f1057f4e65129f86",
"reference": "11401dc1abba0a359fabbf98f1057f4e65129f86",
"shasum": ""
},
"require": {
@ -4333,7 +4333,7 @@
"keywords": ["automation", "dev", "migration", "refactoring"],
"support": {
"issues": "https://github.com/rectorphp/rector/issues",
"source": "https://github.com/rectorphp/rector/tree/0.17.0"
"source": "https://github.com/rectorphp/rector/tree/0.17.1"
},
"funding": [
{
@ -4341,7 +4341,7 @@
"type": "github"
}
],
"time": "2023-06-01T09:42:59+00:00"
"time": "2023-06-14T09:05:33+00:00"
},
{
"name": "sebastian/cli-parser",
@ -6237,20 +6237,20 @@
},
{
"name": "symplify/coding-standard",
"version": "11.3.0",
"version": "11.4.1",
"source": {
"type": "git",
"url": "https://github.com/symplify/coding-standard.git",
"reference": "96f6eda6790bbb93b3182a08afd2fde3790fa132"
"reference": "119f5075df4d58264e4ac4ed90a073d69ffa3d2f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symplify/coding-standard/zipball/96f6eda6790bbb93b3182a08afd2fde3790fa132",
"reference": "96f6eda6790bbb93b3182a08afd2fde3790fa132",
"url": "https://api.github.com/repos/symplify/coding-standard/zipball/119f5075df4d58264e4ac4ed90a073d69ffa3d2f",
"reference": "119f5075df4d58264e4ac4ed90a073d69ffa3d2f",
"shasum": ""
},
"require": {
"friendsofphp/php-cs-fixer": "^3.13",
"friendsofphp/php-cs-fixer": "^3.18",
"nette/utils": "^3.2",
"php": ">=8.1",
"symplify/rule-doc-generator-contracts": "^11.1"
@ -6258,16 +6258,17 @@
"require-dev": {
"cweagans/composer-patches": "^1.7",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.5.26",
"rector/rector": "*",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10.19",
"phpunit/phpunit": "^10.2",
"rector/rector": "^0.17.1",
"squizlabs/php_codesniffer": "^3.7.1",
"symfony/framework-bundle": "6.1.*",
"symplify/easy-ci": "^11.1",
"symplify/easy-coding-standard": "^11.1",
"symplify/phpstan-extensions": "^11.1",
"symplify/rule-doc-generator": "^11.1"
"symplify/easy-ci": "^11.2",
"symplify/easy-coding-standard": "^11.4",
"symplify/phpstan-extensions": "^11.2",
"symplify/rule-doc-generator": "^11.1",
"tomasvotruba/type-coverage": "^0.2.0",
"tomasvotruba/unused-public": "^0.1.12"
},
"type": "library",
"extra": {
@ -6288,7 +6289,7 @@
"description": "Set of Symplify rules for PHP_CodeSniffer and PHP CS Fixer.",
"support": {
"issues": "https://github.com/symplify/coding-standard/issues",
"source": "https://github.com/symplify/coding-standard/tree/11.3.0"
"source": "https://github.com/symplify/coding-standard/tree/11.4.1"
},
"funding": [
{
@ -6300,20 +6301,20 @@
"type": "github"
}
],
"time": "2023-01-30T16:13:00+00:00"
"time": "2023-06-19T09:27:43+00:00"
},
{
"name": "symplify/easy-coding-standard",
"version": "11.3.4",
"version": "11.4.3",
"source": {
"type": "git",
"url": "https://github.com/easy-coding-standard/easy-coding-standard.git",
"reference": "c72eb4bdf30e54de2d31aef596f96642ff443741"
"reference": "d17c2634b4e12fb167809f65bd52db97be00d08a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/easy-coding-standard/easy-coding-standard/zipball/c72eb4bdf30e54de2d31aef596f96642ff443741",
"reference": "c72eb4bdf30e54de2d31aef596f96642ff443741",
"url": "https://api.github.com/repos/easy-coding-standard/easy-coding-standard/zipball/d17c2634b4e12fb167809f65bd52db97be00d08a",
"reference": "d17c2634b4e12fb167809f65bd52db97be00d08a",
"shasum": ""
},
"require": {
@ -6335,7 +6336,7 @@
"keywords": ["Code style", "automation", "fixer", "static analysis"],
"support": {
"issues": "https://github.com/easy-coding-standard/easy-coding-standard/issues",
"source": "https://github.com/easy-coding-standard/easy-coding-standard/tree/11.3.4"
"source": "https://github.com/easy-coding-standard/easy-coding-standard/tree/11.4.3"
},
"funding": [
{
@ -6347,7 +6348,7 @@
"type": "github"
}
],
"time": "2023-05-10T14:44:08+00:00"
"time": "2023-06-19T09:53:03+00:00"
},
{
"name": "symplify/rule-doc-generator-contracts",

View File

@ -33,8 +33,8 @@
"@codemirror/lang-xml": "^6.0.2",
"@codemirror/language": "^6.8.0",
"@codemirror/state": "^6.2.1",
"@codemirror/view": "^6.13.1",
"@floating-ui/dom": "^1.3.0",
"@codemirror/view": "^6.13.2",
"@floating-ui/dom": "^1.4.1",
"@github/clipboard-copy-element": "^1.2.1",
"@github/hotkey": "^2.0.1",
"@github/markdown-toolbar-element": "^2.1.1",
@ -64,14 +64,14 @@
"@types/leaflet": "^1.9.3",
"@types/marked": "^5.0.0",
"@types/wavesurfer.js": "^6.0.6",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"all-contributors-cli": "^6.26.0",
"commitizen": "^4.3.0",
"cross-env": "^7.0.3",
"cssnano": "^6.0.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.42.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
@ -79,13 +79,13 @@
"lint-staged": "^13.2.2",
"postcss": "^8.4.24",
"postcss-import": "^15.1.0",
"postcss-nesting": "^11.2.2",
"postcss-preset-env": "^8.4.2",
"postcss-nesting": "^11.3.0",
"postcss-preset-env": "^8.5.0",
"postcss-reporter": "^7.0.5",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "^3.2.2",
"semantic-release": "^21.0.5",
"stylelint": "^15.7.0",
"stylelint": "^15.8.0",
"stylelint-config-standard": "^33.0.0",
"svgo": "^3.0.2",
"tailwindcss": "^3.3.2",

View File

@ -1,13 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/codeigniter4/framework/system/Test/bootstrap.php" backupGlobals="false" colors="true" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/codeigniter4/framework/system/Test/bootstrap.php" backupGlobals="false" colors="true" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" cacheDirectory=".phpunit.cache">
<coverage includeUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
</include>
<exclude>
<directory suffix=".php">./app/Views</directory>
<file>./app/Config/Routes.php</file>
</exclude>
<report>
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="build/logs/html"/>
@ -42,4 +35,13 @@
<env name="database.tests.DBPrefix" value="tests_"/>
<env name="restapi.enabled" value="true"/>
</php>
<source>
<include>
<directory suffix=".php">./app</directory>
</include>
<exclude>
<directory suffix=".php">./app/Views</directory>
<file>./app/Config/Routes.php</file>
</exclude>
</source>
</phpunit>

File diff suppressed because it is too large Load Diff