Skip to content

Commit

Permalink
Remove Composer bin plugin setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Jun 7, 2024
1 parent 48d19fb commit 0b55f84
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 2,259 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
/phpstan.neon.dist export-ignore
/phpunit.xml.dist export-ignore
/psalm.xml.dist export-ignore
/vendor-bin/ export-ignore
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
/composer.lock
/vendor/

# Composer bin plugin
/vendor-bin/**/vendor

# Eclipse
/.buildpath
/.project
Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true,
"automattic/jetpack-autoloader": true
"automattic/jetpack-autoloader": true,
"phpstan/extension-installer": true
}
},
"require": {
Expand All @@ -45,9 +46,13 @@
"require-dev": {
"php-coveralls/php-coveralls": "^2.7",
"phpmd/phpmd": "^2.15",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^1.11",
"pronamic/pronamic-cli": "^1.1",
"pronamic/wp-coding-standards": "^2.2",
"roots/wordpress": "^6.4",
"szepeviktor/phpstan-wordpress": "^1.3",
"vimeo/psalm": "^0.3.14",
"wp-phpunit/wp-phpunit": "^6.4",
"yoast/phpunit-polyfills": "^2.0"
},
Expand All @@ -59,8 +64,6 @@
"phpmd": "vendor/bin/phpmd src,tests text phpmd.ruleset.xml --suffixes php",
"phpstan": "vendor/bin/phpstan analyse --memory-limit=-1",
"phpunit": "vendor/bin/phpunit",
"post-install-cmd": "echo 'Optionally run: composer bin all install'",
"post-update-cmd": "echo 'Optionally run: composer bin all update'",
"psalm": "vendor/bin/psalm"
}
}
2 changes: 0 additions & 2 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
includes:
- vendor-bin/phpstan/vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
customRulesetUsed: false
level: max
Expand Down
6 changes: 0 additions & 6 deletions vendor-bin/phpstan/composer.json

This file was deleted.

266 changes: 0 additions & 266 deletions vendor-bin/phpstan/composer.lock

This file was deleted.

5 changes: 0 additions & 5 deletions vendor-bin/psalm/composer.json

This file was deleted.

Loading

0 comments on commit 0b55f84

Please sign in to comment.