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

Update php cs fixer 3 #83

Merged
merged 2 commits into from
May 21, 2021
Merged
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
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
/vendor/
.phpunit.result.cache
/var/
.php_cs.cache
/tests/cache/blog.sqlite
.php-cs-fixer.cache
/tests/cache/blog.sqlite
File renamed without changes.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"require-dev": {
"doctrine/doctrine-bundle": "^2.3",
"friendsofphp/php-cs-fixer": "^2.18",
"friendsofphp/php-cs-fixer": "^3.0",
"jms/serializer-bundle": "^3.0",
"nyholm/psr7": "^1.3",
"phpunit/phpunit": "^9.5",
Expand All @@ -52,7 +52,7 @@
},
"scripts": {
"test:unit": "phpunit --colors=always --verbose",
"lint:check": "php-cs-fixer fix -v --config=.php_cs.dist --using-cache=no --dry-run",
"lint:fix": "php-cs-fixer fix -v --config=.php_cs.dist --using-cache=no"
"lint:check": "php-cs-fixer fix -v --using-cache=no --dry-run",
"lint:fix": "php-cs-fixer fix -v --using-cache=no"
}
}
2 changes: 1 addition & 1 deletion src/MeiliSearchBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
*/
final class MeiliSearchBundle extends Bundle
{
const VERSION = '0.2.6';
public const VERSION = '0.2.6';
}
4 changes: 2 additions & 2 deletions src/Searchable.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
*/
final class Searchable
{
const NORMALIZATION_FORMAT = 'searchableArray';
const NORMALIZATION_GROUP = 'searchable';
public const NORMALIZATION_FORMAT = 'searchableArray';
public const NORMALIZATION_GROUP = 'searchable';
}
2 changes: 1 addition & 1 deletion tests/TestCase/SettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
class SettingsTest extends BaseTest
{
const DEFAULT_RANKING_RULES
public const DEFAULT_RANKING_RULES
= [
'typo',
'words',
Expand Down