Added compliance stats type to the tests data, fixed the initial insert data.

pull/316/head
Ruslan Baidan 2020-06-24 15:12:40 +02:00
parent 7b198da74f
commit 31a30db6b6
No known key found for this signature in database
GPG Key ID: 4B7724C136BF1D89
6 changed files with 6896 additions and 4676 deletions

304
composer.lock generated
View File

@ -60,16 +60,16 @@
}, },
{ {
"name": "cakephp/cache", "name": "cakephp/cache",
"version": "3.8.12", "version": "3.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/cakephp/cache.git", "url": "https://github.com/cakephp/cache.git",
"reference": "09b2a1c4929e134456d30c61d9dbf6e10ace8436" "reference": "e8ec4e77fb288adda318e08053f5f540870aeb9d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/cakephp/cache/zipball/09b2a1c4929e134456d30c61d9dbf6e10ace8436", "url": "https://api.github.com/repos/cakephp/cache/zipball/e8ec4e77fb288adda318e08053f5f540870aeb9d",
"reference": "09b2a1c4929e134456d30c61d9dbf6e10ace8436", "reference": "e8ec4e77fb288adda318e08053f5f540870aeb9d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -100,20 +100,20 @@
"caching", "caching",
"cakephp" "cakephp"
], ],
"time": "2020-04-19T21:38:42+00:00" "time": "2020-06-16T00:54:28+00:00"
}, },
{ {
"name": "cakephp/collection", "name": "cakephp/collection",
"version": "3.8.12", "version": "3.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/cakephp/collection.git", "url": "https://github.com/cakephp/collection.git",
"reference": "013e9d02552c56d737a6bff91e59544c735efed7" "reference": "387cc755ef04a98f8a4461281090465238421d69"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/cakephp/collection/zipball/013e9d02552c56d737a6bff91e59544c735efed7", "url": "https://api.github.com/repos/cakephp/collection/zipball/387cc755ef04a98f8a4461281090465238421d69",
"reference": "013e9d02552c56d737a6bff91e59544c735efed7", "reference": "387cc755ef04a98f8a4461281090465238421d69",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -146,20 +146,20 @@
"collections", "collections",
"iterators" "iterators"
], ],
"time": "2020-01-10T15:24:40+00:00" "time": "2020-06-13T12:25:53+00:00"
}, },
{ {
"name": "cakephp/core", "name": "cakephp/core",
"version": "3.8.12", "version": "3.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/cakephp/core.git", "url": "https://github.com/cakephp/core.git",
"reference": "16249fa6771663e6649cbdb832f7ff25bf568b84" "reference": "76b9450dc68c81f93bca7827cfbb42a53a5f7737"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/cakephp/core/zipball/16249fa6771663e6649cbdb832f7ff25bf568b84", "url": "https://api.github.com/repos/cakephp/core/zipball/76b9450dc68c81f93bca7827cfbb42a53a5f7737",
"reference": "16249fa6771663e6649cbdb832f7ff25bf568b84", "reference": "76b9450dc68c81f93bca7827cfbb42a53a5f7737",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -196,20 +196,20 @@
"core", "core",
"framework" "framework"
], ],
"time": "2020-01-10T15:24:40+00:00" "time": "2020-06-16T00:54:28+00:00"
}, },
{ {
"name": "cakephp/database", "name": "cakephp/database",
"version": "3.8.12", "version": "3.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/cakephp/database.git", "url": "https://github.com/cakephp/database.git",
"reference": "489591545fd223d6cdbf022049f7c73ede0cb4fa" "reference": "b90f74859237ff507eb20c47c3b84d564c543688"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/cakephp/database/zipball/489591545fd223d6cdbf022049f7c73ede0cb4fa", "url": "https://api.github.com/repos/cakephp/database/zipball/b90f74859237ff507eb20c47c3b84d564c543688",
"reference": "489591545fd223d6cdbf022049f7c73ede0cb4fa", "reference": "b90f74859237ff507eb20c47c3b84d564c543688",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -244,20 +244,20 @@
"database abstraction", "database abstraction",
"pdo" "pdo"
], ],
"time": "2020-04-13T01:41:15+00:00" "time": "2020-06-14T02:01:05+00:00"
}, },
{ {
"name": "cakephp/datasource", "name": "cakephp/datasource",
"version": "3.8.12", "version": "3.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/cakephp/datasource.git", "url": "https://github.com/cakephp/datasource.git",
"reference": "adc983f7c4d99c4361e3a8e4c0db7cdde26ee180" "reference": "ef310daf569dc11ef473a9ba0c52429025f672ec"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/cakephp/datasource/zipball/adc983f7c4d99c4361e3a8e4c0db7cdde26ee180", "url": "https://api.github.com/repos/cakephp/datasource/zipball/ef310daf569dc11ef473a9ba0c52429025f672ec",
"reference": "adc983f7c4d99c4361e3a8e4c0db7cdde26ee180", "reference": "ef310daf569dc11ef473a9ba0c52429025f672ec",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -294,20 +294,20 @@
"entity", "entity",
"query" "query"
], ],
"time": "2020-04-14T14:22:40+00:00" "time": "2020-06-16T00:54:28+00:00"
}, },
{ {
"name": "cakephp/log", "name": "cakephp/log",
"version": "3.8.12", "version": "3.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/cakephp/log.git", "url": "https://github.com/cakephp/log.git",
"reference": "2dae5b32430ca89d66c73bd9d568fcf68736eae5" "reference": "02940591797475c2d384af12432561204d6ecdf9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/cakephp/log/zipball/2dae5b32430ca89d66c73bd9d568fcf68736eae5", "url": "https://api.github.com/repos/cakephp/log/zipball/02940591797475c2d384af12432561204d6ecdf9",
"reference": "2dae5b32430ca89d66c73bd9d568fcf68736eae5", "reference": "02940591797475c2d384af12432561204d6ecdf9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -339,20 +339,20 @@
"log", "log",
"logging" "logging"
], ],
"time": "2020-01-10T15:24:40+00:00" "time": "2020-06-16T00:54:28+00:00"
}, },
{ {
"name": "cakephp/utility", "name": "cakephp/utility",
"version": "3.8.12", "version": "3.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/cakephp/utility.git", "url": "https://github.com/cakephp/utility.git",
"reference": "9f121defbff4b5f3691b33de8cb203b8923fc2a4" "reference": "27d9c7409ad89272e2483e3196aabc47385d3db6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/cakephp/utility/zipball/9f121defbff4b5f3691b33de8cb203b8923fc2a4", "url": "https://api.github.com/repos/cakephp/utility/zipball/27d9c7409ad89272e2483e3196aabc47385d3db6",
"reference": "9f121defbff4b5f3691b33de8cb203b8923fc2a4", "reference": "27d9c7409ad89272e2483e3196aabc47385d3db6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -392,7 +392,7 @@
"string", "string",
"utility" "utility"
], ],
"time": "2020-02-18T01:57:35+00:00" "time": "2020-06-14T02:01:05+00:00"
}, },
{ {
"name": "container-interop/container-interop", "name": "container-interop/container-interop",
@ -672,16 +672,16 @@
}, },
{ {
"name": "doctrine/common", "name": "doctrine/common",
"version": "2.13.2", "version": "2.13.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/common.git", "url": "https://github.com/doctrine/common.git",
"reference": "6902fafacb43333d9dc3d949c0a06048a31549ac" "reference": "f3812c026e557892c34ef37f6ab808a6b567da7f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/common/zipball/6902fafacb43333d9dc3d949c0a06048a31549ac", "url": "https://api.github.com/repos/doctrine/common/zipball/f3812c026e557892c34ef37f6ab808a6b567da7f",
"reference": "6902fafacb43333d9dc3d949c0a06048a31549ac", "reference": "f3812c026e557892c34ef37f6ab808a6b567da7f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -765,7 +765,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-29T17:35:20+00:00" "time": "2020-06-05T16:46:05+00:00"
}, },
{ {
"name": "doctrine/dbal", "name": "doctrine/dbal",
@ -1662,16 +1662,16 @@
}, },
{ {
"name": "guzzlehttp/guzzle", "name": "guzzlehttp/guzzle",
"version": "6.5.4", "version": "6.5.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/guzzle.git", "url": "https://github.com/guzzle/guzzle.git",
"reference": "a4a1b6930528a8f7ee03518e6442ec7a44155d9d" "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/a4a1b6930528a8f7ee03518e6442ec7a44155d9d", "url": "https://api.github.com/repos/guzzle/guzzle/zipball/9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
"reference": "a4a1b6930528a8f7ee03518e6442ec7a44155d9d", "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1679,7 +1679,7 @@
"guzzlehttp/promises": "^1.0", "guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.6.1", "guzzlehttp/psr7": "^1.6.1",
"php": ">=5.5", "php": ">=5.5",
"symfony/polyfill-intl-idn": "1.17.0" "symfony/polyfill-intl-idn": "^1.17.0"
}, },
"require-dev": { "require-dev": {
"ext-curl": "*", "ext-curl": "*",
@ -1725,7 +1725,7 @@
"rest", "rest",
"web service" "web service"
], ],
"time": "2020-05-25T19:35:05+00:00" "time": "2020-06-16T21:01:06+00:00"
}, },
{ {
"name": "guzzlehttp/promises", "name": "guzzlehttp/promises",
@ -2563,16 +2563,16 @@
}, },
{ {
"name": "laminas/laminas-http", "name": "laminas/laminas-http",
"version": "2.11.2", "version": "2.12.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laminas/laminas-http.git", "url": "https://github.com/laminas/laminas-http.git",
"reference": "8c66963b933c80da59433da56a44dfa979f3ec88" "reference": "48bd06ffa3a6875e2b77d6852405eb7b1589d575"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laminas/laminas-http/zipball/8c66963b933c80da59433da56a44dfa979f3ec88", "url": "https://api.github.com/repos/laminas/laminas-http/zipball/48bd06ffa3a6875e2b77d6852405eb7b1589d575",
"reference": "8c66963b933c80da59433da56a44dfa979f3ec88", "reference": "48bd06ffa3a6875e2b77d6852405eb7b1589d575",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2584,7 +2584,7 @@
"php": "^5.6 || ^7.0" "php": "^5.6 || ^7.0"
}, },
"replace": { "replace": {
"zendframework/zend-http": "self.version" "zendframework/zend-http": "^2.11.2"
}, },
"require-dev": { "require-dev": {
"laminas/laminas-coding-standard": "~1.0.0", "laminas/laminas-coding-standard": "~1.0.0",
@ -2597,8 +2597,8 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.11.x-dev", "dev-master": "2.12.x-dev",
"dev-develop": "2.12.x-dev" "dev-develop": "2.13.x-dev"
} }
}, },
"autoload": { "autoload": {
@ -2617,7 +2617,13 @@
"http client", "http client",
"laminas" "laminas"
], ],
"time": "2019-12-31T17:02:36+00:00" "funding": [
{
"url": "https://funding.communitybridge.org/projects/laminas-project",
"type": "community_bridge"
}
],
"time": "2020-06-23T15:14:37+00:00"
}, },
{ {
"name": "laminas/laminas-hydrator", "name": "laminas/laminas-hydrator",
@ -3981,12 +3987,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/monarc-project/zm-core.git", "url": "https://github.com/monarc-project/zm-core.git",
"reference": "c7880705925bdacb3f835d17b0da5f46af836b45" "reference": "25e3dd77b7ae4d85ee0393e450c17a2398e2365f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/monarc-project/zm-core/zipball/c7880705925bdacb3f835d17b0da5f46af836b45", "url": "https://api.github.com/repos/monarc-project/zm-core/zipball/25e3dd77b7ae4d85ee0393e450c17a2398e2365f",
"reference": "c7880705925bdacb3f835d17b0da5f46af836b45", "reference": "25e3dd77b7ae4d85ee0393e450c17a2398e2365f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4061,7 +4067,7 @@
} }
], ],
"description": "Core for monarc/monarc application", "description": "Core for monarc/monarc application",
"time": "2020-06-03T15:39:51+00:00" "time": "2020-06-18T15:18:49+00:00"
}, },
{ {
"name": "monarc/frontoffice", "name": "monarc/frontoffice",
@ -4069,16 +4075,17 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/monarc-project/zm-client.git", "url": "https://github.com/monarc-project/zm-client.git",
"reference": "a60493f0a8c98534d729c7ce91d9c07756313e23" "reference": "158d1163a4f3701d8f5c46857a32406a6efd6ed1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/monarc-project/zm-client/zipball/a60493f0a8c98534d729c7ce91d9c07756313e23", "url": "https://api.github.com/repos/monarc-project/zm-client/zipball/158d1163a4f3701d8f5c46857a32406a6efd6ed1",
"reference": "a60493f0a8c98534d729c7ce91d9c07756313e23", "reference": "158d1163a4f3701d8f5c46857a32406a6efd6ed1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"doctrine/doctrine-orm-module": "^2.1", "doctrine/doctrine-orm-module": "^2.1",
"ext-bcmath": "*",
"ext-imagick": "*", "ext-imagick": "*",
"ext-intl": "*", "ext-intl": "*",
"ext-json": "*", "ext-json": "*",
@ -4148,7 +4155,7 @@
} }
], ],
"description": "Frontoffice for monarc/monarc application", "description": "Frontoffice for monarc/monarc application",
"time": "2020-06-03T15:18:27+00:00" "time": "2020-06-18T15:18:36+00:00"
}, },
{ {
"name": "monarc/phpword", "name": "monarc/phpword",
@ -5021,7 +5028,7 @@
}, },
{ {
"name": "symfony/config", "name": "symfony/config",
"version": "v5.1.0", "version": "v5.1.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/config.git", "url": "https://github.com/symfony/config.git",
@ -5101,16 +5108,16 @@
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v5.1.0", "version": "v5.1.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "00bed125812716d09b163f0727ef33bb49bf3448" "reference": "34ac555a3627e324b660e318daa07572e1140123"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/00bed125812716d09b163f0727ef33bb49bf3448", "url": "https://api.github.com/repos/symfony/console/zipball/34ac555a3627e324b660e318daa07572e1140123",
"reference": "00bed125812716d09b163f0727ef33bb49bf3448", "reference": "34ac555a3627e324b660e318daa07572e1140123",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5190,7 +5197,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-30T20:35:19+00:00" "time": "2020-06-15T12:59:21+00:00"
}, },
{ {
"name": "symfony/deprecation-contracts", "name": "symfony/deprecation-contracts",
@ -5254,7 +5261,7 @@
}, },
{ {
"name": "symfony/filesystem", "name": "symfony/filesystem",
"version": "v5.1.0", "version": "v5.1.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/filesystem.git", "url": "https://github.com/symfony/filesystem.git",
@ -5318,16 +5325,16 @@
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git", "url": "https://github.com/symfony/polyfill-ctype.git",
"reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9" "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e94c8b1bbe2bc77507a1056cdb06451c75b427f9", "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d",
"reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9", "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5340,6 +5347,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -5386,20 +5397,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:14:59+00:00" "time": "2020-06-06T08:46:27+00:00"
}, },
{ {
"name": "symfony/polyfill-intl-grapheme", "name": "symfony/polyfill-intl-grapheme",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-intl-grapheme.git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git",
"reference": "e094b0770f7833fdf257e6ba4775be4e258230b2" "reference": "6e4dbcf5e81eba86e36731f94fe56b1726835846"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/e094b0770f7833fdf257e6ba4775be4e258230b2", "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/6e4dbcf5e81eba86e36731f94fe56b1726835846",
"reference": "e094b0770f7833fdf257e6ba4775be4e258230b2", "reference": "6e4dbcf5e81eba86e36731f94fe56b1726835846",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5412,6 +5423,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -5460,20 +5475,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:47:27+00:00" "time": "2020-06-06T08:46:27+00:00"
}, },
{ {
"name": "symfony/polyfill-intl-idn", "name": "symfony/polyfill-intl-idn",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-intl-idn.git", "url": "https://github.com/symfony/polyfill-intl-idn.git",
"reference": "3bff59ea7047e925be6b7f2059d60af31bb46d6a" "reference": "a57f8161502549a742a63c09f0a604997bf47027"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/3bff59ea7047e925be6b7f2059d60af31bb46d6a", "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a57f8161502549a742a63c09f0a604997bf47027",
"reference": "3bff59ea7047e925be6b7f2059d60af31bb46d6a", "reference": "a57f8161502549a742a63c09f0a604997bf47027",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5488,6 +5503,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -5536,20 +5555,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:47:27+00:00" "time": "2020-06-06T08:46:27+00:00"
}, },
{ {
"name": "symfony/polyfill-intl-normalizer", "name": "symfony/polyfill-intl-normalizer",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-intl-normalizer.git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
"reference": "1357b1d168eb7f68ad6a134838e46b0b159444a9" "reference": "40309d1700e8f72447bb9e7b54af756eeea35620"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/1357b1d168eb7f68ad6a134838e46b0b159444a9", "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/40309d1700e8f72447bb9e7b54af756eeea35620",
"reference": "1357b1d168eb7f68ad6a134838e46b0b159444a9", "reference": "40309d1700e8f72447bb9e7b54af756eeea35620",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5562,6 +5581,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -5613,20 +5636,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:14:59+00:00" "time": "2020-06-14T14:40:37+00:00"
}, },
{ {
"name": "symfony/polyfill-mbstring", "name": "symfony/polyfill-mbstring",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git", "url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "fa79b11539418b02fc5e1897267673ba2c19419c" "reference": "7110338d81ce1cbc3e273136e4574663627037a7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fa79b11539418b02fc5e1897267673ba2c19419c", "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7110338d81ce1cbc3e273136e4574663627037a7",
"reference": "fa79b11539418b02fc5e1897267673ba2c19419c", "reference": "7110338d81ce1cbc3e273136e4574663627037a7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5639,6 +5662,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -5686,7 +5713,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:47:27+00:00" "time": "2020-06-06T08:46:27+00:00"
}, },
{ {
"name": "symfony/polyfill-php72", "name": "symfony/polyfill-php72",
@ -5759,16 +5786,16 @@
}, },
{ {
"name": "symfony/polyfill-php73", "name": "symfony/polyfill-php73",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-php73.git", "url": "https://github.com/symfony/polyfill-php73.git",
"reference": "a760d8964ff79ab9bf057613a5808284ec852ccc" "reference": "fa0837fe02d617d31fbb25f990655861bb27bd1a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a760d8964ff79ab9bf057613a5808284ec852ccc", "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fa0837fe02d617d31fbb25f990655861bb27bd1a",
"reference": "a760d8964ff79ab9bf057613a5808284ec852ccc", "reference": "fa0837fe02d617d31fbb25f990655861bb27bd1a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5778,6 +5805,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -5827,20 +5858,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:47:27+00:00" "time": "2020-06-06T08:46:27+00:00"
}, },
{ {
"name": "symfony/polyfill-php80", "name": "symfony/polyfill-php80",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-php80.git", "url": "https://github.com/symfony/polyfill-php80.git",
"reference": "5e30b2799bc1ad68f7feb62b60a73743589438dd" "reference": "4a5b6bba3259902e386eb80dd1956181ee90b5b2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/5e30b2799bc1ad68f7feb62b60a73743589438dd", "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4a5b6bba3259902e386eb80dd1956181ee90b5b2",
"reference": "5e30b2799bc1ad68f7feb62b60a73743589438dd", "reference": "4a5b6bba3259902e386eb80dd1956181ee90b5b2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5850,6 +5881,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -5903,7 +5938,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:47:27+00:00" "time": "2020-06-06T08:46:27+00:00"
}, },
{ {
"name": "symfony/service-contracts", "name": "symfony/service-contracts",
@ -5979,16 +6014,16 @@
}, },
{ {
"name": "symfony/string", "name": "symfony/string",
"version": "v5.1.0", "version": "v5.1.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/string.git", "url": "https://github.com/symfony/string.git",
"reference": "90c2a5103f07feb19069379f3abdcdbacc7753a9" "reference": "ac70459db781108db7c6d8981dd31ce0e29e3298"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/90c2a5103f07feb19069379f3abdcdbacc7753a9", "url": "https://api.github.com/repos/symfony/string/zipball/ac70459db781108db7c6d8981dd31ce0e29e3298",
"reference": "90c2a5103f07feb19069379f3abdcdbacc7753a9", "reference": "ac70459db781108db7c6d8981dd31ce0e29e3298",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6060,11 +6095,11 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-20T17:43:50+00:00" "time": "2020-06-11T12:16:36+00:00"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v5.1.0", "version": "v5.1.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
@ -6569,16 +6604,16 @@
}, },
{ {
"name": "phpdocumentor/type-resolver", "name": "phpdocumentor/type-resolver",
"version": "1.1.0", "version": "1.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git", "url": "https://github.com/phpDocumentor/TypeResolver.git",
"reference": "7462d5f123dfc080dfdf26897032a6513644fc95" "reference": "30441f2752e493c639526b215ed81d54f369d693"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/7462d5f123dfc080dfdf26897032a6513644fc95", "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/30441f2752e493c639526b215ed81d54f369d693",
"reference": "7462d5f123dfc080dfdf26897032a6513644fc95", "reference": "30441f2752e493c639526b215ed81d54f369d693",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6592,7 +6627,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.x-dev" "dev-1.x": "1.x-dev"
} }
}, },
"autoload": { "autoload": {
@ -6611,7 +6646,7 @@
} }
], ],
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
"time": "2020-02-18T18:59:58+00:00" "time": "2020-06-19T20:22:09+00:00"
}, },
{ {
"name": "phpspec/prophecy", "name": "phpspec/prophecy",
@ -6930,16 +6965,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "8.5.5", "version": "8.5.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "63dda3b212a0025d380a745f91bdb4d8c985adb7" "reference": "34c18baa6a44f1d1fbf0338907139e9dce95b997"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/63dda3b212a0025d380a745f91bdb4d8c985adb7", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/34c18baa6a44f1d1fbf0338907139e9dce95b997",
"reference": "63dda3b212a0025d380a745f91bdb4d8c985adb7", "reference": "34c18baa6a44f1d1fbf0338907139e9dce95b997",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -7019,7 +7054,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-05-22T13:51:52+00:00" "time": "2020-06-22T07:06:58+00:00"
}, },
{ {
"name": "roave/security-advisories", "name": "roave/security-advisories",
@ -7027,12 +7062,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Roave/SecurityAdvisories.git", "url": "https://github.com/Roave/SecurityAdvisories.git",
"reference": "de6fda3af9b36c77fdeb62b968157032f7111b09" "reference": "6d2e5ab854782830911ddd33b7d4649b9f18c10f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/de6fda3af9b36c77fdeb62b968157032f7111b09", "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/6d2e5ab854782830911ddd33b7d4649b9f18c10f",
"reference": "de6fda3af9b36c77fdeb62b968157032f7111b09", "reference": "6d2e5ab854782830911ddd33b7d4649b9f18c10f",
"shasum": "" "shasum": ""
}, },
"conflict": { "conflict": {
@ -7041,13 +7076,14 @@
"alterphp/easyadmin-extension-bundle": ">=1.2,<1.2.11|>=1.3,<1.3.1", "alterphp/easyadmin-extension-bundle": ">=1.2,<1.2.11|>=1.3,<1.3.1",
"amphp/artax": "<1.0.6|>=2,<2.0.6", "amphp/artax": "<1.0.6|>=2,<2.0.6",
"amphp/http": "<1.0.1", "amphp/http": "<1.0.1",
"amphp/http-client": ">=4,<4.4",
"api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6", "api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6",
"asymmetricrypt/asymmetricrypt": ">=0,<9.9.99", "asymmetricrypt/asymmetricrypt": ">=0,<9.9.99",
"aws/aws-sdk-php": ">=3,<3.2.1", "aws/aws-sdk-php": ">=3,<3.2.1",
"bagisto/bagisto": "<0.1.5", "bagisto/bagisto": "<0.1.5",
"barrelstrength/sprout-base-email": "<1.2.7", "barrelstrength/sprout-base-email": "<1.2.7",
"barrelstrength/sprout-forms": "<3.9", "barrelstrength/sprout-forms": "<3.9",
"bolt/bolt": "<3.6.10", "bolt/bolt": "<3.7.1",
"brightlocal/phpwhois": "<=4.2.5", "brightlocal/phpwhois": "<=4.2.5",
"buddypress/buddypress": "<5.1.2", "buddypress/buddypress": "<5.1.2",
"bugsnag/bugsnag-laravel": ">=2,<2.0.2", "bugsnag/bugsnag-laravel": ">=2,<2.0.2",
@ -7075,8 +7111,8 @@
"doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1", "doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1",
"dolibarr/dolibarr": "<11.0.4", "dolibarr/dolibarr": "<11.0.4",
"dompdf/dompdf": ">=0.6,<0.6.2", "dompdf/dompdf": ">=0.6,<0.6.2",
"drupal/core": ">=7,<7.70|>=8,<8.7.14|>=8.8,<8.8.6", "drupal/core": ">=7,<7.72|>=8,<8.8.8|>=8.9,<8.9.1|>=9,<9.0.1",
"drupal/drupal": ">=7,<7.70|>=8,<8.7.14|>=8.8,<8.8.6", "drupal/drupal": ">=7,<7.72|>=8,<8.8.8|>=8.9,<8.9.1|>=9,<9.0.1",
"endroid/qr-code-bundle": "<3.4.2", "endroid/qr-code-bundle": "<3.4.2",
"enshrined/svg-sanitize": "<0.13.1", "enshrined/svg-sanitize": "<0.13.1",
"erusev/parsedown": "<1.7.2", "erusev/parsedown": "<1.7.2",
@ -7139,6 +7175,7 @@
"pear/archive_tar": "<1.4.4", "pear/archive_tar": "<1.4.4",
"phpfastcache/phpfastcache": ">=5,<5.0.13", "phpfastcache/phpfastcache": ">=5,<5.0.13",
"phpmailer/phpmailer": "<6.1.6", "phpmailer/phpmailer": "<6.1.6",
"phpmussel/phpmussel": ">=1,<1.6",
"phpmyadmin/phpmyadmin": "<4.9.2", "phpmyadmin/phpmyadmin": "<4.9.2",
"phpoffice/phpexcel": "<1.8.2", "phpoffice/phpexcel": "<1.8.2",
"phpoffice/phpspreadsheet": "<1.8", "phpoffice/phpspreadsheet": "<1.8",
@ -7302,7 +7339,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-06-04T00:00:55+00:00" "time": "2020-06-19T13:23:43+00:00"
}, },
{ {
"name": "sebastian/code-unit-reverse-lookup", "name": "sebastian/code-unit-reverse-lookup",
@ -7961,16 +7998,16 @@
}, },
{ {
"name": "webmozart/assert", "name": "webmozart/assert",
"version": "1.8.0", "version": "1.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/webmozart/assert.git", "url": "https://github.com/webmozart/assert.git",
"reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6" "reference": "9dc4f203e36f2b486149058bade43c851dd97451"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/webmozart/assert/zipball/ab2cb0b3b559010b75981b1bdce728da3ee90ad6", "url": "https://api.github.com/repos/webmozart/assert/zipball/9dc4f203e36f2b486149058bade43c851dd97451",
"reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6", "reference": "9dc4f203e36f2b486149058bade43c851dd97451",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -7978,6 +8015,7 @@
"symfony/polyfill-ctype": "^1.8" "symfony/polyfill-ctype": "^1.8"
}, },
"conflict": { "conflict": {
"phpstan/phpstan": "<0.12.20",
"vimeo/psalm": "<3.9.1" "vimeo/psalm": "<3.9.1"
}, },
"require-dev": { "require-dev": {
@ -8005,7 +8043,7 @@
"check", "check",
"validate" "validate"
], ],
"time": "2020-04-18T12:12:48+00:00" "time": "2020-06-16T10:16:42+00:00"
} }
], ],
"aliases": [ "aliases": [

View File

@ -164,24 +164,21 @@ class StatsApiServiceTest extends AbstractIntegrationTestCase
private function getExpectedStatsDataJson(array $anrUuids): string private function getExpectedStatsDataJson(array $anrUuids): string
{ {
$allStatsData = json_decode( $statsData = json_decode(
file_get_contents($this->testPath . '/data/expected_stats_data_for_all_anrs.json'), file_get_contents($this->testPath . '/data/expected_stats_data_for_my_print.json'),
true true
); );
$expectedStats = []; $expectedStats = [];
foreach ($anrUuids as $num => $anrUuid) { foreach ($anrUuids as $num => $anrUuid) {
foreach ($allStatsData as $statsData) { foreach ($statsData as $data) {
if ($statsData['anr'] !== '{{uuid_' . $num . '}}') { $data['anr'] = $anrUuid;
continue; $data['day'] = $this->currentDateParams['day'];
} $data['week'] = $this->currentDateParams['week'];
$statsData['anr'] = $anrUuid; $data['month'] = $this->currentDateParams['month'];
$statsData['day'] = $this->currentDateParams['day']; $data['quarter'] = $this->currentDateParams['quarter'];
$statsData['week'] = $this->currentDateParams['week']; $data['year'] = $this->currentDateParams['year'];
$statsData['month'] = $this->currentDateParams['month']; $expectedStats[] = $data;
$statsData['quarter'] = $this->currentDateParams['quarter'];
$statsData['year'] = $this->currentDateParams['year'];
$expectedStats[] = $statsData;
} }
} }

View File

@ -1,6 +1,8 @@
<?php <?php
$appdir = dirname(__DIR__); use Doctrine\Common\Proxy\AbstractProxyFactory;
$dataPath = getenv('TESTS_DIR') . '/data';
return [ return [
'doctrine' => [ 'doctrine' => [
@ -48,7 +50,7 @@ return [
'query_cache' => 'array', 'query_cache' => 'array',
'result_cache' => 'array', 'result_cache' => 'array',
'driver' => 'orm_default', 'driver' => 'orm_default',
'generate_proxies' => false, 'generate_proxies' => AbstractProxyFactory::AUTOGENERATE_EVAL,
'filters' => [], 'filters' => [],
'datetime_functions' => [], 'datetime_functions' => [],
'string_functions' => [], 'string_functions' => [],
@ -60,7 +62,7 @@ return [
'query_cache' => 'array', 'query_cache' => 'array',
'result_cache' => 'array', 'result_cache' => 'array',
'driver' => 'orm_cli', 'driver' => 'orm_cli',
'generate_proxies' => false, 'generate_proxies' => AbstractProxyFactory::AUTOGENERATE_EVAL,
'filters' => [], 'filters' => [],
'datetime_functions' => [], 'datetime_functions' => [],
'string_functions' => [], 'string_functions' => [],

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,4 +6,7 @@ DBPASSWORD_MONARC="sqlmonarcuser"
# Comment/Uncomment and modify the following line to run tests from your host machine: # Comment/Uncomment and modify the following line to run tests from your host machine:
CONNECTION_OPTIONS="--ssl-key=~/web/monarc/MonarcAppFO/vagrant/.vagrant/machines/default/virtualbox/private_key" CONNECTION_OPTIONS="--ssl-key=~/web/monarc/MonarcAppFO/vagrant/.vagrant/machines/default/virtualbox/private_key"
for i in {0..5}
do
mysql -h $DBHOST -u $DBUSER_MONARC -p$DBPASSWORD_MONARC $CONNECTION_OPTIONS monarc_cli_test < tests/data/insert_my_print_anrs.sql > /dev/null mysql -h $DBHOST -u $DBUSER_MONARC -p$DBPASSWORD_MONARC $CONNECTION_OPTIONS monarc_cli_test < tests/data/insert_my_print_anrs.sql > /dev/null
done