The phpstan STUBS for the datadog/dd-trace-php, but is more convenient.
Do you use the DataDog Tracing library for PHP? Do you also care about the quality of your code? Great. Now, you can use dd-trace-php stubs without installing the whole dd-trace composer library that has everything that is not interesting to you because it's still better to use dd-trace as a php extension.
- Install the dd-trace extension
// TODO
- Install this phpstan extension
// TODO
-
Add the extension to the phpstan configuration
-
Run phpstan