Browse files

Fix: 62067 Moved comments to FILE section

  • Loading branch information...
1 parent c9331a3 commit 867447f4202f845654eb43e39a825b0efb812d36 zoe slattery committed May 19, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −2 ext/libxml/tests/bug61367-read.phpt
  2. +0 −2 ext/libxml/tests/bug61367-write.phpt
View
5 ext/libxml/tests/bug61367-read.phpt
@@ -4,11 +4,12 @@ Bug #61367: open_basedir bypass in libxml RSHUTDOWN: read test
<?php if(!extension_loaded('dom')) echo 'skip'; ?>
--INI--
open_basedir=.
-; Suppress spurious "Trying to get property of non-object" notices
error_reporting=E_ALL & ~E_NOTICE
--FILE--
<?php
-
+/*
+ * Note: Using error_reporting=E_ALL & ~E_NOTICE to supress "Trying to get property of non-object" notices.
+ */
class StreamExploiter {
public function stream_close ( ) {
$doc = new DOMDocument;
View
2 ext/libxml/tests/bug61367-write.phpt
@@ -4,8 +4,6 @@ Bug #61367: open_basedir bypass in libxml RSHUTDOWN: write test
<?php if(!extension_loaded('dom')) echo 'skip'; ?>
--INI--
open_basedir=.
-; Suppress spurious "Trying to get property of non-object" notices
-error_reporting=E_ALL & ~E_NOTICE
--FILE--
<?php

0 comments on commit 867447f

Please sign in to comment.