Skip to content

Commit b610dc9

Browse files
committed
bug #624 Fix some minor configuration issues (yceruto)
This PR was squashed before being merged into the master branch (closes #624). Discussion ---------- Fix some minor configuration issues * Use `public` instead of `web` as assets output path * Exclude public/build from CS Fixer * Fix comment indent Commits ------- 9130656 Fix some minor configuration issues
2 parents 4af9be7 + 9130656 commit b610dc9

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.php_cs.dist

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ $finder = PhpCsFixer\Finder::create()
1414
->exclude('config')
1515
->exclude('var')
1616
->exclude('public/bundles')
17-
->exclude('public/css')
18-
->exclude('public/fonts')
19-
->exclude('public/js')
17+
->exclude('public/build')
2018
;
2119

2220
return PhpCsFixer\Config::create()

config/services.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ services:
3232
public: true
3333
tags: ['controller.service_arguments']
3434

35-
# Autowiring can't guess the constructor arguments that are not type-hinted with
35+
# Autowiring can't guess the constructor arguments that are not type-hinted with
3636
# classes (e.g. container parameters) so you must define those arguments explicitly
3737
App\Command\ListUsersCommand:
3838
$emailSender: '%app.notifications.email_sender%'

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var Encore = require('@symfony/webpack-encore');
22

33
Encore
4-
.setOutputPath('web/build/')
4+
.setOutputPath('public/build/')
55
.setPublicPath('/build')
66
.cleanupOutputBeforeBuild()
77
.autoProvidejQuery()

0 commit comments

Comments
 (0)