summaryrefslogtreecommitdiffstats
path: root/php-phpunit-php-code-coverage5-fonts.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-28 06:19:33 +0100
committerRemi Collet <remi@remirepo.net>2017-11-28 06:19:33 +0100
commit61d72af5d985975f80ae1da053d11da647e2ad3c (patch)
tree57b25ae0cc33644d0dda185bb1634b38c2685c2c /php-phpunit-php-code-coverage5-fonts.patch
parent31c6a03aa96748d78522e234a29e516a19b0d565 (diff)
Update to 5.2.4
raise dependency on phpunit/php-token-stream 2.0.1
Diffstat (limited to 'php-phpunit-php-code-coverage5-fonts.patch')
-rw-r--r--php-phpunit-php-code-coverage5-fonts.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/php-phpunit-php-code-coverage5-fonts.patch b/php-phpunit-php-code-coverage5-fonts.patch
index a981850..09d5f18 100644
--- a/php-phpunit-php-code-coverage5-fonts.patch
+++ b/php-phpunit-php-code-coverage5-fonts.patch
@@ -1,16 +1,16 @@
diff -up src/Report/Html/Facade.php.rpm src/Report/Html/Facade.php
---- src/Report/Html/Facade.php.rpm 2017-03-03 07:14:13.503062385 +0100
-+++ src/Report/Html/Facade.php 2017-03-03 07:16:38.118761058 +0100
-@@ -134,7 +134,11 @@ class Facade
+--- src/Report/Html/Facade.php.rpm 2017-11-28 06:14:43.754075896 +0100
++++ src/Report/Html/Facade.php 2017-11-28 06:16:31.423668936 +0100
+@@ -144,7 +144,11 @@ class Facade
$dir = $this->getDirectory($target . '.fonts');
- copy($this->templatePath . 'fonts/glyphicons-halflings-regular.eot', $dir . 'glyphicons-halflings-regular.eot');
- copy($this->templatePath . 'fonts/glyphicons-halflings-regular.svg', $dir . 'glyphicons-halflings-regular.svg');
-- copy($this->templatePath . 'fonts/glyphicons-halflings-regular.ttf', $dir . 'glyphicons-halflings-regular.ttf');
+ \copy($this->templatePath . 'fonts/glyphicons-halflings-regular.eot', $dir . 'glyphicons-halflings-regular.eot');
+ \copy($this->templatePath . 'fonts/glyphicons-halflings-regular.svg', $dir . 'glyphicons-halflings-regular.svg');
+- \copy($this->templatePath . 'fonts/glyphicons-halflings-regular.ttf', $dir . 'glyphicons-halflings-regular.ttf');
+ if (file_exists($font='/usr/share/fonts/glyphicons-halflings/glyphicons-halflings-regular.ttf')) { // System font
-+ copy($font, $dir . 'glyphicons-halflings-regular.ttf');
++ \copy($font, $dir . 'glyphicons-halflings-regular.ttf');
+ } else {
-+ copy($this->templatePath . 'fonts/glyphicons-halflings-regular.ttf', $dir . 'glyphicons-halflings-regular.ttf');
++ \copy($this->templatePath . 'fonts/glyphicons-halflings-regular.ttf', $dir . 'glyphicons-halflings-regular.ttf');
+ }
- copy($this->templatePath . 'fonts/glyphicons-halflings-regular.woff', $dir . 'glyphicons-halflings-regular.woff');
- copy($this->templatePath . 'fonts/glyphicons-halflings-regular.woff2', $dir . 'glyphicons-halflings-regular.woff2');
+ \copy($this->templatePath . 'fonts/glyphicons-halflings-regular.woff', $dir . 'glyphicons-halflings-regular.woff');
+ \copy($this->templatePath . 'fonts/glyphicons-halflings-regular.woff2', $dir . 'glyphicons-halflings-regular.woff2');