Showing 288 of 288 total issues

Line exceeds 120 characters; contains 131 characters
Open

    public function onHookDynamicShort(string $spot, \Closure $getFxThisFx, \Closure $fx, array $args = [], int $priority = 5): int
Severity: Minor
Found in src/HookTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 166 characters
Open

                foreach (array_keys(array_intersect_key(array_diff_key(get_object_vars($this), get_class_vars(BaseTestCase::class)), get_class_vars($class))) as $k) {
Severity: Minor
Found in src/Phpunit/TestCase.php by phpcodesniffer

Line exceeds 120 characters; contains 122 characters
Open

            public function shorten(?object $app, string $ownerName, string $itemShortName, ?string $origItemName): string
Severity: Minor
Found in src/CollectionTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 164 characters
Open

            $val = '<span style="white-space: pre-wrap;">' . preg_replace('~(?<=\n)( +)~', '$1$1', $this->encodeHtml(static::toSafeString($val, true))) . '</span>';

Line exceeds 120 characters; contains 121 characters
Open

    /** @var array<string, array<int, array<int<0, max>, array{\Closure, list<mixed>}>>> Configured hooks (callbacks). */
Severity: Minor
Found in src/HookTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 121 characters
Open

     * @param ($priorityIsIndex is true ? int<0, max> : int|null) $priority        filter specific priority, null for all
Severity: Minor
Found in src/HookTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 201 characters
Open

        // based on https://github.com/sebastianbergmann/phpunit/blob/9.5.21/src/Framework/TestResult.php#L830 https://github.com/sebastianbergmann/phpunit/blob/10.4.2/src/Framework/TestRunner.php#L154
Severity: Minor
Found in src/Phpunit/TestCase.php by phpcodesniffer

Line exceeds 120 characters; contains 151 characters
Open

        return $collectionTraitHelper->shorten(TraitUtil::hasAppScopeTrait($this) ? $this->getApp() : null, $ownerName, $itemShortName, $origItemName);
Severity: Minor
Found in src/CollectionTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 209 characters
Open

                    $linesToBeCovered = self::isPhpunit9x() ? TestUtil::getLinesToBeCovered(static::class, $this->getName(false)) : (new CodeCoverageMetadata())->linesToBeCovered(static::class, $this->name());
Severity: Minor
Found in src/Phpunit/TestCase.php by phpcodesniffer

Line exceeds 120 characters; contains 130 characters
Open

    protected function _shortenMl(string $ownerName, string $collectionName, string $itemShortName, ?string $origItemName): string
Severity: Minor
Found in src/CollectionTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 121 characters
Open

        if (TraitUtil::hasTrackableTrait($this) && TraitUtil::hasNameTrait($this) && TraitUtil::hasNameTrait($element)) {
Severity: Minor
Found in src/ContainerTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

            if (!TraitUtil::hasAppScopeTrait($this) || !$this->issetApp() || !$this->getApp()->logger instanceof LoggerInterface) {
Severity: Minor
Found in src/DebugTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 129 characters
Open

                throw (new Exception('Property injection is possible only to objects that use Atk4\Core\DiContainerTrait trait'))
Severity: Minor
Found in src/Factory.php by phpcodesniffer

Line exceeds 120 characters; contains 139 characters
Open

            $providerClassRefl = new \ReflectionClass(self::isPhpunit9x() ? $metadataDataProvider[0] : $metadataDataProvider->className());
Severity: Minor
Found in src/Phpunit/TestCase.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

            $metadataDataProviders = MetadataRegistry::parser()->forClassAndMethod(static::class, $this->name())->isDataProvider();
Severity: Minor
Found in src/Phpunit/TestCase.php by phpcodesniffer

Line exceeds 120 characters; contains 169 characters
Open

            $coverage = self::isPhpunit9x() ? $this->getTestResultObject()->getCodeCoverage() : (CodeCoverage::instance()->isActive() ? CodeCoverage::instance() : null);
Severity: Minor
Found in src/Phpunit/TestCase.php by phpcodesniffer

Line exceeds 120 characters; contains 128 characters
Open

    public function __construct(\Throwable $exception, ?ITranslatorAdapter $adapter = null, ?\Throwable $parentException = null)

Line exceeds 120 characters; contains 121 characters
Open

     * @return array<int<0, max>, mixed>|mixed Array of responses indexed by hook indexes or value specified to breakHook
Severity: Minor
Found in src/HookTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

        if (!is_array($seed) && !is_object($seed)) { // @phpstan-ignore function.alreadyNarrowedType, booleanAnd.alwaysFalse
Severity: Minor
Found in src/Factory.php by phpcodesniffer

Line exceeds 120 characters; contains 128 characters
Open

                        if (get_class($fxThis) === static::class || preg_match('~^Atk4\\\(?:Core|Data)~', get_class($fxThis))) {
Severity: Minor
Found in src/HookTrait.php by phpcodesniffer
Severity
Category
Status
Source
Language