Fix CodeSniffer errors and warnings

More fixes will be submitted upstream.

Change-Id: Ib22997f8756537b063fd6eed3f1f74f3eda315d7
This commit is contained in:
Siebrand Mazeland
2013-08-02 14:23:20 +02:00
parent b3677810c4
commit 102f257427
5 changed files with 10 additions and 9 deletions

View File

@@ -51,7 +51,7 @@ foreach ( glob( '../fonts/*/font.ini' ) as $inifile ) {
$dir = dirname( $inifile );
if ( isset( $font['ttf'] ) ) {
$list['fonts'][$fontname]['ttf'] = basename( $dir ) . '/' . $font['ttf'] ;
$list['fonts'][$fontname]['ttf'] = basename( $dir ) . '/' . $font['ttf'];
}
if ( isset( $font['svg'] ) ) {
$list['fonts'][$fontname]['svg'] = basename( $dir ) . '/' . $font['svg'];
@@ -89,7 +89,7 @@ ksort( $list['fonts'] );
$json = json_encode( $list );
$js = <<<JAVASCRIPT
// Please do not edit. This file is generated from data/fontrepo by data/fontrepo/scripts/compile.php
// Do not edit! This file is generated from data/fontrepo by data/fontrepo/scripts/compile.php
( function ( $ ) {
$.webfonts = $.webfonts || {};
$.webfonts.repository = $json;