php-sdk icon indicating copy to clipboard operation
php-sdk copied to clipboard

The Blackfire PHP SDK

Results 11 php-sdk issues
Sort by recently updated
recently updated
newest added

I want to be able to specify assertions directly in the test itself, not just in the .blackfire.yaml file. You can see an example of a test below: ``` class...

I think it would be nice to be able to set asserts using methods such as: ``` ->sqlQueriesCountGreaterThanOrEqual(3) ->httpRequestsCountEquals(1) ``` In this PR I have implemented some of this functionality,...

**Getting this error** `class ErrorExceptionmessage = fopen(/001500358413.074304-f44ZLp.log): failed to open stream: Permission deniedclass = ErrorExceptionfile = /code/vendor/blackfire/src/BlackfireProbe.php:608trace = #0 [internal function]: Blackfire\BlackfireProbe->onInternalError(2, 'fopen(/00150035...', '/code/vendor/bl...', 608, ` **any Suggestions ?**

I am making a test that should fail (to test the library) and I found that the message is not helpful enough: failed: SQL queries - metrics.sql.queries.count >= 5 I...

I have to redefine the custom metrics specified within the `.blackfire.yaml` whenever I need to use custom code for that. But, I don't need to provide any authentification. I would...

Profiles triggered by custom code are enlisted by default. They cannot be unlisted. Tested with the v1.23.0 and the v1.25.0. ``` $this->blackfireClient = new Client(); $this->config = new Configuration(); ```...

test.php is the same code as the [php sdk guide](https://blackfire.io/docs/reference-guide/php-sdk#profiling-consumers-and-daemons): ```php $ cat test.php

Initializing the Report throws an exception in `Client::doGetReport`, so this method can never return `true` (it will throw the exception instead)

Following the Symfony Messenger configuration https://docs.blackfire.io/php/integrations/symfony/messenger ``` framework: messenger: buses: messenger.bus.default: middleware: - 'Blackfire\Bridge\Symfony\MonitoredMiddleware' services: Blackfire\Bridge\Symfony\MonitoredMiddleware: ~ ``` I've got a crash in `MonitoredMiddleware` at line 32: `Class "BlackfireProbe" not...