- Twig Debug mode (tbd)
- set
PHP_CS_FIXER_IGNORE_ENV=1
in testing container - adjust
Makefile
- add config
.php-cs-fixer.php
- liniting without path option in command
- add config
- adjust Codeception configurations
- rename
log
tooutput
- move
bootstrap
to root section (codeception.yml) - rename
class_name
toactor
(suite.yml(s)) - adjust
XDEBUG_MODE=develop,coverage
- remove JSON and TAP loggers
- disable yii2-debug module, see yiisoft/yii2-debug#372 (comment)
- rename
- set
XDEBUG_MODE=develop,coverage
in tests
- upgrade
"wikimedia/composer-merge-plugin": "~2.0"
- add
"ap": { "type": "composer", "url": "https://asset-packagist.org" }
torepositories
section incomposer.json
- disable
fxp/asset-plugin
eg."enabled": false
- make sure you have a
Public
role, which is a child ofDefault
andGuest
(dmstr/yii2-web:>=1.1.1
)
- set
ENV COMPOSER=/app/composer.json
orENV COMPOSER=/app/project/composer.json
in projectDockerfile
- adjust merge path
"src/composer.phd5.json"
in projectcomposer.json
- adjust config path
src/config/
toconfig/
eg. in tests - adjust bower and npm aliases/path in config and
composer.json
"npm-asset-library": "../vendor/npm-asset"
"bower-asset-library": "../vendor/bower-asset"
- register empty
register_shutdown_function
for unit and functional tests, see alsotests/codeception/mock_register_shutdown_function.php
tests/codeception/functional/_bootstrap.php
tests/codeception/unit/_bootstrap.php
- default value for
APP_ADMIN_EMAIL
removed, must be set in project - image startup command has been changed from
forego
tosupervisord
- update namespaces for
RbacMigration
, which has been extracted into separate packagedmstr/yii2-rbac-migration
- make sure to assign
FileflyDefault
toEditor
andFileflyAdmin
toMaster
- upgrade
"wikimedia/composer-merge-plugin": "^1.4.1"
when using phd5-template - update helper function
E2eTester::login
with updated CSS selectors
- Move param
yii.migrations
toMigrateController
migrationPath
- added host-volume for
src/
in test stack - added setting
app.assets
>settingsAssetList
- use
dmstr\modules\prototype\assets\DbAsset
for LESS Themes - see thomaspark/bootswatch#573 in case of
variable @path is undefined
- use
- added application configuration parameter
backend.iframe.name
for Backend toolbar - local filesystem
fs
has been renamed tofsLocal
- removed default configuration for
guide
andhelp
(update backend tests) - remove
RUN cp src/app.env-dist src/app.env
inDockerfile
[phd5-template] - remove manual setting of
PHP_USER_ID
(correct value is applied on the base-image according to the Docker image OS) - use environment variables with prefix i.e.
DB_ENV_...
- add
"wikimedia/composer-merge-plugin": "~1.3.1"
; must be a local package (not global) - remove
"romka-chev/yii2-swiper": "^2.0"
, due to composer conflicts with asset-plugin MYSQL_ROOT_PASSWORD
has been deprecated, useDB_ENV_MYSQL_ROOT_PASSWORD
- add
APP_AUDIT_DISABLE_ALL_ACTIONS=1
Not supported