Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
Legend: ?-unknown, I-invalid file syntax, file ignored, .-no changes, F-fixed, E-error
   1) Tests/Generator/AdminGeneratorTest.php (phpdoc_inline_tag)
   2) Tests/Generator/ControllerGeneratorTest.php (phpdoc_inline_tag)
   3) Tests/Manipulator/ServicesManipulatorTest.php (phpdoc_inline_tag)
   4) Tests/Controller/HelperControllerTest.php (phpdoc_inline_tag)
   5) Tests/Controller/CRUDControllerTest.php (phpdoc_inline_tag)
   6) Route/AdminPoolLoader.php (phpdoc_inline_tag)
   7) Admin/BaseFieldDescription.php (phpdoc_inline_tag)
   8) Admin/FieldDescriptionCollection.php (phpdoc_inline_tag)
   9) SonataAdminBundle.php (phpdoc_inline_tag)
  10) Form/DataTransformer/ModelToIdTransformer.php (phpdoc_inline_tag)
  11) Form/DataTransformer/ModelToIdPropertyTransformer.php (phpdoc_inline_tag)
  12) Form/DataTransformer/ModelsToArrayTransformer.php (phpdoc_inline_tag)
  13) Form/EventListener/MergeCollectionListener.php (phpdoc_inline_tag)
  14) Form/Type/ModelTypeList.php (phpdoc_inline_tag)
  15) Form/Type/ModelHiddenType.php (phpdoc_inline_tag)
  16) Form/Type/AdminType.php (phpdoc_inline_tag)
  17) Form/Type/Filter/DateTimeRangeType.php (phpdoc_inline_tag)
  18) Form/Type/Filter/DefaultType.php (phpdoc_inline_tag)
  19) Form/Type/Filter/DateRangeType.php (phpdoc_inline_tag)
  20) Form/Type/Filter/DateTimeType.php (phpdoc_inline_tag)
  21) Form/Type/Filter/ChoiceType.php (phpdoc_inline_tag)
  22) Form/Type/Filter/DateType.php (phpdoc_inline_tag)
  23) Form/Type/Filter/NumberType.php (phpdoc_inline_tag)
  24) Form/Type/ModelType.php (phpdoc_inline_tag)
  25) Form/Type/ModelReferenceType.php (phpdoc_inline_tag)
  26) Form/Type/ModelAutocompleteType.php (phpdoc_inline_tag)
  27) Form/Type/CollectionType.php (phpdoc_inline_tag)
  28) Form/Extension/Field/Type/FormTypeFieldExtension.php (single_quote)
  29) Command/CreateClassCacheCommand.php (phpdoc_inline_tag)
  30) Command/GenerateObjectAclCommand.php (phpdoc_inline_tag)
  31) Command/ListAdminCommand.php (phpdoc_inline_tag)
  32) Command/ExplainAdminCommand.php (phpdoc_inline_tag)
  33) Command/GenerateAdminCommand.php (phpdoc_inline_tag)
  34) Command/SetupAclCommand.php (phpdoc_inline_tag)
  35) DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php (phpdoc_inline_tag)
  36) DependencyInjection/Compiler/ExtensionCompilerPass.php (phpdoc_inline_tag)
  37) DependencyInjection/SonataAdminExtension.php (phpdoc_inline_tag)
  38) Security/Acl/Permission/MaskBuilder.php (phpdoc_inline_tag)
  39) Security/Acl/Permission/AdminPermissionMap.php (phpdoc_inline_tag)
  40) Security/Handler/RoleSecurityHandler.php (phpdoc_inline_tag)
  41) Security/Handler/NoopSecurityHandler.php (phpdoc_inline_tag)
  42) Security/Handler/AclSecurityHandler.php (phpdoc_inline_tag)
  43) Translator/UnderscoreLabelTranslatorStrategy.php (phpdoc_inline_tag)
  44) Translator/NativeLabelTranslatorStrategy.php (phpdoc_inline_tag)
  45) Translator/BCLabelTranslatorStrategy.php (phpdoc_inline_tag)
  46) Translator/NoopLabelTranslatorStrategy.php (phpdoc_inline_tag)
  47) Translator/Extractor/JMSTranslatorBundle/AdminExtractor.php (phpdoc_inline_tag)
  48) Translator/FormLabelTranslatorStrategy.php (phpdoc_inline_tag)
  49) Util/FormBuilderIterator.php (phpdoc_inline_tag)
  50) Util/FormViewIterator.php (phpdoc_inline_tag)
  51) Util/AdminAclManipulator.php (phpdoc_inline_tag)
  52) Filter/Filter.php (phpdoc_inline_tag)
  53) Validator/Constraints/InlineConstraint.php (phpdoc_inline_tag)
  54) Validator/InlineValidator.php (phpdoc_inline_tag)
  55) Twig/Extension/SonataAdminExtension.php (phpdoc_inline_tag)
  56) Guesser/TypeGuesserChain.php (phpdoc_inline_tag)
  • Loading branch information
