File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed
src/Telemetry/src/Monolog Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ ## Unreleased
4+
5+ - ** Bug Fixes**
6+ - [ spiral/telemetry] Telemetry info was not propagated into log records
7+
38## 3.15.0 - 2025-01-24
49
510- Core
Original file line number Diff line number Diff line change 142142 "mockery/mockery" : " ^1.6.12" ,
143143 "phpunit/phpunit" : " ^10.5.41" ,
144144 "ramsey/collection" : " ^1.3" ,
145- "rector/rector" : " ~2.0.7 " ,
145+ "rector/rector" : " ~2.0.9 " ,
146146 "spiral/code-style" : " ^2.2.2" ,
147147 "spiral/nyholm-bridge" : " ^1.3" ,
148148 "spiral/testing" : " ^2.8.3" ,
Original file line number Diff line number Diff line change 2323use Rector \Php81 \Rector \Property \ReadOnlyPropertyRector ;
2424use Rector \PHPUnit \CodeQuality \Rector \Class_ \PreferPHPUnitSelfCallRector ;
2525use Rector \PHPUnit \CodeQuality \Rector \Class_ \PreferPHPUnitThisCallRector ;
26+ use Rector \PHPUnit \CodeQuality \Rector \MethodCall \AssertCountWithZeroToAssertEmptyRector ;
2627use Rector \TypeDeclaration \Rector \Closure \AddClosureNeverReturnTypeRector ;
2728use Rector \TypeDeclaration \Rector \Closure \ClosureReturnTypeRector ;
2829use Rector \TypeDeclaration \Rector \Property \TypedPropertyFromAssignsRector ;
125126 MakeInheritedMethodVisibilitySameAsParentRector::class => [
126127 __DIR__ . '/src/Models/tests/PublicEntity.php ' ,
127128 ],
129+
130+ // Explicit behavior is more preferable
131+ AssertCountWithZeroToAssertEmptyRector::class,
128132 ])
129133 ->withPhpSets (php81: true )
130134 ->withPreparedSets (deadCode: true , phpunitCodeQuality: true )
Original file line number Diff line number Diff line change 77use Monolog \LogRecord ;
88use Monolog \Processor \ProcessorInterface ;
99use Psr \Container \ContainerInterface ;
10+ use Spiral \Core \Attribute \Proxy ;
1011use Spiral \Telemetry \TracerInterface ;
1112
1213final class TelemetryProcessor implements ProcessorInterface
1314{
1415 public function __construct (
15- private readonly ContainerInterface $ container ,
16+ #[Proxy] private readonly ContainerInterface $ container ,
1617 ) {}
1718
1819 /**
You can’t perform that action at this time.
0 commit comments