[PHP-CVS] com php-src: Fix: 62067 Moved comments to FILE section: ext/libxml/tests/bug61367-read.phpt ext/libxml/tests/bug61367-write.phpt

2012-05-19 Thread Zoe Slattery
Commit:cd8cf5f49584c9716863c9546ae37ec75380cafd
Author:zoe slattery z...@php.net Sat, 19 May 2012 16:13:25 +0100
Parents:   3b3b3d92290f6cae2ef056fe727f2ffad168f203
Branches:  master

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=cd8cf5f49584c9716863c9546ae37ec75380cafd

Log:
Fix: 62067 Moved comments to FILE section

Changed paths:
  M  ext/libxml/tests/bug61367-read.phpt
  M  ext/libxml/tests/bug61367-write.phpt


Diff:
diff --git a/ext/libxml/tests/bug61367-read.phpt 
b/ext/libxml/tests/bug61367-read.phpt
index 3deecfc..94da3d8 100644
--- a/ext/libxml/tests/bug61367-read.phpt
+++ b/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;
diff --git a/ext/libxml/tests/bug61367-write.phpt 
b/ext/libxml/tests/bug61367-write.phpt
index aeed688..e18b071 100644
--- a/ext/libxml/tests/bug61367-write.phpt
+++ b/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


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] com php-src: Fix: 62067 Moved comments to FILE section: ext/libxml/tests/bug61367-read.phpt ext/libxml/tests/bug61367-write.phpt

2012-05-19 Thread Zoe Slattery
Commit:867447f4202f845654eb43e39a825b0efb812d36
Author:zoe slattery z...@php.net Sat, 19 May 2012 16:13:25 +0100
Parents:   c9331a3ef27018a93ce17d0ed87bce3c689e8eec
Branches:  PHP-5.4

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=867447f4202f845654eb43e39a825b0efb812d36

Log:
Fix: 62067 Moved comments to FILE section

Changed paths:
  M  ext/libxml/tests/bug61367-read.phpt
  M  ext/libxml/tests/bug61367-write.phpt


Diff:
diff --git a/ext/libxml/tests/bug61367-read.phpt 
b/ext/libxml/tests/bug61367-read.phpt
index 3deecfc..94da3d8 100644
--- a/ext/libxml/tests/bug61367-read.phpt
+++ b/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;
diff --git a/ext/libxml/tests/bug61367-write.phpt 
b/ext/libxml/tests/bug61367-write.phpt
index aeed688..e18b071 100644
--- a/ext/libxml/tests/bug61367-write.phpt
+++ b/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


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] com php-src: Fix: 62067 Moved comments to FILE section: ext/libxml/tests/bug61367-read.phpt ext/libxml/tests/bug61367-write.phpt

2012-05-19 Thread Zoe Slattery
Commit:778d69ddfe25fae5476e66b6b2ce3b0b8ade68bb
Author:zoe slattery z...@php.net Sat, 19 May 2012 16:13:25 +0100
Parents:   79d52503a40e2efba4f27514373eb6cc7273d4ae
Branches:  PHP-5.3

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=778d69ddfe25fae5476e66b6b2ce3b0b8ade68bb

Log:
Fix: 62067 Moved comments to FILE section

Changed paths:
  M  ext/libxml/tests/bug61367-read.phpt
  M  ext/libxml/tests/bug61367-write.phpt


Diff:
diff --git a/ext/libxml/tests/bug61367-read.phpt 
b/ext/libxml/tests/bug61367-read.phpt
index 3deecfc..94da3d8 100644
--- a/ext/libxml/tests/bug61367-read.phpt
+++ b/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;
diff --git a/ext/libxml/tests/bug61367-write.phpt 
b/ext/libxml/tests/bug61367-write.phpt
index aeed688..e18b071 100644
--- a/ext/libxml/tests/bug61367-write.phpt
+++ b/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


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php