Skip to content
Snippets Groups Projects
Select Git revision
  • e8107c17e6185247be435806e68dc70dd5ece832
  • main default protected
  • register-logging-channel
  • expr-lang
  • ci-82
  • attr-events
  • locale-wip
  • custom-routes
  • v0.1.85
  • v0.1.84
  • v0.1.83
  • v0.1.82
  • v0.1.81
  • v0.1.80
  • v0.1.79
  • v0.1.78
  • v0.1.77
  • v0.1.76
  • v0.1.75
  • v0.1.74
  • v0.1.73
  • v0.1.72
  • v0.1.71
  • v0.1.70
  • v0.1.69
  • v0.1.68
  • v0.1.67
  • v0.1.65
28 results

ExtensionTraitTest.php

Blame
    • Reiter, Christoph's avatar
      e8107c17
      extension: add a way to register a new logging channel and configure masking · e8107c17
      Reiter, Christoph authored
      This allows a bundle to register an extension without having to create a
      dummy service+tag.
      
      Registering allows an optional parameter for disabling secret masking in the
      log processor for that channel.
      
      The main use case for this is when a bundle wants an additional audit channel
      which can contain PII or similar.
      
      Since we configure the monolog bundle directly here we need to add a dependency
      on it and make sure it is loaded. This means that bundles might need to add/load
      the monolog bundle in their tests now after updating to this version.
      e8107c17
      History
      extension: add a way to register a new logging channel and configure masking
      Reiter, Christoph authored
      This allows a bundle to register an extension without having to create a
      dummy service+tag.
      
      Registering allows an optional parameter for disabling secret masking in the
      log processor for that channel.
      
      The main use case for this is when a bundle wants an additional audit channel
      which can contain PII or similar.
      
      Since we configure the monolog bundle directly here we need to add a dependency
      on it and make sure it is loaded. This means that bundles might need to add/load
      the monolog bundle in their tests now after updating to this version.
    KernelTest.php 301 B
    <?php
    
    declare(strict_types=1);
    
    namespace Dbp\Relay\AuthBundle\Tests;
    
    use ApiPlatform\Core\Bridge\Symfony\Bundle\Test\ApiTestCase;
    
    class KernelTest extends ApiTestCase
    {
        public function testBasics()
        {
            $client = static::createClient();
            $this->assertNotNull($client);
        }
    }