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

Removes deprecated rules #45

Open
wants to merge 3 commits into
base: 1.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
strategy:
matrix:
php-version:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "8.1"
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
Changelog
---------
## [0.5.3] - 2023-02-02
- Removes deprecated rules no_trailing_comma_in_list_call, no_trailing_comma_in_singleline_array
- Adds rule no_trailing_comma_in_singleline
- Bumped minimum required PHP version to 7.4
- Bumped minimum php-cs-fixer to 3.11
- Bumped minimum phpunit version to 9.5.26
Comment on lines +6 to +8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this an already released version?


## [0.5.2] - 2022-05-02
- Allow Symfony 6
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
"cs-fix": "php-cs-fixer fix --diff --allow-risky yes"
},
"require": {
"php": "^7.2 || ^8.0",
"php": "^7.4 || ^8.0",
"ext-json": "*",
"composer-plugin-api": "^1.1 || ^2.0",
"friendsofphp/php-cs-fixer": "^3.0",
"friendsofphp/php-cs-fixer": "^3.11",
"symfony/console": "^4.0 || ^5.0 || ^6.0"
},
"require-dev": {
"composer/composer": "^1.3.2 || ^2.0",
"composer/semver": "^3.0",
"mikey179/vfsstream": "^1.6.8",
"phpspec/prophecy": "^1.10",
"phpunit/phpunit": "^8.5.21",
"phpunit/phpunit": "^9.5.28",
"vimeo/psalm": "^4.9"
},
"autoload": {
Expand Down
3 changes: 1 addition & 2 deletions src/Rules/DefaultRulesProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ final class DefaultRulesProvider implements RulesProviderInterface
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_spaces_around_offset' => true,
'no_trailing_comma_in_list_call' => true,
'no_trailing_comma_in_singleline_array' => true,
'no_trailing_comma_in_singleline' => true,
'no_unneeded_control_parentheses' => true,
'no_unused_imports' => true,
'no_whitespace_before_comma_in_array' => true,
Expand Down