soullivaneuh committed Jul 28, 2015
1 parent a037a23 commit 4e8dd31
Show file tree
Hide file tree
Showing 56 changed files with 156 additions and 156 deletions.
2 changes: 1 addition & 1 deletion Admin/BaseFieldDescription.php
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ public function getSortParentAssociationMapping()
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function getTranslationDomain()
{
Expand Down
10 changes: 5 additions & 5 deletions Admin/FieldDescriptionCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,39 +68,39 @@ public function remove($name)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function offsetExists($offset)
{
return $this->has($offset);
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function offsetGet($offset)
{
return $this->get($offset);
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function offsetSet($offset, $value)
{
throw new \RunTimeException('Cannot set value, use add');
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function offsetUnset($offset)
{
$this->remove($offset);
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function count()
{
Expand Down
4 changes: 2 additions & 2 deletions Command/CreateClassCacheCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class CreateClassCacheCommand extends ContainerAwareCommand
{
/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function configure()
{
Expand All @@ -28,7 +28,7 @@ public function configure()
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function execute(InputInterface $input, OutputInterface $output)
{
Expand Down
4 changes: 2 additions & 2 deletions Command/ExplainAdminCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class ExplainAdminCommand extends ContainerAwareCommand
{
/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function configure()
{
Expand All @@ -30,7 +30,7 @@ public function configure()
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function execute(InputInterface $input, OutputInterface $output)
{
Expand Down
6 changes: 3 additions & 3 deletions Command/GenerateAdminCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class GenerateAdminCommand extends ContainerAwareCommand
private $managerTypes;

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function configure()
{
Expand All @@ -57,7 +57,7 @@ public function configure()
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
Expand Down Expand Up @@ -127,7 +127,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
protected function interact(InputInterface $input, OutputInterface $output)
{
Expand Down
4 changes: 2 additions & 2 deletions Command/GenerateObjectAclCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class GenerateObjectAclCommand extends ContainerAwareCommand
protected $userEntityClass = '';

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function configure()
{
Expand All @@ -40,7 +40,7 @@ public function configure()
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function execute(InputInterface $input, OutputInterface $output)
{
Expand Down
4 changes: 2 additions & 2 deletions Command/ListAdminCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class ListAdminCommand extends ContainerAwareCommand
{
/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function configure()
{
Expand All @@ -27,7 +27,7 @@ public function configure()
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function execute(InputInterface $input, OutputInterface $output)
{
Expand Down
4 changes: 2 additions & 2 deletions Command/SetupAclCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class SetupAclCommand extends ContainerAwareCommand
{
/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function configure()
{
Expand All @@ -28,7 +28,7 @@ public function configure()
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function execute(InputInterface $input, OutputInterface $output)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
class AddDependencyCallsCompilerPass implements CompilerPassInterface
{
/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function process(ContainerBuilder $container)
{
Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/Compiler/ExtensionCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class ExtensionCompilerPass implements CompilerPassInterface
{
/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function process(ContainerBuilder $container)
{
Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/SonataAdminExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public function configureClassesToCompile()
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function getNamespace()
{
Expand Down
2 changes: 1 addition & 1 deletion Filter/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public function getCondition()
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function getTranslationDomain()
{
Expand Down
4 changes: 2 additions & 2 deletions Form/DataTransformer/ModelToIdPropertyTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __construct(ModelManagerInterface $modelManager, $className, $pr
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function reverseTransform($value)
{
Expand All @@ -74,7 +74,7 @@ public function reverseTransform($value)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function transform($entityOrCollection)
{
Expand Down
4 changes: 2 additions & 2 deletions Form/DataTransformer/ModelToIdTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct(ModelManagerInterface $modelManager, $className)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function reverseTransform($newId)
{
Expand All @@ -46,7 +46,7 @@ public function reverseTransform($newId)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function transform($entity)
{
Expand Down
4 changes: 2 additions & 2 deletions Form/DataTransformer/ModelsToArrayTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function __construct($choiceList)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function transform($collection)
{
Expand Down Expand Up @@ -68,7 +68,7 @@ public function transform($collection)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function reverseTransform($keys)
{
Expand Down
2 changes: 1 addition & 1 deletion Form/EventListener/MergeCollectionListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function __construct(ModelManagerInterface $modelManager)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public static function getSubscribedEvents()
{
Expand Down
2 changes: 1 addition & 1 deletion Form/Extension/Field/Type/FormTypeFieldExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function buildView(FormView $view, FormInterface $form, array $options)
$block_prefixes = $view->vars['block_prefixes'];
$baseName = str_replace('.', '_', $sonataAdmin['admin']->getCode());
$baseType = $block_prefixes[count($block_prefixes) - 2];
$blockSuffix = preg_replace('#^_([a-z0-9]{14})_(.++)$#', "\$2", array_pop($block_prefixes));
$blockSuffix = preg_replace('#^_([a-z0-9]{14})_(.++)$#', '$2', array_pop($block_prefixes));

$block_prefixes[] = sprintf('%s_%s', $baseName, $baseType);
$block_prefixes[] = sprintf('%s_%s_%s', $baseName, $sonataAdmin['name'], $baseType);
Expand Down
6 changes: 3 additions & 3 deletions Form/Type/AdminType.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class AdminType extends AbstractType
{
/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
Expand Down Expand Up @@ -59,7 +59,7 @@ public function buildView(FormView $view, FormInterface $form, array $options)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
Expand Down Expand Up @@ -109,7 +109,7 @@ protected function getAdmin(array $options)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function getName()
{
Expand Down
4 changes: 2 additions & 2 deletions Form/Type/CollectionType.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
class CollectionType extends AbstractType
{
/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function getParent()
{
return 'collection';
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function getName()
{
Expand Down
6 changes: 3 additions & 3 deletions Form/Type/Filter/ChoiceType.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ public function __construct(TranslatorInterface $translator)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function getName()
{
return 'sonata_type_filter_choice';
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
Expand All @@ -60,7 +60,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
Expand Down
6 changes: 3 additions & 3 deletions Form/Type/Filter/DateRangeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ public function __construct(TranslatorInterface $translator)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function getName()
{
return 'sonata_type_filter_date_range';
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
Expand All @@ -56,7 +56,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
Expand Down
Loading

0 comments on commit 4e8dd31

Please sign in to comment.