Skip to content

Commit

Permalink
update pinpoint-c-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
eeliu committed Jul 8, 2024
1 parent b567258 commit 8c1314e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
with:
php-version: ${{ matrix.php-versions }}
tools: composer:v2
extensions: pinpoint_php-https://github.com/eeliu/pinpoint-c-agent@feat-join-cut-5-11
extensions: pinpoint_php-https://github.com/pinpoint-apm/pinpoint-c-agent@dev
- run: |
composer install --prefer-dist
vendor/bin/phpunit --configuration PHPUnit.xml --testsuit pinpoint --testdox
PHPUnit-AOP:
strategy:
matrix:
php-versions: [ '7.4','8.0','8.1','8.2']
php-versions: [ '7.4','8.0','8.1','8.2','8.3']
runs-on: ubuntu-latest
services:
redis:
Expand All @@ -38,7 +38,7 @@ jobs:
with:
php-version: ${{ matrix.php-versions }}
tools: composer:v2
extensions: pinpoint_php-https://github.com/eeliu/pinpoint-c-agent@feat-join-cut, mongodb-mongodb/[email protected]
extensions: pinpoint_php-https://github.com/pinpoint-apm/pinpoint-c-agent@dev, mongodb-mongodb/[email protected]
- run: |
composer install --prefer-dist
vendor/bin/phpunit --configuration PHPUnit_aop_libraries.xml --testsuit pinpoint --testdox
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ https://github.com/pinpoint-apm/pinpoint-c-agent/labels/php-aop
## Requirements

- php 7.0 ~ php 8.3
- ext-pinpoint_php": "^0.5.2"
- ext-pinpoint_php: "^0.5.2" ( [ Guide 📑](https://github.com/pinpoint-apm/pinpoint-c-agent/blob/dev/DOC/PHP/Readme.md#steps) )

## How to Use
## How to use

### 1. Import from packagist

Expand Down Expand Up @@ -46,7 +46,7 @@ require_once __DIR__. '/vendor/pinpoint-apm/pinpoint-php-aop/auto_pinpointed.php
$cls[] = $classHandler;
```

3. Extends `DefaultRequestPlugin` and implement `joinedClassSet`.
3. Extend `DefaultRequestPlugin` and implement `joinedClassSet`.

Examples:
- [Yii2PerRequestPlugins](lib/Pinpoint/Plugins/Yii2PerRequestPlugins.php)
Expand Down

0 comments on commit 8c1314e

Please sign in to comment.