Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Commit

Permalink
Migration changes (#2)
Browse files Browse the repository at this point in the history
 - change namespaces
 - change links
 - change package name
 - fix package name in code
 - Add information about fork
 - Update authors
  • Loading branch information
aivus authored Dec 25, 2017
1 parent 947de2a commit e1fae05
Show file tree
Hide file tree
Showing 91 changed files with 264 additions and 258 deletions.
4 changes: 2 additions & 2 deletions Controller/Base64Controller.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Controller;
namespace SymfonyHackers\Bundle\FormBundle\Controller;

use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
Expand Down
6 changes: 3 additions & 3 deletions Controller/ImageController.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Controller;
namespace SymfonyHackers\Bundle\FormBundle\Controller;

use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\JsonResponse;
use Genemu\Bundle\FormBundle\Gd\File\Image;
use SymfonyHackers\Bundle\FormBundle\Gd\File\Image;
use Symfony\Component\HttpFoundation\Request;

/**
Expand Down
6 changes: 3 additions & 3 deletions Controller/UploadController.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Controller;
namespace SymfonyHackers\Bundle\FormBundle\Controller;

use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\JsonResponse;
use Genemu\Bundle\FormBundle\Gd\File\Image;
use SymfonyHackers\Bundle\FormBundle\Gd\File\Image;
use Symfony\Component\HttpFoundation\Request;

/**
Expand Down
6 changes: 3 additions & 3 deletions DependencyInjection/Compiler/FormPass.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\DependencyInjection\Compiler;
namespace SymfonyHackers\Bundle\FormBundle\DependencyInjection\Compiler;

use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
Expand All @@ -29,7 +29,7 @@ public function process(ContainerBuilder $container)
$resources = $container->getParameter('twig.form.resources');

foreach (array('div', 'jquery', 'stylesheet') as $template) {
$resources[] = 'GenemuFormBundle:Form:' . $template . '_layout.html.twig';
$resources[] = 'SHFormBundle:Form:' . $template . '_layout.html.twig';
}

$container->setParameter('twig.form.resources', $resources);
Expand Down
4 changes: 2 additions & 2 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\DependencyInjection;
namespace SymfonyHackers\Bundle\FormBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
Expand Down
4 changes: 2 additions & 2 deletions DependencyInjection/GenemuFormExtension.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\DependencyInjection;
namespace SymfonyHackers\Bundle\FormBundle\DependencyInjection;

use Symfony\Component\DependencyInjection\DefinitionDecorator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
Expand Down
4 changes: 2 additions & 2 deletions Form/Core/ChoiceList/AjaxSimpleChoiceList.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Form\Core\ChoiceList;
namespace SymfonyHackers\Bundle\FormBundle\Form\Core\ChoiceList;

use Symfony\Component\Form\Extension\Core\ChoiceList\SimpleChoiceList;

Expand Down
4 changes: 2 additions & 2 deletions Form/Core/DataTransformer/ChoiceToJsonTransformer.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Form\Core\DataTransformer;
namespace SymfonyHackers\Bundle\FormBundle\Form\Core\DataTransformer;

use Symfony\Component\Form\DataTransformerInterface;
use Symfony\Component\Form\Exception\UnexpectedTypeException;
Expand Down
6 changes: 3 additions & 3 deletions Form/Core/EventListener/FileListener.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Form\Core\EventListener;
namespace SymfonyHackers\Bundle\FormBundle\Form\Core\EventListener;

use Symfony\Component\Form\FormEvents;
use Symfony\Component\Form\FormEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpFoundation\File\File;

use Genemu\Bundle\FormBundle\Gd\File\Image;
use SymfonyHackers\Bundle\FormBundle\Gd\File\Image;

/**
* Adds a protocol to a URL if it doesn't already have one.
Expand Down
6 changes: 3 additions & 3 deletions Form/Core/EventListener/GeolocationListener.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Form\Core\EventListener;
namespace SymfonyHackers\Bundle\FormBundle\Form\Core\EventListener;

use Symfony\Component\Form\FormEvents;
use Symfony\Component\Form\FormEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

use Genemu\Bundle\FormBundle\Geolocation\AddressGeolocation;
use SymfonyHackers\Bundle\FormBundle\Geolocation\AddressGeolocation;

/**
* GeoListener
Expand Down
8 changes: 4 additions & 4 deletions Form/Core/Type/CaptchaType.php
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Form\Core\Type;
namespace SymfonyHackers\Bundle\FormBundle\Form\Core\Type;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\FormView;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;

use Genemu\Bundle\FormBundle\Gd\Type\Captcha;
use Genemu\Bundle\FormBundle\Form\Core\Validator\CaptchaValidator;
use SymfonyHackers\Bundle\FormBundle\Gd\Type\Captcha;
use SymfonyHackers\Bundle\FormBundle\Form\Core\Validator\CaptchaValidator;

/**
* CaptchaType
Expand Down
2 changes: 1 addition & 1 deletion Form/Core/Type/PlainType.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Genemu\Bundle\FormBundle\Form\Core\Type;
namespace SymfonyHackers\Bundle\FormBundle\Form\Core\Type;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormInterface;
Expand Down
4 changes: 2 additions & 2 deletions Form/Core/Type/ReCaptchaType.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Form\Core\Type;
namespace SymfonyHackers\Bundle\FormBundle\Form\Core\Type;

use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\Form\AbstractType;
Expand Down
4 changes: 2 additions & 2 deletions Form/Core/Type/TinymceType.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Form\Core\Type;
namespace SymfonyHackers\Bundle\FormBundle\Form\Core\Type;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormInterface;
Expand Down
6 changes: 3 additions & 3 deletions Form/Core/Validator/CaptchaValidator.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Form\Core\Validator;
namespace SymfonyHackers\Bundle\FormBundle\Form\Core\Validator;

use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\Form\FormEvent;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormEvents;
use Symfony\Component\Form\FormError;

use Genemu\Bundle\FormBundle\Gd\Type\Captcha;
use SymfonyHackers\Bundle\FormBundle\Gd\Type\Captcha;

/**
* CaptchaValidator
Expand Down
4 changes: 2 additions & 2 deletions Form/Core/Validator/ReCaptchaValidator.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Form\Core\Validator;
namespace SymfonyHackers\Bundle\FormBundle\Form\Core\Validator;

use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\Form\FormEvent;
Expand Down
4 changes: 2 additions & 2 deletions Form/Doctrine/ChoiceList/AjaxEntityChoiceList.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Form\Doctrine\ChoiceList;
namespace SymfonyHackers\Bundle\FormBundle\Form\Doctrine\ChoiceList;

use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList;
use Symfony\Component\PropertyAccess\PropertyPath;
Expand Down
6 changes: 3 additions & 3 deletions Form/Doctrine/Type/AjaxDocumentType.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<?php

/*
* This file is part of the GenemuFormBundle package.
* This file is part of the SHFormBundle package.
*
* (c) Olivier Chauvel <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Genemu\Bundle\FormBundle\Form\Doctrine\Type;
namespace SymfonyHackers\Bundle\FormBundle\Form\Doctrine\Type;

use Symfony\Component\Form\AbstractType;
use Doctrine\Common\Persistence\ManagerRegistry;
use Genemu\Bundle\FormBundle\Form\Doctrine\ChoiceList\AjaxEntityChoiceList;
use SymfonyHackers\Bundle\FormBundle\Form\Doctrine\ChoiceList\AjaxEntityChoiceList;
use Symfony\Component\OptionsResolver\Options;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;

Expand Down
Loading

0 comments on commit e1fae05

Please sign in to comment.