Skip to content

Commit

Permalink
Update lint scripts to use the ones from data-hub-foundation [API-397]
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiltri committed Sep 28, 2023
1 parent cfa37e9 commit f3fbad0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,12 @@
"php artisan key:generate --ansi"
],
"lint": [
"php-cs-fixer fix --diff --config vendor/aic/data-hub-foundation/.php-cs-fixer.dist.php",
"DIR='vendor/aic/data-hub-foundation' && [ -L ${DIR} ] && [ -d ${DIR} ] && cd ${DIR} && php-cs-fixer fix --diff --config .php-cs-fixer.dist.php || true"
"@putenv COMPOSER=vendor/aic/data-hub-foundation/composer.json",
"@composer lint"
],
"format": [
"@putenv COMPOSER=vendor/aic/data-hub-foundation/composer.json",
"@composer format"
],
"foundation": [
"php vendor/aic/data-hub-foundation/composer-dev.php",
Expand Down

0 comments on commit f3fbad0

Please sign in to comment.