summaryrefslogtreecommitdiffstats
path: root/examples/server/lib/render/userXrds.php
diff options
context:
space:
mode:
authorLuke Shepard <lshepard@devrs006.snc1.facebook.com>2009-05-27 13:43:55 -0700
committerLuke Shepard <lshepard@devrs006.snc1.facebook.com>2009-05-27 13:43:55 -0700
commita2bdc5c6129ff11b1c1e29a207b1b80153ac6fb0 (patch)
treeb270b58510c9c7a8b0c20c42c33d0b9df7095e87 /examples/server/lib/render/userXrds.php
parentae52c6b3a3b9741c0ef60b6c91ba27af1d85eab7 (diff)
downloadphp-openid-a2bdc5c6129ff11b1c1e29a207b1b80153ac6fb0.zip
php-openid-a2bdc5c6129ff11b1c1e29a207b1b80153ac6fb0.tar.gz
php-openid-a2bdc5c6129ff11b1c1e29a207b1b80153ac6fb0.tar.bz2
[ remove closing ?> tag from all files ]
Reviewed By: Will Norris Facebook has a policy to not have closing ?> tags at the bottom of PHP files. It can unintentionally introduce newlines which causes ridiculous bugs. This is recommended in the Zend style guide: http://framework.zend.com/manual/en/coding-standard.php-file-formatting.html
Diffstat (limited to 'examples/server/lib/render/userXrds.php')
-rw-r--r--examples/server/lib/render/userXrds.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/server/lib/render/userXrds.php b/examples/server/lib/render/userXrds.php
index a9ea95e..0f0239e 100644
--- a/examples/server/lib/render/userXrds.php
+++ b/examples/server/lib/render/userXrds.php
@@ -5,7 +5,7 @@ require_once "lib/render.php";
require_once "Auth/OpenID/Discover.php";
-define('user_xrds_pat', '<?xml version="1.0" encoding="UTF-8"?>
+define('user_xrds_pat', '<?xml version="1.0" encoding="UTF-8"
<xrds:XRDS
xmlns:xrds="xri://$xrds"
xmlns="xri://$xrd*($v*2.0)">
@@ -31,4 +31,3 @@ function userXrds_render($identity)
return array($headers, $body);
}
-?> \ No newline at end of file