diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-06-08 12:00:28 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-06-08 12:00:28 +0000 |
commit | e2be5604f869ef2f49bf3a0a614d8b4e72eee842 (patch) | |
tree | 29e027d760fc7ae01a7e14eb1de0f9812458eedd /src/exceptions | |
parent | 182ce919974d9ec9a6de098a41c02e2965beaba3 (diff) | |
download | zetacomponents-graph-e2be5604f869ef2f49bf3a0a614d8b4e72eee842.zip zetacomponents-graph-e2be5604f869ef2f49bf3a0a614d8b4e72eee842.tar.gz |
- Fixed CS issues in exceptions
Diffstat (limited to 'src/exceptions')
-rw-r--r-- | src/exceptions/invalid_driver.php | 2 | ||||
-rw-r--r-- | src/exceptions/invalid_font.php | 2 | ||||
-rw-r--r-- | src/exceptions/invalid_image_file.php | 2 | ||||
-rw-r--r-- | src/exceptions/invalid_renderer.php | 2 | ||||
-rw-r--r-- | src/exceptions/no_such_data.php | 2 | ||||
-rw-r--r-- | src/exceptions/no_such_dataset.php | 2 | ||||
-rw-r--r-- | src/exceptions/too_many_datasets.php | 2 | ||||
-rw-r--r-- | src/exceptions/unknown_chart_type.php | 2 | ||||
-rw-r--r-- | src/exceptions/unknown_color_definition.php | 4 | ||||
-rw-r--r-- | src/exceptions/unknown_palette.php | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/src/exceptions/invalid_driver.php b/src/exceptions/invalid_driver.php index 241eed7..f415122 100644 --- a/src/exceptions/invalid_driver.php +++ b/src/exceptions/invalid_driver.php @@ -18,7 +18,7 @@ class ezcGraphInvalidDriverException extends ezcBaseException { public function __construct( $driver ) { - parent::__construct( 'Unknown driver <' . $driver . '>.' ); + parent::__construct( "Unknown driver <{$driver}>." ); } } diff --git a/src/exceptions/invalid_font.php b/src/exceptions/invalid_font.php index 1513ebc..8717152 100644 --- a/src/exceptions/invalid_font.php +++ b/src/exceptions/invalid_font.php @@ -18,7 +18,7 @@ class ezcGraphGdDriverInvalidFontException extends ezcBaseException { public function __construct( $font ) { - parent::__construct( 'Unknown font <' . $font . '>.' ); + parent::__construct( "Unknown font <{$font}>." ); } } diff --git a/src/exceptions/invalid_image_file.php b/src/exceptions/invalid_image_file.php index afc67ef..f229928 100644 --- a/src/exceptions/invalid_image_file.php +++ b/src/exceptions/invalid_image_file.php @@ -18,7 +18,7 @@ class ezcGraphInvalidImageFileException extends ezcBaseException { public function __construct( $image ) { - parent::__construct( 'File <' . $image . '> is not a valid image.' ); + parent::__construct( "File <{$image}> is not a valid image." ); } } diff --git a/src/exceptions/invalid_renderer.php b/src/exceptions/invalid_renderer.php index c693e15..eea0b07 100644 --- a/src/exceptions/invalid_renderer.php +++ b/src/exceptions/invalid_renderer.php @@ -18,7 +18,7 @@ class ezcGraphInvalidRendererException extends ezcBaseException { public function __construct( $renderer ) { - parent::__construct( 'Unknown renderer <' . $renderer . '>.' ); + parent::__construct( "Unknown renderer <{$renderer}>." ); } } diff --git a/src/exceptions/no_such_data.php b/src/exceptions/no_such_data.php index 1ea4fd5..11a7f4a 100644 --- a/src/exceptions/no_such_data.php +++ b/src/exceptions/no_such_data.php @@ -18,7 +18,7 @@ class ezcGraphNoSuchDataException extends ezcBaseException { public function __construct( $name ) { - parent::__construct( 'No data with name <' . $name . '> found.' ); + parent::__construct( "No data with name <{$name}> found." ); } } diff --git a/src/exceptions/no_such_dataset.php b/src/exceptions/no_such_dataset.php index 3355020..fb63e3b 100644 --- a/src/exceptions/no_such_dataset.php +++ b/src/exceptions/no_such_dataset.php @@ -18,7 +18,7 @@ class ezcGraphNoSuchDatasetException extends ezcBaseException { public function __construct( $name ) { - parent::__construct( 'No dataset with identifier <' . $name . '> could be found.' ); + parent::__construct( "No dataset with identifier <{$name}> could be found." ); } } diff --git a/src/exceptions/too_many_datasets.php b/src/exceptions/too_many_datasets.php index 2ee2d32..d8fbc2b 100644 --- a/src/exceptions/too_many_datasets.php +++ b/src/exceptions/too_many_datasets.php @@ -18,7 +18,7 @@ class ezcGraphTooManyDatasetsExceptions extends ezcBaseException { public function __construct() { - parent::__construct( 'You tried to insert to many datasets.' ); + parent::__construct( "You tried to insert to many datasets." ); } } diff --git a/src/exceptions/unknown_chart_type.php b/src/exceptions/unknown_chart_type.php index 959cffc..3509034 100644 --- a/src/exceptions/unknown_chart_type.php +++ b/src/exceptions/unknown_chart_type.php @@ -18,7 +18,7 @@ class ezcGraphUnknownChartTypeException extends ezcBaseException { public function __construct( $chartType ) { - parent::__construct( 'Unknown chart type <' . $chartType . '>.' ); + parent::__construct( "Unknown chart type <{$chartType}>." ); } } diff --git a/src/exceptions/unknown_color_definition.php b/src/exceptions/unknown_color_definition.php index 8cecc62..60d8573 100644 --- a/src/exceptions/unknown_color_definition.php +++ b/src/exceptions/unknown_color_definition.php @@ -16,9 +16,9 @@ */ class ezcGraphUnknownColorDefinitionException extends ezcBaseException { - public function __construct( $defintion ) + public function __construct( $definition ) { - parent::__construct( 'Unknown color definition <' . $defintion . '>.' ); + parent::__construct( "Unknown color definition <{$definition}>." ); } } diff --git a/src/exceptions/unknown_palette.php b/src/exceptions/unknown_palette.php index d4301c6..fbdfb4c 100644 --- a/src/exceptions/unknown_palette.php +++ b/src/exceptions/unknown_palette.php @@ -18,7 +18,7 @@ class ezcGraphUnknownPaletteException extends ezcBaseException { public function __construct( $name ) { - parent::__construct( 'No palette with name <' . $name . '> could be found.' ); + parent::__construct( "No palette with name <{$name}> could be found." ); } } |