Output of the "Check if the Symfony debug mode is activated" Symfony snippet

Environment:

  • Strangebuzz Snippet VM: 2.2.1
  • Symfony: 5.1.3

Code execution output:

Debug is ❌
86 snippets to process! 🏭

 Back to the code  ≪ this.showUnitTest ? this.trans.hide_unit_test : this.trans.show_unit_test ≫  More on Stackoverflow   Read the doc  Random snippet

<?php declare(strict_types=1);

namespace App\Tests\Controller\Snippets;

use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;

/**
 * @covers Snippet33Trait
 */
final class Snippet33Test extends KernelTestCase
{
    protected function setUp(): void
    {
        self::bootKernel();
    }

    /**
     * @covers Snippet33Trait::snippet33
     */
    public function testSnippet33(): void
    {
        self::assertTrue(self::$kernel->isDebug());
    }
}