daften/addressing-bundle

View on GitHub

Showing 213 of 213 total issues

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      AddressField::LOCALITY => 'locality',
Severity: Minor
Found in FieldHelper.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      AddressField::FAMILY_NAME => 'family_name',
Severity: Minor
Found in FieldHelper.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    $this->fieldOverrides = new FieldOverrides($fieldOverrides);

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      AddressField::ADDRESS_LINE2 => 'address_line2',
Severity: Minor
Found in FieldHelper.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    return isset($property_mapping[$field]) ? $property_mapping[$field] : NULL;
Severity: Minor
Found in FieldHelper.php by phpcodesniffer

Expected 1 space after closing brace; newline found
Open

        }

Opening brace should be on a new line
Open

    protected function getValuesForDefault(AddressEmbeddable $addressEmbeddable, AddressFormat $address_format) {

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      AddressField::SORTING_CODE => 'sorting_code',
Severity: Minor
Found in FieldHelper.php by phpcodesniffer

Line indented incorrectly; expected at least 4 spaces, found 2
Open

  {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    parent::__construct($options);

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      AddressField::DEPENDENT_LOCALITY => 'dependent_locality',
Severity: Minor
Found in FieldHelper.php by phpcodesniffer

Line indented incorrectly; expected at least 4 spaces, found 2
Open

  {

Line indented incorrectly; expected 4 spaces, found 2
Open

  }

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      AddressField::ADDITIONAL_NAME => 'additional_name',
Severity: Minor
Found in FieldHelper.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  public function getTargets(): array|string

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    return self::PROPERTY_CONSTRAINT;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    ];
Severity: Minor
Found in FieldHelper.php by phpcodesniffer

Opening brace should be on a new line
Open

    protected function getValuesForPlain(AddressEmbeddable $addressEmbeddable, AddressFormat $address_format) {

Line indented incorrectly; expected 4 spaces, found 2
Open

  public static function getPropertyName($field) {
Severity: Minor
Found in FieldHelper.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      AddressField::ORGANIZATION => 'organization',
Severity: Minor
Found in FieldHelper.php by phpcodesniffer
Severity
Category
Status
Source
Language