Skip to content

Commit

Permalink
Move PHPStan and Psalm from vendor-bin directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed May 29, 2024
1 parent af59d9c commit 900dd94
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 2,359 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@
/phpunit.xml.dist export-ignore
/psalm.xml.dist export-ignore
/tests/ 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

# WordPress
/wordpress/

Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,12 @@
"overtrue/phplint": "^4.5",
"php-coveralls/php-coveralls": "^2.5",
"phpmd/phpmd": "^2.13",
"phpstan/phpstan": "^1.11",
"pronamic/pronamic-cli": "^1.1",
"pronamic/wp-coding-standards": "^2.2",
"roots/wordpress": "^6.0",
"szepeviktor/phpstan-wordpress": "^1.3",
"vimeo/psalm": "^5.24",
"wp-phpunit/wp-phpunit": "^6.1",
"yoast/phpunit-polyfills": "^1.0"
},
Expand Down Expand Up @@ -85,8 +88,6 @@
"for file in vendor/koodimonni-plugin-language/*/*.mo ; do ln -f -s ../../../../../../$file vendor/wp-phpunit/wp-phpunit/data/languages/plugins/. ; done",
"for file in vendor/koodimonni-theme-language/*/*.mo ; do ln -f -s ../../../../../../$file vendor/wp-phpunit/wp-phpunit/data/languages/themes/. ; done"
],
"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: 1 addition & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
includes:
- vendor-bin/phpstan/vendor/szepeviktor/phpstan-wordpress/extension.neon
- vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
level: max
paths:
Expand Down
6 changes: 0 additions & 6 deletions vendor-bin/phpstan/composer.json

This file was deleted.

269 changes: 0 additions & 269 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 900dd94

Please sign in to comment.