Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
Updated namespace from 'Encrypt' to 'Keet\Encrypt\' to match autoload…
Browse files Browse the repository at this point in the history
…ing config and bring it in line with other modules
  • Loading branch information
rkeet committed Dec 15, 2018
1 parent e25e73a commit fea9b30
Show file tree
Hide file tree
Showing 23 changed files with 59 additions and 59 deletions.
2 changes: 1 addition & 1 deletion config/local.config.php.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Encrypt;
namespace Keet\Encrypt;

return [
'doctrine' => [
Expand Down
22 changes: 11 additions & 11 deletions config/module.config.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?php

namespace Encrypt;
namespace Keet\Encrypt;

use Doctrine\Common\Annotations\AnnotationReader;
use Encrypt\Adapter\EncryptionAdapter;
use Encrypt\Adapter\HashingAdapter;
use Encrypt\Factory\Adapter\EncryptionAdapterFactory;
use Encrypt\Factory\Adapter\HashingAdapterFactory;
use Encrypt\Factory\Service\EncryptionServiceFactory;
use Encrypt\Factory\Service\HashingServiceFactory;
use Encrypt\Factory\Subscriber\EncryptionSubscriberFactory;
use Encrypt\Factory\Subscriber\HashingSubscriberFactory;
use Encrypt\Service\EncryptionService;
use Encrypt\Service\HashingService;
use Keet\Encrypt\Adapter\EncryptionAdapter;
use Keet\Encrypt\Adapter\HashingAdapter;
use Keet\Encrypt\Factory\Adapter\EncryptionAdapterFactory;
use Keet\Encrypt\Factory\Adapter\HashingAdapterFactory;
use Keet\Encrypt\Factory\Service\EncryptionServiceFactory;
use Keet\Encrypt\Factory\Service\HashingServiceFactory;
use Keet\Encrypt\Factory\Subscriber\EncryptionSubscriberFactory;
use Keet\Encrypt\Factory\Subscriber\HashingSubscriberFactory;
use Keet\Encrypt\Service\EncryptionService;
use Keet\Encrypt\Service\HashingService;

return [
'doctrine_factories' => [
Expand Down
4 changes: 2 additions & 2 deletions src/Adapter/EncryptionAdapter.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Encrypt\Adapter;
namespace Keet\Encrypt\Adapter;

use Encrypt\Interfaces\EncryptionInterface;
use Keet\Encrypt\Interfaces\EncryptionInterface;
use ParagonIE\ConstantTime\Binary;
use ParagonIE\Halite\Alerts\InvalidKey;
use ParagonIE\Halite\HiddenString;
Expand Down
4 changes: 2 additions & 2 deletions src/Adapter/HashingAdapter.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Encrypt\Adapter;
namespace Keet\Encrypt\Adapter;

use Encrypt\Interfaces\HashingInterface;
use Keet\Encrypt\Interfaces\HashingInterface;
use ParagonIE\ConstantTime\Binary;
use ParagonIE\Halite\Alerts\InvalidKey;
use ParagonIE\Halite\HiddenString;
Expand Down
2 changes: 1 addition & 1 deletion src/Annotation/Encrypted.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Encrypt\Annotation;
namespace Keet\Encrypt\Annotation;

use Doctrine\Common\Annotations\Annotation\Target;

Expand Down
2 changes: 1 addition & 1 deletion src/Annotation/Hashed.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Encrypt\Annotation;
namespace Keet\Encrypt\Annotation;

use Doctrine\Common\Annotations\Annotation\Target;

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/OptionsNotFoundException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Encrypt\Exception;
namespace Keet\Encrypt\Exception;

class OptionsNotFoundException extends \Exception
{
Expand Down
6 changes: 3 additions & 3 deletions src/Factory/Adapter/EncryptionAdapterFactory.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Encrypt\Factory\Adapter;
namespace Keet\Encrypt\Factory\Adapter;

use Encrypt\Adapter\EncryptionAdapter;
use Encrypt\Exception\OptionsNotFoundException;
use Keet\Encrypt\Adapter\EncryptionAdapter;
use Keet\Encrypt\Exception\OptionsNotFoundException;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;

Expand Down
6 changes: 3 additions & 3 deletions src/Factory/Adapter/HashingAdapterFactory.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Encrypt\Factory\Adapter;
namespace Keet\Encrypt\Factory\Adapter;

use Encrypt\Adapter\HashingAdapter;
use Encrypt\Exception\OptionsNotFoundException;
use Keet\Encrypt\Adapter\HashingAdapter;
use Keet\Encrypt\Exception\OptionsNotFoundException;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;

Expand Down
6 changes: 3 additions & 3 deletions src/Factory/Service/EncryptionServiceFactory.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Encrypt\Factory\Service;
namespace Keet\Encrypt\Factory\Service;

use Encrypt\Interfaces\EncryptionInterface;
use Encrypt\Service\EncryptionService;
use Keet\Encrypt\Interfaces\EncryptionInterface;
use Keet\Encrypt\Service\EncryptionService;
use Exception;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
Expand Down
6 changes: 3 additions & 3 deletions src/Factory/Service/HashingServiceFactory.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Encrypt\Factory\Service;
namespace Keet\Encrypt\Factory\Service;

use Encrypt\Interfaces\HashingInterface;
use Encrypt\Service\HashingService;
use Keet\Encrypt\Interfaces\HashingInterface;
use Keet\Encrypt\Service\HashingService;
use Exception;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
Expand Down
8 changes: 4 additions & 4 deletions src/Factory/Subscriber/EncryptionSubscriberFactory.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace Encrypt\Factory\Subscriber;
namespace Keet\Encrypt\Factory\Subscriber;

use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\Common\Annotations\Reader;
use DoctrineModule\Service\AbstractFactory;
use Encrypt\Interfaces\EncryptionInterface;
use Encrypt\Options\EncryptionOptions;
use Encrypt\Subscriber\EncryptionSubscriber;
use Keet\Encrypt\Interfaces\EncryptionInterface;
use Keet\Encrypt\Options\EncryptionOptions;
use Keet\Encrypt\Subscriber\EncryptionSubscriber;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\ServiceLocatorInterface;

Expand Down
10 changes: 5 additions & 5 deletions src/Factory/Subscriber/HashingSubscriberFactory.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace Encrypt\Factory\Subscriber;
namespace Keet\Encrypt\Factory\Subscriber;

use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\Common\Annotations\Reader;
use DoctrineModule\Service\AbstractFactory;
use Encrypt\Adapter\HashingAdapter;
use Encrypt\Interfaces\HashingInterface;
use Encrypt\Options\HashingOptions;
use Encrypt\Subscriber\HashingSubscriber;
use Keet\Encrypt\Adapter\HashingAdapter;
use Keet\Encrypt\Interfaces\HashingInterface;
use Keet\Encrypt\Options\HashingOptions;
use Keet\Encrypt\Subscriber\HashingSubscriber;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\ServiceLocatorInterface;

Expand Down
2 changes: 1 addition & 1 deletion src/Interfaces/EncryptionInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Encrypt\Interfaces;
namespace Keet\Encrypt\Interfaces;

interface EncryptionInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Interfaces/HashingInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Encrypt\Interfaces;
namespace Keet\Encrypt\Interfaces;

interface HashingInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Interfaces/SaltInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Encrypt\Interfaces;
namespace Keet\Encrypt\Interfaces;

interface SaltInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Module.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Encrypt;
namespace Keet\Encrypt;

use Zend\ModuleManager\Feature\ConfigProviderInterface;

Expand Down
4 changes: 2 additions & 2 deletions src/Options/EncryptionOptions.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Encrypt\Options;
namespace Keet\Encrypt\Options;

use Doctrine\Common\Annotations\Reader;
use Encrypt\Interfaces\EncryptionInterface;
use Keet\Encrypt\Interfaces\EncryptionInterface;
use Zend\Stdlib\AbstractOptions;

class EncryptionOptions extends AbstractOptions
Expand Down
4 changes: 2 additions & 2 deletions src/Options/HashingOptions.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Encrypt\Options;
namespace Keet\Encrypt\Options;

use Doctrine\Common\Annotations\Reader;
use Encrypt\Interfaces\HashingInterface;
use Keet\Encrypt\Interfaces\HashingInterface;
use Zend\Stdlib\AbstractOptions;

class HashingOptions extends AbstractOptions
Expand Down
4 changes: 2 additions & 2 deletions src/Service/EncryptionService.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Encrypt\Service;
namespace Keet\Encrypt\Service;

use Encrypt\Interfaces\EncryptionInterface;
use Keet\Encrypt\Interfaces\EncryptionInterface;

class EncryptionService
{
Expand Down
4 changes: 2 additions & 2 deletions src/Service/HashingService.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Encrypt\Service;
namespace Keet\Encrypt\Service;

use Encrypt\Interfaces\HashingInterface;
use Keet\Encrypt\Interfaces\HashingInterface;

class HashingService
{
Expand Down
6 changes: 3 additions & 3 deletions src/Subscriber/EncryptionSubscriber.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Encrypt\Subscriber;
namespace Keet\Encrypt\Subscriber;

use Doctrine\Common\Annotations\Reader;
use Doctrine\Common\EventSubscriber;
Expand All @@ -10,8 +10,8 @@
use Doctrine\ORM\Event\OnFlushEventArgs;
use Doctrine\ORM\Event\PostFlushEventArgs;
use Doctrine\ORM\Events;
use Encrypt\Annotation\Encrypted;
use Encrypt\Interfaces\EncryptionInterface;
use Keet\Encrypt\Annotation\Encrypted;
use Keet\Encrypt\Interfaces\EncryptionInterface;

class EncryptionSubscriber implements EventSubscriber
{
Expand Down
8 changes: 4 additions & 4 deletions src/Subscriber/HashingSubscriber.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?php

namespace Encrypt\Subscriber;
namespace Keet\Encrypt\Subscriber;

use Doctrine\Common\Annotations\Reader;
use Doctrine\Common\EventSubscriber;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Event\OnFlushEventArgs;
use Doctrine\ORM\Events;
use Encrypt\Annotation\Hashed;
use Encrypt\Interfaces\HashingInterface;
use Encrypt\Interfaces\SaltInterface;
use Keet\Encrypt\Annotation\Hashed;
use Keet\Encrypt\Interfaces\HashingInterface;
use Keet\Encrypt\Interfaces\SaltInterface;

class HashingSubscriber implements EventSubscriber
{
Expand Down

0 comments on commit fea9b30

Please sign in to comment.