Skip to content

Commit

Permalink
Merge pull request #26 from superbrave/superbrave-rename
Browse files Browse the repository at this point in the history
Superbrave rename
  • Loading branch information
Jelle van Oosterbosch authored May 29, 2018
2 parents c5cbcaa + 0a59536 commit 9378473
Show file tree
Hide file tree
Showing 35 changed files with 122 additions and 120 deletions.
2 changes: 1 addition & 1 deletion Annotation/AnnotationReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Annotation;
namespace Superbrave\GdprBundle\Annotation;

use Doctrine\Common\Annotations\AnnotationReader as DoctrineAnnotationReader;
use ReflectionClass;
Expand Down
6 changes: 3 additions & 3 deletions Annotation/Anonymize.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
*
* @category Bundle
* @package Gdpr
* @author Superbrave <info@superbrave.nl>
* @copyright 2018 Superbrave <info@superbrave.nl>
* @author SuperBrave <info@superbrave.nl>
* @copyright 2018 SuperBrave <info@superbrave.nl>
* @license https://github.com/superbrave/gdpr-bundle/blob/master/LICENSE MIT
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Annotation;
namespace Superbrave\GdprBundle\Annotation;

use Doctrine\Common\Annotations\Annotation;
use Doctrine\Common\Annotations\Annotation\Attribute;
Expand Down
2 changes: 1 addition & 1 deletion Annotation/Export.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Annotation;
namespace Superbrave\GdprBundle\Annotation;

use Doctrine\Common\Annotations\Annotation;

Expand Down
8 changes: 4 additions & 4 deletions Anonymize/Anonymizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Anonymize;
namespace Superbrave\GdprBundle\Anonymize;

use SuperBrave\GdprBundle\Annotation\AnnotationReader;
use SuperBrave\GdprBundle\Annotation\Anonymize;
use Superbrave\GdprBundle\Annotation\AnnotationReader;
use Superbrave\GdprBundle\Annotation\Anonymize;
use InvalidArgumentException;
use ReflectionException;
use ReflectionClass;

