YetiForceCompany/YetiForcePDF

View on GitHub
lib/Layout/FontBox.php

Summary

Maintainability
A
0 mins
Test Coverage

The method measureOffset has a boolean flag argument $afterPageDividing, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function measureOffset(bool $afterPageDividing = false)
Severity: Minor
Found in lib/Layout/FontBox.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method measureWidth has a boolean flag argument $afterPageDividing, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function measureWidth(bool $afterPageDividing = false)
Severity: Minor
Found in lib/Layout/FontBox.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method measurePosition has a boolean flag argument $afterPageDividing, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function measurePosition(bool $afterPageDividing = false)
Severity: Minor
Found in lib/Layout/FontBox.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method measureHeight has a boolean flag argument $afterPageDividing, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function measureHeight(bool $afterPageDividing = false)
Severity: Minor
Found in lib/Layout/FontBox.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

Avoid using static access to class '\YetiForcePDF\Objects\Font' in method 'loadFont'.
Open

        Font::addCustomFont($this->fontFamily, $this->fontWeight, $this->fontStyle, $this->fontFile);
Severity: Minor
Found in lib/Layout/FontBox.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

Source https://phpmd.org/rules/cleancode.html#staticaccess

Spaces must be used to indent lines; tabs are not allowed
Open

    protected $forMeasurement = false;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * {@inheritdoc}
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param string $family
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    protected $fontFile = '';
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function measureWidth(bool $afterPageDividing = false)
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * {@inheritdoc}
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return $this
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @var string
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    protected $fontStyle = '';
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function measureOffset(bool $afterPageDividing = false)
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function measurePosition(bool $afterPageDividing = false)
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    protected $renderable = false;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @var bool
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function setFontFamily(string $family)
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    protected $fontFamily = '';
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @var string
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    protected $fontWeight = '';
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @var bool
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Get font family.
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function measureHeight(bool $afterPageDividing = false)
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        $this->fontFamily = $family;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    protected $absolute = true;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * {@inheritdoc}
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Set font family.
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return string
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @var string
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * {@inheritdoc}
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @var string
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * {@inheritdoc}
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param string $fontStyle
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return $this
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function setFontWeight(string $fontWeight)
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        $this->fontWeight = $fontWeight;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getFontFamily()
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getFontStyle(): string
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return $this
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        $this->fontFile = $fontFile;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return string
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return $this
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function loadFont()
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this->fontFamily;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Set font file.
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function setFontFile(string $fontFile)
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param string $fontWeight
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this->fontStyle;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this->fontFile;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getFontWeight(): string
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return $this
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param string $fontFile
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return string
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this->fontWeight;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Set font style.
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return string
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getFontFile(): string
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Load font.
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        Font::addCustomFont($this->fontFamily, $this->fontWeight, $this->fontStyle, $this->fontFile);
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Get font weight.
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Set font weight.
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Get font style.
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function setFontStyle(string $fontStyle)
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Get font file.
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        $this->fontStyle = $fontStyle;
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in lib/Layout/FontBox.php by phpcodesniffer

There are no issues that match your filters.

Category
Status