Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
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
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,4 @@ SQLRUNNER_URL=http://sqlrunner.app-sf.orb.local:8080

# Email
[email protected]
[email protected]
2 changes: 2 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
- name: Install dependencies
run: |
devenv shell composer -- install --prefer-dist --no-progress
devenv shell composer -- -d tools/php-cs-fixer install
devenv shell composer -- -d tools/twig-cs-fixer install
devenv shell pnpm install

- name: Lint PHP files
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ phpstan.neon

# node_modules
node_modules/
.pnpm-store/
.pnpm-store/
###> php-cs-fixer/shim ###
/.php-cs-fixer.php
/.php-cs-fixer.cache
###< php-cs-fixer/shim ###
2 changes: 1 addition & 1 deletion .idea/app-sf.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 4 additions & 11 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
return (new PhpCsFixer\Config())
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
->setRules([
'@PER-CS' => true,
'@PER-CS:risky' => true,
'@PHP82Migration' => true,
'@PHP80Migration:risky' => true,
'@Symfony' => true,
'@Symfony:risky' => true,
'@PHP83Migration' => true,
'@PHP82Migration:risky' => true,
'@PHPUnit100Migration:risky' => true,
'@PhpCsFixer' => true,
'@PhpCsFixer:risky' => true,
'no_unused_imports' => true,
])
->setFinder($finder)
Expand Down
6 changes: 6 additions & 0 deletions .phpactor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"language_server_phpstan.enabled": true,
"symfony.enabled": true,
"language_server_php_cs_fixer.enabled": true,
"phpunit.enabled": true
}
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
"pnpm typecheck",
"pnpm lint",
"pnpm format",
"php-cs-fixer fix --config .php-cs-fixer.dist.php",
"twig-cs-fixer lint --fix templates",
"tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --config .php-cs-fixer.dist.php",
"tools/twig-cs-fixer/vendor/bin/twig-cs-fixer lint --fix templates",
"phpstan analyse",
"hadolint Dockerfile*"
],
Expand All @@ -133,7 +133,6 @@
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "dev-master",
"phpstan/extension-installer": "1.4.x-dev",
"phpstan/phpstan": "2.0.x-dev",
"phpstan/phpstan-doctrine": "2.0.x-dev",
Expand Down
Loading
Loading