aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-09-20 10:05:23 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-20 10:05:23 +0200
commit7f3dfde1634758c4928aca22db2f0e9675b2d61e (patch)
treeaf07568c77e996d8963ff6f314a4ce746c0b4a53 /tests/files
parent9df76ac987277c1b7ee4bd783d00df0175a3b8fc (diff)
downloadforums-7f3dfde1634758c4928aca22db2f0e9675b2d61e.tar
forums-7f3dfde1634758c4928aca22db2f0e9675b2d61e.tar.gz
forums-7f3dfde1634758c4928aca22db2f0e9675b2d61e.tar.bz2
forums-7f3dfde1634758c4928aca22db2f0e9675b2d61e.tar.xz
forums-7f3dfde1634758c4928aca22db2f0e9675b2d61e.zip
[ticket/14180] Use unix line endings in type_foo
PHPBB3-14180
Diffstat (limited to 'tests/files')
-rw-r--r--tests/files/type_foo.php62
1 files changed, 31 insertions, 31 deletions
diff --git a/tests/files/type_foo.php b/tests/files/type_foo.php
index 20eddfcbc4..95940b9d2f 100644
--- a/tests/files/type_foo.php
+++ b/tests/files/type_foo.php
@@ -1,31 +1,31 @@
-<?php
-/**
- *
- * This file is part of the phpBB Forum Software package.
- *
- * @copyright (c) phpBB Limited <https://www.phpbb.com>
- * @license GNU General Public License, version 2 (GPL-2.0)
- *
- * For full copyright and license information, please see
- * the docs/CREDITS.txt file.
- *
- */
-
-namespace phpbb\files\types;
-
-class foo extends \phpbb\files\types\remote
-{
- static public $tempnam_path;
-}
-
-function tempnam($one, $two)
-{
- if (empty(foo::$tempnam_path))
- {
- return \tempnam($one, $two);
- }
- else
- {
- return foo::$tempnam_path;
- }
-}
+<?php
+/**
+ *
+ * This file is part of the phpBB Forum Software package.
+ *
+ * @copyright (c) phpBB Limited <https://www.phpbb.com>
+ * @license GNU General Public License, version 2 (GPL-2.0)
+ *
+ * For full copyright and license information, please see
+ * the docs/CREDITS.txt file.
+ *
+ */
+
+namespace phpbb\files\types;
+
+class foo extends \phpbb\files\types\remote
+{
+ static public $tempnam_path;
+}
+
+function tempnam($one, $two)
+{
+ if (empty(foo::$tempnam_path))
+ {
+ return \tempnam($one, $two);
+ }
+ else
+ {
+ return foo::$tempnam_path;
+ }
+}