Skip to content

Commit ef04433

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into fancy-samples
2 parents cec16ce + 1d1bb2d commit ef04433

File tree

3 files changed

+19
-16
lines changed

3 files changed

+19
-16
lines changed

.travis.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,29 @@ before_script:
1717
- curl -s http://getcomposer.org/installer | php
1818
- php composer.phar install --prefer-source
1919
## PHP_CodeSniffer
20-
- pyrus install pear/PHP_CodeSniffer
21-
- phpenv rehash
20+
#- pyrus install pear/PHP_CodeSniffer
21+
#- phpenv rehash
2222
## PHP Copy/Paste Detector
23-
- curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
23+
#- curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
2424
## PHP Mess Detector
25-
- pear config-set preferred_state beta
26-
- printf "\n" | pecl install imagick
27-
- pear channel-discover pear.phpmd.org
28-
- pear channel-discover pear.pdepend.org
29-
- pear install --alldeps phpmd/PHP_PMD
30-
- phpenv rehash
25+
#- pear config-set preferred_state beta
26+
#- printf "\n" | pecl install imagick
27+
#- pear channel-discover pear.phpmd.org
28+
#- pear channel-discover pear.pdepend.org
29+
#- pear install --alldeps phpmd/PHP_PMD
30+
#- phpenv rehash
3131
## PHPLOC
32-
- curl -o phploc.phar https://phar.phpunit.de/phploc.phar
32+
#- curl -o phploc.phar https://phar.phpunit.de/phploc.phar
3333

3434
script:
3535
## PHP_CodeSniffer
3636
## - phpcs --standard=PSR1 Classes/
3737
## - phpcs --standard=PSR2 Classes/
3838
## PHP Copy/Paste Detector
39-
- php phpcpd.phar --verbose Classes/
39+
#- php phpcpd.phar --verbose Classes/
4040
## PHP Mess Detector
41-
- phpmd Classes/ text unusedcode,naming,design
41+
#- phpmd Classes/ text unusedcode,naming,design
4242
## PHPLOC
43-
- php phploc.phar Classes/
43+
#- php phploc.phar Classes/
4444
## PHPUnit
4545
- phpunit -c ./ --coverage-text

Classes/PHPWord/Shared/File.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ private static function fallbackImagetype($filename)
102102
* Return the Image Type from a file
103103
*
104104
* @param string $filename
105-
* @param bool $userFallbackFunction
105+
* @param bool $useFallbackFunction
106106
* @return int|bool
107107
*/
108-
public static function imagetype($filename, $userFallbackFunction = false)
108+
public static function imagetype($filename, $useFallbackFunction = false)
109109
{
110-
if ($userFallbackFunction || !function_exists('exif_imagetype')) {
110+
if ($useFallbackFunction || !function_exists('exif_imagetype')) {
111111
return self::fallbackImagetype($filename);
112112
}
113113

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
* @version ##VERSION##, ##DATE##
2323
**************************************************************************************
2424

25+
Changes in branch for release 0.9.0 :
26+
- QA: (Progi1984) - Documentation
27+
2528
Changes in branch for release 0.8.1 :
2629
- Feature: (bskrtich, gabrielbull) - Added fallback for computers that do not have exif_imagetype
2730

0 commit comments

Comments
 (0)