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

#103 - purging doc blocks option for no comment fixer #116

Merged
merged 5 commits into from
Apr 3, 2024

Conversation

kamilpiech97
Copy link
Member

Added option for purging doc blocks in NoComment fixer. That option is set to false as default but purge mode has true value.

Before:

<?php

declare(strict_types=1);

use Illuminate\Support\Str;

/**
 * This is configuration file for Laravel application.
 * @see https://laravel.com/docs/11.x/database
 */
return [
    "default" => env("DB_CONNECTION", "mysql"),
]

After:

<?php

declare(strict_types=1);

use Illuminate\Support\Str;

return [
    "default" => env("DB_CONNECTION", "mysql"),
]

krzysztofrewak
krzysztofrewak previously approved these changes Apr 2, 2024
tests/codestyle/PurgeWithoutDocCommentsTest.php Outdated Show resolved Hide resolved
@kamilpiech97 kamilpiech97 requested a review from jsawo April 3, 2024 09:35
@kamilpiech97 kamilpiech97 merged commit 17d9dcc into main Apr 3, 2024
3 checks passed
@kamilpiech97 kamilpiech97 deleted the #103-no-comments-fixer branch April 3, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants