Skip to content

Commit

Permalink
enhanced config
Browse files Browse the repository at this point in the history
  • Loading branch information
pmdevelopment committed Jun 18, 2024
1 parent 9bb7e30 commit 787fb95
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:
sudo -u www-data php /var/www/wirhub/bin/console doctrine:database:create
sudo -u www-data mkdir /var/www/wirhub/var/cache/test/sessions
- name: Update folder permissions
run: |
sudo chmod -R 777 /var/www/wirhub
- name: PHP-CS-Fixer
uses: docker://ghcr.io/php-cs-fixer/php-cs-fixer:3-php8.2
with:
args: check /var/www/wirhub

- name: Update folder permissions
run: |
sudo chmod -R 777 /var/www/wirhub
- name: Finish webserver
run: |
sudo rm /etc/apache2/sites-available/000-default.conf
Expand Down
8 changes: 7 additions & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,11 @@
return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
'global_namespace_import' => [
'import_classes' => true,
'import_constants' => true,
'import_functions' => true,
],
])
->setFinder($finder);
->setFinder($finder)
->setLineEnding("\n");

0 comments on commit 787fb95

Please sign in to comment.