Showing 213 of 213 total issues
The variable $unused_fields is not named in camelCase. Open
public function preSubmit(FormEvent $event): void
{
$data = $event->getData();
if (!is_array($data) || !array_key_exists('countryCode', $data)) {
return;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $property_mapping is not named in camelCase. Open
public static function getPropertyName($field) {
$property_mapping = [
AddressField::ADMINISTRATIVE_AREA => 'administrative_area',
AddressField::LOCALITY => 'locality',
AddressField::DEPENDENT_LOCALITY => 'dependent_locality',
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $property_mapping is not named in camelCase. Open
public static function getPropertyName($field) {
$property_mapping = [
AddressField::ADMINISTRATIVE_AREA => 'administrative_area',
AddressField::LOCALITY => 'locality',
AddressField::DEPENDENT_LOCALITY => 'dependent_locality',
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $element_options is not named in camelCase. Open
public function preSetData(FormEvent $event): void
{
/** @var AddressEmbeddable $address */
$address = $event->getData();
$form = $event->getForm();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $property_mapping is not named in camelCase. Open
public static function getPropertyName($field) {
$property_mapping = [
AddressField::ADMINISTRATIVE_AREA => 'administrative_area',
AddressField::LOCALITY => 'locality',
AddressField::DEPENDENT_LOCALITY => 'dependent_locality',
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $unused_fields is not named in camelCase. Open
public function preSetData(FormEvent $event): void
{
/** @var AddressEmbeddable $address */
$address = $event->getData();
$form = $event->getForm();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $unused_fields is not named in camelCase. Open
public function preSetData(FormEvent $event): void
{
/** @var AddressEmbeddable $address */
$address = $event->getData();
$form = $event->getForm();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $line_fields is not named in camelCase. Open
public function preSetData(FormEvent $event): void
{
/** @var AddressEmbeddable $address */
$address = $event->getData();
$form = $event->getForm();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $line_fields is not named in camelCase. Open
public function preSubmit(FormEvent $event): void
{
$data = $event->getData();
if (!is_array($data) || !array_key_exists('countryCode', $data)) {
return;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $field_index is not named in camelCase. Open
public function preSubmit(FormEvent $event): void
{
$data = $event->getData();
if (!is_array($data) || !array_key_exists('countryCode', $data)) {
return;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $element_options is not named in camelCase. Open
public function preSetData(FormEvent $event): void
{
/** @var AddressEmbeddable $address */
$address = $event->getData();
$form = $event->getForm();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $address_default is not named in camelCase. Open
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('addressAutocomplete', TextType::class, [
'mapped' => false,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
TODO found Open
TODO: Explain why this mapping is needed.
- Exclude checks