Skip to content

Header blocks must be separated by a single blank line #3967

@4d4ch4u32

Description

@4d4ch4u32

Code:

<?php

declare(strict_types=1);

namespace App\Tests\UnitTests\Service;

use App\Entity\Calendar;
use App\Factory\ClientFactory;
use App\Service\CalDavService;
use PHPUnit\Framework\Attributes\AllowMockObjectsWithoutExpectations;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
use Sabre\DAV\Client;
use Spatie\Snapshots\MatchesSnapshots;
use function Safe\file_get_contents;

#[AllowMockObjectsWithoutExpectations]
class CalDavServiceTest extends TestCase

Error:

-----------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------
 14 | ERROR | [x] Header blocks must be separated by a single blank line (PSR12.Files.FileHeader.SpacingAfterUseBlock)

Auto-Fix fails.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions