Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

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: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
LOCK_DSN=flock
###< symfony/lock ###

# Select default language (en, ru, bg, nl)
# Select default language (en, ru, bg, nl, hu)
LANGUAGE_CODE=en
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: Rector
if: always() && steps.install.outcome == 'success'
run: vendor/bin/rector process src --clear-cache --dry-run
run: vendor/bin/rector process

- name: Lint YAML files
if: always() && steps.install.outcome == 'success'
Expand Down
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"doctrine/doctrine-fixtures-bundle": "^3.5",
"friendsofphp/php-cs-fixer": "^3.42",
"phpunit/phpunit": "^9.6",
"rector/rector": "^0.19",
"rector/rector": "^1.0",
"symfony/browser-kit": "^7.0",
"symfony/css-selector": "^7.0",
"symfony/debug-bundle": "^7.0",
Expand Down Expand Up @@ -108,6 +108,12 @@
"symfony/polyfill-php80": "*"
},
"scripts": {
"php-cs-fixer": "php-cs-fixer fix",
"lint": [
"@php-cs-fixer",
"phpstan analyse",
"rector process"
],
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
Expand Down
Loading