Skip to content

Commit

Permalink
[TASK] Ensure error_reporting uses E_ALL
Browse files Browse the repository at this point in the history
  • Loading branch information
ohader committed Jan 13, 2022
1 parent 706cc70 commit 7bfd353
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tests/EnvironmentTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

declare(strict_types=1);

/*
* This file is part of the TYPO3 project.
*
* It is free software; you can redistribute it and/or modify it under the terms
* of the MIT License (MIT). For the full copyright and license information,
* please read the LICENSE file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\HtmlSanitizer\Tests;

use PHPUnit\Framework\TestCase;

class EnvironmentTest extends TestCase
{
/**
* @test
*/
public function reportsAllErrors(): void
{
self::assertSame(E_ALL, error_reporting());
}
}

0 comments on commit 7bfd353

Please sign in to comment.