Commit 910faec1 authored by Tobias Munk's avatar Tobias Munk

added debug mode by cookie

parent 58c19dde
Pipeline #76539 passed with stage
in 4 minutes and 40 seconds
......@@ -2,40 +2,86 @@
## Environment variables
- `AMAZON_S3_BUCKET_NAME`
- `AMAZON_S3_BUCKET_PUBLIC_KEY`
- `AMAZON_S3_BUCKET_REGION`
- `AMAZON_S3_BUCKET_SECRET_KEY`
- `APP_ADMIN_EMAIL`
- `APP_ADMIN_PASSWORD`
- `APP_ASSET_DISABLE_BOOTSTRAP_BUNDLE`
- `APP_ASSET_FORCE_PUBLISH`
- `APP_ASSET_USE_BUNDLED`
- `APP_AUDIT_DISABLE_ALL_ACTIONS`
- `APP_CONFIG_FILE`
- `APP_COOKIE_VALIDATION_KEY`
- `APP_FILEFLY_DEFAULT_FILESYSTEM`
- `APP_INTERACTIVE`
- `APP_LANGUAGES`
- `APP_MAILER_HOST`
- `APP_MAILER_PASSWORD`
- `APP_MAILER_USERNAME`
- `APP_MAILER_USE_FILE_TRANSPORT`
- `APP_MIGRATION_LOOKUP`
- `APP_NAME`
- `APP_NO_CACHE`
- `APP_PRETTY_URLS`
- `APP_TITLE`
- `APP_TYPE`
- `APP_USER_ENABLE_REGISTRATION`
- `DATABASE_DSN`
- `DATABASE_PASSWORD`
- `DATABASE_TABLE_PREFIX`
- `DATABASE_USER`
- `ENV_LOCAL_FILE`
- `HOSTNAME`
- `REDIS_PORT_6379_TCP_ADDR`
- `REDIS_PORT_6379_TCP_PORT`
- `TWIG_DEBUG_MODE`
- `YII_DEBUG`
- `YII_ENV`
### `AMAZON_S3_BUCKET_NAME`
### `AMAZON_S3_BUCKET_PUBLIC_KEY`
### `AMAZON_S3_BUCKET_REGION`
### `AMAZON_S3_BUCKET_SECRET_KEY`
---
### `APP_ADMIN_EMAIL`
### `APP_ADMIN_PASSWORD`
### `APP_ASSET_DISABLE_BOOTSTRAP_BUNDLE`
### `APP_ASSET_FORCE_PUBLISH`
### `APP_ASSET_USE_BUNDLED`
### `APP_AUDIT_DISABLE_ALL_ACTIONS`
### `APP_CONFIG_FILE`
### `APP_COOKIE_VALIDATION_KEY`
### `APP_DB_DISABLE_SCHEMA_CACHE`
Wether to enable schema caching for database connections
### `APP_DEBUG_KEY`
Cookie token key for enabling `YII_DEBUG` (minimal length: 11)
### `APP_DEBUG_TOKEN`
Cookie token value for enabling `YII_DEBUG` (minimal length: 11)
### `APP_FILEFLY_DEFAULT_FILESYSTEM`
### `APP_INTERACTIVE`
### `APP_LANGUAGES`
### `APP_MAILER_ENCRYPTION`
### `APP_MAILER_FROM`
### `APP_MAILER_HOST`
### `APP_MAILER_PASSWORD`
### `APP_MAILER_PORT`
### `APP_MAILER_REPLY_TO`
### `APP_MAILER_RETURN_PATH`
### `APP_MAILER_SCHEME`
### `APP_MAILER_USE_FILE_TRANSPORT`
### `APP_MAILER_USERNAME`
### `APP_MIGRATION_LOOKUP`
### `APP_NAME`
### `APP_NO_CACHE`
### `APP_PAGES_TITLE_PREFIX`
### `APP_PARAMS_BACKEND_IFRAME_NAME`
### `APP_PRETTY_URLS`
### `APP_QUEUE_CHANNEL`
### `APP_TITLE`
### `APP_USER_ENABLE_REGISTRATION`
### `DATABASE_DSN`
### `DATABASE_PASSWORD`
### `DATABASE_TABLE_PREFIX`
### `DATABASE_USER`
---
### `DB_ENV_MYSQL_CLI_WAIT_TIMEOUT`
### `DB_ENV_MYSQL_ROOT_PASSWORD`
Development
### `DB_ENV_MYSQL_ROOT_USER`
---
### `ENV_LOCAL_FILE`
Local environment variables
---
### `FTP_BUCKET_FILESYSTEM_BASE_PATH`
### `FTP_BUCKET_HOST`
### `FTP_BUCKET_PASSWORD`
### `FTP_BUCKET_PORT`
### `FTP_BUCKET_SSL`
### `FTP_BUCKET_USER`
### `HOSTNAME`
### `HTTPS`
### `MYSQL_ATTR_SSL_CA`
### `PHP_USER_ID`
### `REDIS_PORT_6379_TCP_ADDR`
### `REDIS_PORT_6379_TCP_PORT`
### `TWIG_DEBUG_MODE`
### `YII_DEBUG`
### `YII_ENV`
### `YII_TRACE_LEVEL`
## Development
Find application environment variables in PHP code and create a raw file from them.
```
grep -ohr -P "getenv\(['\"]([A-Z0-9_]*)['\"]\)" config/ src/ web/ \
| sort -u \
| cut -d"'" -f2 \
| awk '{ print "### `" $1 "`" }' \
> docs/configuration.md.raw
```
......@@ -245,16 +245,16 @@
},
{
"name": "2amigos/yii2-usuario",
"version": "1.6.0",
"version": "1.6.1",
"source": {
"type": "git",
"url": "https://github.com/2amigos/yii2-usuario.git",
"reference": "9c84f12c11878790e8f2a4271f02d4e60d13dbbc"
"reference": "38ad4d188a918259a71ac83ed0784a16ba50197d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/2amigos/yii2-usuario/zipball/9c84f12c11878790e8f2a4271f02d4e60d13dbbc",
"reference": "9c84f12c11878790e8f2a4271f02d4e60d13dbbc",
"url": "https://api.github.com/repos/2amigos/yii2-usuario/zipball/38ad4d188a918259a71ac83ed0784a16ba50197d",
"reference": "38ad4d188a918259a71ac83ed0784a16ba50197d",
"shasum": ""
},
"require": {
......@@ -272,19 +272,18 @@
"require-dev": {
"2amigos/2fa-library": "^2.0",
"2amigos/qrcode-library": "^2.0",
"codeception/codeception": "*",
"codeception/module-asserts": "^1.1",
"codeception/module-db": "^1.0",
"codeception/module-filesystem": "^1.0",
"codeception/codeception": "^4|^5",
"codeception/module-asserts": "^2|^3",
"codeception/module-db": "^2|^3",
"codeception/module-filesystem": "^2|^3",
"codeception/module-yii2": "^1.1",
"codeception/verify": "^0.3.3",
"friendsofphp/php-cs-fixer": "^3",
"php": ">=7.4",
"phpmd/phpmd": "@stable",
"phpstan/phpstan": "^1.8",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "*",
"yiisoft/yii2-symfonymailer": "~2.0.0"
"yiisoft/yii2-symfonymailer": "^2|^3"
},
"suggest": {
"2amigos/2fa-library": "Needed if you want to enable 2 Factor Authentication. Require version ^1.0",
......@@ -339,7 +338,7 @@
"issues": "https://github.com/2amigos/yii2-usuario/issues?state=open",
"source": "https://github.com/2amigos/yii2-usuario"
},
"time": "2023-01-09T08:51:26+00:00"
"time": "2023-04-04T06:48:42+00:00"
},
{
"name": "almasaeed2010/adminlte",
......@@ -500,12 +499,12 @@
"version": "v1.9.0",
"source": {
"type": "git",
"url": "https://github.com/uxsolutions/bootstrap-datepicker.git",
"url": "git@github.com:eternicode/bootstrap-datepicker.git",
"reference": "fb8776d65825068b9f914ab37d6fd847c951f488"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/uxsolutions/bootstrap-datepicker/zipball/fb8776d65825068b9f914ab37d6fd847c951f488",
"url": "https://api.github.com/repos/eternicode/bootstrap-datepicker/zipball/fb8776d65825068b9f914ab37d6fd847c951f488",
"reference": "fb8776d65825068b9f914ab37d6fd847c951f488"
},
"require": {
......@@ -921,16 +920,16 @@
},
{
"name": "ckeditor/ckeditor",
"version": "4.20.2",
"version": "4.21.0",
"source": {
"type": "git",
"url": "https://github.com/ckeditor/ckeditor4-releases.git",
"reference": "8cc8f1b065f93d90c305c2609fec4e4215dd20ba"
"reference": "af71d07caa2172c53e0e426250e3b0189137915b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ckeditor/ckeditor4-releases/zipball/8cc8f1b065f93d90c305c2609fec4e4215dd20ba",
"reference": "8cc8f1b065f93d90c305c2609fec4e4215dd20ba",
"url": "https://api.github.com/repos/ckeditor/ckeditor4-releases/zipball/af71d07caa2172c53e0e426250e3b0189137915b",
"reference": "af71d07caa2172c53e0e426250e3b0189137915b",
"shasum": ""
},
"type": "library",
......@@ -965,7 +964,7 @@
"source": "https://github.com/ckeditor/ckeditor4",
"wiki": "https://ckeditor.com/docs/ckeditor4/latest/"
},
"time": "2023-02-15T12:55:37+00:00"
"time": "2023-03-22T10:37:38+00:00"
},
{
"name": "codemix/yii2-localeurls",
......@@ -4127,16 +4126,16 @@
},
{
"name": "mpdf/mpdf",
"version": "v8.1.4",
"version": "v8.1.5",
"source": {
"type": "git",
"url": "https://github.com/mpdf/mpdf.git",
"reference": "add590e93b7502efafd9839a68cff99f3497b318"
"reference": "c264ce27af0d794ecd04e201b7e37a06b8a9d720"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/mpdf/mpdf/zipball/add590e93b7502efafd9839a68cff99f3497b318",
"reference": "add590e93b7502efafd9839a68cff99f3497b318",
"url": "https://api.github.com/repos/mpdf/mpdf/zipball/c264ce27af0d794ecd04e201b7e37a06b8a9d720",
"reference": "c264ce27af0d794ecd04e201b7e37a06b8a9d720",
"shasum": ""
},
"require": {
......@@ -4200,7 +4199,7 @@
"type": "custom"
}
],
"time": "2022-12-15T11:24:39+00:00"
"time": "2023-04-04T15:06:48+00:00"
},
{
"name": "myclabs/deep-copy",
......@@ -4356,10 +4355,10 @@
},
{
"name": "npm-asset/core-js",
"version": "3.29.0",
"version": "3.29.1",
"dist": {
"type": "tar",
"url": "https://registry.npmjs.org/core-js/-/core-js-3.29.0.tgz"
"url": "https://registry.npmjs.org/core-js/-/core-js-3.29.1.tgz"
},
"type": "npm-asset",
"license": [
......@@ -5213,25 +5212,25 @@
},
{
"name": "psr/http-message",
"version": "1.0.1",
"version": "1.1",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-message.git",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
"php": "^7.2 || ^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
"dev-master": "1.1.x-dev"
}
},
"autoload": {
......@@ -5260,9 +5259,9 @@
"response"
],
"support": {
"source": "https://github.com/php-fig/http-message/tree/master"
"source": "https://github.com/php-fig/http-message/tree/1.1"
},
"time": "2016-08-06T14:39:51+00:00"
"time": "2023-04-04T09:50:52+00:00"
},
{
"name": "psr/log",
......@@ -5427,12 +5426,12 @@
"source": {
"type": "git",
"url": "https://github.com/Roave/SecurityAdvisories.git",
"reference": "9f1b313531b07c47f47c1db6e4037d8fa1c066ad"
"reference": "4bc7e4217fbc96c8f18283eb6425b6068fa5f8a0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/9f1b313531b07c47f47c1db6e4037d8fa1c066ad",
"reference": "9f1b313531b07c47f47c1db6e4037d8fa1c066ad",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/4bc7e4217fbc96c8f18283eb6425b6068fa5f8a0",
"reference": "4bc7e4217fbc96c8f18283eb6425b6068fa5f8a0",
"shasum": ""
},
"conflict": {
......@@ -5450,6 +5449,7 @@
"amphp/http-client": ">=4,<4.4",
"anchorcms/anchor-cms": "<=0.12.7",
"andreapollastri/cipi": "<=3.1.15",
"andrewhaine/silverstripe-form-capture": ">=0.2,<=0.2.3|>=1,<=1.0.1|>=2,<=2.2.4",
"apereo/phpcas": "<1.6",
"api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6|>=2.6,<2.7.10|>=3,<3.0.12|>=3.1,<3.1.3",
"appwrite/server-ce": "<0.11.1|>=0.12,<0.12.2",
......@@ -5466,8 +5466,9 @@
"barrelstrength/sprout-forms": "<3.9",
"barryvdh/laravel-translation-manager": "<0.6.2",
"barzahlen/barzahlen-php": "<2.0.1",
"baserproject/basercms": "<4.7.2",
"baserproject/basercms": "<4.7.5",
"bassjobsen/bootstrap-3-typeahead": ">4.0.2",
"bigfork/silverstripe-form-capture": ">=3,<=3.1",
"billz/raspap-webgui": "<=2.6.6",
"bk2k/bootstrap-package": ">=7.1,<7.1.2|>=8,<8.0.8|>=9,<9.0.4|>=9.1,<9.1.3|>=10,<10.0.10|>=11,<11.0.3",
"bmarshall511/wordpress_zero_spam": "<5.2.13",
......@@ -5551,7 +5552,7 @@
"ezsystems/ezplatform-graphql": ">=1-rc.1,<1.0.13|>=2-beta.1,<2.3.12",
"ezsystems/ezplatform-kernel": "<1.2.5.1|>=1.3,<1.3.26",
"ezsystems/ezplatform-rest": ">=1.2,<=1.2.2|>=1.3,<1.3.8",
"ezsystems/ezplatform-richtext": ">=2.3,<=2.3.7",
"ezsystems/ezplatform-richtext": ">=2.3,<2.3.7.1",
"ezsystems/ezplatform-user": ">=1,<1.0.1",
"ezsystems/ezpublish-kernel": "<6.13.8.2|>=7,<7.5.30",
"ezsystems/ezpublish-legacy": "<=2017.12.7.3|>=2018.6,<=2019.3.5.1",
......@@ -5599,7 +5600,7 @@
"gos/web-socket-bundle": "<1.10.4|>=2,<2.6.1|>=3,<3.3",
"gree/jose": "<2.2.1",
"gregwar/rst": "<1.0.3",
"grumpydictator/firefly-iii": "<5.8",
"grumpydictator/firefly-iii": "<6",
"guzzlehttp/guzzle": "<6.5.8|>=7,<7.4.5",
"guzzlehttp/psr7": "<1.8.4|>=2,<2.1.1",
"harvesthq/chosen": "<1.8.7",
......@@ -5644,7 +5645,7 @@
"kimai/kimai": "<1.1",
"kitodo/presentation": "<3.1.2",
"klaviyo/magento2-extension": ">=1,<3",
"knplabs/knp-snappy": "<=1.4.1",
"knplabs/knp-snappy": "<1.4.2",
"krayin/laravel-crm": "<1.2.2",
"kreait/firebase-php": ">=3.2,<3.8.1",
"la-haute-societe/tcpdf": "<6.2.22",
......@@ -5691,7 +5692,7 @@
"modx/revolution": "<= 2.8.3-pl|<2.8",
"mojo42/jirafeau": "<4.4",
"monolog/monolog": ">=1.8,<1.12",
"moodle/moodle": "<4.0.6|= 3.11|>=4.1-beta,<4.1.1",
"moodle/moodle": "<4.0.7|>=4.1-beta,<4.1.2|= 3.11",
"mustache/mustache": ">=2,<2.14.1",
"namshi/jose": "<2.2",
"neoan3-apps/template": "<1.1.1",
......@@ -5746,12 +5747,14 @@
"phpoffice/phpspreadsheet": "<1.16",
"phpseclib/phpseclib": "<2.0.31|>=3,<3.0.19",
"phpservermon/phpservermon": "<=3.5.2",
"phpsysinfo/phpsysinfo": "<3.2.5",
"phpunit/phpunit": ">=4.8.19,<4.8.28|>=5,<5.6.3",
"phpwhois/phpwhois": "<=4.2.5",
"phpxmlrpc/extras": "<0.6.1",
"phpxmlrpc/phpxmlrpc": "<4.9.2",
"pimcore/data-hub": "<1.2.4",
"pimcore/pimcore": "<11",
"pimcore/perspective-editor": "<1.5.1",
"pimcore/pimcore": "<10.5.20",
"pixelfed/pixelfed": "<=0.11.4",
"pocketmine/bedrock-protocol": "<8.0.2",
"pocketmine/pocketmine-mp": "<4.12.5|>= 4.0.0-BETA5, < 4.4.2",
......@@ -5777,6 +5780,7 @@
"rainlab/debugbar-plugin": "<3.1",
"rankmath/seo-by-rank-math": "<=1.0.95",
"react/http": ">=0.7,<1.7",
"really-simple-plugins/complianz-gdpr": "<6.4.2",
"remdex/livehelperchat": "<3.99",
"rmccue/requests": ">=1.6,<1.8",
"robrichards/xmlseclibs": "<3.0.4",
......@@ -5818,8 +5822,9 @@
"simplesamlphp/simplesamlphp-module-openid": "<1",
"simplesamlphp/simplesamlphp-module-openidprovider": "<0.9",
"simplito/elliptic-php": "<1.0.6",
"sitegeist/fluid-components": "<3.5",
"slim/slim": "<2.6",
"smarty/smarty": "<3.1.47|>=4,<4.2.1",
"smarty/smarty": "<3.1.48|>=4,<4.3.1",
"snipe/snipe-it": "<=6.0.14|>= 6.0.0-RC-1, <= 6.0.0-RC-5",
"socalnick/scn-social-auth": "<1.15.2",
"socialiteproviders/steam": "<1.1",
......@@ -5885,7 +5890,7 @@
"thelia/thelia": ">=2.1-beta.1,<2.1.3",
"theonedemon/phpwhois": "<=4.2.5",
"thinkcmf/thinkcmf": "<=5.1.7",
"thorsten/phpmyfaq": "<3.1.11",
"thorsten/phpmyfaq": "<3.1.12",
"tinymce/tinymce": "<5.10.7|>=6,<6.3.1",
"tinymighty/wiki-seo": "<1.2.2",
"titon/framework": ">=0,<9.9.99",
......@@ -6012,7 +6017,7 @@
"type": "tidelift"
}
],
"time": "2023-03-23T13:07:43+00:00"
"time": "2023-04-05T21:04:16+00:00"
},
{
"name": "schmunk42/retry",
......@@ -6375,16 +6380,16 @@
},
{
"name": "symfony/event-dispatcher",
"version": "v5.4.21",
"version": "v5.4.22",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "f0ae1383a8285dfc6752b8d8602790953118ff5a"
"reference": "1df20e45d56da29a4b1d8259dd6e950acbf1b13f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/f0ae1383a8285dfc6752b8d8602790953118ff5a",
"reference": "f0ae1383a8285dfc6752b8d8602790953118ff5a",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/1df20e45d56da29a4b1d8259dd6e950acbf1b13f",
"reference": "1df20e45d56da29a4b1d8259dd6e950acbf1b13f",
"shasum": ""
},
"require": {
......@@ -6440,7 +6445,7 @@
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/event-dispatcher/tree/v5.4.21"
"source": "https://github.com/symfony/event-dispatcher/tree/v5.4.22"
},
"funding": [
{
......@@ -6456,7 +6461,7 @@
"type": "tidelift"
}
],
"time": "2023-02-14T08:03:56+00:00"
"time": "2023-03-17T11:31:58+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
......@@ -7190,16 +7195,16 @@
},
{
"name": "symfony/process",
"version": "v5.4.21",
"version": "v5.4.22",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd"
"reference": "4b850da0cc3a2a9181c1ed407adbca4733dc839b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd",
"reference": "d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd",
"url": "https://api.github.com/repos/symfony/process/zipball/4b850da0cc3a2a9181c1ed407adbca4733dc839b",
"reference": "4b850da0cc3a2a9181c1ed407adbca4733dc839b",
"shasum": ""
},
"require": {
......@@ -7232,7 +7237,7 @@
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/process/tree/v5.4.21"
"source": "https://github.com/symfony/process/tree/v5.4.22"
},
"funding": [
{
......@@ -7248,7 +7253,7 @@
"type": "tidelift"
}
],
"time": "2023-02-21T19:46:44+00:00"
"time": "2023-03-06T21:29:33+00:00"
},
{
"name": "symfony/service-contracts",
......@@ -11003,16 +11008,16 @@
},
{
"name": "phpunit/phpunit",
"version": "9.6.5",
"version": "9.6.6",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "86e761949019ae83f49240b2f2123fb5ab3b2fc5"
"reference": "b65d59a059d3004a040c16a82e07bbdf6cfdd115"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/86e761949019ae83f49240b2f2123fb5ab3b2fc5",
"reference": "86e761949019ae83f49240b2f2123fb5ab3b2fc5",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b65d59a059d3004a040c16a82e07bbdf6cfdd115",
"reference": "b65d59a059d3004a040c16a82e07bbdf6cfdd115",
"shasum": ""
},
"require": {
......@@ -11085,7 +11090,8 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.5"
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.6"
},
"funding": [
{
......@@ -11101,7 +11107,7 @@
"type": "tidelift"
}
],
"time": "2023-03-09T06:34:10+00:00"
"time": "2023-03-27T11:43:46+00:00"
},
{
"name": "psr/cache",
......@@ -12359,16 +12365,16 @@
},
{
"name": "symfony/console",
"version": "v5.4.21",
"version": "v5.4.22",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "c77433ddc6cdc689caf48065d9ea22ca0853fbd9"
"reference": "3cd51fd2e6c461ca678f84d419461281bd87a0a8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/c77433ddc6cdc689caf48065d9ea22ca0853fbd9",
"reference": "c77433ddc6cdc689caf48065d9ea22ca0853fbd9",
"url": "https://api.github.com/repos/symfony/console/zipball/3cd51fd2e6c461ca678f84d419461281bd87a0a8",
"reference": "3cd51fd2e6c461ca678f84d419461281bd87a0a8",
"shasum": ""
},
"require": {
......@@ -12433,12 +12439,12 @@
"homepage": "https://symfony.com",
"keywords": [
"cli",
"command line",
"command-line",
"console",
"terminal"
],
"support": {
"source": "https://github.com/symfony/console/tree/v5.4.21"
"source": "https://github.com/symfony/console/tree/v5.4.22"
},
"funding": [
{
......@@ -12454,7 +12460,7 @@
"type": "tidelift"
}
],
"time": "2023-02-25T16:59:41+00:00"
"time": "2023-03-25T09:27:28+00:00"
},
{
"name": "symfony/css-selector",
......@@ -12524,16 +12530,16 @@
},
{
"name": "symfony/dom-crawler",
"version": "v5.4.21",
"version": "v5.4.22",
"source": {
"type": "git",
"url": "https://github.com/symfony/dom-crawler.git",
"reference": "105a7ac54ecacc1f52a99b9c4963935ca62aac8f"
"reference": "4c633facee8da59998e0c90e337a586cf07a21e7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/dom-crawler/zipball/105a7ac54ecacc1f52a99b9c4963935ca62aac8f",
"reference": "105a7ac54ecacc1f52a99b9c4963935ca62aac8f",
"url": "https://api.github.com/repos/symfony/dom-crawler/zipball/4c633facee8da59998e0c90e337a586cf07a21e7",
"reference": "4c633facee8da59998e0c90e337a586cf07a21e7",
"shasum": ""
},
"require": {
......@@ -12579,7 +12585,7 @@
"description": "Eases DOM navigation for HTML and XML documents",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/dom-crawler/tree/v5.4.21"
"source": "https://github.com/symfony/dom-crawler/tree/v5.4.22"
},
"funding": [
{
......@@ -12595,7 +12601,7 @@
"type": "tidelift"
}
],
"time": "2023-02-14T08:03:56+00:00"
"time": "2023-03-06T21:29:33+00:00"
},
{
"name": "symfony/filesystem",
......
......@@ -5,6 +5,15 @@ $rootPath = realpath(__DIR__ . '/..');
require($rootPath . '/vendor/autoload.php');
require($rootPath . '/config/env.php');
// Enable YII_DEBUG by key/token cookie
if (strlen(getenv('APP_DEBUG_KEY') > 10) &&
strlen(getenv('APP_DEBUG_TOKEN') > 10)) {
if (isset($_COOKIE[getenv('APP_DEBUG_KEY')]) &&
($_COOKIE[getenv('APP_DEBUG_KEY')] === getenv('APP_DEBUG_TOKEN'))) {
putenv('YII_DEBUG=1');
}
}
// Define framework & application constants
defined('YII_DEBUG') or define('YII_DEBUG', (boolean)getenv('YII_DEBUG'));
defined('YII_ENV') or define('YII_ENV', getenv('YII_ENV'));
......@@ -15,10 +24,12 @@ require($rootPath . '/vendor/yiisoft/yii2/Yii.php');
// Codeception testing routes
if (YII_ENV_TEST && file_exists($rootPath . '/tests/c3.php')) {
define('C3_CODECOVERAGE_ERROR_LOG_FILE',
getenv('C3_CODECOVERAGE_ERROR_LOG_FILE')); //Optional (if not set the default c3 output dir will be used)
define('C3_CODECEPTION_CONFIG_PATH',
getenv('C3_CODECEPTION_CONFIG_PATH')); //Optional (if not set the default c3 output dir will be used)
define(
'C3_CODECOVERAGE_ERROR_LOG_FILE',
getenv('C3_CODECOVERAGE_ERROR_LOG_FILE')); //Optional (if not set the default c3 output dir will be used)
define(
'C3_CODECEPTION_CONFIG_PATH',
getenv('C3_CODECEPTION_CONFIG_PATH')); //Optional (if not set the default c3 output dir will be used)
require_once $rootPath . '/tests/c3.php';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment