From 20e96d43570e95f76f5202f59cfa1b5d0e66536e Mon Sep 17 00:00:00 2001 From: Alistair Wearring <95761929+AWearring@users.noreply.github.com> Date: Thu, 18 Apr 2024 15:34:50 +0100 Subject: [PATCH] Fix for Deprecated function: Creation of dynamic property (#415) * Fix for Deprecated function: Creation of dynamic property Fixes issue https://github.com/localgovdrupal/localgov_microsites/issues/414 * Update patch with diff from merge request by mglaman for PHP deprecation. * Update localgov_microsites.yml Updating test runner. --------- Co-authored-by: Finn Lewis --- .github/workflows/localgov_microsites.yml | 2 +- composer.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/localgov_microsites.yml b/.github/workflows/localgov_microsites.yml index 530b752..09dae7f 100644 --- a/.github/workflows/localgov_microsites.yml +++ b/.github/workflows/localgov_microsites.yml @@ -211,4 +211,4 @@ jobs: mkdir -p ./html/web/sites/simpletest && chmod 777 ./html/web/sites/simpletest sed -i "s#http://localgov.lndo.site#http://drupal#" ./html/phpunit.xml.dist docker exec -t drupal bash -c 'chown docker:docker -R /var/www/html' - docker exec -u docker -t drupal bash -c "cd /var/www/html && ./bin/paratest --processes=4 ${{ env.LOCALGOV_DRUPAL_PROJECT_PATH }}" + docker exec -u docker -t drupal bash -c "cd /var/www/html && ./bin/paratest --processes=4 /var/www/html/${{ env.LOCALGOV_DRUPAL_PROJECT_PATH }}" diff --git a/composer.json b/composer.json index 74593bb..cd8cbfa 100644 --- a/composer.json +++ b/composer.json @@ -49,6 +49,9 @@ "drupal/domain_path": { "https://github.com/localgovdrupal/localgov_microsites/pull/175#issuecomment-1172879196": "https://raw.githubusercontent.com/localgovdrupal/localgov_microsites/995261d0909065e3124fba3fc0dce3e823aefa1d/patches/domain_path.146-url-aliases.patch", "https://github.com/localgovdrupal/localgov_microsites_group/issues/326": "https://raw.githubusercontent.com/localgovdrupal/localgov_microsites/4cbdbe6ae3c3e95e7d2ed15d918c66805ad8e7f1/patches/localgov_microsites_group_326.domain_path_pathauto.unserializable.patch" + }, + "drupal/autosave_form": { + "PHP 8.2 deprecation issue with AutosaveFormBuilder": "https://www.drupal.org/files/issues/2024-04-15/fix-php82-deprecation-3355495-19.patch" } } }