File: 0001-tests-bootstrap.php-Remove-obsolete-property-setting.patch

package info (click to toggle)
php-oscarotero-gettext 4.8.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,652 kB
  • sloc: php: 5,231; xml: 22; javascript: 18; makefile: 14
file content (22 lines) | stat: -rw-r--r-- 711 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: James Valleroy <jvalleroy@mailbox.org>
Date: Thu, 16 Jul 2020 09:43:34 -0400
Subject: tests/bootstrap.php: Remove obsolete property setting

Forwarded: not-needed
---
 tests/bootstrap.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 67fba29..0ff37dc 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -8,8 +8,6 @@ if(class_exists('PHPUnit_Framework_Error_Notice')) {
     class_alias('PHPUnit_Framework_Error_Notice', 'PHPUnit\Framework\Error\Notice');
 }
 
-PHPUnit\Framework\Error\Notice::$enabled = true;
-
 //Config
 Gettext\Translations::$options['defaultDateHeaders'] = [];
 Gettext\Translations::$options['headersSorting'] = true;