Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
> php init --env=Development --overwrite=n
Yii Application Initialization Tool v1.0
Start initialization ...
unchanged backend/web/index-test.php
exist backend/web/index.php
...overwrite? [Yes|No|All|Quit] skip backend/web/index.php
exist backend/config/main-local.php
...overwrite? [Yes|No|All|Quit] skip backend/config/main-local.php
unchanged backend/config/params-local.php
unchanged backend/config/test-local.php
unchanged yii_test
unchanged frontend/web/index-test.php
unchanged frontend/web/index.php
exist frontend/config/main-local.php
...overwrite? [Yes|No|All|Quit] skip frontend/config/main-local.php
unchanged frontend/config/params-local.php
unchanged frontend/config/test-local.php
unchanged yii_test.bat
exist common/config/main-local.php
...overwrite? [Yes|No|All|Quit] skip common/config/main-local.php
unchanged common/config/params-local.php
unchanged common/config/test-local.php
unchanged yii
unchanged console/config/main-local.php
unchanged console/config/params-local.php
generate cookie validation key in backend/config/main-local.php
generate cookie validation key in frontend/config/main-local.php
chmod 0777 backend/runtime
chmod 0777 backend/web/assets
chmod 0777 frontend/runtime
chmod 0777 frontend/web/assets
chmod 0755 yii
chmod 0755 yii_test
... initialization completed.
$dates = DateTime::createFromFormat ('j-M-Y',$userSettings->date_subscription);
$userSettings->date_subscription_end = date($dates, strtotime('+1 month'));
$userSettings->date_subscription_end=date($userSettings->date_subscription, strtotime('+1 month'));