Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use PHP native Attributes wherever possible #1171

Open
lukaszuznanski opened this issue Feb 19, 2024 · 1 comment
Open

Use PHP native Attributes wherever possible #1171

lukaszuznanski opened this issue Feb 19, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@lukaszuznanski
Copy link
Contributor

Use PHP native Attributes wherever possible along Services.php

@oliverklee
Copy link
Contributor

For PHPUnit, this is the rector.php (from https://forge.typo3.org/issues/103180):

<?php

declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\PHPUnit\Set\PHPUnitSetList;

return RectorConfig::configure()
    ->withSets([
        PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES,
    ])
    ->withImportNames(importShortClasses: false)
    ->withoutParallel();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants