From 0fb167c17c509b47fc3929220dea4841dd8170a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Kr=C3=B6g?= Date: Fri, 22 Nov 2024 01:00:56 +0100 Subject: [PATCH 1/2] Update composer install script hash --- .devcontainer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 04ca4a7..2ae06be 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,5 +1,5 @@ FROM alpine:3.18 RUN apk update && apk add git php82 nodejs npm php82-openssl php82-json php82-phar php82-mbstring libxslt openssh RUN ln -s /usr/bin/php82 /usr/bin/php -RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');if (hash_file('sha384', 'composer-setup.php') === 'e21205b207c3ff031906575712edab6f13eb0b361f2085f1f1237b7126d785e826a450292b6cfd1d64d92e6563bbde02') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" && php composer-setup.php && mv composer.phar /usr/bin/composer && php -r "unlink('composer-setup.php');" +RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php'); if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" && php composer-setup.php && mv composer.phar /usr/bin/composer && php -r "unlink('composer-setup.php');" ENV COMPOSER_ALLOW_SUPERUSER=1 \ No newline at end of file From eb5d7e2fc61754375e1ef5f55eb6ae2f0455ade1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Kr=C3=B6g?= Date: Fri, 22 Nov 2024 01:01:33 +0100 Subject: [PATCH 2/2] Don't use deprecated eslint settings "explicit" is the replacement for the deprecated true option. https://github.com/microsoft/vscode-eslint/issues/1750 https://code.visualstudio.com/updates/v1_83#_code-actions-on-save-and-auto-save --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index b05903d..4be394f 100755 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,7 +16,7 @@ }, "eslint.format.enable": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, "psalmLanguageServer.trace.server": "message", "files.exclude": {