Skip to content

Commit

Permalink
Exclude vipwpcs from classmap
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Feb 27, 2025
1 parent 912d37e commit cbf4ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"test": "phpunit",
"prefix-dependencies": [
"vendor-bin/php-scoper/vendor/bin/php-scoper add-prefix --output-dir=./vendor-prefixed --force --quiet",
"echo '{ \"autoload\": { \"classmap\": [\"\"], \"exclude-from-classmap\": [\"vendor\\/squizlabs//\"] } }' > ./vendor-prefixed/composer.json",
"echo '{ \"autoload\": { \"classmap\": [\"\"], \"exclude-from-classmap\": [\"vendor\\/squizlabs//\", \"vendor\\/automattic//\"] } }' > ./vendor-prefixed/composer.json",
"@composer dump-autoload --working-dir ./vendor-prefixed --no-dev --classmap-authoritative",
"sed -i'.bak' -e 's/Composer\\\\Autoload/Plugin_Check_Composer\\\\Autoload/' vendor-prefixed/vendor/composer/*.php",
"rm -rf vendor-prefixed/vendor/composer/*.php.bak",
Expand Down

0 comments on commit cbf4ff2

Please sign in to comment.