File tree 2 files changed +7
-5
lines changed 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ pass "Suggested dependencies installed."
171
171
# deprecation notices.
172
172
# @see https://www.drupal.org/project/drupal/issues/1267246
173
173
if [ " ${SYMFONY_DEPRECATIONS_HELPER-} " == " disabled" ]; then
174
+ note " Disabling deprecation notices in the functional tests."
174
175
echo " error_reporting(E_ALL & ~E_DEPRECATED);" >> build/web/sites/default/default.settings.php
175
176
fi
176
177
Original file line number Diff line number Diff line change @@ -108,6 +108,12 @@ jobs:
108
108
php-version : ${{ matrix.php-version }}
109
109
extensions : gd, sqlite, pdo_sqlite
110
110
111
+ # Disable Symfony deprecations helper for PHP 8.4+ until minor
112
+ # versions of Drupal 10 and 11 core fully support PHP 8.4+.
113
+ # @see https://www.drupal.org/project/drupal/issues/1267246
114
+ - name : Update SYMFONY_DEPRECATIONS_HELPER for PHP 8.4+
115
+ run : echo "SYMFONY_DEPRECATIONS_HELPER=$([[ "${{ matrix.php-version }}" < "8.4" ]] && echo 'disabled' || echo '')" >> $GITHUB_ENV
116
+
111
117
- name : Assemble the codebase
112
118
run : .devtools/assemble.sh
113
119
env :
@@ -145,11 +151,6 @@ jobs:
145
151
run : vendor/bin/phpunit || [ "${CI_TEST_IGNORE_FAILURE:-0}" -eq 1 ]
146
152
env :
147
153
BROWSERTEST_OUTPUT_DIRECTORY : /tmp
148
- # Disable Symfony deprecations helper for PHP 8.4+ until minor
149
- # versions of Drupal 10 and 11 core fully support PHP 8.4+.
150
- # @see https://www.drupal.org/project/drupal/issues/1267246
151
- # SYMFONY_DEPRECATIONS_HELPER: ${{ matrix.php-version < '8.4' && 'disabled' }}
152
- SYMFONY_DEPRECATIONS_HELPER : ' disabled'
153
154
154
155
- name : Upload test results as an artifact
155
156
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments