File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11language : php
22
33php :
4- - 5.3
54 - 5.4
65 - 5.5
76 - 5.6
87 - 7.0
8+ - 7.1
99 - hhvm
1010
1111matrix :
1212 allow_failures :
13- - php : 7.0
13+ - php : 7.1
1414 - php : hhvm
1515
1616env :
Original file line number Diff line number Diff line change 4747## 0.2.7
4848
4949### Features
50- - Added ` \PhpOffice\Common\File::fileGetContents() ` (with support of zip://)
50+ - Added ` \PhpOffice\Common\File::fileGetContents() ` (with support of zip://)
51+ - Added Support for PHP 7.1
Original file line number Diff line number Diff line change @@ -36,14 +36,15 @@ public function testFileExists()
3636 $ this ->assertFalse (File::fileExists ('zip:// ' .$ pathResources .'files ' .DIRECTORY_SEPARATOR .'Sample_01_Simple.pptx#404.xml ' ));
3737 $ this ->assertFalse (File::fileExists ('zip:// ' .$ pathResources .'files ' .DIRECTORY_SEPARATOR .'404.pptx#404.xml ' ));
3838 }
39+
3940 /**
4041 */
4142 public function testGetFileContents ()
4243 {
4344 $ pathResources = PHPOFFICE_COMMON_TESTS_BASE_DIR .DIRECTORY_SEPARATOR .'resources ' .DIRECTORY_SEPARATOR ;
4445 $ this ->assertInternalType ('string ' , File::fileGetContents ($ pathResources .'images ' .DIRECTORY_SEPARATOR .'PHPPowerPointLogo.png ' ));
4546 $ this ->assertFalse (File::fileGetContents ($ pathResources .'images ' .DIRECTORY_SEPARATOR .'PHPPowerPointLogo_404.png ' ));
46- $ this ->assertInternalType ('string ' ,File::fileGetContents ('zip:// ' .$ pathResources .'files ' .DIRECTORY_SEPARATOR .'Sample_01_Simple.pptx#[Content_Types].xml ' ));
47+ $ this ->assertInternalType ('string ' , File::fileGetContents ('zip:// ' .$ pathResources .'files ' .DIRECTORY_SEPARATOR .'Sample_01_Simple.pptx#[Content_Types].xml ' ));
4748 $ this ->assertFalse (File::fileGetContents ('zip:// ' .$ pathResources .'files ' .DIRECTORY_SEPARATOR .'Sample_01_Simple.pptx#404.xml ' ));
4849 $ this ->assertFalse (File::fileGetContents ('zip:// ' .$ pathResources .'files ' .DIRECTORY_SEPARATOR .'404.pptx#404.xml ' ));
4950 }
You can’t perform that action at this time.
0 commit comments