Skip to content

Commit

Permalink
Enabled authoritative classmap
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Apr 29, 2024
1 parent d5fc733 commit 6fb5cad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"classmap-authoritative": true
},
"require": {
"php": "^5.6 || ^7.0 || ^8.0",
Expand Down
5 changes: 1 addition & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ gulp.task(
gulp.task(
'build:deps:composer:autoloader',
gulp.series(
shell.task(
'composer dump-autoload --no-dev' +
(process.env.NODE_ENV === 'production' ? ' -o' : '')
),
shell.task('composer dump-autoload --no-dev'),
() =>
gulp
.src(['vendor/composer/autoload_static.php'])
Expand Down

0 comments on commit 6fb5cad

Please sign in to comment.