From afc4463ab3e4955b50a46d8da50569688561676a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Thu, 5 Jun 2025 18:01:54 +0200 Subject: [PATCH 1/2] feat: use frankenphp.dev as Go module path --- CONTRIBUTING.md | 2 +- README.md | 2 +- build-static.sh | 4 ++-- caddy/admin.go | 2 +- caddy/admin_test.go | 4 ++-- caddy/caddy.go | 4 ++-- caddy/caddy_test.go | 4 ++-- caddy/frankenphp/main.go | 2 +- caddy/go.mod | 6 +++--- caddy/go.sum | 1 + caddy/php-cli.go | 2 +- caddy/php-server.go | 3 +-- cgi.go | 2 +- docs/cn/compile.md | 2 +- docs/cn/docker.md | 4 ++-- docs/compile.md | 2 +- docs/docker.md | 4 ++-- docs/fr/compile.md | 2 +- docs/fr/docker.md | 4 ++-- docs/ru/compile.md | 2 +- docs/ru/docker.md | 4 ++-- docs/tr/compile.md | 2 +- docs/tr/docker.md | 4 ++-- frankenphp_test.go | 4 ++-- go.mod | 2 +- internal/testcli/main.go | 2 +- internal/testserver/main.go | 2 +- internal/watcher/watch_pattern.go | 2 +- phpmainthread.go | 4 ++-- phpmainthread_test.go | 2 +- request_options.go | 2 +- scaling.go | 2 +- worker.go | 4 ++-- worker_test.go | 2 +- 34 files changed, 48 insertions(+), 48 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4217589c50..454ea9fe13 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -214,6 +214,6 @@ follow these steps: 3. Copy the `README.md` and `CONTRIBUTING.md` files from the root directory to the new directory 4. Translate the content of the files, but don't change the filenames, also don't translate strings starting with `> [!` (it's special markup for GitHub) 5. Create a Pull Request with the translations -6. In the [site repository](https://github.com/dunglas/frankenphp-website/tree/main), copy and translate the translation files in the `content/`, `data/` and `i18n/` directories +6. In the [site repository](https://github.com/dunglas/frankenphp-website), copy and translate the translation files in the `content/`, `data/` and `i18n/` directories 7. Translate the values in the created YAML file 8. Open a Pull Request on the site repository diff --git a/README.md b/README.md index 0f00beeefa..bfcb7dff0b 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ frankenphp php-server - [Laravel integration](https://frankenphp.dev/docs/laravel/) - [Known issues](https://frankenphp.dev/docs/known-issues/) - [Demo app (Symfony) and benchmarks](https://github.com/dunglas/frankenphp-demo) -- [Go library documentation](https://pkg.go.dev/github.com/dunglas/frankenphp) +- [Go library documentation](https://pkg.go.dev/frankenphp.dev) - [Contributing and debugging](https://frankenphp.dev/docs/contributing/) ## Examples and Skeletons diff --git a/build-static.sh b/build-static.sh index 685984d63d..a3111413f6 100755 --- a/build-static.sh +++ b/build-static.sh @@ -330,8 +330,8 @@ CGO_ENABLED=1 \ ${XCADDY_COMMAND} build \ --output "../dist/${bin}" \ ${XCADDY_ARGS} \ - --with github.com/dunglas/frankenphp=.. \ - --with github.com/dunglas/frankenphp/caddy=. + --with frankenphp.dev=.. \ + --with frankenphp.dev/caddy=. cd .. if [ -d "${EMBED}" ]; then diff --git a/caddy/admin.go b/caddy/admin.go index ec6d7d7c51..ac27a0c29e 100644 --- a/caddy/admin.go +++ b/caddy/admin.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" "github.com/caddyserver/caddy/v2" - "github.com/dunglas/frankenphp" + "frankenphp.dev" "net/http" ) diff --git a/caddy/admin_test.go b/caddy/admin_test.go index 1318a727fa..701bca49c0 100644 --- a/caddy/admin_test.go +++ b/caddy/admin_test.go @@ -4,14 +4,14 @@ import ( "bytes" "encoding/json" "fmt" - "github.com/dunglas/frankenphp/internal/fastabs" "io" "net/http" "sync" "testing" + "frankenphp.dev" + "frankenphp.dev/internal/fastabs" "github.com/caddyserver/caddy/v2/caddytest" - "github.com/dunglas/frankenphp" "github.com/stretchr/testify/assert" ) diff --git a/caddy/caddy.go b/caddy/caddy.go index 3c6931a040..58d02e8a47 100644 --- a/caddy/caddy.go +++ b/caddy/caddy.go @@ -14,7 +14,7 @@ import ( "strings" "time" - "github.com/dunglas/frankenphp/internal/fastabs" + "frankenphp.dev/internal/fastabs" "github.com/caddyserver/caddy/v2" "github.com/caddyserver/caddy/v2/caddyconfig" @@ -23,7 +23,7 @@ import ( "github.com/caddyserver/caddy/v2/modules/caddyhttp" "github.com/caddyserver/caddy/v2/modules/caddyhttp/fileserver" "github.com/caddyserver/caddy/v2/modules/caddyhttp/rewrite" - "github.com/dunglas/frankenphp" + "frankenphp.dev" ) const ( diff --git a/caddy/caddy_test.go b/caddy/caddy_test.go index 9d3a9a0132..5de438f431 100644 --- a/caddy/caddy_test.go +++ b/caddy/caddy_test.go @@ -14,8 +14,8 @@ import ( "github.com/caddyserver/caddy/v2" "github.com/caddyserver/caddy/v2/caddytest" - "github.com/dunglas/frankenphp" - "github.com/dunglas/frankenphp/internal/fastabs" + "frankenphp.dev" + "frankenphp.dev/internal/fastabs" "github.com/prometheus/client_golang/prometheus/testutil" "github.com/stretchr/testify/require" ) diff --git a/caddy/frankenphp/main.go b/caddy/frankenphp/main.go index 5b5fc0d7c9..a92728b8be 100644 --- a/caddy/frankenphp/main.go +++ b/caddy/frankenphp/main.go @@ -6,7 +6,7 @@ import ( // plug in Caddy modules here. _ "github.com/caddyserver/caddy/v2/modules/standard" _ "github.com/dunglas/caddy-cbrotli" - _ "github.com/dunglas/frankenphp/caddy" + _ "frankenphp.dev/caddy" _ "github.com/dunglas/mercure/caddy" _ "github.com/dunglas/vulcain/caddy" ) diff --git a/caddy/go.mod b/caddy/go.mod index e8bd29f4e2..5e44804336 100644 --- a/caddy/go.mod +++ b/caddy/go.mod @@ -1,8 +1,8 @@ -module github.com/dunglas/frankenphp/caddy +module frankenphp.dev/caddy go 1.24.0 -replace github.com/dunglas/frankenphp => ../ +replace frankenphp.dev => ../ retract v1.0.0-rc.1 // Human error @@ -10,7 +10,7 @@ require ( github.com/caddyserver/caddy/v2 v2.10.0 github.com/caddyserver/certmagic v0.23.0 github.com/dunglas/caddy-cbrotli v1.0.0 - github.com/dunglas/frankenphp v1.7.0 + frankenphp.dev v1.7.0 github.com/dunglas/mercure/caddy v0.19.2 github.com/dunglas/vulcain/caddy v1.2.0 github.com/prometheus/client_golang v1.22.0 diff --git a/caddy/go.sum b/caddy/go.sum index 8796411f16..5b0aaf4a19 100644 --- a/caddy/go.sum +++ b/caddy/go.sum @@ -167,6 +167,7 @@ github.com/dolthub/maphash v0.1.0 h1:bsQ7JsF4FkkWyrP3oCnFJgrCUAFbFf3kOl4L/QxPDyQ github.com/dolthub/maphash v0.1.0/go.mod h1:gkg4Ch4CdCDu5h6PMriVLawB7koZ+5ijb9puGMV50a4= github.com/dunglas/caddy-cbrotli v1.0.0 h1:+WNqXBkWyMcIpXB2rVZ3nwcElUbuAzf0kPxNXU4D+u0= github.com/dunglas/caddy-cbrotli v1.0.0/go.mod h1:KZsUu3fnQBgO0o3YDoQuO3Z61dFgUncr1F8rg8acwQw= +github.com/dunglas/frankenphp v1.7.0/go.mod h1:BaPr7WO5PmAkMtJvRUhRcmdWNAuEIK1zWLC++c8GhE0= github.com/dunglas/httpsfv v1.1.0 h1:Jw76nAyKWKZKFrpMMcL76y35tOpYHqQPzHQiwDvpe54= github.com/dunglas/httpsfv v1.1.0/go.mod h1:zID2mqw9mFsnt7YC3vYQ9/cjq30q41W+1AnDwH8TiMg= github.com/dunglas/mercure v0.19.2 h1:eBMQhxvzJTenIffL+jlqtWO+TPevCjOQ+DQJb8iB6+s= diff --git a/caddy/php-cli.go b/caddy/php-cli.go index 4e76ff147a..82fbcee726 100644 --- a/caddy/php-cli.go +++ b/caddy/php-cli.go @@ -6,7 +6,7 @@ import ( "path/filepath" caddycmd "github.com/caddyserver/caddy/v2/cmd" - "github.com/dunglas/frankenphp" + "frankenphp.dev" "github.com/spf13/cobra" ) diff --git a/caddy/php-server.go b/caddy/php-server.go index 69ab3df4ec..b237d288d4 100644 --- a/caddy/php-server.go +++ b/caddy/php-server.go @@ -20,8 +20,7 @@ import ( "github.com/caddyserver/caddy/v2/modules/caddyhttp/fileserver" "github.com/caddyserver/caddy/v2/modules/caddyhttp/rewrite" "github.com/caddyserver/certmagic" - "github.com/dunglas/frankenphp" - + "frankenphp.dev" "github.com/spf13/cobra" ) diff --git a/cgi.go b/cgi.go index 6f31921bf1..b69370bec2 100644 --- a/cgi.go +++ b/cgi.go @@ -18,7 +18,7 @@ import ( "strings" "unsafe" - "github.com/dunglas/frankenphp/internal/phpheaders" + "frankenphp.dev/internal/phpheaders" ) var knownServerKeys = []string{ diff --git a/docs/cn/compile.md b/docs/cn/compile.md index cd25b0cf72..a8abc4f797 100644 --- a/docs/cn/compile.md +++ b/docs/cn/compile.md @@ -80,7 +80,7 @@ CGO_ENABLED=1 \ XCADDY_GO_BUILD_FLAGS="-ldflags '-w -s'" \ xcaddy build \ --output frankenphp \ - --with github.com/dunglas/frankenphp/caddy \ + --with frankenphp.dev/caddy \ --with github.com/dunglas/caddy-cbrotli \ --with github.com/dunglas/mercure/caddy \ --with github.com/dunglas/vulcain/caddy diff --git a/docs/cn/docker.md b/docs/cn/docker.md index f3985fd2c3..d64c86bb98 100644 --- a/docs/cn/docker.md +++ b/docs/cn/docker.md @@ -57,8 +57,8 @@ RUN CGO_ENABLED=1 \ CGO_LDFLAGS="$(php-config --ldflags) $(php-config --libs)" \ xcaddy build \ --output /usr/local/bin/frankenphp \ - --with github.com/dunglas/frankenphp=./ \ - --with github.com/dunglas/frankenphp/caddy=./caddy/ \ + --with frankenphp.dev=./ \ + --with frankenphp.dev/caddy=./caddy/ \ --with github.com/dunglas/caddy-cbrotli \ # Mercure 和 Vulcain 包含在官方版本中,如果不需要你可以删除它们 --with github.com/dunglas/mercure/caddy \ diff --git a/docs/compile.md b/docs/compile.md index e2c4af8262..f5db2f2135 100644 --- a/docs/compile.md +++ b/docs/compile.md @@ -100,7 +100,7 @@ CGO_CFLAGS=$(php-config --includes) \ CGO_LDFLAGS="$(php-config --ldflags) $(php-config --libs)" \ xcaddy build \ --output frankenphp \ - --with github.com/dunglas/frankenphp/caddy \ + --with frankenphp.dev/caddy \ --with github.com/dunglas/mercure/caddy \ --with github.com/dunglas/vulcain/caddy # Add extra Caddy modules and FrankenPHP extensions here diff --git a/docs/docker.md b/docs/docker.md index d2a6592066..3cb838e5f7 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -65,8 +65,8 @@ RUN CGO_ENABLED=1 \ CGO_LDFLAGS="$(php-config --ldflags) $(php-config --libs)" \ xcaddy build \ --output /usr/local/bin/frankenphp \ - --with github.com/dunglas/frankenphp=./ \ - --with github.com/dunglas/frankenphp/caddy=./caddy/ \ + --with frankenphp.dev=./ \ + --with frankenphp.dev/caddy=./caddy/ \ --with github.com/dunglas/caddy-cbrotli \ # Mercure and Vulcain are included in the official build, but feel free to remove them --with github.com/dunglas/mercure/caddy \ diff --git a/docs/fr/compile.md b/docs/fr/compile.md index e7f7bd7bcf..772e11faed 100644 --- a/docs/fr/compile.md +++ b/docs/fr/compile.md @@ -100,7 +100,7 @@ CGO_CFLAGS=$(php-config --includes) \ CGO_LDFLAGS="$(php-config --ldflags) $(php-config --libs)" \ xcaddy build \ --output frankenphp \ - --with github.com/dunglas/frankenphp/caddy \ + --with frankenphp.dev/caddy \ --with github.com/dunglas/caddy-cbrotli \ --with github.com/dunglas/mercure/caddy \ --with github.com/dunglas/vulcain/caddy diff --git a/docs/fr/docker.md b/docs/fr/docker.md index bf863a5db8..b1d8fa5d41 100644 --- a/docs/fr/docker.md +++ b/docs/fr/docker.md @@ -65,8 +65,8 @@ RUN CGO_ENABLED=1 \ CGO_LDFLAGS="$(php-config --ldflags) $(php-config --libs)" \ xcaddy build \ --output /usr/local/bin/frankenphp \ - --with github.com/dunglas/frankenphp=./ \ - --with github.com/dunglas/frankenphp/caddy=./caddy/ \ + --with frankenphp.dev=./ \ + --with frankenphp.dev/caddy=./caddy/ \ --with github.com/dunglas/caddy-cbrotli \ # Mercure et Vulcain sont inclus dans la construction officielle, mais n'hésitez pas à les retirer --with github.com/dunglas/mercure/caddy \ diff --git a/docs/ru/compile.md b/docs/ru/compile.md index e547be21ab..fecf929665 100644 --- a/docs/ru/compile.md +++ b/docs/ru/compile.md @@ -92,7 +92,7 @@ CGO_CFLAGS=$(php-config --includes) \ CGO_LDFLAGS="$(php-config --ldflags) $(php-config --libs)" \ xcaddy build \ --output frankenphp \ - --with github.com/dunglas/frankenphp/caddy \ + --with frankenphp.dev/caddy \ --with github.com/dunglas/mercure/caddy \ --with github.com/dunglas/vulcain/caddy # Добавьте дополнительные модули Caddy здесь diff --git a/docs/ru/docker.md b/docs/ru/docker.md index f1a0a00e4a..d2739d1e82 100644 --- a/docs/ru/docker.md +++ b/docs/ru/docker.md @@ -64,8 +64,8 @@ RUN CGO_ENABLED=1 \ CGO_LDFLAGS="$(php-config --ldflags) $(php-config --libs)" \ xcaddy build \ --output /usr/local/bin/frankenphp \ - --with github.com/dunglas/frankenphp=./ \ - --with github.com/dunglas/frankenphp/caddy=./caddy/ \ + --with frankenphp.dev=./ \ + --with frankenphp.dev/caddy=./caddy/ \ --with github.com/dunglas/caddy-cbrotli \ # Mercure и Vulcain включены в официальный билд, но вы можете их удалить --with github.com/dunglas/mercure/caddy \ diff --git a/docs/tr/compile.md b/docs/tr/compile.md index ceae3ef068..a6f84986ec 100644 --- a/docs/tr/compile.md +++ b/docs/tr/compile.md @@ -82,7 +82,7 @@ CGO_ENABLED=1 \ XCADDY_GO_BUILD_FLAGS="-ldflags '-w -s'" \ xcaddy build \ --output frankenphp \ - --with github.com/dunglas/frankenphp/caddy \ + --with frankenphp.dev/caddy \ --with github.com/dunglas/caddy-cbrotli \ --with github.com/dunglas/mercure/caddy \ --with github.com/dunglas/vulcain/caddy diff --git a/docs/tr/docker.md b/docs/tr/docker.md index a55c14b664..fe48d42503 100644 --- a/docs/tr/docker.md +++ b/docs/tr/docker.md @@ -58,8 +58,8 @@ RUN CGO_ENABLED=1 \ CGO_LDFLAGS="$(php-config --ldflags) $(php-config --libs)" \ xcaddy build \ --output /usr/local/bin/frankenphp \ - --with github.com/dunglas/frankenphp=./ \ - --with github.com/dunglas/frankenphp/caddy=./caddy/ \ + --with frankenphp.dev=./ \ + --with frankenphp.dev/caddy=./caddy/ \ --with github.com/dunglas/caddy-cbrotli \ # Mercure ve Vulcain resmi yapıya dahil edilmiştir, ancak bunları kaldırmaktan çekinmeyin --with github.com/dunglas/mercure/caddy \ diff --git a/frankenphp_test.go b/frankenphp_test.go index 2df44ebfc5..ee99167a24 100644 --- a/frankenphp_test.go +++ b/frankenphp_test.go @@ -27,8 +27,8 @@ import ( "sync" "testing" - "github.com/dunglas/frankenphp" - "github.com/dunglas/frankenphp/internal/fastabs" + "frankenphp.dev" + "frankenphp.dev/internal/fastabs" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.uber.org/zap/exp/zapslog" diff --git a/go.mod b/go.mod index cc478c7e8b..8f9a30fd99 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/dunglas/frankenphp +module frankenphp.dev go 1.24.0 diff --git a/internal/testcli/main.go b/internal/testcli/main.go index c03c836c4d..3db87dbb25 100644 --- a/internal/testcli/main.go +++ b/internal/testcli/main.go @@ -4,7 +4,7 @@ import ( "log" "os" - "github.com/dunglas/frankenphp" + "frankenphp.dev" ) func main() { diff --git a/internal/testserver/main.go b/internal/testserver/main.go index 3e4af37b15..aef1447e33 100644 --- a/internal/testserver/main.go +++ b/internal/testserver/main.go @@ -6,7 +6,7 @@ import ( "net/http" "os" - "github.com/dunglas/frankenphp" + "frankenphp.dev" ) func main() { diff --git a/internal/watcher/watch_pattern.go b/internal/watcher/watch_pattern.go index dfd603566a..6d08da548e 100644 --- a/internal/watcher/watch_pattern.go +++ b/internal/watcher/watch_pattern.go @@ -8,7 +8,7 @@ import ( "path/filepath" "strings" - "github.com/dunglas/frankenphp/internal/fastabs" + "frankenphp.dev/internal/fastabs" ) type watchPattern struct { diff --git a/phpmainthread.go b/phpmainthread.go index 3154bb77ba..f128928152 100644 --- a/phpmainthread.go +++ b/phpmainthread.go @@ -13,8 +13,8 @@ import ( "strings" "sync" - "github.com/dunglas/frankenphp/internal/memory" - "github.com/dunglas/frankenphp/internal/phpheaders" + "frankenphp.dev/internal/memory" + "frankenphp.dev/internal/phpheaders" ) // represents the main PHP thread diff --git a/phpmainthread_test.go b/phpmainthread_test.go index 08020ea625..6f23833da0 100644 --- a/phpmainthread_test.go +++ b/phpmainthread_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "github.com/dunglas/frankenphp/internal/phpheaders" + "frankenphp.dev/internal/phpheaders" "github.com/stretchr/testify/assert" ) diff --git a/request_options.go b/request_options.go index 6c1cb59491..c1f316a427 100644 --- a/request_options.go +++ b/request_options.go @@ -7,7 +7,7 @@ import ( "sync" "sync/atomic" - "github.com/dunglas/frankenphp/internal/fastabs" + "frankenphp.dev/internal/fastabs" ) // RequestOption instances allow to configure a FrankenPHP Request. diff --git a/scaling.go b/scaling.go index ca319a1776..f4198f9065 100644 --- a/scaling.go +++ b/scaling.go @@ -10,7 +10,7 @@ import ( "sync" "time" - "github.com/dunglas/frankenphp/internal/cpu" + "frankenphp.dev/internal/cpu" ) const ( diff --git a/worker.go b/worker.go index 3c9455b775..f5f181a7fe 100644 --- a/worker.go +++ b/worker.go @@ -8,8 +8,8 @@ import ( "sync" "time" - "github.com/dunglas/frankenphp/internal/fastabs" - "github.com/dunglas/frankenphp/internal/watcher" + "frankenphp.dev/internal/fastabs" + "frankenphp.dev/internal/watcher" ) // represents a worker script and can have many threads assigned to it diff --git a/worker_test.go b/worker_test.go index babd50fb7e..4f182e957f 100644 --- a/worker_test.go +++ b/worker_test.go @@ -15,7 +15,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dunglas/frankenphp" + "frankenphp.dev" "github.com/stretchr/testify/assert" "go.uber.org/zap/exp/zapslog" "go.uber.org/zap/zapcore" From 79e3a98a11f10c8450eae073583d94459ab8b6cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Thu, 5 Jun 2025 18:08:52 +0200 Subject: [PATCH 2/2] fix --- .dockerignore | 2 +- .github/workflows/sanitizers.yaml | 2 +- .gitignore | 2 +- CONTRIBUTING.md | 2 +- docs/cn/CONTRIBUTING.md | 2 +- docs/fr/CONTRIBUTING.md | 2 +- docs/ru/CONTRIBUTING.md | 2 +- docs/tr/CONTRIBUTING.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.dockerignore b/.dockerignore index 16910ad232..dcc31b57b3 100644 --- a/.dockerignore +++ b/.dockerignore @@ -6,6 +6,6 @@ .idea/ .vscode/ __debug_bin -frankenphp.test +frankenphp.dev.test caddy/frankenphp/Build *.log diff --git a/.github/workflows/sanitizers.yaml b/.github/workflows/sanitizers.yaml index c4ade4a6a3..6460bcba27 100644 --- a/.github/workflows/sanitizers.yaml +++ b/.github/workflows/sanitizers.yaml @@ -101,4 +101,4 @@ jobs: - name: Compile tests run: go test ${{ matrix.sanitizer == 'msan' && '-tags=nowatcher' || '' }} -${{ matrix.sanitizer }} -v -x -c - name: Run tests - run: ./frankenphp.test -test.v + run: ./frankenphp.dev.test -test.v diff --git a/.gitignore b/.gitignore index 21bd3b59b4..3e04a22dc1 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,7 @@ .idea/ .vscode/ __debug_bin -frankenphp.test +frankenphp.dev.test caddy/frankenphp/Build package/etc/php.ini *.log diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 454ea9fe13..699f893434 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -176,7 +176,7 @@ docker buildx bake -f docker-bake.hcl --pull --no-cache --push ```console go test -tags watcher -c -ldflags=-w - gdb --args frankenphp.test -test.run ^MyTest$ + gdb --args frankenphp.dev.test -test.run ^MyTest$ ``` 9. When the bug is fixed, revert all these changes diff --git a/docs/cn/CONTRIBUTING.md b/docs/cn/CONTRIBUTING.md index 4f126023bc..f058638bd6 100644 --- a/docs/cn/CONTRIBUTING.md +++ b/docs/cn/CONTRIBUTING.md @@ -176,7 +176,7 @@ docker buildx bake -f docker-bake.hcl --pull --no-cache --push ```console go test -tags watcher -c -ldflags=-w - gdb --args frankenphp.test -test.run ^MyTest$ + gdb --args frankenphp.dev.test -test.run ^MyTest$ ``` 9. 当错误修复后,恢复所有这些更改 diff --git a/docs/fr/CONTRIBUTING.md b/docs/fr/CONTRIBUTING.md index 1017c4ca6b..d64e0f9906 100644 --- a/docs/fr/CONTRIBUTING.md +++ b/docs/fr/CONTRIBUTING.md @@ -177,7 +177,7 @@ docker buildx bake -f docker-bake.hcl --pull --no-cache --push ```console go test -tags watcher -c -ldflags=-w - gdb --args frankenphp.test -test.run ^MyTest$ + gdb --args frankenphp.dev.test -test.run ^MyTest$ ``` 9. Quand le bug est corrigé, annulez tous les changements. diff --git a/docs/ru/CONTRIBUTING.md b/docs/ru/CONTRIBUTING.md index 55d39d66e2..1f27283eb1 100644 --- a/docs/ru/CONTRIBUTING.md +++ b/docs/ru/CONTRIBUTING.md @@ -176,7 +176,7 @@ docker buildx bake -f docker-bake.hcl --pull --no-cache --push ```console go test -tags watcher -c -ldflags=-w - gdb --args frankenphp.test -test.run ^MyTest$ + gdb --args frankenphp.dev.test -test.run ^MyTest$ ``` 9. После исправления ошибки откатите все внесенные изменения. diff --git a/docs/tr/CONTRIBUTING.md b/docs/tr/CONTRIBUTING.md index 08551a1961..43cd21bd1d 100644 --- a/docs/tr/CONTRIBUTING.md +++ b/docs/tr/CONTRIBUTING.md @@ -176,7 +176,7 @@ docker buildx bake -f docker-bake.hcl --pull --no-cache --push ```console go test -tags watcher -c -ldflags=-w - gdb --args frankenphp.test -test.run ^MyTest$ + gdb --args frankenphp.dev.test -test.run ^MyTest$ ``` 9. Hata düzeltildiğinde, tüm bu değişiklikleri geri alın