Browse Source

Trim trailing whitespace

Peter Kokot 6 years ago
parent
commit
1b8478cef9
14 changed files with 16 additions and 16 deletions
  1. 3 3
      config.w32
  2. 1 1
      tests/001.phpt
  3. 1 1
      tests/002.phpt
  4. 1 1
      tests/003.phpt
  5. 1 1
      tests/004.phpt
  6. 1 1
      tests/005.phpt
  7. 1 1
      tests/006.phpt
  8. 1 1
      tests/007.phpt
  9. 1 1
      tests/008.phpt
  10. 1 1
      tests/009.phpt
  11. 1 1
      tests/010.phpt
  12. 1 1
      tests/011.phpt
  13. 1 1
      tests/012.phpt
  14. 1 1
      travis/run-test.sh

+ 3 - 3
config.w32

@@ -6,19 +6,19 @@ if (PHP_XLSWRITER != "no") {
 
     MESSAGE("Include Path:" + configure_module_dirname + "\\include");
 
-    if (CHECK_LIB("zlib_a.lib;zlib.lib", "zlib", PHP_XLSWRITER) && 
+    if (CHECK_LIB("zlib_a.lib;zlib.lib", "zlib", PHP_XLSWRITER) &&
 		CHECK_HEADER_ADD_INCLUDE("zlib.h", "CFLAGS_XLSWRITER", "..\\zlib;" + php_usual_include_suspects) &&
         CHECK_HEADER_ADD_INCLUDE("xlsxwriter.h", "CFLAGS_XLSWRITER", PHP_XLSWRITER + ";" + configure_module_dirname + "\\library\\include") &&
 		CHECK_HEADER_ADD_INCLUDE("packager.h", "CFLAGS_XLSWRITER", PHP_XLSWRITER + ";" + configure_module_dirname + "\\library\\include\\xlsxwriter") &&
 		CHECK_HEADER_ADD_INCLUDE("zip.h", "CFLAGS_XLSWRITER", PHP_XLSWRITER + ";" + configure_module_dirname + "\\library\\include\\xlsxwriter\\third_party")) {
-	
+
 		EXTENSION("xlswriter", "xls_writer.c");
 
         ADD_SOURCES(configure_module_dirname + "\\library\\third_party\\minizip", "ioapi.c iowin32.c mztools.c unzip.c zip.c", "xlswriter");
         ADD_SOURCES(configure_module_dirname + "\\library\\third_party\\tmpfileplus", "tmpfileplus.c", "xlswriter");
         ADD_SOURCES(configure_module_dirname + "\\library\\src", "app.c chart.c content_types.c core.c custom.c drawing.c xlsx_format.c hash_table.c packager.c relationships.c shared_strings.c styles.c theme.c utility.c workbook.c worksheet.c xmlwriter.c", "xlswriter");
         ADD_SOURCES(configure_module_dirname + "\\kernel", "common.c resource.c exception.c excel.c write.c format.c", "xlswriter");
-        
+
 		ADD_FLAG("CFLAGS_XLSWRITER", ' /I "' + configure_module_dirname + '" ');
 
     } else {

+ 1 - 1
tests/001.phpt

@@ -3,7 +3,7 @@ Check for vtiful presence
 --SKIPIF--
 <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
 --FILE--
-<?php 
+<?php
 echo "xlswriter extension is available";
 ?>
 --EXPECT--

+ 1 - 1
tests/002.phpt

@@ -3,7 +3,7 @@ Check for vtiful presence
 --SKIPIF--
 <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
 --FILE--
-<?php 
+<?php
 $config = ['path' => './tests'];
 $excel = new \Vtiful\Kernel\Excel($config);
 var_dump($excel);

+ 1 - 1
tests/003.phpt

@@ -3,7 +3,7 @@ Check for vtiful presence
 --SKIPIF--
 <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
 --FILE--
-<?php 
+<?php
 $config = ['path' => './tests'];
 $excel = new \Vtiful\Kernel\Excel($config);
 $fileFd = $excel->fileName('tutorial01.xlsx');

+ 1 - 1
tests/004.phpt

@@ -3,7 +3,7 @@ Check for vtiful presence
 --SKIPIF--
 <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
 --FILE--
-<?php 
+<?php
 $config = ['path' => './tests'];
 $excel = new \Vtiful\Kernel\Excel($config);
 $fileFd = $excel->fileName('tutorial01.xlsx');

+ 1 - 1
tests/005.phpt

@@ -3,7 +3,7 @@ Check for vtiful presence
 --SKIPIF--
 <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
 --FILE--
-<?php 
+<?php
 $config = ['path' => './tests'];
 $excel = new \Vtiful\Kernel\Excel($config);
 $filePath = $excel->fileName('tutorial01.xlsx')

+ 1 - 1
tests/006.phpt

@@ -3,7 +3,7 @@ Check for vtiful presence
 --SKIPIF--
 <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
 --FILE--
-<?php 
+<?php
 $config = ['path' => './tests'];
 $excel = new \Vtiful\Kernel\Excel($config);
 $handle = $excel->fileName('tutorial01.xlsx')

+ 1 - 1
tests/007.phpt

@@ -3,7 +3,7 @@ Check for vtiful presence
 --SKIPIF--
 <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
 --FILE--
-<?php 
+<?php
 $config = ['path' => './tests'];
 $excel = new \Vtiful\Kernel\Excel($config);
 $handle = $excel->fileName('tutorial01.xlsx')

+ 1 - 1
tests/008.phpt

@@ -3,7 +3,7 @@ Check for vtiful presence
 --SKIPIF--
 <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
 --FILE--
-<?php 
+<?php
 $config = ['path' => './tests'];
 $excel = new \Vtiful\Kernel\Excel($config);
 $handle = $excel->fileName('tutorial01.xlsx')

+ 1 - 1
tests/009.phpt

@@ -3,7 +3,7 @@ Check for vtiful presence
 --SKIPIF--
 <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
 --FILE--
-<?php 
+<?php
 $config = ['path' => './tests'];
 $excel = new \Vtiful\Kernel\Excel($config);
 $handle = $excel->fileName('tutorial01.xlsx')

+ 1 - 1
tests/010.phpt

@@ -3,7 +3,7 @@ Check for vtiful presence
 --SKIPIF--
 <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
 --FILE--
-<?php 
+<?php
 $config = ['path' => './tests'];
 $excel_one  = new \Vtiful\Kernel\Excel($config);
 $fileOne = $excel_one->fileName('tutorial01.xlsx')

+ 1 - 1
tests/011.phpt

@@ -3,7 +3,7 @@ Check for vtiful presence
 --SKIPIF--
 <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
 --FILE--
-<?php 
+<?php
 $config = ['path' => './tests'];
 $excel  = new \Vtiful\Kernel\Excel($config);
 

+ 1 - 1
tests/012.phpt

@@ -3,7 +3,7 @@ Check for vtiful presence
 --SKIPIF--
 <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
 --FILE--
-<?php 
+<?php
 $config = ['path' => './tests'];
 $excel  = new \Vtiful\Kernel\Excel($config);
 

+ 1 - 1
travis/run-test.sh

@@ -1,7 +1,7 @@
 #!/bin/bash
 TEST_DIR="`pwd`/tests/"
 
-make test 
+make test
 
 for file in `find $TEST_DIR -name "*.diff" 2>/dev/null`
 do