From 33d4e55eddf6febf3a520e417d24a233f48aa053 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 29 Jan 2021 11:35:26 +0100 Subject: [PATCH] Update lib configuration --- .github/workflows/php.yml | 10 +++++----- composer.json | 3 ++- config/bundles.php | 2 ++ config/packages/fos_ck_editor.yaml | 0 config/packages/fos_ckeditor.yaml | 5 +++++ config/packages/reset_password.yaml | 2 +- 6 files changed, 15 insertions(+), 7 deletions(-) delete mode 100644 config/packages/fos_ck_editor.yaml create mode 100644 config/packages/fos_ckeditor.yaml diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index e60f7acdae..8757ff5771 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -66,11 +66,11 @@ jobs: - name: Cache yarn dependencies uses: actions/cache@v2 with: - path: ${{ steps.yarn-cache.outputs.dir }} - # Use composer.json for key, if composer.lock is not committed. - # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: ${{ runner.os }}-yarn- + path: ${{ steps.yarn-cache.outputs.dir }} + # Use composer.json for key, if composer.lock is not committed. + # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: ${{ runner.os }}-yarn- - name: Yarn install uses: borales/actions-yarn@v2.3.0 diff --git a/composer.json b/composer.json index 929221d0d4..3cb1020a13 100755 --- a/composer.json +++ b/composer.json @@ -180,7 +180,8 @@ ], "auto-scripts": { "cache:clear": "symfony-cmd", - "assets:install %PUBLIC_DIR%": "symfony-cmd" + "assets:install %PUBLIC_DIR%": "symfony-cmd", + "requirements-checker": "script" }, "post-install-cmd": [ "@auto-scripts" diff --git a/config/bundles.php b/config/bundles.php index 65420881b2..80d8b692a1 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -36,4 +36,6 @@ return [ FOS\CKEditorBundle\FOSCKEditorBundle::class => ['all' => true], Symplify\ConsoleColorDiff\ConsoleColorDiffBundle::class => ['dev' => true, 'test' => true], Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle::class => ['all' => true], + Knp\DoctrineBehaviors\DoctrineBehaviorsBundle::class => ['all' => true], + Sonata\Exporter\Bridge\Symfony\SonataExporterSymfonyBundle::class => ['all' => true], ]; diff --git a/config/packages/fos_ck_editor.yaml b/config/packages/fos_ck_editor.yaml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/config/packages/fos_ckeditor.yaml b/config/packages/fos_ckeditor.yaml new file mode 100644 index 0000000000..ced8b0b010 --- /dev/null +++ b/config/packages/fos_ckeditor.yaml @@ -0,0 +1,5 @@ +# Read the documentation: https://symfony.com/doc/current/bundles/FOSCKEditorBundle/index.html + +twig: + form_themes: + - '@FOSCKEditor/Form/ckeditor_widget.html.twig' diff --git a/config/packages/reset_password.yaml b/config/packages/reset_password.yaml index c148e5c0cf..82ebc1c246 100644 --- a/config/packages/reset_password.yaml +++ b/config/packages/reset_password.yaml @@ -2,4 +2,4 @@ symfonycasts_reset_password: request_password_repository: Chamilo\CoreBundle\Repository\ResetPasswordRequestRepository lifetime: 3600 throttle_limit: 3600 - enable_garbage_collection: true \ No newline at end of file + enable_garbage_collection: true