[icinga-checkins] icinga.org: icingaweb2/feature/translation-catalog-object-13012: Catalog: Improve namespaces

git at icinga.org git at icinga.org
Fri Nov 25 09:54:09 CET 2016


Module: icingaweb2
Branch: feature/translation-catalog-object-13012
Commit: 280e39409d0e244a68ccdd8bff776e53f7083007
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=280e39409d0e244a68ccdd8bff776e53f7083007

Author: Noah Hilverling <noah.hilverling at netways.de>
Date:   Fri Nov 25 09:54:02 2016 +0100

Catalog: Improve namespaces

refs #13012

---

 modules/translation/library/Translation/Catalog/Catalog.php      |    6 +++---
 modules/translation/library/Translation/Catalog/CatalogEntry.php |    2 +-
 .../translation/library/Translation/Catalog/CatalogHeader.php    |    2 +-
 .../translation/library/Translation/Catalog/CatalogParser.php    |    2 +-
 .../library/Translation/Exceptions/CatalogException.php          |    2 +-
 .../library/Translation/Exceptions/CatalogHeaderException.php    |    2 +-
 .../library/Translation/Exceptions/CatalogParserException.php    |    2 +-
 7 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/modules/translation/library/Translation/Catalog/Catalog.php b/modules/translation/library/Translation/Catalog/Catalog.php
index 7c8702c..4729420 100644
--- a/modules/translation/library/Translation/Catalog/Catalog.php
+++ b/modules/translation/library/Translation/Catalog/Catalog.php
@@ -7,11 +7,11 @@ namespace Icinga\Module\Translation\Catalog;
 use ArrayIterator;
 use DateTime;
 use Exception;
-use Icinga\Module\Translation\Exceptions\CatalogEntryException;
 use IteratorAggregate;
 use Icinga\Exception\IcingaException;
-use Icinga\Module\Translation\Exceptions\CatalogException;
-use Icinga\Module\Translation\Exceptions\CatalogHeaderException;
+use Icinga\Module\Translation\Exception\CatalogEntryException;
+use Icinga\Module\Translation\Exception\CatalogException;
+use Icinga\Module\Translation\Exception\CatalogHeaderException;
 
 /**
  * Class Catalog
diff --git a/modules/translation/library/Translation/Catalog/CatalogEntry.php b/modules/translation/library/Translation/Catalog/CatalogEntry.php
index a180cc9..c0e38ee 100644
--- a/modules/translation/library/Translation/Catalog/CatalogEntry.php
+++ b/modules/translation/library/Translation/Catalog/CatalogEntry.php
@@ -5,7 +5,7 @@ namespace Icinga\Module\Translation\Catalog;
 
 use Exception;
 use Icinga\Exception\IcingaException;
-use Icinga\Module\Translation\Exceptions\CatalogEntryException;
+use Icinga\Module\Translation\Exception\CatalogEntryException;
 
 /**
  * Class CatalogEntry
diff --git a/modules/translation/library/Translation/Catalog/CatalogHeader.php b/modules/translation/library/Translation/Catalog/CatalogHeader.php
index 8134b90..aa5b3fa 100644
--- a/modules/translation/library/Translation/Catalog/CatalogHeader.php
+++ b/modules/translation/library/Translation/Catalog/CatalogHeader.php
@@ -6,7 +6,7 @@ namespace Icinga\Module\Translation\Catalog;
 use ArrayAccess;
 use Exception;
 use Icinga\Exception\IcingaException;
-use Icinga\Module\Translation\Exceptions\CatalogHeaderException;
+use Icinga\Module\Translation\Exception\CatalogHeaderException;
 
 /**
  * Class CatalogHeader
diff --git a/modules/translation/library/Translation/Catalog/CatalogParser.php b/modules/translation/library/Translation/Catalog/CatalogParser.php
index a8f8c70..40bdb81 100644
--- a/modules/translation/library/Translation/Catalog/CatalogParser.php
+++ b/modules/translation/library/Translation/Catalog/CatalogParser.php
@@ -4,7 +4,7 @@
 namespace Icinga\Module\Translation\Catalog;
 
 use SplFileObject;
-use Icinga\Module\Translation\Exceptions\CatalogParserException;
+use Icinga\Module\Translation\Exception\CatalogParserException;
 use Icinga\Util\File;
 
 /**
diff --git a/modules/translation/library/Translation/Exceptions/CatalogException.php b/modules/translation/library/Translation/Exceptions/CatalogException.php
index d7f49df..7a40cdf 100644
--- a/modules/translation/library/Translation/Exceptions/CatalogException.php
+++ b/modules/translation/library/Translation/Exceptions/CatalogException.php
@@ -1,7 +1,7 @@
 <?php
 /* Icinga Web 2 | (c) 2016 Icinga Development Team | GPLv2+ */
 
-namespace Icinga\Module\Translation\Exceptions;
+namespace Icinga\Module\Translation\Exception;
 
 use Icinga\Exception\IcingaException;
 
diff --git a/modules/translation/library/Translation/Exceptions/CatalogHeaderException.php b/modules/translation/library/Translation/Exceptions/CatalogHeaderException.php
index c85965d..c3bd13f 100644
--- a/modules/translation/library/Translation/Exceptions/CatalogHeaderException.php
+++ b/modules/translation/library/Translation/Exceptions/CatalogHeaderException.php
@@ -1,7 +1,7 @@
 <?php
 /* Icinga Web 2 | (c) 2016 Icinga Development Team | GPLv2+ */
 
-namespace Icinga\Module\Translation\Exceptions;
+namespace Icinga\Module\Translation\Exception;
 
 /**
  * Class CatalogHeaderException
diff --git a/modules/translation/library/Translation/Exceptions/CatalogParserException.php b/modules/translation/library/Translation/Exceptions/CatalogParserException.php
index 74480df..4bf6995 100644
--- a/modules/translation/library/Translation/Exceptions/CatalogParserException.php
+++ b/modules/translation/library/Translation/Exceptions/CatalogParserException.php
@@ -1,7 +1,7 @@
 <?php
 /* Icinga Web 2 | (c) 2016 Icinga Development Team | GPLv2+ */
 
-namespace Icinga\Module\Translation\Exceptions;
+namespace Icinga\Module\Translation\Exception;
 
 /**
  * Class CatalogParserException



More information about the icinga-checkins mailing list