From 7fadeb4e2e7fc8207a012b58e9faa7ac18421223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Attali?= Date: Tue, 17 Dec 2024 21:03:40 +0100 Subject: [PATCH 1/5] Fix documentation and upgrade supported version in description (#86) * Fix documentation * Upgrade supported version in description --- composer.json | 2 +- src/Resources/doc/multi-calendar.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 42a9fab..2075f3b 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "tattali/calendar-bundle", "type": "symfony-bundle", - "description": "Provides event calendar for your Symfony 5+ project. Compatible with API like Google Calendar.", + "description": "Provides event calendar for your Symfony 7+ project. Compatible with API like Google Calendar.", "keywords": [ "fullcalendar", "calendar", diff --git a/src/Resources/doc/multi-calendar.md b/src/Resources/doc/multi-calendar.md index fb9717d..3553c68 100644 --- a/src/Resources/doc/multi-calendar.md +++ b/src/Resources/doc/multi-calendar.md @@ -41,7 +41,7 @@ class CalendarSubscriber implements EventSubscriberInterface ]; } - public function onCalendarSetData(SetDataEvent $event) + public function onCalendarSetData(SetDataEvent $setDataEvent) { $start = $setDataEvent->getStart(); $end = $setDataEvent->getEnd(); From 32ebe86b8abeef9e9c3f6aff01ba689a56a3ad78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Attali?= Date: Wed, 26 Mar 2025 13:36:36 +0100 Subject: [PATCH 2/5] Update doctrine-crud.md --- src/Resources/doc/doctrine-crud.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/doc/doctrine-crud.md b/src/Resources/doc/doctrine-crud.md index d6dc057..a3c7208 100644 --- a/src/Resources/doc/doctrine-crud.md +++ b/src/Resources/doc/doctrine-crud.md @@ -147,7 +147,7 @@ And also the according `templates` and `form` (You may need to install additiona php bin/console make:crud Booking ``` -Edit the `BookingController` by adding a `calendar()` action to display the calendar +Edit the `BookingController` by adding a `calendar()` action to display the calendar (must be placed before `show()` to be resolved correctly) ```php // src/Controller/BookingController.php Date: Fri, 24 Oct 2025 12:00:24 +0200 Subject: [PATCH 3/5] ci: add tests for PHP 8.5 --- .github/workflows/code_checks.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code_checks.yaml b/.github/workflows/code_checks.yaml index 7796be1..8732478 100644 --- a/.github/workflows/code_checks.yaml +++ b/.github/workflows/code_checks.yaml @@ -26,10 +26,13 @@ jobs: - php: '8.4' symfony-version: 7.0.* stability: prefer-stable + - php: '8.5' + symfony-version: 7.0.* + stability: prefer-stable name: PHP ${{ matrix.php }} - ${{ matrix.symfony-version }} - ${{ matrix.stability }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Cache dependencies uses: actions/cache@v4 From cab774e8f56ff93aa201a17ded17898ff6b72d0c Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 22 Nov 2025 13:56:20 +0100 Subject: [PATCH 4/5] Upgrade checkout action from v5 to v6 --- .github/workflows/code_checks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code_checks.yaml b/.github/workflows/code_checks.yaml index 8732478..476fb63 100644 --- a/.github/workflows/code_checks.yaml +++ b/.github/workflows/code_checks.yaml @@ -32,7 +32,7 @@ jobs: name: PHP ${{ matrix.php }} - ${{ matrix.symfony-version }} - ${{ matrix.stability }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Cache dependencies uses: actions/cache@v4 From 55dda27c97b778d6a583ef819d974d8e43841cc2 Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 22 Nov 2025 13:58:56 +0100 Subject: [PATCH 5/5] Add --no-security-blocking to composer update --- .github/workflows/code_checks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code_checks.yaml b/.github/workflows/code_checks.yaml index 476fb63..055e8a8 100644 --- a/.github/workflows/code_checks.yaml +++ b/.github/workflows/code_checks.yaml @@ -52,7 +52,7 @@ jobs: composer global config --no-plugins allow-plugins.symfony/flex true composer global require --no-progress --no-scripts --no-plugins symfony/flex composer config minimum-stability ${{ matrix.minimum-stability }} - composer update --no-interaction --prefer-dist + composer update --no-interaction --prefer-dist --no-security-blocking - name: PHP-CS-Fixer continue-on-error: ${{ !matrix.is-current }}