diff --git a/composer.lock b/composer.lock
index 7dc47c3..a111dd2 100644
--- a/composer.lock
+++ b/composer.lock
@@ -9,16 +9,16 @@
"packages-dev": [
{
"name": "consolidation/annotated-command",
- "version": "4.1.1",
+ "version": "4.2.3",
"source": {
"type": "git",
"url": "https://github.com/consolidation/annotated-command.git",
- "reference": "efc58dc0f34a45539787c5190b41b5d2a50a08da"
+ "reference": "4b596872f24c39d9c04d7b3adb6bc51baa1f2fd5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/consolidation/annotated-command/zipball/efc58dc0f34a45539787c5190b41b5d2a50a08da",
- "reference": "efc58dc0f34a45539787c5190b41b5d2a50a08da",
+ "url": "https://api.github.com/repos/consolidation/annotated-command/zipball/4b596872f24c39d9c04d7b3adb6bc51baa1f2fd5",
+ "reference": "4b596872f24c39d9c04d7b3adb6bc51baa1f2fd5",
"shasum": ""
},
"require": {
@@ -50,7 +50,7 @@
}
},
"branch-alias": {
- "dev-master": "4.x-dev"
+ "dev-main": "4.x-dev"
}
},
"autoload": {
@@ -69,34 +69,35 @@
}
],
"description": "Initialize Symfony Console commands from annotated command class methods.",
- "time": "2020-05-27T21:11:36+00:00"
+ "time": "2020-10-03T14:28:42+00:00"
},
{
"name": "consolidation/config",
- "version": "1.2.1",
+ "version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/consolidation/config.git",
- "reference": "cac1279bae7efb5c7fb2ca4c3ba4b8eb741a96c1"
+ "reference": "9842670aad3406dbc8df3069fd680a9f8cd6edd7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/consolidation/config/zipball/cac1279bae7efb5c7fb2ca4c3ba4b8eb741a96c1",
- "reference": "cac1279bae7efb5c7fb2ca4c3ba4b8eb741a96c1",
+ "url": "https://api.github.com/repos/consolidation/config/zipball/9842670aad3406dbc8df3069fd680a9f8cd6edd7",
+ "reference": "9842670aad3406dbc8df3069fd680a9f8cd6edd7",
"shasum": ""
},
"require": {
"dflydev/dot-access-data": "^1.1.0",
"grasmash/expander": "^1",
- "php": ">=5.4.0"
+ "php": ">=7.1.3"
},
"require-dev": {
"g1a/composer-test-scenarios": "^3",
- "php-coveralls/php-coveralls": "^1",
- "phpunit/phpunit": "^5",
- "squizlabs/php_codesniffer": "2.*",
- "symfony/console": "^2.5|^3|^4",
- "symfony/yaml": "^2.8.11|^3|^4"
+ "php-coveralls/php-coveralls": "^2.2",
+ "phpunit/phpunit": "^6",
+ "squizlabs/php_codesniffer": "^3",
+ "symfony/console": "^4|^5",
+ "symfony/event-dispatcher": "^4|^5",
+ "symfony/yaml": "^4|^5"
},
"suggest": {
"symfony/yaml": "Required to use Consolidation\\Config\\Loader\\YamlConfigLoader"
@@ -106,32 +107,17 @@
"scenarios": {
"symfony4": {
"require-dev": {
- "symfony/console": "^4.0"
+ "symfony/console": "^4"
},
"config": {
"platform": {
"php": "7.1.3"
}
}
- },
- "symfony2": {
- "require-dev": {
- "symfony/console": "^2.8",
- "symfony/event-dispatcher": "^2.8",
- "phpunit/phpunit": "^4.8.36"
- },
- "remove": [
- "php-coveralls/php-coveralls"
- ],
- "config": {
- "platform": {
- "php": "5.4.8"
- }
- }
}
},
"branch-alias": {
- "dev-master": "1.x-dev"
+ "dev-master": "2.x-dev"
}
},
"autoload": {
@@ -150,7 +136,7 @@
}
],
"description": "Provide configuration services for a commandline tool.",
- "time": "2019-03-03T19:37:04+00:00"
+ "time": "2020-05-27T17:11:23+00:00"
},
{
"name": "consolidation/log",
@@ -282,48 +268,48 @@
},
{
"name": "consolidation/robo",
- "version": "1.4.12",
+ "version": "2.2.1",
"source": {
"type": "git",
"url": "https://github.com/consolidation/Robo.git",
- "reference": "eb45606f498b3426b9a98b7c85e300666a968e51"
+ "reference": "1a7c652371615fd72ff05380ffe6ce263eb31eb3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/consolidation/Robo/zipball/eb45606f498b3426b9a98b7c85e300666a968e51",
- "reference": "eb45606f498b3426b9a98b7c85e300666a968e51",
+ "url": "https://api.github.com/repos/consolidation/Robo/zipball/1a7c652371615fd72ff05380ffe6ce263eb31eb3",
+ "reference": "1a7c652371615fd72ff05380ffe6ce263eb31eb3",
"shasum": ""
},
"require": {
- "consolidation/annotated-command": "^2.11.0|^4.1",
- "consolidation/config": "^1.2.1",
- "consolidation/log": "^1.1.1|^2",
- "consolidation/output-formatters": "^3.1.13|^4.1",
- "consolidation/self-update": "^1.1.5",
- "grasmash/yaml-expander": "^1.4",
+ "consolidation/annotated-command": "^4.2.1",
+ "consolidation/config": "^1.2.1|^2",
+ "consolidation/log": "^1.1.1|^2.0.1",
+ "consolidation/output-formatters": "^4.1.1",
+ "consolidation/self-update": "^1.2",
"league/container": "^2.4.1",
- "php": ">=5.5.0",
- "symfony/console": "^2.8|^3|^4",
- "symfony/event-dispatcher": "^2.5|^3|^4",
- "symfony/filesystem": "^2.5|^3|^4",
- "symfony/finder": "^2.5|^3|^4",
- "symfony/process": "^2.5|^3|^4"
+ "php": ">=7.1.3",
+ "symfony/console": "^4.4.11|^5",
+ "symfony/event-dispatcher": "^4.4.11|^5",
+ "symfony/filesystem": "^4.4.11|^5",
+ "symfony/finder": "^4.4.11|^5",
+ "symfony/process": "^4.4.11|^5"
},
- "replace": {
- "codegyre/robo": "< 1.0"
+ "conflict": {
+ "codegyre/robo": "*"
},
"require-dev": {
"g1a/composer-test-scenarios": "^3",
"natxet/cssmin": "3.0.4",
"patchwork/jsqueeze": "^2",
"pear/archive_tar": "^1.4.4",
- "php-coveralls/php-coveralls": "^1",
- "phpunit/phpunit": "^5.7.27",
+ "php-coveralls/php-coveralls": "^2.2",
+ "phpdocumentor/reflection-docblock": "^4.3.2",
+ "phpunit/phpunit": "^6.5.14",
"squizlabs/php_codesniffer": "^3"
},
"suggest": {
"henrikbjorn/lurker": "For monitoring filesystem changes in taskWatch",
- "natxet/CssMin": "For minifying CSS files in taskMinify",
+ "natxet/cssmin": "For minifying CSS files in taskMinify",
"patchwork/jsqueeze": "For minifying JS files in taskMinify",
"pear/archive_tar": "Allows tar archives to be created and extracted in taskPack and taskExtract, respectively."
},
@@ -335,36 +321,27 @@
"scenarios": {
"symfony4": {
"require": {
- "symfony/console": "^4"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- },
- "symfony2": {
- "require": {
- "symfony/console": "^2.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36"
+ "symfony/console": "^4.4.11",
+ "symfony/event-dispatcher": "^4.4.11",
+ "symfony/filesystem": "^4.4.11",
+ "symfony/finder": "^4.4.11",
+ "symfony/process": "^4.4.11",
+ "phpunit/phpunit": "^6",
+ "nikic/php-parser": "^2"
},
"remove": [
- "php-coveralls/php-coveralls"
+ "codeception/phpunit-wrapper"
],
"config": {
"platform": {
- "php": "5.5.9"
+ "php": "7.1.3"
}
- },
- "scenario-options": {
- "create-lockfile": "false"
}
}
},
"branch-alias": {
- "dev-master": "1.x-dev"
+ "dev-master": "2.x-dev",
+ "dev-main": "2.x-dev"
}
},
"autoload": {
@@ -383,7 +360,7 @@
}
],
"description": "Modern task runner",
- "time": "2020-02-18T17:31:26+00:00"
+ "time": "2020-09-08T16:23:18+00:00"
},
{
"name": "consolidation/self-update",
@@ -464,6 +441,7 @@
],
"description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
"homepage": "https://github.com/container-interop/container-interop",
+ "abandoned": "psr/container",
"time": "2017-02-14T19:40:03+00:00"
},
{
@@ -564,20 +542,20 @@
},
{
"name": "glpi-project/tools",
- "version": "0.1.13",
+ "version": "0.1.14",
"source": {
"type": "git",
"url": "https://github.com/glpi-project/tools.git",
- "reference": "2028ecf9acd8b838cff37771dcab77ced9391f41"
+ "reference": "fd2d9d5a8a465640efe8f20334a6ee302cafe05e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/glpi-project/tools/zipball/2028ecf9acd8b838cff37771dcab77ced9391f41",
- "reference": "2028ecf9acd8b838cff37771dcab77ced9391f41",
+ "url": "https://api.github.com/repos/glpi-project/tools/zipball/fd2d9d5a8a465640efe8f20334a6ee302cafe05e",
+ "reference": "fd2d9d5a8a465640efe8f20334a6ee302cafe05e",
"shasum": ""
},
"require": {
- "consolidation/robo": "^1.3",
+ "consolidation/robo": "^1.3 || ^2.0",
"glpi-project/coding-standard": "^0.7",
"natxet/cssmin": "^3.0",
"patchwork/jsqueeze": "^1.0"
@@ -610,7 +588,7 @@
"plugins",
"tools"
],
- "time": "2020-06-19T10:29:26+00:00"
+ "time": "2020-10-26T07:33:44+00:00"
},
{
"name": "grasmash/expander",
@@ -659,54 +637,6 @@
"description": "Expands internal property references in PHP arrays file.",
"time": "2017-12-21T22:14:55+00:00"
},
- {
- "name": "grasmash/yaml-expander",
- "version": "1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/grasmash/yaml-expander.git",
- "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/grasmash/yaml-expander/zipball/3f0f6001ae707a24f4d9733958d77d92bf9693b1",
- "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1",
- "shasum": ""
- },
- "require": {
- "dflydev/dot-access-data": "^1.1.0",
- "php": ">=5.4",
- "symfony/yaml": "^2.8.11|^3|^4"
- },
- "require-dev": {
- "greg-1-anderson/composer-test-scenarios": "^1",
- "phpunit/phpunit": "^4.8|^5.5.4",
- "satooshi/php-coveralls": "^1.0.2|dev-master",
- "squizlabs/php_codesniffer": "^2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Grasmash\\YamlExpander\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Matthew Grasmick"
- }
- ],
- "description": "Expands internal property references in a yaml file.",
- "time": "2017-12-16T16:06:03+00:00"
- },
{
"name": "league/container",
"version": "2.4.1",
@@ -859,6 +789,7 @@
"javascript",
"minification"
],
+ "abandoned": true,
"time": "2015-03-25T10:11:08+00:00"
},
{
@@ -959,16 +890,16 @@
},
{
"name": "squizlabs/php_codesniffer",
- "version": "3.5.5",
+ "version": "3.5.8",
"source": {
"type": "git",
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "73e2e7f57d958e7228fce50dc0c61f58f017f9f6"
+ "reference": "9d583721a7157ee997f235f327de038e7ea6dac4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/73e2e7f57d958e7228fce50dc0c61f58f017f9f6",
- "reference": "73e2e7f57d958e7228fce50dc0c61f58f017f9f6",
+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/9d583721a7157ee997f235f327de038e7ea6dac4",
+ "reference": "9d583721a7157ee997f235f327de038e7ea6dac4",
"shasum": ""
},
"require": {
@@ -1006,20 +937,20 @@
"phpcs",
"standards"
],
- "time": "2020-04-17T01:09:41+00:00"
+ "time": "2020-10-23T02:01:07+00:00"
},
{
"name": "symfony/console",
- "version": "v4.4.10",
+ "version": "v4.4.15",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "326b064d804043005526f5a0494cfb49edb59bb0"
+ "reference": "90933b39c7b312fc3ceaa1ddeac7eb48cb953124"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/326b064d804043005526f5a0494cfb49edb59bb0",
- "reference": "326b064d804043005526f5a0494cfb49edb59bb0",
+ "url": "https://api.github.com/repos/symfony/console/zipball/90933b39c7b312fc3ceaa1ddeac7eb48cb953124",
+ "reference": "90933b39c7b312fc3ceaa1ddeac7eb48cb953124",
"shasum": ""
},
"require": {
@@ -1097,20 +1028,20 @@
"type": "tidelift"
}
],
- "time": "2020-05-30T20:06:45+00:00"
+ "time": "2020-09-15T07:58:55+00:00"
},
{
"name": "symfony/event-dispatcher",
- "version": "v4.4.10",
+ "version": "v4.4.15",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "a5370aaa7807c7a439b21386661ffccf3dff2866"
+ "reference": "e17bb5e0663dc725f7cdcafc932132735b4725cd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/a5370aaa7807c7a439b21386661ffccf3dff2866",
- "reference": "a5370aaa7807c7a439b21386661ffccf3dff2866",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/e17bb5e0663dc725f7cdcafc932132735b4725cd",
+ "reference": "e17bb5e0663dc725f7cdcafc932132735b4725cd",
"shasum": ""
},
"require": {
@@ -1128,6 +1059,7 @@
"psr/log": "~1.0",
"symfony/config": "^3.4|^4.0|^5.0",
"symfony/dependency-injection": "^3.4|^4.0|^5.0",
+ "symfony/error-handler": "~3.4|~4.4",
"symfony/expression-language": "^3.4|^4.0|^5.0",
"symfony/http-foundation": "^3.4|^4.0|^5.0",
"symfony/service-contracts": "^1.1|^2",
@@ -1181,24 +1113,24 @@
"type": "tidelift"
}
],
- "time": "2020-05-20T08:37:50+00:00"
+ "time": "2020-09-18T14:07:46+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
- "version": "v1.1.7",
+ "version": "v1.1.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher-contracts.git",
- "reference": "c43ab685673fb6c8d84220c77897b1d6cdbe1d18"
+ "reference": "84e23fdcd2517bf37aecbd16967e83f0caee25a7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/c43ab685673fb6c8d84220c77897b1d6cdbe1d18",
- "reference": "c43ab685673fb6c8d84220c77897b1d6cdbe1d18",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/84e23fdcd2517bf37aecbd16967e83f0caee25a7",
+ "reference": "84e23fdcd2517bf37aecbd16967e83f0caee25a7",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": ">=7.1.3"
},
"suggest": {
"psr/event-dispatcher": "",
@@ -1208,6 +1140,10 @@
"extra": {
"branch-alias": {
"dev-master": "1.1-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
}
},
"autoload": {
@@ -1239,20 +1175,34 @@
"interoperability",
"standards"
],
- "time": "2019-09-17T09:54:03+00:00"
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2020-07-06T13:19:58+00:00"
},
{
"name": "symfony/filesystem",
- "version": "v4.4.10",
+ "version": "v4.4.15",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
- "reference": "b27f491309db5757816db672b256ea2e03677d30"
+ "reference": "ebc51494739d3b081ea543ed7c462fa73a4f74db"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/b27f491309db5757816db672b256ea2e03677d30",
- "reference": "b27f491309db5757816db672b256ea2e03677d30",
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/ebc51494739d3b081ea543ed7c462fa73a4f74db",
+ "reference": "ebc51494739d3b081ea543ed7c462fa73a4f74db",
"shasum": ""
},
"require": {
@@ -1303,24 +1253,24 @@
"type": "tidelift"
}
],
- "time": "2020-05-30T18:50:54+00:00"
+ "time": "2020-09-27T13:54:16+00:00"
},
{
"name": "symfony/finder",
- "version": "v4.4.10",
+ "version": "v4.4.15",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "5729f943f9854c5781984ed4907bbb817735776b"
+ "reference": "60d08560f9aa72997c44077c40d47aa28a963230"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/5729f943f9854c5781984ed4907bbb817735776b",
- "reference": "5729f943f9854c5781984ed4907bbb817735776b",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/60d08560f9aa72997c44077c40d47aa28a963230",
+ "reference": "60d08560f9aa72997c44077c40d47aa28a963230",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": ">=7.1.3"
},
"type": "library",
"extra": {
@@ -1366,24 +1316,24 @@
"type": "tidelift"
}
],
- "time": "2020-03-27T16:54:36+00:00"
+ "time": "2020-10-02T07:34:48+00:00"
},
{
"name": "symfony/polyfill-ctype",
- "version": "v1.17.1",
+ "version": "v1.20.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d"
+ "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d",
- "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d",
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/f4ba089a5b6366e453971d3aad5fe8e897b37f41",
+ "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"suggest": {
"ext-ctype": "For best performance"
@@ -1391,7 +1341,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.17-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -1442,24 +1392,24 @@
"type": "tidelift"
}
],
- "time": "2020-06-06T08:46:27+00:00"
+ "time": "2020-10-23T14:02:19+00:00"
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.17.1",
+ "version": "v1.20.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "7110338d81ce1cbc3e273136e4574663627037a7"
+ "reference": "39d483bdf39be819deabf04ec872eb0b2410b531"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7110338d81ce1cbc3e273136e4574663627037a7",
- "reference": "7110338d81ce1cbc3e273136e4574663627037a7",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/39d483bdf39be819deabf04ec872eb0b2410b531",
+ "reference": "39d483bdf39be819deabf04ec872eb0b2410b531",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"suggest": {
"ext-mbstring": "For best performance"
@@ -1467,7 +1417,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.17-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -1519,29 +1469,29 @@
"type": "tidelift"
}
],
- "time": "2020-06-06T08:46:27+00:00"
+ "time": "2020-10-23T14:02:19+00:00"
},
{
"name": "symfony/polyfill-php73",
- "version": "v1.17.1",
+ "version": "v1.20.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
- "reference": "fa0837fe02d617d31fbb25f990655861bb27bd1a"
+ "reference": "8ff431c517be11c78c48a39a66d37431e26a6bed"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fa0837fe02d617d31fbb25f990655861bb27bd1a",
- "reference": "fa0837fe02d617d31fbb25f990655861bb27bd1a",
+ "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/8ff431c517be11c78c48a39a66d37431e26a6bed",
+ "reference": "8ff431c517be11c78c48a39a66d37431e26a6bed",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.17-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -1595,29 +1545,29 @@
"type": "tidelift"
}
],
- "time": "2020-06-06T08:46:27+00:00"
+ "time": "2020-10-23T14:02:19+00:00"
},
{
"name": "symfony/polyfill-php80",
- "version": "v1.17.1",
+ "version": "v1.20.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
- "reference": "4a5b6bba3259902e386eb80dd1956181ee90b5b2"
+ "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4a5b6bba3259902e386eb80dd1956181ee90b5b2",
- "reference": "4a5b6bba3259902e386eb80dd1956181ee90b5b2",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/e70aa8b064c5b72d3df2abd5ab1e90464ad009de",
+ "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de",
"shasum": ""
},
"require": {
- "php": ">=7.0.8"
+ "php": ">=7.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.17-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -1675,24 +1625,24 @@
"type": "tidelift"
}
],
- "time": "2020-06-06T08:46:27+00:00"
+ "time": "2020-10-23T14:02:19+00:00"
},
{
"name": "symfony/process",
- "version": "v4.4.10",
+ "version": "v4.4.15",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "c714958428a85c86ab97e3a0c96db4c4f381b7f5"
+ "reference": "9b887acc522935f77555ae8813495958c7771ba7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/c714958428a85c86ab97e3a0c96db4c4f381b7f5",
- "reference": "c714958428a85c86ab97e3a0c96db4c4f381b7f5",
+ "url": "https://api.github.com/repos/symfony/process/zipball/9b887acc522935f77555ae8813495958c7771ba7",
+ "reference": "9b887acc522935f77555ae8813495958c7771ba7",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": ">=7.1.3"
},
"type": "library",
"extra": {
@@ -1738,24 +1688,24 @@
"type": "tidelift"
}
],
- "time": "2020-05-30T20:06:45+00:00"
+ "time": "2020-09-02T16:08:58+00:00"
},
{
"name": "symfony/service-contracts",
- "version": "v1.1.8",
+ "version": "v1.1.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/service-contracts.git",
- "reference": "ffc7f5692092df31515df2a5ecf3b7302b3ddacf"
+ "reference": "b776d18b303a39f56c63747bcb977ad4b27aca26"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/service-contracts/zipball/ffc7f5692092df31515df2a5ecf3b7302b3ddacf",
- "reference": "ffc7f5692092df31515df2a5ecf3b7302b3ddacf",
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/b776d18b303a39f56c63747bcb977ad4b27aca26",
+ "reference": "b776d18b303a39f56c63747bcb977ad4b27aca26",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
+ "php": ">=7.1.3",
"psr/container": "^1.0"
},
"suggest": {
@@ -1765,6 +1715,10 @@
"extra": {
"branch-alias": {
"dev-master": "1.1-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
}
},
"autoload": {
@@ -1796,65 +1750,6 @@
"interoperability",
"standards"
],
- "time": "2019-10-14T12:27:06+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v4.4.10",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "c2d2cc66e892322cfcc03f8f12f8340dbd7a3f8a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/c2d2cc66e892322cfcc03f8f12f8340dbd7a3f8a",
- "reference": "c2d2cc66e892322cfcc03f8f12f8340dbd7a3f8a",
- "shasum": ""
- },
- "require": {
- "php": ">=7.1.3",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/console": "<3.4"
- },
- "require-dev": {
- "symfony/console": "^3.4|^4.0|^5.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1869,7 +1764,7 @@
"type": "tidelift"
}
],
- "time": "2020-05-20T08:37:50+00:00"
+ "time": "2020-07-06T13:19:58+00:00"
}
],
"aliases": [],
diff --git a/inc/alert_user.class.php b/inc/alert_user.class.php
index 343d3d8..79853de 100644
--- a/inc/alert_user.class.php
+++ b/inc/alert_user.class.php
@@ -25,9 +25,16 @@
die("Sorry. You can't access directly to this file");
}
-class PluginNewsAlert_User extends CommonDBTM {
+class PluginNewsAlert_User extends CommonDBRelation {
const HIDDEN = 1;
+ static public $itemtype_1 = 'PluginNewsAlert';
+ static public $items_id_1 = 'plugin_news_alerts_id';
+ static public $checkItem_1_Rights = self::HAVE_VIEW_RIGHT_ON_ITEM;
+
+ static public $itemtype_2 = 'User';
+ static public $items_id_2 = 'users_id';
+
static function hideAlert($params = []) {
global $DB;
@@ -44,4 +51,26 @@ static function hideAlert($params = []) {
($users_id, $plugin_news_alerts_id, ".self::HIDDEN.")";
return $res_hidealert = $DB->query($query_hidealert);
}
+
+ public function canCreateItem() {
+ if ($this->fields['users_id'] != Session::getLoginUserID()) {
+ return false;
+ }
+
+ return true;
+ }
+
+ public function rawSearchOptions() {
+ $tab = parent::rawSearchOptions();
+
+ $tab[] = [
+ 'id' => 5,
+ 'table' => $this->getTable(),
+ 'field' => 'state',
+ 'name' => __('Status'),
+ 'datatype' => 'dropdown',
+ ];
+
+ return $tab;
+ }
}
diff --git a/plugin.xml b/plugin.xml
index b6ea75c..6e93173 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -53,6 +53,11 @@ Fonctionnalités
TECLIB'
+
+ 1.8.0
+ ~9.5.0
+ https://github.com/pluginsGLPI/news/releases/download/1.8.0/glpi-news-1.8.0.tar.bz2
+
1.7.0
~9.5.0
diff --git a/setup.php b/setup.php
index 74f0d25..6e98b0b 100644
--- a/setup.php
+++ b/setup.php
@@ -21,7 +21,7 @@
--------------------------------------------------------------------------
*/
-define ('PLUGIN_NEWS_VERSION', '1.7.0');
+define ('PLUGIN_NEWS_VERSION', '1.8.0');
// Minimal GLPI version, inclusive
define("PLUGIN_NEWS_MIN_GLPI", "9.5");