-
-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #464 Fix test for autoconfiguration (nkl-kst)
This PR was squashed before being merged into the 3.x-dev branch. Discussion ---------- Fix test for autoconfiguration This PR contains two small fixes for the Monolog processor autoconfiguration test. The test currently fails because of changes in Seldaek/monolog#1797. Not sure if I should provide more information. Please let me know if I missed something 🙂 Commits ------- 35b74ea Fix test for autoconfiguration
- Loading branch information
Showing
2 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
Tests/DependencyInjection/Fixtures/AsMonologProcessor/FooProcessorWithPriority.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Symfony package. | ||
* | ||
* (c) Fabien Potencier <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Symfony\Bundle\MonologBundle\Tests\DependencyInjection\Fixtures\AsMonologProcessor; | ||
|
||
use Monolog\Attribute\AsMonologProcessor; | ||
|
||
#[AsMonologProcessor(handler: 'foo_handler')] | ||
class FooProcessorWithPriority | ||
{ | ||
#[AsMonologProcessor(channel: 'ccc_channel', priority: '10')] | ||
public function __invoke(): void | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters