Skip to content

Commit

Permalink
clang format (#126)
Browse files Browse the repository at this point in the history
* clang format

* update checkout action to v4
  • Loading branch information
brettmc authored Jan 27, 2024
1 parent e474553 commit a113718
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
image: ghcr.io/open-telemetry/opentelemetry-php-instrumentation/php:${{ matrix.php }}-${{ matrix.os }}-debug

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: |
phpize
Expand All @@ -37,7 +37,7 @@ jobs:
container:
image: php:8.3-cli
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Package and copy
run: |
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
continue-on-error: false
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: mkdir
run: mkdir binaries
- name: download-artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run clang-format style check
uses: jidicula/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-php-debug-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:

- name: check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down
12 changes: 6 additions & 6 deletions ext/otel_observer.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,12 +423,12 @@ static void observer_begin(zend_execute_data *execute_data, zend_llist *hooks) {
continue;
}

php_error_docref(
NULL, E_NOTICE,
"OpenTelemetry: pre hook invalid argument index "
ZEND_ULONG_FMT ", class=%s function=%s",
idx, zval_get_chars(&params[2]),
zval_get_chars(&params[3]));
php_error_docref(NULL, E_NOTICE,
"OpenTelemetry: pre hook invalid "
"argument index " ZEND_ULONG_FMT
", class=%s function=%s",
idx, zval_get_chars(&params[2]),
zval_get_chars(&params[3]));
invalid_arg_warned = true;
continue;
}
Expand Down

0 comments on commit a113718

Please sign in to comment.