/**
* Class Anonymizer
*
* @package SuperBrave\GdprBundle\Anonymize
* @package Superbrave\GdprBundle\Anonymize
*/
class Anonymizer
{
Expand Down
6 changes: 3 additions & 3 deletions Anonymize/AnonymizerCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Anonymize;
namespace Superbrave\GdprBundle\Anonymize;

use LogicException;
use SuperBrave\GdprBundle\Anonymize\Type\AnonymizerInterface;
use Superbrave\GdprBundle\Anonymize\Type\AnonymizerInterface;

/**
* Class AnonymizerCollection
*
* @package SuperBrave\GdprBundle\Anonymize
* @package Superbrave\GdprBundle\Anonymize
*/
class AnonymizerCollection
{
Expand Down
8 changes: 4 additions & 4 deletions Anonymize/PropertyAnonymizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Anonymize;
namespace Superbrave\GdprBundle\Anonymize;

use SuperBrave\GdprBundle\Annotation\Anonymize;
use SuperBrave\GdprBundle\Manipulator\PropertyManipulator;
use Superbrave\GdprBundle\Annotation\Anonymize;
use Superbrave\GdprBundle\Manipulator\PropertyManipulator;

/**
* Class PropertyAnonymizer
*
* @package SuperBrave\GdprBundle\Anonymizer
* @package Superbrave\GdprBundle\Anonymizer
*/
class PropertyAnonymizer
{
Expand Down
4 changes: 2 additions & 2 deletions Anonymize/Type/AnonymizerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Anonymize\Type;
namespace Superbrave\GdprBundle\Anonymize\Type;

/**
* Interface AnonymizerInterface
*
* @package SuperBrave\GdprBundle\Anonymize\Type
* @package Superbrave\GdprBundle\Anonymize\Type
*/
interface AnonymizerInterface
{
Expand Down
4 changes: 2 additions & 2 deletions Anonymize/Type/ArrayAnonymizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Anonymize\Type;
namespace Superbrave\GdprBundle\Anonymize\Type;

/**
* Class ArrayAnonymizer
*
* @package SuperBrave\GdprBundle\Anonymize\Type
* @package Superbrave\GdprBundle\Anonymize\Type
*/
class ArrayAnonymizer implements AnonymizerInterface
{
Expand Down
4 changes: 2 additions & 2 deletions Anonymize/Type/DateTimeAnonymizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Anonymize\Type;
namespace Superbrave\GdprBundle\Anonymize\Type;

/**
* DATE_RFC7231 is not natively supported in PHP 5.6
Expand All @@ -22,7 +22,7 @@
/**
* DateTime anonymizer class
*
* @package SuperBrave\GdprBundle\Anonymize\Type
* @package Superbrave\GdprBundle\Anonymize\Type
*/
class DateTimeAnonymizer implements AnonymizerInterface
{
Expand Down
6 changes: 3 additions & 3 deletions Anonymize/Type/FixedAnonymizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Anonymize\Type;
namespace Superbrave\GdprBundle\Anonymize\Type;

use SuperBrave\GdprBundle\Manipulator\PropertyManipulator;
use Superbrave\GdprBundle\Manipulator\PropertyManipulator;
use Symfony\Component\OptionsResolver\OptionsResolver;

/**
* Fixed anonymizer class
*
* @package SuperBrave\GdprBundle\Anonymize\Type
* @package Superbrave\GdprBundle\Anonymize\Type
*/
class FixedAnonymizer implements AnonymizerInterface
{
Expand Down
4 changes: 2 additions & 2 deletions Anonymize/Type/IpAnonymizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Anonymize\Type;
namespace Superbrave\GdprBundle\Anonymize\Type;

use InvalidArgumentException;

/**
* Class IpAnonymizer
*
* @package SuperBrave\GdprBundle\Anonymize\Type
* @package Superbrave\GdprBundle\Anonymize\Type
*/
class IpAnonymizer implements AnonymizerInterface
{
Expand Down
4 changes: 2 additions & 2 deletions Anonymize/Type/NullAnonymizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Anonymize\Type;
namespace Superbrave\GdprBundle\Anonymize\Type;

/**
* Class NullAnonymizer
*
* @package SuperBrave\GdprBundle\Anonymize\Type
* @package Superbrave\GdprBundle\Anonymize\Type
*/
class NullAnonymizer implements AnonymizerInterface
{
Expand Down
6 changes: 3 additions & 3 deletions Anonymize/Type/ObjectAnonymizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Anonymize\Type;
namespace Superbrave\GdprBundle\Anonymize\Type;

use SuperBrave\GdprBundle\Anonymize\Anonymizer;
use Superbrave\GdprBundle\Anonymize\Anonymizer;

/**
* Class ObjectAnonymizer
*
* @package SuperBrave\GdprBundle\Anonymize\Type
* @package Superbrave\GdprBundle\Anonymize\Type
*/
class ObjectAnonymizer implements AnonymizerInterface
{
Expand Down
6 changes: 3 additions & 3 deletions DependencyInjection/Compiler/AddAnonymizersCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\DependencyInjection\Compiler;
namespace Superbrave\GdprBundle\DependencyInjection\Compiler;

use LogicException;
use SuperBrave\GdprBundle\Anonymize\Type\AnonymizerInterface;
use Superbrave\GdprBundle\Anonymize\Type\AnonymizerInterface;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;

/**
* Compiler pass to add the tagged anonymizers to the anonymizer manager's definition
*
* @package SuperBrave\GdprBundle\DependencyInjection\Compiler
* @package Superbrave\GdprBundle\DependencyInjection\Compiler
*/
class AddAnonymizersCompilerPass implements CompilerPassInterface
{
Expand Down
6 changes: 3 additions & 3 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
*
* @category Bundle
* @package Gdpr
* @author Superbrave <info@superbrave.nl>
* @copyright 2018 Superbrave <info@superbrave.nl>
* @author SuperBrave <info@superbrave.nl>
* @copyright 2018 SuperBrave <info@superbrave.nl>
* @license https://github.com/superbrave/gdpr-bundle/blob/master/LICENSE MIT
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\DependencyInjection;
namespace Superbrave\GdprBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/ObjectFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\DependencyInjection;
namespace Superbrave\GdprBundle\DependencyInjection;

use Symfony\Component\Serializer\Encoder\EncoderInterface;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
Expand Down
6 changes: 3 additions & 3 deletions DependencyInjection/SuperbraveGdprExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
*
* @category Bundle
* @package Gdpr
* @author Superbrave <info@superbrave.nl>
* @copyright 2018 Superbrave <info@superbrave.nl>
* @author SuperBrave <info@superbrave.nl>
* @copyright 2018 SuperBrave <info@superbrave.nl>
* @license https://github.com/superbrave/gdpr-bundle/blob/master/LICENSE MIT
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\DependencyInjection;
namespace Superbrave\GdprBundle\DependencyInjection;

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
Expand Down
2 changes: 1 addition & 1 deletion Export/Exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Export;
namespace Superbrave\GdprBundle\Export;

use InvalidArgumentException;
use ReflectionClass;
Expand Down
4 changes: 2 additions & 2 deletions Manipulator/PropertyManipulator.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://www.superbrave.nl/
*/

namespace SuperBrave\GdprBundle\Manipulator;
namespace Superbrave\GdprBundle\Manipulator;

use ReflectionProperty;
use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
Expand All @@ -19,7 +19,7 @@
/**
* Class PropertyManipulator
*
* @package SuperBrave\GdprBundle\Manipulator
* @package Superbrave\GdprBundle\Manipulator
*/
class PropertyManipulator
{
Expand Down
12 changes: 6 additions & 6 deletions Resources/config/services.anonymizer.types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,37 @@ services:
public: false

superbrave_gdpr.fixed_anonymizer:
class: SuperBrave\GdprBundle\Anonymize\Type\FixedAnonymizer
class: Superbrave\GdprBundle\Anonymize\Type\FixedAnonymizer
arguments:
- "@superbrave_gdpr.property_manipulator"
tags:
- { name: superbrave_gdpr.anonymizer, type: fixed }

superbrave_gdpr.date_time_anonymizer:
class: SuperBrave\GdprBundle\Anonymize\Type\DateTimeAnonymizer
class: Superbrave\GdprBundle\Anonymize\Type\DateTimeAnonymizer
tags:
- { name: superbrave_gdpr.anonymizer, type: dateTime }

superbrave_gdpr.ip_anonymizer:
class: SuperBrave\GdprBundle\Anonymize\Type\IpAnonymizer
class: Superbrave\GdprBundle\Anonymize\Type\IpAnonymizer
tags:
- { name: superbrave_gdpr.anonymizer, type: ip }

superbrave_gdpr.object_anonymizer:
class: SuperBrave\GdprBundle\Anonymize\Type\ObjectAnonymizer
class: Superbrave\GdprBundle\Anonymize\Type\ObjectAnonymizer
arguments:
- "@superbrave_gdpr.anonymizer"
tags:
- { name: superbrave_gdpr.anonymizer, type: object }

superbrave_gdpr.collection_anonymizer:
class: SuperBrave\GdprBundle\Anonymize\Type\ArrayAnonymizer
class: Superbrave\GdprBundle\Anonymize\Type\ArrayAnonymizer
arguments:
- "@superbrave_gdpr.object_anonymizer"
tags:
- { name: superbrave_gdpr.anonymizer, type: collection }

superbrave_gdpr.null_anonymizer:
class: SuperBrave\GdprBundle\Anonymize\Type\NullAnonymizer
class: Superbrave\GdprBundle\Anonymize\Type\NullAnonymizer
tags:
- { name: superbrave_gdpr.anonymizer, type: "null" }
Loading

0 comments on commit 9378473

Please sign in to comment.