From 57cf0168106c78be346386ac144fa19c81a847e9 Mon Sep 17 00:00:00 2001 From: Tom Lawton Date: Mon, 1 May 2023 12:49:49 +0000 Subject: [PATCH 1/2] readme: update badges / info --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2aee96d..de2d078 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # GorillaClaw ![Build](https://img.shields.io/github/actions/workflow/status/conduit-innovation/gorilla-claw/php.yml?style=flat) -![Coverage](https://raw.githubusercontent.com/conduit-innovation/gorilla-claw/image-data/coverage.svg) +[![Coverage](https://raw.githubusercontent.com/conduit-innovation/gorilla-claw/image-data/coverage.svg)](https://conduit-innovation.github.io/gorilla-claw/coverage) +[![API Doc](https://img.shields.io/badge/api--docs-incomplete-yellow)](https://conduit-innovation.github.io/gorilla-claw/api) +![Packagist PHP Version](https://img.shields.io/packagist/dependency-v/conduit/gorilla-claw/php) +![Wordpress Compatibility](https://img.shields.io/badge/wordpress->=5.9-blue) WordPress action / filter runtime toolkit library, with monkey-patching capabilities. @@ -13,7 +16,7 @@ WordPress action / filter runtime toolkit library, with monkey-patching capabili - Uses fast Closures, not slow Reflection. - *[Coming Soon] Profile individual handlers, or the entire hook* -The intention is that this library will be safe to use in production, with minimal performance overhead. However, until the `1.0.0` release, this should only be used for testing. But there is already full test coverage for releases. +The intention is that this library will be safe to use in production, with minimal performance overhead. However, until the `1.0.0` release, this should only be used for testing. But there is already [full test coverage for releases](https://conduit-innovation.github.io/gorilla-claw/coverage). ## Installation From c5c7cfed7f50824915527d85592b120546e5f813 Mon Sep 17 00:00:00 2001 From: Tom Lawton Date: Mon, 1 May 2023 13:32:15 +0000 Subject: [PATCH 2/2] ide: debugging setup --- .vscode/launch.json | 34 ---------------------------------- .vscode/settings.json | 3 ++- 2 files changed, 2 insertions(+), 35 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 8432f44..0638bef 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,40 +9,6 @@ "type": "php", "request": "launch", "port": 9000 - }, - { - "name": "Launch currently open script", - "type": "php", - "request": "launch", - "program": "${file}", - "cwd": "${fileDirname}", - "port": 0, - "runtimeArgs": [ - "-dxdebug.start_with_request=yes" - ], - "env": { - "XDEBUG_MODE": "debug,develop", - "XDEBUG_CONFIG": "client_port=${port}" - } - }, - { - "name": "Launch Built-in web server", - "type": "php", - "request": "launch", - "runtimeArgs": [ - "-dxdebug.mode=debug", - "-dxdebug.start_with_request=yes", - "-S", - "localhost:0" - ], - "program": "", - "cwd": "${workspaceRoot}", - "port": 9000, - "serverReadyAction": { - "pattern": "Development Server \\(http://localhost:([0-9]+)\\) started", - "uriFormat": "http://localhost:%s", - "action": "openExternally" - } } ] } \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 36ece2e..ce7d29b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -9,5 +9,6 @@ "coverage.cobertura.xml" ], "coverage-gutters.coverageReportFileName": "coverage/dashboard.html", - "esbonio.sphinx.confDir": "" + "esbonio.sphinx.confDir": "", + "phpunit-test-workbench.phpunit.testDirectory": "unit/tests" } \ No newline at end of file