diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0056435..16708c0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: - name: Setup PHP with PECL extension uses: shivammathur/setup-php@v2 with: - php-version: 8.3 + php-version: 8.4 - uses: actions/checkout@v7 - uses: actions/cache@v6 with: diff --git a/Dockerfile b/Dockerfile index f7a4983..bfc98b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG BUILD_STAGE=prod -FROM certbot/dns-cloudflare:v5.1.0 AS base +FROM certbot/dns-cloudflare:v5.9.0 AS base # find version here: https://releasealert.dev/dockerhub/_/docker ARG DOCKER_VERSION=29.0.4 # find version here: https://github.com/nginx-proxy/docker-gen/releases @@ -26,18 +26,18 @@ RUN apk add --update curl \ FROM base AS dev RUN apk add --update \ - php83 \ - php83-json \ - php83-pecl-yaml \ - php83-curl \ - php83-dom \ - php83-pdo \ - php83-simplexml \ - php83-tokenizer \ - php83-xml \ - php83-xmlwriter \ - php83-posix \ - php83-ctype \ + php84 \ + php84-json \ + php84-pecl-yaml \ + php84-curl \ + php84-dom \ + php84-pdo \ + php84-simplexml \ + php84-tokenizer \ + php84-xml \ + php84-xmlwriter \ + php84-posix \ + php84-ctype \ file \ composer \ git \ @@ -54,10 +54,10 @@ RUN git config --global --add safe.directory /app FROM base AS prod RUN apk add --update \ - php83 \ - php83-json \ - php83-pecl-yaml \ - php83-curl \ + php84 \ + php84-json \ + php84-pecl-yaml \ + php84-curl \ composer \ && rm -rf /var/cache/apk/* diff --git a/composer.json b/composer.json index 2220418..0690af2 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "license": "MIT", "type": "project", "require": { - "php": "~8.3.0", + "php": "~8.4.0", "ext-curl": "*", "ext-yaml": "*", "symfony/config": "^7.4.22", @@ -40,7 +40,7 @@ }, "optimize-autoloader": true, "platform": { - "php": "8.3.12" + "php": "8.4.0" }, "process-timeout": 0, "sort-packages": true diff --git a/composer.lock b/composer.lock index 6b5064b..0c64be8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "90d337cce3d78fe4c1ad0ac73ea0770d", + "content-hash": "b65a70f3b5f57a998e8ada57de2ad6be", "packages": [ { "name": "psr/container", @@ -8119,13 +8119,13 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~8.3.0", + "php": "~8.4.0", "ext-curl": "*", "ext-yaml": "*" }, "platform-dev": {}, "platform-overrides": { - "php": "8.3.12" + "php": "8.4.0" }, "plugin-api-version": "2.9.0" } diff --git a/src/Command/NotifyCommand.php b/src/Command/NotifyCommand.php index d8c4fb5..c8faaa8 100644 --- a/src/Command/NotifyCommand.php +++ b/src/Command/NotifyCommand.php @@ -70,6 +70,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int public function lock(): LockInterface { - return (new LockFactory(new FlockStore()))->createLock('notify-cmd-execution'); + return new LockFactory(new FlockStore())->createLock('notify-cmd-execution'); } } diff --git a/src/Dto/DomainList.php b/src/Dto/DomainList.php index 8526dfc..74724e7 100644 --- a/src/Dto/DomainList.php +++ b/src/Dto/DomainList.php @@ -63,7 +63,7 @@ public function __toString(): string public static function fromArray(array $domainStrings): DomainList { $domains = array_map(static fn(string $domain): Domain => new Domain($domain), $domainStrings); - return (new self(...$domains))->sort(); + return new self(...$domains)->sort(); } public function getWildCardDomainList(): DomainList