Skip to content

Commit cfdc10b

Browse files
committed
D10 Replacing RequestStack
1 parent 483b2cb commit cfdc10b

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/pr.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
fail-fast: false
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 2
1414

@@ -39,7 +39,7 @@ jobs:
3939
id: composer-cache
4040
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
4141
- name: Cache dependencies
42-
uses: actions/cache@v2
42+
uses: actions/cache@v4
4343
with:
4444
path: ${{ steps.composer-cache.outputs.dir }}
4545
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -71,7 +71,7 @@ jobs:
7171
id: composer-cache
7272
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
7373
- name: Cache dependencies
74-
uses: actions/cache@v2
74+
uses: actions/cache@v4
7575
with:
7676
path: ${{ steps.composer-cache.outputs.dir }}
7777
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -104,7 +104,7 @@ jobs:
104104
id: composer-cache
105105
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
106106
- name: Cache dependencies
107-
uses: actions/cache@v2
107+
uses: actions/cache@v4
108108
with:
109109
path: ${{ steps.composer-cache.outputs.dir }}
110110
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -140,12 +140,12 @@ jobs:
140140
name: Markdown coding standards
141141
steps:
142142
- name: Checkout
143-
uses: actions/checkout@v2
143+
uses: actions/checkout@v4
144144
- name: Get yarn cache directory path
145145
id: yarn-cache-dir-path
146146
run: echo "::set-output name=dir::$(yarn cache dir)"
147147
- name: Cache yarn packages
148-
uses: actions/cache@v2
148+
uses: actions/cache@v4
149149
id: yarn-cache
150150
with:
151151
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).
1212
### Updated
1313

1414
- Update GitHub workflows runner images
15+
- D10 compatibility - updating RequestStack
1516

1617
## [1.1.3]
1718

src/Controller/WebformController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Drupal\Core\Controller\ControllerBase;
66
use Drupal\Core\Datetime\DrupalDateTime;
7-
use Drupal\Core\Http\RequestStack;
7+
use Symfony\Component\HttpFoundation\RequestStack;
88
use Drupal\Core\Link;
99
use Drupal\Core\Render\Markup;
1010
use Drupal\Core\Render\RendererInterface;

0 commit comments

Comments
 (0)