summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2006-12-14 14:40:19 +0000
committerDerick Rethans <github@derickrethans.nl>2006-12-14 14:40:19 +0000
commit92feb00d74d06b7b24c4a7763d6ea720a0008dc3 (patch)
tree86f1efcedcb3f75f394c528b9a86cfe6a2e11d97
parentdb32f5b1a16ffac91d48067e9c2c6318158419ad (diff)
downloadzetacomponents-graph-92feb00d74d06b7b24c4a7763d6ea720a0008dc3.zip
zetacomponents-graph-92feb00d74d06b7b24c4a7763d6ea720a0008dc3.tar.gz
- CS change (automatic script)
-rw-r--r--docs/tutorial_example_28.php4
-rw-r--r--docs/tutorial_example_29.php2
-rw-r--r--src/driver/flash.php4
-rw-r--r--tests/axis_centered_renderer_test.php2
-rw-r--r--tests/axis_exact_renderer_test.php18
-rw-r--r--tests/boundings_test.php2
-rw-r--r--tests/color_test.php26
-rw-r--r--tests/dataset_average_test.php6
-rw-r--r--tests/driver_flash_test.php4
-rw-r--r--tests/driver_gd_test.php16
-rw-r--r--tests/driver_options_test.php12
-rw-r--r--tests/driver_svg_test.php20
-rw-r--r--tests/element_options_test.php54
-rw-r--r--tests/font_test.php32
-rw-r--r--tests/line_test.php18
-rw-r--r--tests/logarithmical_axis_test.php6
-rw-r--r--tests/matrix_test.php2
-rw-r--r--tests/numeric_axis_test.php4
-rw-r--r--tests/palette_test.php8
-rw-r--r--tests/pie_test.php10
-rw-r--r--tests/renderer_2d_test.php50
-rw-r--r--tests/renderer_3d_test.php26
22 files changed, 163 insertions, 163 deletions
diff --git a/docs/tutorial_example_28.php b/docs/tutorial_example_28.php
index 88ff5bd..2a2135c 100644
--- a/docs/tutorial_example_28.php
+++ b/docs/tutorial_example_28.php
@@ -27,7 +27,7 @@ $xpath = new DomXPath( $dom );
// Link chart elements
foreach( $elements['data']['Access statistics'] as $objectName => $ids )
{
- foreach( $ids as $id )
+ foreach ( $ids as $id )
{
echo "Link: $id\n";
$element = $xpath->query( '//*[@id = \'' . $id . '\']' )->item( 0 );
@@ -40,7 +40,7 @@ foreach( $elements['data']['Access statistics'] as $objectName => $ids )
// Link legend elements
foreach( $elements['legend'] as $objectName => $ids )
{
- foreach( $ids as $id )
+ foreach ( $ids as $id )
{
echo "Link: $id\n";
$element = $xpath->query( '//*[@id = \'' . $id . '\']' )->item( 0 );
diff --git a/docs/tutorial_example_29.php b/docs/tutorial_example_29.php
index bc1920d..7611475 100644
--- a/docs/tutorial_example_29.php
+++ b/docs/tutorial_example_29.php
@@ -33,7 +33,7 @@ $elements = $graph->renderer->getElementReferences();
foreach ( $polygones as $shape => $polygone )
{
$coordinateString = '';
- foreach( $polygone as $coordinate )
+ foreach ( $polygone as $coordinate )
{
$coordinateString .= sprintf( '%d,%d,', $coordinate->x, $coordinate->y );
}
diff --git a/src/driver/flash.php b/src/driver/flash.php
index 89400cb..93ace00 100644
--- a/src/driver/flash.php
+++ b/src/driver/flash.php
@@ -196,7 +196,7 @@ class ezcGraphFlashDriver extends ezcGraphDriver
$lastPoint = end( $points );
$shape->movePenTo( $this->modifyCoordinate( $lastPoint->x ), $this->modifyCoordinate( $lastPoint->y ) );
- foreach( $points as $point )
+ foreach ( $points as $point )
{
$shape->drawLineTo( $this->modifyCoordinate( $point->x ), $this->modifyCoordinate( $point->y ) );
}
@@ -368,7 +368,7 @@ class ezcGraphFlashDriver extends ezcGraphDriver
foreach ( $this->strings as $text )
{
$completeString = '';
- foreach( $text['text'] as $line )
+ foreach ( $text['text'] as $line )
{
$completeString .= implode( ' ', $line );
}
diff --git a/tests/axis_centered_renderer_test.php b/tests/axis_centered_renderer_test.php
index 2610912..be0069f 100644
--- a/tests/axis_centered_renderer_test.php
+++ b/tests/axis_centered_renderer_test.php
@@ -523,7 +523,7 @@ class ezcGraphAxisCenteredRendererTest extends ezcTestCase
{
$options->showZeroValue = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
diff --git a/tests/axis_exact_renderer_test.php b/tests/axis_exact_renderer_test.php
index 720278a..fc04aab 100644
--- a/tests/axis_exact_renderer_test.php
+++ b/tests/axis_exact_renderer_test.php
@@ -635,7 +635,7 @@ class ezcGraphAxisExactRendererTest extends ezcTestCase
{
$axisLabelRenderer->majorStepCount = true;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -664,7 +664,7 @@ class ezcGraphAxisExactRendererTest extends ezcTestCase
{
$axisLabelRenderer->minorStepCount = true;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -693,7 +693,7 @@ class ezcGraphAxisExactRendererTest extends ezcTestCase
{
$axisLabelRenderer->majorStepSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -722,7 +722,7 @@ class ezcGraphAxisExactRendererTest extends ezcTestCase
{
$axisLabelRenderer->minorStepSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -751,7 +751,7 @@ class ezcGraphAxisExactRendererTest extends ezcTestCase
{
$axisLabelRenderer->innerStep = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -780,7 +780,7 @@ class ezcGraphAxisExactRendererTest extends ezcTestCase
{
$axisLabelRenderer->outerStep = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -809,7 +809,7 @@ class ezcGraphAxisExactRendererTest extends ezcTestCase
{
$axisLabelRenderer->outerGrid = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -838,7 +838,7 @@ class ezcGraphAxisExactRendererTest extends ezcTestCase
{
$axisLabelRenderer->labelPadding = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -867,7 +867,7 @@ class ezcGraphAxisExactRendererTest extends ezcTestCase
{
$options->showLastValue = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
diff --git a/tests/boundings_test.php b/tests/boundings_test.php
index 904225c..a076020 100644
--- a/tests/boundings_test.php
+++ b/tests/boundings_test.php
@@ -58,7 +58,7 @@ class ezcGraphBoundingsTest extends ezcTestCase
{
$boundings->unknown;
}
- catch( ezcBasePropertyNotFoundException $e )
+ catch ( ezcBasePropertyNotFoundException $e )
{
return true;
}
diff --git a/tests/color_test.php b/tests/color_test.php
index dc90f35..e901517 100644
--- a/tests/color_test.php
+++ b/tests/color_test.php
@@ -123,7 +123,7 @@ class ezcGraphColorTest extends ezcTestCase
{
$options->red = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -152,7 +152,7 @@ class ezcGraphColorTest extends ezcTestCase
{
$options->green = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -181,7 +181,7 @@ class ezcGraphColorTest extends ezcTestCase
{
$options->blue = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -210,7 +210,7 @@ class ezcGraphColorTest extends ezcTestCase
{
$options->alpha = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -225,7 +225,7 @@ class ezcGraphColorTest extends ezcTestCase
$color = ezcGraphColor::create( array( .02, .092, .165 ) );
$color->black = 23;
}
- catch( ezcBasePropertyNotFoundException $e )
+ catch ( ezcBasePropertyNotFoundException $e )
{
return true;
}
@@ -246,7 +246,7 @@ class ezcGraphColorTest extends ezcTestCase
{
$color->black;
}
- catch( ezcBasePropertyNotFoundException $e )
+ catch ( ezcBasePropertyNotFoundException $e )
{
return true;
}
@@ -278,7 +278,7 @@ class ezcGraphColorTest extends ezcTestCase
{
$color->startPoint = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -312,7 +312,7 @@ class ezcGraphColorTest extends ezcTestCase
{
$color->endPoint = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -378,7 +378,7 @@ class ezcGraphColorTest extends ezcTestCase
{
$color->black;
}
- catch( ezcBasePropertyNotFoundException $e )
+ catch ( ezcBasePropertyNotFoundException $e )
{
return true;
}
@@ -426,7 +426,7 @@ class ezcGraphColorTest extends ezcTestCase
{
$color->center = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -460,7 +460,7 @@ class ezcGraphColorTest extends ezcTestCase
{
$color->width = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -494,7 +494,7 @@ class ezcGraphColorTest extends ezcTestCase
{
$color->height = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -528,7 +528,7 @@ class ezcGraphColorTest extends ezcTestCase
{
$color->offset = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
diff --git a/tests/dataset_average_test.php b/tests/dataset_average_test.php
index c5a7695..5915048 100644
--- a/tests/dataset_average_test.php
+++ b/tests/dataset_average_test.php
@@ -35,7 +35,7 @@ class ezcGraphDataSetAverageTest extends ezcTestCase
protected function tearDown()
{
- if( !$this->hasFailed() )
+ if ( !$this->hasFailed() )
{
$this->removeTempDir();
}
@@ -369,7 +369,7 @@ class ezcGraphDataSetAverageTest extends ezcTestCase
{
$dataset->polynomOrder = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -399,7 +399,7 @@ class ezcGraphDataSetAverageTest extends ezcTestCase
{
$dataset->resolution = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
diff --git a/tests/driver_flash_test.php b/tests/driver_flash_test.php
index 8045612..e3babad 100644
--- a/tests/driver_flash_test.php
+++ b/tests/driver_flash_test.php
@@ -1436,7 +1436,7 @@ class ezcGraphFlashDriverTest extends ezcTestCase
{
$options->compression = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1465,7 +1465,7 @@ class ezcGraphFlashDriverTest extends ezcTestCase
{
$options->circleResolution = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
diff --git a/tests/driver_gd_test.php b/tests/driver_gd_test.php
index 3bc0d97..648b0ce 100644
--- a/tests/driver_gd_test.php
+++ b/tests/driver_gd_test.php
@@ -1980,7 +1980,7 @@ class ezcGraphGdDriverTest extends ezcImageTestCase
{
$options->imageFormat = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2009,7 +2009,7 @@ class ezcGraphGdDriverTest extends ezcImageTestCase
{
$options->jpegQuality = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2038,7 +2038,7 @@ class ezcGraphGdDriverTest extends ezcImageTestCase
{
$options->detail = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2067,7 +2067,7 @@ class ezcGraphGdDriverTest extends ezcImageTestCase
{
$options->supersampling = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2096,7 +2096,7 @@ class ezcGraphGdDriverTest extends ezcImageTestCase
{
$options->background = 'foo';
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2125,7 +2125,7 @@ class ezcGraphGdDriverTest extends ezcImageTestCase
{
$options->resampleFunction = 'foo';
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2154,7 +2154,7 @@ class ezcGraphGdDriverTest extends ezcImageTestCase
{
$options->forceNativeTTF = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2183,7 +2183,7 @@ class ezcGraphGdDriverTest extends ezcImageTestCase
{
$options->imageMapResolution = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
diff --git a/tests/driver_options_test.php b/tests/driver_options_test.php
index dd4660e..dc18b90 100644
--- a/tests/driver_options_test.php
+++ b/tests/driver_options_test.php
@@ -44,7 +44,7 @@ class ezcGraphDriverOptionsTest extends ezcImageTestCase
{
$options->width = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -73,7 +73,7 @@ class ezcGraphDriverOptionsTest extends ezcImageTestCase
{
$options->height = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -102,7 +102,7 @@ class ezcGraphDriverOptionsTest extends ezcImageTestCase
{
$options->shadeCircularArc = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -131,7 +131,7 @@ class ezcGraphDriverOptionsTest extends ezcImageTestCase
{
$options->lineSpacing = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -163,7 +163,7 @@ class ezcGraphDriverOptionsTest extends ezcImageTestCase
{
$options->font = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -179,7 +179,7 @@ class ezcGraphDriverOptionsTest extends ezcImageTestCase
{
$options->unknown = 42;
}
- catch( ezcBasePropertyNotFoundException $e )
+ catch ( ezcBasePropertyNotFoundException $e )
{
return true;
}
diff --git a/tests/driver_svg_test.php b/tests/driver_svg_test.php
index 2db6ded..2ac8cad 100644
--- a/tests/driver_svg_test.php
+++ b/tests/driver_svg_test.php
@@ -1244,7 +1244,7 @@ class ezcGraphSvgDriverTest extends ezcTestCase
{
$options->assumedNumericCharacterWidth = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1273,7 +1273,7 @@ class ezcGraphSvgDriverTest extends ezcTestCase
{
$options->assumedTextCharacterWidth = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1302,7 +1302,7 @@ class ezcGraphSvgDriverTest extends ezcTestCase
{
$options->strokeLineCap = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1331,7 +1331,7 @@ class ezcGraphSvgDriverTest extends ezcTestCase
{
$options->strokeLineJoin = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1360,7 +1360,7 @@ class ezcGraphSvgDriverTest extends ezcTestCase
{
$options->shapeRendering = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1389,7 +1389,7 @@ class ezcGraphSvgDriverTest extends ezcTestCase
{
$options->colorRendering = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1418,7 +1418,7 @@ class ezcGraphSvgDriverTest extends ezcTestCase
{
$options->textRendering = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1447,7 +1447,7 @@ class ezcGraphSvgDriverTest extends ezcTestCase
{
$options->templateDocument = false;
}
- catch( ezcBaseFileNotFoundException $e )
+ catch ( ezcBaseFileNotFoundException $e )
{
return true;
}
@@ -1476,7 +1476,7 @@ class ezcGraphSvgDriverTest extends ezcTestCase
{
$options->insertIntoGroup = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1505,7 +1505,7 @@ class ezcGraphSvgDriverTest extends ezcTestCase
{
$options->graphOffset = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
diff --git a/tests/element_options_test.php b/tests/element_options_test.php
index c4e78dd..0fc11d5 100644
--- a/tests/element_options_test.php
+++ b/tests/element_options_test.php
@@ -63,7 +63,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->background = false;
}
- catch( ezcGraphUnknownColorDefinitionException $e )
+ catch ( ezcGraphUnknownColorDefinitionException $e )
{
return true;
}
@@ -103,7 +103,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->border = false;
}
- catch( ezcGraphUnknownColorDefinitionException $e )
+ catch ( ezcGraphUnknownColorDefinitionException $e )
{
return true;
}
@@ -132,7 +132,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->padding = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -161,7 +161,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->margin = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -190,7 +190,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->borderWidth = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -219,7 +219,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->position = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -248,7 +248,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->maxTitleHeight = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -277,7 +277,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->portraitTitleSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -306,7 +306,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->landscapeTitleSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -338,7 +338,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->font = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -378,7 +378,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->image = false;
}
- catch( ezcBaseFileNotFoundException $e )
+ catch ( ezcBaseFileNotFoundException $e )
{
return true;
}
@@ -407,7 +407,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->repeat = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -436,7 +436,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->portraitSize = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -465,7 +465,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->landscapeSize = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -494,7 +494,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->landscapeSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -523,7 +523,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->landscapeSize = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -552,7 +552,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->landscapeSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -599,7 +599,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->axisSpace = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -628,7 +628,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->majorGrid = false;
}
- catch( ezcGraphUnknownColorDefinitionException $e )
+ catch ( ezcGraphUnknownColorDefinitionException $e )
{
return true;
}
@@ -657,7 +657,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->minorGrid = false;
}
- catch( ezcGraphUnknownColorDefinitionException $e )
+ catch ( ezcGraphUnknownColorDefinitionException $e )
{
return true;
}
@@ -686,7 +686,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->majorStep = -1.;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -715,7 +715,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->minorStep = -1.;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -780,7 +780,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->labelSize = 2;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -809,7 +809,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->labelMargin = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -838,7 +838,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->labelMargin = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -867,7 +867,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->axisLabelRenderer = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -896,7 +896,7 @@ class ezcGraphElementOptionsTest extends ezcImageTestCase
{
$options->maxHeight = 2;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
diff --git a/tests/font_test.php b/tests/font_test.php
index 4b5208b..e36ad62 100644
--- a/tests/font_test.php
+++ b/tests/font_test.php
@@ -232,7 +232,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->name = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -249,7 +249,7 @@ class ezcGraphFontTest extends ezcImageTestCase
$catched = false;
$options->path;
}
- catch( ezcBaseFileNotFoundException $e )
+ catch ( ezcBaseFileNotFoundException $e )
{
$catched = true;
@@ -276,7 +276,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->path = false;
}
- catch( ezcBaseFileNotFoundException $e )
+ catch ( ezcBaseFileNotFoundException $e )
{
return true;
}
@@ -305,7 +305,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->type = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -334,7 +334,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->minFontSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -363,7 +363,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->maxFontSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -417,7 +417,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->color = false;
}
- catch( ezcGraphUnknownColorDefinitionException $e )
+ catch ( ezcGraphUnknownColorDefinitionException $e )
{
return true;
}
@@ -446,7 +446,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->background = false;
}
- catch( ezcGraphUnknownColorDefinitionException $e )
+ catch ( ezcGraphUnknownColorDefinitionException $e )
{
return true;
}
@@ -475,7 +475,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->border = false;
}
- catch( ezcGraphUnknownColorDefinitionException $e )
+ catch ( ezcGraphUnknownColorDefinitionException $e )
{
return true;
}
@@ -504,7 +504,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->borderWidth = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -533,7 +533,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->padding = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -562,7 +562,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->minimizeBorder = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -591,7 +591,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->textShadow = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -620,7 +620,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->textShadowOffset = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -649,7 +649,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->textShadowColor = false;
}
- catch( ezcGraphUnknownColorDefinitionException $e )
+ catch ( ezcGraphUnknownColorDefinitionException $e )
{
return true;
}
@@ -665,7 +665,7 @@ class ezcGraphFontTest extends ezcImageTestCase
{
$options->unknown = 42;
}
- catch( ezcBasePropertyNotFoundException $e )
+ catch ( ezcBasePropertyNotFoundException $e )
{
return true;
}
diff --git a/tests/line_test.php b/tests/line_test.php
index e50ccc4..a7f3239 100644
--- a/tests/line_test.php
+++ b/tests/line_test.php
@@ -70,7 +70,7 @@ class ezcGraphLineChartTest extends ezcTestCase
{
$options->lineThickness = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -106,7 +106,7 @@ class ezcGraphLineChartTest extends ezcTestCase
{
$options->fillLines = true;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -135,7 +135,7 @@ class ezcGraphLineChartTest extends ezcTestCase
{
$options->symbolSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -174,7 +174,7 @@ class ezcGraphLineChartTest extends ezcTestCase
{
$options->highlightFont = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -203,7 +203,7 @@ class ezcGraphLineChartTest extends ezcTestCase
{
$options->highlightSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -232,7 +232,7 @@ class ezcGraphLineChartTest extends ezcTestCase
{
$options->highlightLines = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -688,7 +688,7 @@ class ezcGraphLineChartTest extends ezcTestCase
{
$options->xAxis = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -716,7 +716,7 @@ class ezcGraphLineChartTest extends ezcTestCase
{
$options->yAxis = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -734,7 +734,7 @@ class ezcGraphLineChartTest extends ezcTestCase
{
$chart->legend = 12;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
diff --git a/tests/logarithmical_axis_test.php b/tests/logarithmical_axis_test.php
index 70c6ac0..c22b495 100644
--- a/tests/logarithmical_axis_test.php
+++ b/tests/logarithmical_axis_test.php
@@ -89,7 +89,7 @@ class ezcGraphLogarithmicalAxisTest extends ezcTestCase
{
$options->min = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -118,7 +118,7 @@ class ezcGraphLogarithmicalAxisTest extends ezcTestCase
{
$options->max = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -147,7 +147,7 @@ class ezcGraphLogarithmicalAxisTest extends ezcTestCase
{
$options->base = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
diff --git a/tests/matrix_test.php b/tests/matrix_test.php
index 63bafda..7c0c810 100644
--- a/tests/matrix_test.php
+++ b/tests/matrix_test.php
@@ -248,7 +248,7 @@ class ezcGraphMatrixTest extends ezcTestCase
{
$a->multiply( $b );
}
- catch( ezcGraphMatrixInvalidDimensionsException $e )
+ catch ( ezcGraphMatrixInvalidDimensionsException $e )
{
return true;
}
diff --git a/tests/numeric_axis_test.php b/tests/numeric_axis_test.php
index 221d7f0..5de1af9 100644
--- a/tests/numeric_axis_test.php
+++ b/tests/numeric_axis_test.php
@@ -596,7 +596,7 @@ class ezcGraphNumericAxisTest extends ezcTestCase
{
$options->min = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -625,7 +625,7 @@ class ezcGraphNumericAxisTest extends ezcTestCase
{
$options->max = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
diff --git a/tests/palette_test.php b/tests/palette_test.php
index 8861ec3..c668753 100644
--- a/tests/palette_test.php
+++ b/tests/palette_test.php
@@ -436,7 +436,7 @@ class ezcGraphPaletteTest extends ezcTestCase
{
$options->chartBorderWidth = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -465,7 +465,7 @@ class ezcGraphPaletteTest extends ezcTestCase
{
$options->elementBorderWidth = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -494,7 +494,7 @@ class ezcGraphPaletteTest extends ezcTestCase
{
$options->padding = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -523,7 +523,7 @@ class ezcGraphPaletteTest extends ezcTestCase
{
$options->margin = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
diff --git a/tests/pie_test.php b/tests/pie_test.php
index 178c0c8..54c1cf7 100644
--- a/tests/pie_test.php
+++ b/tests/pie_test.php
@@ -485,7 +485,7 @@ class ezcGraphPieChartTest extends ezcImageTestCase
{
$chart->options->sum = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -512,7 +512,7 @@ class ezcGraphPieChartTest extends ezcImageTestCase
{
$chart->options->absoluteThreshold = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -540,7 +540,7 @@ class ezcGraphPieChartTest extends ezcImageTestCase
{
$chart->options->percentThreshold = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -567,7 +567,7 @@ class ezcGraphPieChartTest extends ezcImageTestCase
{
$chart->options->absoluteThreshold = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -595,7 +595,7 @@ class ezcGraphPieChartTest extends ezcImageTestCase
{
$chart->options->percentThreshold = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
diff --git a/tests/renderer_2d_test.php b/tests/renderer_2d_test.php
index 7a88195..652975b 100644
--- a/tests/renderer_2d_test.php
+++ b/tests/renderer_2d_test.php
@@ -2012,7 +2012,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->maxLabelHeight = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2041,7 +2041,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->showSymbol = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2070,7 +2070,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->symbolSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2099,7 +2099,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->moveOut = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2128,7 +2128,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->titlePosition = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2157,7 +2157,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->titleAlignement = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2193,7 +2193,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->dataBorder = true;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2222,7 +2222,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->barMargin = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2251,7 +2251,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->barPadding = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2280,7 +2280,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->pieChartOffset = 450;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2316,7 +2316,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->legendSymbolGleam = true;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2345,7 +2345,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->legendSymbolGleamSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2374,7 +2374,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->legendSymbolGleamColor = false;
}
- catch( ezcGraphUnknownColorDefinitionException $e )
+ catch ( ezcGraphUnknownColorDefinitionException $e )
{
return true;
}
@@ -2404,7 +2404,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->pieVerticalSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2433,7 +2433,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->pieHorizontalSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2462,7 +2462,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->pieChartSymbolColor = false;
}
- catch( ezcGraphUnknownColorDefinitionException $e )
+ catch ( ezcGraphUnknownColorDefinitionException $e )
{
return true;
}
@@ -2498,7 +2498,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->pieChartGleam = true;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2527,7 +2527,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->pieChartGleamColor = false;
}
- catch( ezcGraphUnknownColorDefinitionException $e )
+ catch ( ezcGraphUnknownColorDefinitionException $e )
{
return true;
}
@@ -2556,7 +2556,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->pieChartGleamBorder = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2585,7 +2585,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->pieChartShadowSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2614,7 +2614,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->pieChartShadowTransparency = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2643,7 +2643,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->pieChartShadowColor = false;
}
- catch( ezcGraphUnknownColorDefinitionException $e )
+ catch ( ezcGraphUnknownColorDefinitionException $e )
{
return true;
}
@@ -2672,7 +2672,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->width = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2701,7 +2701,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->height = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -2730,7 +2730,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase
{
$options->font = false;
}
- catch( ezcBaseFileNotFoundException $e )
+ catch ( ezcBaseFileNotFoundException $e )
{
return true;
}
diff --git a/tests/renderer_3d_test.php b/tests/renderer_3d_test.php
index bb61bb5..29704b8 100644
--- a/tests/renderer_3d_test.php
+++ b/tests/renderer_3d_test.php
@@ -41,7 +41,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
protected function tearDown()
{
- if( !$this->hasFailed() )
+ if ( !$this->hasFailed() )
{
$this->removeTempDir();
}
@@ -1261,7 +1261,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
{
$options->seperateLines = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1290,7 +1290,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
{
$options->fillAxis = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1319,7 +1319,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
{
$options->fillGrid = 42;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1348,7 +1348,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
{
$options->depth = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1377,7 +1377,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
{
$options->pieChartHeight = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1406,7 +1406,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
{
$options->pieChartRotation = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1435,7 +1435,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
{
$options->pieChartShadowSize = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1464,7 +1464,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
{
$options->pieChartShadowTransparency = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1493,7 +1493,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
{
$options->pieChartShadowColor = false;
}
- catch( ezcGraphUnknownColorDefinitionException $e )
+ catch ( ezcGraphUnknownColorDefinitionException $e )
{
return true;
}
@@ -1522,7 +1522,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
{
$options->barDarkenSide = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1551,7 +1551,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
{
$options->barDarkenTop = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
@@ -1580,7 +1580,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
{
$options->barChartGleam = false;
}
- catch( ezcBaseValueException $e )
+ catch ( ezcBaseValueException $e )
{
return true;
}
OpenPOWER on IntegriCloud