@@ -33,10 +33,10 @@ discard block |
||
33 | 33 | $c |
34 | 34 | ); |
35 | 35 | if (!$c) { |
36 | - echo 'Could not update NEWS, missing ' . $l . PHP_EOL; |
|
36 | + echo 'Could not update NEWS, missing '.$l.PHP_EOL; |
|
37 | 37 | exit; |
38 | 38 | } elseif ($c > 1) { |
39 | - echo 'More than one release declaration in NEWS replaced' . PHP_EOL; |
|
39 | + echo 'More than one release declaration in NEWS replaced'.PHP_EOL; |
|
40 | 40 | exit; |
41 | 41 | } |
42 | 42 | file_put_contents('NEWS', $news_c); |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | 1, $c |
51 | 51 | ); |
52 | 52 | if (!$c) { |
53 | - echo 'Could not update Doxyfile, missing PROJECT_NUMBER.' . PHP_EOL; |
|
53 | + echo 'Could not update Doxyfile, missing PROJECT_NUMBER.'.PHP_EOL; |
|
54 | 54 | exit; |
55 | 55 | } |
56 | 56 | file_put_contents('Doxyfile', $doxyfile_c); |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | 1, $c |
65 | 65 | ); |
66 | 66 | if (!$c) { |
67 | - echo 'Could not update HTMLPurifier.php, missing HTML Purifier [version] header.' . PHP_EOL; |
|
67 | + echo 'Could not update HTMLPurifier.php, missing HTML Purifier [version] header.'.PHP_EOL; |
|
68 | 68 | exit; |
69 | 69 | } |
70 | 70 | $htmlpurifier_c = preg_replace( |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | 1, $c |
75 | 75 | ); |
76 | 76 | if (!$c) { |
77 | - echo 'Could not update HTMLPurifier.php, missing public $version.' . PHP_EOL; |
|
77 | + echo 'Could not update HTMLPurifier.php, missing public $version.'.PHP_EOL; |
|
78 | 78 | exit; |
79 | 79 | } |
80 | 80 | $htmlpurifier_c = preg_replace( |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | 1, $c |
85 | 85 | ); |
86 | 86 | if (!$c) { |
87 | - echo 'Could not update HTMLPurifier.php, missing const $version.' . PHP_EOL; |
|
87 | + echo 'Could not update HTMLPurifier.php, missing const $version.'.PHP_EOL; |
|
88 | 88 | exit; |
89 | 89 | } |
90 | 90 | file_put_contents('library/HTMLPurifier.php', $htmlpurifier_c); |
@@ -97,14 +97,14 @@ discard block |
||
97 | 97 | 1, $c |
98 | 98 | ); |
99 | 99 | if (!$c) { |
100 | - echo 'Could not update Config.php, missing public $version.' . PHP_EOL; |
|
100 | + echo 'Could not update Config.php, missing public $version.'.PHP_EOL; |
|
101 | 101 | exit; |
102 | 102 | } |
103 | 103 | file_put_contents('library/HTMLPurifier/Config.php', $config_c); |
104 | 104 | |
105 | 105 | passthru('php maintenance/flush.php'); |
106 | 106 | |
107 | -if ($is_dev) echo "Review changes, write something in WHATSNEW and FOCUS, and then commit with log 'Release $version.'" . PHP_EOL; |
|
107 | +if ($is_dev) echo "Review changes, write something in WHATSNEW and FOCUS, and then commit with log 'Release $version.'".PHP_EOL; |
|
108 | 108 | else echo "Numbers updated to dev, no other modifications necessary!"; |
109 | 109 | |
110 | 110 | // vim: et sw=4 sts=4 |
@@ -6,6 +6,6 @@ |
||
6 | 6 | * without any other side-effects. |
7 | 7 | */ |
8 | 8 | |
9 | -set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path() ); |
|
9 | +set_include_path(dirname(__FILE__).PATH_SEPARATOR.get_include_path()); |
|
10 | 10 | |
11 | 11 | // vim: et sw=4 sts=4 |
@@ -6,6 +6,6 @@ |
||
6 | 6 | * without any other side-effects. |
7 | 7 | */ |
8 | 8 | |
9 | -set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path() ); |
|
9 | +set_include_path(dirname(__FILE__).PATH_SEPARATOR.get_include_path()); |
|
10 | 10 | |
11 | 11 | // vim: et sw=4 sts=4 |
@@ -30,7 +30,7 @@ |
||
30 | 30 | protected function prependCSS(&$attr, $css) |
31 | 31 | { |
32 | 32 | $attr['style'] = isset($attr['style']) ? $attr['style'] : ''; |
33 | - $attr['style'] = $css . $attr['style']; |
|
33 | + $attr['style'] = $css.$attr['style']; |
|
34 | 34 | } |
35 | 35 | } |
36 | 36 |
@@ -31,8 +31,8 @@ |
||
31 | 31 | // While technically not required by the spec, we're forcing |
32 | 32 | // it to this value. |
33 | 33 | 'type' => 'Enum#application/x-shockwave-flash', |
34 | - 'width' => 'Pixels#' . $max, |
|
35 | - 'height' => 'Pixels#' . $max, |
|
34 | + 'width' => 'Pixels#'.$max, |
|
35 | + 'height' => 'Pixels#'.$max, |
|
36 | 36 | 'data' => 'URI#embedded', |
37 | 37 | 'codebase' => new HTMLPurifier_AttrDef_Enum( |
38 | 38 | array( |