Limit upload to 5MB

This commit is contained in:
root
2022-10-28 10:35:33 +02:00
parent 3b2afcd94c
commit ef29e4cfc8
3 changed files with 169 additions and 178 deletions

View File

@@ -28,8 +28,8 @@ class Upload extends Controller
// Valid File Extensions // Valid File Extensions
$valid_extension = array("jpg","jpeg","png"); $valid_extension = array("jpg","jpeg","png");
// 2MB in Bytes // 4MB in Bytes
$maxFileSize = 2097152; $maxFileSize = 5000000;
// Check file extension // Check file extension
if(in_array(strtolower($extension),$valid_extension)){ if(in_array(strtolower($extension),$valid_extension)){
@@ -54,7 +54,7 @@ class Upload extends Controller
$image->save( $thumbdir.'/'.$bckfile); $image->save( $thumbdir.'/'.$bckfile);
echo 'Upload Successful.'; echo 'Upload Successful.';
}else{ }else{
echo 'File too large. File must be less than 2MB.'; echo 'File too large. File must be less than 5MB.';
} }
}else{ }else{

338
composer.lock generated
View File

@@ -120,16 +120,16 @@
}, },
{ {
"name": "dflydev/dot-access-data", "name": "dflydev/dot-access-data",
"version": "v3.0.1", "version": "v3.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/dflydev/dflydev-dot-access-data.git", "url": "https://github.com/dflydev/dflydev-dot-access-data.git",
"reference": "0992cc19268b259a39e86f296da5f0677841f42c" "reference": "f41715465d65213d644d3141a6a93081be5d3549"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/0992cc19268b259a39e86f296da5f0677841f42c", "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/f41715465d65213d644d3141a6a93081be5d3549",
"reference": "0992cc19268b259a39e86f296da5f0677841f42c", "reference": "f41715465d65213d644d3141a6a93081be5d3549",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -140,7 +140,7 @@
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.3", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3",
"scrutinizer/ocular": "1.6.0", "scrutinizer/ocular": "1.6.0",
"squizlabs/php_codesniffer": "^3.5", "squizlabs/php_codesniffer": "^3.5",
"vimeo/psalm": "^3.14" "vimeo/psalm": "^4.0.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@@ -189,9 +189,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues",
"source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.1" "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.2"
}, },
"time": "2021-08-13T13:06:58+00:00" "time": "2022-10-27T11:44:00+00:00"
}, },
{ {
"name": "doctrine/inflector", "name": "doctrine/inflector",
@@ -3124,21 +3124,20 @@
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v6.1.6", "version": "v6.0.14",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "7fa3b9cf17363468795e539231a5c91b02b608fc" "reference": "1f89cab8d52c84424f798495b3f10342a7b1a070"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/7fa3b9cf17363468795e539231a5c91b02b608fc", "url": "https://api.github.com/repos/symfony/console/zipball/1f89cab8d52c84424f798495b3f10342a7b1a070",
"reference": "7fa3b9cf17363468795e539231a5c91b02b608fc", "reference": "1f89cab8d52c84424f798495b3f10342a7b1a070",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1", "php": ">=8.0.2",
"symfony/deprecation-contracts": "^2.1|^3",
"symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-mbstring": "~1.0",
"symfony/service-contracts": "^1.1|^2|^3", "symfony/service-contracts": "^1.1|^2|^3",
"symfony/string": "^5.4|^6.0" "symfony/string": "^5.4|^6.0"
@@ -3200,7 +3199,7 @@
"terminal" "terminal"
], ],
"support": { "support": {
"source": "https://github.com/symfony/console/tree/v6.1.6" "source": "https://github.com/symfony/console/tree/v6.0.14"
}, },
"funding": [ "funding": [
{ {
@@ -3216,24 +3215,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-07T08:04:03+00:00" "time": "2022-10-07T08:02:12+00:00"
}, },
{ {
"name": "symfony/css-selector", "name": "symfony/css-selector",
"version": "v6.1.3", "version": "v6.0.11",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/css-selector.git", "url": "https://github.com/symfony/css-selector.git",
"reference": "0dd5e36b80e1de97f8f74ed7023ac2b837a36443" "reference": "ab2746acddc4f03a7234c8441822ac5d5c63efe9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/css-selector/zipball/0dd5e36b80e1de97f8f74ed7023ac2b837a36443", "url": "https://api.github.com/repos/symfony/css-selector/zipball/ab2746acddc4f03a7234c8441822ac5d5c63efe9",
"reference": "0dd5e36b80e1de97f8f74ed7023ac2b837a36443", "reference": "ab2746acddc4f03a7234c8441822ac5d5c63efe9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1" "php": ">=8.0.2"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@@ -3265,7 +3264,7 @@
"description": "Converts CSS selectors to XPath expressions", "description": "Converts CSS selectors to XPath expressions",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/css-selector/tree/v6.1.3" "source": "https://github.com/symfony/css-selector/tree/v6.0.11"
}, },
"funding": [ "funding": [
{ {
@@ -3281,29 +3280,29 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-06-27T17:24:16+00:00" "time": "2022-06-27T17:10:44+00:00"
}, },
{ {
"name": "symfony/deprecation-contracts", "name": "symfony/deprecation-contracts",
"version": "v3.1.1", "version": "v3.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git", "url": "https://github.com/symfony/deprecation-contracts.git",
"reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918" "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c",
"reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1" "php": ">=8.0.2"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "3.1-dev" "dev-main": "3.0-dev"
}, },
"thanks": { "thanks": {
"name": "symfony/contracts", "name": "symfony/contracts",
@@ -3332,7 +3331,7 @@
"description": "A generic function and convention to trigger deprecation notices", "description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.1.1" "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2"
}, },
"funding": [ "funding": [
{ {
@@ -3348,24 +3347,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-02-25T11:15:52+00:00" "time": "2022-01-02T09:55:41+00:00"
}, },
{ {
"name": "symfony/error-handler", "name": "symfony/error-handler",
"version": "v6.1.6", "version": "v6.0.14",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/error-handler.git", "url": "https://github.com/symfony/error-handler.git",
"reference": "49f718e41f1b6f0fd5730895ca5b1c37defd828d" "reference": "81e57c793d9a573f29f8b5296d5d8ee4602badcb"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/49f718e41f1b6f0fd5730895ca5b1c37defd828d", "url": "https://api.github.com/repos/symfony/error-handler/zipball/81e57c793d9a573f29f8b5296d5d8ee4602badcb",
"reference": "49f718e41f1b6f0fd5730895ca5b1c37defd828d", "reference": "81e57c793d9a573f29f8b5296d5d8ee4602badcb",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1", "php": ">=8.0.2",
"psr/log": "^1|^2|^3", "psr/log": "^1|^2|^3",
"symfony/var-dumper": "^5.4|^6.0" "symfony/var-dumper": "^5.4|^6.0"
}, },
@@ -3403,7 +3402,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code", "description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/error-handler/tree/v6.1.6" "source": "https://github.com/symfony/error-handler/tree/v6.0.14"
}, },
"funding": [ "funding": [
{ {
@@ -3419,24 +3418,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-07T08:04:03+00:00" "time": "2022-10-07T08:02:12+00:00"
}, },
{ {
"name": "symfony/event-dispatcher", "name": "symfony/event-dispatcher",
"version": "v6.1.0", "version": "v6.0.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/event-dispatcher.git", "url": "https://github.com/symfony/event-dispatcher.git",
"reference": "a0449a7ad7daa0f7c0acd508259f80544ab5a347" "reference": "5c85b58422865d42c6eb46f7693339056db098a8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/a0449a7ad7daa0f7c0acd508259f80544ab5a347", "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/5c85b58422865d42c6eb46f7693339056db098a8",
"reference": "a0449a7ad7daa0f7c0acd508259f80544ab5a347", "reference": "5c85b58422865d42c6eb46f7693339056db098a8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1", "php": ">=8.0.2",
"symfony/event-dispatcher-contracts": "^2|^3" "symfony/event-dispatcher-contracts": "^2|^3"
}, },
"conflict": { "conflict": {
@@ -3486,7 +3485,7 @@
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/event-dispatcher/tree/v6.1.0" "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.9"
}, },
"funding": [ "funding": [
{ {
@@ -3502,24 +3501,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-05-05T16:51:07+00:00" "time": "2022-05-05T16:45:52+00:00"
}, },
{ {
"name": "symfony/event-dispatcher-contracts", "name": "symfony/event-dispatcher-contracts",
"version": "v3.1.1", "version": "v3.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/event-dispatcher-contracts.git", "url": "https://github.com/symfony/event-dispatcher-contracts.git",
"reference": "02ff5eea2f453731cfbc6bc215e456b781480448" "reference": "7bc61cc2db649b4637d331240c5346dcc7708051"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/02ff5eea2f453731cfbc6bc215e456b781480448", "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7bc61cc2db649b4637d331240c5346dcc7708051",
"reference": "02ff5eea2f453731cfbc6bc215e456b781480448", "reference": "7bc61cc2db649b4637d331240c5346dcc7708051",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1", "php": ">=8.0.2",
"psr/event-dispatcher": "^1" "psr/event-dispatcher": "^1"
}, },
"suggest": { "suggest": {
@@ -3528,7 +3527,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "3.1-dev" "dev-main": "3.0-dev"
}, },
"thanks": { "thanks": {
"name": "symfony/contracts", "name": "symfony/contracts",
@@ -3565,7 +3564,7 @@
"standards" "standards"
], ],
"support": { "support": {
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.1.1" "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.0.2"
}, },
"funding": [ "funding": [
{ {
@@ -3581,27 +3580,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-02-25T11:15:52+00:00" "time": "2022-01-02T09:55:41+00:00"
}, },
{ {
"name": "symfony/finder", "name": "symfony/finder",
"version": "v6.1.3", "version": "v6.0.11",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/finder.git", "url": "https://github.com/symfony/finder.git",
"reference": "39696bff2c2970b3779a5cac7bf9f0b88fc2b709" "reference": "09cb683ba5720385ea6966e5e06be2a34f2568b1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/39696bff2c2970b3779a5cac7bf9f0b88fc2b709", "url": "https://api.github.com/repos/symfony/finder/zipball/09cb683ba5720385ea6966e5e06be2a34f2568b1",
"reference": "39696bff2c2970b3779a5cac7bf9f0b88fc2b709", "reference": "09cb683ba5720385ea6966e5e06be2a34f2568b1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1" "php": ">=8.0.2"
},
"require-dev": {
"symfony/filesystem": "^6.0"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@@ -3629,7 +3625,7 @@
"description": "Finds files and directories via an intuitive fluent interface", "description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/finder/tree/v6.1.3" "source": "https://github.com/symfony/finder/tree/v6.0.11"
}, },
"funding": [ "funding": [
{ {
@@ -3645,24 +3641,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-07-29T07:42:06+00:00" "time": "2022-07-29T07:39:48+00:00"
}, },
{ {
"name": "symfony/http-foundation", "name": "symfony/http-foundation",
"version": "v6.1.6", "version": "v6.0.14",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-foundation.git", "url": "https://github.com/symfony/http-foundation.git",
"reference": "3ae8e9c57155fc48930493a629da293b32efbde0" "reference": "e8aa505d35660877e6695d68be53df2ceac7cf57"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/3ae8e9c57155fc48930493a629da293b32efbde0", "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e8aa505d35660877e6695d68be53df2ceac7cf57",
"reference": "3ae8e9c57155fc48930493a629da293b32efbde0", "reference": "e8aa505d35660877e6695d68be53df2ceac7cf57",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1", "php": ">=8.0.2",
"symfony/deprecation-contracts": "^2.1|^3", "symfony/deprecation-contracts": "^2.1|^3",
"symfony/polyfill-mbstring": "~1.1" "symfony/polyfill-mbstring": "~1.1"
}, },
@@ -3704,7 +3700,7 @@
"description": "Defines an object-oriented layer for the HTTP specification", "description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-foundation/tree/v6.1.6" "source": "https://github.com/symfony/http-foundation/tree/v6.0.14"
}, },
"funding": [ "funding": [
{ {
@@ -3720,26 +3716,26 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-02T08:30:52+00:00" "time": "2022-10-02T08:16:40+00:00"
}, },
{ {
"name": "symfony/http-kernel", "name": "symfony/http-kernel",
"version": "v6.1.6", "version": "v6.0.14",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-kernel.git", "url": "https://github.com/symfony/http-kernel.git",
"reference": "102f99bf81799e93f61b9a73b2f38b309c587a94" "reference": "f9fc93c4f12e2fd7dea37f7b5840deb34e9037fc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/102f99bf81799e93f61b9a73b2f38b309c587a94", "url": "https://api.github.com/repos/symfony/http-kernel/zipball/f9fc93c4f12e2fd7dea37f7b5840deb34e9037fc",
"reference": "102f99bf81799e93f61b9a73b2f38b309c587a94", "reference": "f9fc93c4f12e2fd7dea37f7b5840deb34e9037fc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1", "php": ">=8.0.2",
"psr/log": "^1|^2|^3", "psr/log": "^1|^2|^3",
"symfony/error-handler": "^6.1", "symfony/error-handler": "^5.4|^6.0",
"symfony/event-dispatcher": "^5.4|^6.0", "symfony/event-dispatcher": "^5.4|^6.0",
"symfony/http-foundation": "^5.4|^6.0", "symfony/http-foundation": "^5.4|^6.0",
"symfony/polyfill-ctype": "^1.8" "symfony/polyfill-ctype": "^1.8"
@@ -3747,9 +3743,9 @@
"conflict": { "conflict": {
"symfony/browser-kit": "<5.4", "symfony/browser-kit": "<5.4",
"symfony/cache": "<5.4", "symfony/cache": "<5.4",
"symfony/config": "<6.1", "symfony/config": "<5.4",
"symfony/console": "<5.4", "symfony/console": "<5.4",
"symfony/dependency-injection": "<6.1", "symfony/dependency-injection": "<5.4",
"symfony/doctrine-bridge": "<5.4", "symfony/doctrine-bridge": "<5.4",
"symfony/form": "<5.4", "symfony/form": "<5.4",
"symfony/http-client": "<5.4", "symfony/http-client": "<5.4",
@@ -3766,10 +3762,10 @@
"require-dev": { "require-dev": {
"psr/cache": "^1.0|^2.0|^3.0", "psr/cache": "^1.0|^2.0|^3.0",
"symfony/browser-kit": "^5.4|^6.0", "symfony/browser-kit": "^5.4|^6.0",
"symfony/config": "^6.1", "symfony/config": "^5.4|^6.0",
"symfony/console": "^5.4|^6.0", "symfony/console": "^5.4|^6.0",
"symfony/css-selector": "^5.4|^6.0", "symfony/css-selector": "^5.4|^6.0",
"symfony/dependency-injection": "^6.1", "symfony/dependency-injection": "^5.4|^6.0",
"symfony/dom-crawler": "^5.4|^6.0", "symfony/dom-crawler": "^5.4|^6.0",
"symfony/expression-language": "^5.4|^6.0", "symfony/expression-language": "^5.4|^6.0",
"symfony/finder": "^5.4|^6.0", "symfony/finder": "^5.4|^6.0",
@@ -3779,7 +3775,6 @@
"symfony/stopwatch": "^5.4|^6.0", "symfony/stopwatch": "^5.4|^6.0",
"symfony/translation": "^5.4|^6.0", "symfony/translation": "^5.4|^6.0",
"symfony/translation-contracts": "^1.1|^2|^3", "symfony/translation-contracts": "^1.1|^2|^3",
"symfony/uid": "^5.4|^6.0",
"twig/twig": "^2.13|^3.0.4" "twig/twig": "^2.13|^3.0.4"
}, },
"suggest": { "suggest": {
@@ -3814,7 +3809,7 @@
"description": "Provides a structured process for converting a Request into a Response", "description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-kernel/tree/v6.1.6" "source": "https://github.com/symfony/http-kernel/tree/v6.0.14"
}, },
"funding": [ "funding": [
{ {
@@ -3830,25 +3825,25 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-12T07:48:47+00:00" "time": "2022-10-12T07:43:45+00:00"
}, },
{ {
"name": "symfony/mailer", "name": "symfony/mailer",
"version": "v6.1.5", "version": "v6.0.13",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/mailer.git", "url": "https://github.com/symfony/mailer.git",
"reference": "e1b32deb9efc48def0c76b876860ad36f2123e89" "reference": "6269c872ab4792e8facbf8af27a2fbee8429f217"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/mailer/zipball/e1b32deb9efc48def0c76b876860ad36f2123e89", "url": "https://api.github.com/repos/symfony/mailer/zipball/6269c872ab4792e8facbf8af27a2fbee8429f217",
"reference": "e1b32deb9efc48def0c76b876860ad36f2123e89", "reference": "6269c872ab4792e8facbf8af27a2fbee8429f217",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"egulias/email-validator": "^2.1.10|^3", "egulias/email-validator": "^2.1.10|^3",
"php": ">=8.1", "php": ">=8.0.2",
"psr/event-dispatcher": "^1", "psr/event-dispatcher": "^1",
"psr/log": "^1|^2|^3", "psr/log": "^1|^2|^3",
"symfony/event-dispatcher": "^5.4|^6.0", "symfony/event-dispatcher": "^5.4|^6.0",
@@ -3888,7 +3883,7 @@
"description": "Helps sending emails", "description": "Helps sending emails",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/mailer/tree/v6.1.5" "source": "https://github.com/symfony/mailer/tree/v6.0.13"
}, },
"funding": [ "funding": [
{ {
@@ -3904,24 +3899,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-08-29T06:58:39+00:00" "time": "2022-08-29T06:49:22+00:00"
}, },
{ {
"name": "symfony/mime", "name": "symfony/mime",
"version": "v6.1.6", "version": "v6.0.14",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/mime.git", "url": "https://github.com/symfony/mime.git",
"reference": "5ae192b9a39730435cfec025a499f79d05ac68a3" "reference": "c01b88b63418131daf2edd0bdc17fc8a6d1c939a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/5ae192b9a39730435cfec025a499f79d05ac68a3", "url": "https://api.github.com/repos/symfony/mime/zipball/c01b88b63418131daf2edd0bdc17fc8a6d1c939a",
"reference": "5ae192b9a39730435cfec025a499f79d05ac68a3", "reference": "c01b88b63418131daf2edd0bdc17fc8a6d1c939a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1", "php": ">=8.0.2",
"symfony/polyfill-intl-idn": "^1.10", "symfony/polyfill-intl-idn": "^1.10",
"symfony/polyfill-mbstring": "^1.0" "symfony/polyfill-mbstring": "^1.0"
}, },
@@ -3970,7 +3965,7 @@
"mime-type" "mime-type"
], ],
"support": { "support": {
"source": "https://github.com/symfony/mime/tree/v6.1.6" "source": "https://github.com/symfony/mime/tree/v6.0.14"
}, },
"funding": [ "funding": [
{ {
@@ -3986,7 +3981,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-07T08:04:03+00:00" "time": "2022-10-07T08:02:12+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
@@ -4727,20 +4722,20 @@
}, },
{ {
"name": "symfony/process", "name": "symfony/process",
"version": "v6.1.3", "version": "v6.0.11",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/process.git", "url": "https://github.com/symfony/process.git",
"reference": "a6506e99cfad7059b1ab5cab395854a0a0c21292" "reference": "44270a08ccb664143dede554ff1c00aaa2247a43"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/a6506e99cfad7059b1ab5cab395854a0a0c21292", "url": "https://api.github.com/repos/symfony/process/zipball/44270a08ccb664143dede554ff1c00aaa2247a43",
"reference": "a6506e99cfad7059b1ab5cab395854a0a0c21292", "reference": "44270a08ccb664143dede554ff1c00aaa2247a43",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1" "php": ">=8.0.2"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@@ -4768,7 +4763,7 @@
"description": "Executes commands in sub-processes", "description": "Executes commands in sub-processes",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/process/tree/v6.1.3" "source": "https://github.com/symfony/process/tree/v6.0.11"
}, },
"funding": [ "funding": [
{ {
@@ -4784,24 +4779,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-06-27T17:24:16+00:00" "time": "2022-06-27T17:10:44+00:00"
}, },
{ {
"name": "symfony/routing", "name": "symfony/routing",
"version": "v6.1.5", "version": "v6.0.11",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/routing.git", "url": "https://github.com/symfony/routing.git",
"reference": "f8c1ebb43d0f39e5ecd12a732ba1952a3dd8455c" "reference": "434b64f7d3a582ec33fcf69baaf085473e67d639"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/f8c1ebb43d0f39e5ecd12a732ba1952a3dd8455c", "url": "https://api.github.com/repos/symfony/routing/zipball/434b64f7d3a582ec33fcf69baaf085473e67d639",
"reference": "f8c1ebb43d0f39e5ecd12a732ba1952a3dd8455c", "reference": "434b64f7d3a582ec33fcf69baaf085473e67d639",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1" "php": ">=8.0.2"
}, },
"conflict": { "conflict": {
"doctrine/annotations": "<1.12", "doctrine/annotations": "<1.12",
@@ -4856,7 +4851,7 @@
"url" "url"
], ],
"support": { "support": {
"source": "https://github.com/symfony/routing/tree/v6.1.5" "source": "https://github.com/symfony/routing/tree/v6.0.11"
}, },
"funding": [ "funding": [
{ {
@@ -4872,24 +4867,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-09-09T09:26:14+00:00" "time": "2022-07-20T13:45:53+00:00"
}, },
{ {
"name": "symfony/service-contracts", "name": "symfony/service-contracts",
"version": "v3.1.1", "version": "v3.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/service-contracts.git", "url": "https://github.com/symfony/service-contracts.git",
"reference": "925e713fe8fcacf6bc05e936edd8dd5441a21239" "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/925e713fe8fcacf6bc05e936edd8dd5441a21239", "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66",
"reference": "925e713fe8fcacf6bc05e936edd8dd5441a21239", "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1", "php": ">=8.0.2",
"psr/container": "^2.0" "psr/container": "^2.0"
}, },
"conflict": { "conflict": {
@@ -4901,7 +4896,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "3.1-dev" "dev-main": "3.0-dev"
}, },
"thanks": { "thanks": {
"name": "symfony/contracts", "name": "symfony/contracts",
@@ -4911,10 +4906,7 @@
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Contracts\\Service\\": "" "Symfony\\Contracts\\Service\\": ""
}, }
"exclude-from-classmap": [
"/Test/"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@@ -4941,7 +4933,7 @@
"standards" "standards"
], ],
"support": { "support": {
"source": "https://github.com/symfony/service-contracts/tree/v3.1.1" "source": "https://github.com/symfony/service-contracts/tree/v3.0.2"
}, },
"funding": [ "funding": [
{ {
@@ -4957,24 +4949,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-05-30T19:18:58+00:00" "time": "2022-05-30T19:17:58+00:00"
}, },
{ {
"name": "symfony/string", "name": "symfony/string",
"version": "v6.1.6", "version": "v6.0.14",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/string.git", "url": "https://github.com/symfony/string.git",
"reference": "7e7e0ff180d4c5a6636eaad57b65092014b61864" "reference": "3db7da820a6e4a584b714b3933c34c6a7db4d86c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/7e7e0ff180d4c5a6636eaad57b65092014b61864", "url": "https://api.github.com/repos/symfony/string/zipball/3db7da820a6e4a584b714b3933c34c6a7db4d86c",
"reference": "7e7e0ff180d4c5a6636eaad57b65092014b61864", "reference": "3db7da820a6e4a584b714b3933c34c6a7db4d86c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1", "php": ">=8.0.2",
"symfony/polyfill-ctype": "~1.8", "symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-grapheme": "~1.0",
"symfony/polyfill-intl-normalizer": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0",
@@ -5026,7 +5018,7 @@
"utf8" "utf8"
], ],
"support": { "support": {
"source": "https://github.com/symfony/string/tree/v6.1.6" "source": "https://github.com/symfony/string/tree/v6.0.14"
}, },
"funding": [ "funding": [
{ {
@@ -5042,24 +5034,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-10T09:34:31+00:00" "time": "2022-10-10T09:34:08+00:00"
}, },
{ {
"name": "symfony/translation", "name": "symfony/translation",
"version": "v6.1.6", "version": "v6.0.14",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/translation.git", "url": "https://github.com/symfony/translation.git",
"reference": "e6cd330e5a072518f88d65148f3f165541807494" "reference": "6f99eb179aee4652c0a7cd7c11f2a870d904330c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/e6cd330e5a072518f88d65148f3f165541807494", "url": "https://api.github.com/repos/symfony/translation/zipball/6f99eb179aee4652c0a7cd7c11f2a870d904330c",
"reference": "e6cd330e5a072518f88d65148f3f165541807494", "reference": "6f99eb179aee4652c0a7cd7c11f2a870d904330c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1", "php": ">=8.0.2",
"symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-mbstring": "~1.0",
"symfony/translation-contracts": "^2.3|^3.0" "symfony/translation-contracts": "^2.3|^3.0"
}, },
@@ -5084,7 +5076,6 @@
"symfony/http-kernel": "^5.4|^6.0", "symfony/http-kernel": "^5.4|^6.0",
"symfony/intl": "^5.4|^6.0", "symfony/intl": "^5.4|^6.0",
"symfony/polyfill-intl-icu": "^1.21", "symfony/polyfill-intl-icu": "^1.21",
"symfony/routing": "^5.4|^6.0",
"symfony/service-contracts": "^1.1.2|^2|^3", "symfony/service-contracts": "^1.1.2|^2|^3",
"symfony/yaml": "^5.4|^6.0" "symfony/yaml": "^5.4|^6.0"
}, },
@@ -5122,7 +5113,7 @@
"description": "Provides tools to internationalize your application", "description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/translation/tree/v6.1.6" "source": "https://github.com/symfony/translation/tree/v6.0.14"
}, },
"funding": [ "funding": [
{ {
@@ -5138,24 +5129,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-07T08:04:03+00:00" "time": "2022-10-07T08:02:12+00:00"
}, },
{ {
"name": "symfony/translation-contracts", "name": "symfony/translation-contracts",
"version": "v3.1.1", "version": "v3.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/translation-contracts.git", "url": "https://github.com/symfony/translation-contracts.git",
"reference": "606be0f48e05116baef052f7f3abdb345c8e02cc" "reference": "acbfbb274e730e5a0236f619b6168d9dedb3e282"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/606be0f48e05116baef052f7f3abdb345c8e02cc", "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/acbfbb274e730e5a0236f619b6168d9dedb3e282",
"reference": "606be0f48e05116baef052f7f3abdb345c8e02cc", "reference": "acbfbb274e730e5a0236f619b6168d9dedb3e282",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1" "php": ">=8.0.2"
}, },
"suggest": { "suggest": {
"symfony/translation-implementation": "" "symfony/translation-implementation": ""
@@ -5163,7 +5154,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "3.1-dev" "dev-main": "3.0-dev"
}, },
"thanks": { "thanks": {
"name": "symfony/contracts", "name": "symfony/contracts",
@@ -5173,10 +5164,7 @@
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Contracts\\Translation\\": "" "Symfony\\Contracts\\Translation\\": ""
}, }
"exclude-from-classmap": [
"/Test/"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@@ -5203,7 +5191,7 @@
"standards" "standards"
], ],
"support": { "support": {
"source": "https://github.com/symfony/translation-contracts/tree/v3.1.1" "source": "https://github.com/symfony/translation-contracts/tree/v3.0.2"
}, },
"funding": [ "funding": [
{ {
@@ -5219,24 +5207,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-06-27T17:24:16+00:00" "time": "2022-06-27T17:10:44+00:00"
}, },
{ {
"name": "symfony/uid", "name": "symfony/uid",
"version": "v6.1.5", "version": "v6.0.13",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/uid.git", "url": "https://github.com/symfony/uid.git",
"reference": "e03519f7b1ce1d3c0b74f751892bb41d549a2d98" "reference": "db426b27173f5e2d8b960dd10fa8ce19ea9ca5f3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/uid/zipball/e03519f7b1ce1d3c0b74f751892bb41d549a2d98", "url": "https://api.github.com/repos/symfony/uid/zipball/db426b27173f5e2d8b960dd10fa8ce19ea9ca5f3",
"reference": "e03519f7b1ce1d3c0b74f751892bb41d549a2d98", "reference": "db426b27173f5e2d8b960dd10fa8ce19ea9ca5f3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1", "php": ">=8.0.2",
"symfony/polyfill-uuid": "^1.15" "symfony/polyfill-uuid": "^1.15"
}, },
"require-dev": { "require-dev": {
@@ -5277,7 +5265,7 @@
"uuid" "uuid"
], ],
"support": { "support": {
"source": "https://github.com/symfony/uid/tree/v6.1.5" "source": "https://github.com/symfony/uid/tree/v6.0.13"
}, },
"funding": [ "funding": [
{ {
@@ -5293,24 +5281,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-09-09T09:34:27+00:00" "time": "2022-09-09T09:33:56+00:00"
}, },
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
"version": "v6.1.6", "version": "v6.0.14",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-dumper.git", "url": "https://github.com/symfony/var-dumper.git",
"reference": "0f0adde127f24548e23cbde83bcaeadc491c551f" "reference": "72af925ddd41ca0372d166d004bc38a00c4608cc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/0f0adde127f24548e23cbde83bcaeadc491c551f", "url": "https://api.github.com/repos/symfony/var-dumper/zipball/72af925ddd41ca0372d166d004bc38a00c4608cc",
"reference": "0f0adde127f24548e23cbde83bcaeadc491c551f", "reference": "72af925ddd41ca0372d166d004bc38a00c4608cc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1", "php": ">=8.0.2",
"symfony/polyfill-mbstring": "~1.0" "symfony/polyfill-mbstring": "~1.0"
}, },
"conflict": { "conflict": {
@@ -5365,7 +5353,7 @@
"dump" "dump"
], ],
"support": { "support": {
"source": "https://github.com/symfony/var-dumper/tree/v6.1.6" "source": "https://github.com/symfony/var-dumper/tree/v6.0.14"
}, },
"funding": [ "funding": [
{ {
@@ -5381,7 +5369,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-07T08:04:03+00:00" "time": "2022-10-07T08:02:12+00:00"
}, },
{ {
"name": "tijsverkoyen/css-to-inline-styles", "name": "tijsverkoyen/css-to-inline-styles",
@@ -6506,16 +6494,16 @@
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
"version": "9.2.17", "version": "9.2.18",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "aa94dc41e8661fe90c7316849907cba3007b10d8" "reference": "12fddc491826940cf9b7e88ad9664cf51f0f6d0a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/aa94dc41e8661fe90c7316849907cba3007b10d8", "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/12fddc491826940cf9b7e88ad9664cf51f0f6d0a",
"reference": "aa94dc41e8661fe90c7316849907cba3007b10d8", "reference": "12fddc491826940cf9b7e88ad9664cf51f0f6d0a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -6571,7 +6559,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.17" "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.18"
}, },
"funding": [ "funding": [
{ {
@@ -6579,7 +6567,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-08-30T12:24:04+00:00" "time": "2022-10-27T13:35:33+00:00"
}, },
{ {
"name": "phpunit/php-file-iterator", "name": "phpunit/php-file-iterator",
@@ -6824,16 +6812,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "9.5.25", "version": "9.5.26",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "3e6f90ca7e3d02025b1d147bd8d4a89fd4ca8a1d" "reference": "851867efcbb6a1b992ec515c71cdcf20d895e9d2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3e6f90ca7e3d02025b1d147bd8d4a89fd4ca8a1d", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/851867efcbb6a1b992ec515c71cdcf20d895e9d2",
"reference": "3e6f90ca7e3d02025b1d147bd8d4a89fd4ca8a1d", "reference": "851867efcbb6a1b992ec515c71cdcf20d895e9d2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -6906,7 +6894,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.25" "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.26"
}, },
"funding": [ "funding": [
{ {
@@ -6922,7 +6910,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-09-25T03:44:45+00:00" "time": "2022-10-28T06:00:21+00:00"
}, },
{ {
"name": "sebastian/cli-parser", "name": "sebastian/cli-parser",

3
public/test.php Normal file
View File

@@ -0,0 +1,3 @@
<?php
phpinfo();