Skip to content

Commit

Permalink
Updated phpstan and rector rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Dec 19, 2024
1 parent 4b96794 commit a6a5923
Show file tree
Hide file tree
Showing 4 changed files with 880 additions and 111 deletions.
31 changes: 17 additions & 14 deletions .vortex/installer/composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "drevops/vortex-installer",
"type": "library",
"description": "Installer for Vortex.",
"license": "GPL-2.0-or-later",
"type": "library",
"authors": [
{
"name": "Alex Skrypnyk",
Expand All @@ -24,6 +24,7 @@
"bamarni/composer-bin-plugin": "^1.8",
"dealerdirect/phpcodesniffer-composer-installer": "^1",
"drupal/coder": "^8.3",
"ergebnis/composer-normalize": "^2.45",
"mikey179/vfsstream": "^1.6",
"opis/closure": "^3.6",
"phpmd/phpmd": "^2.13",
Expand All @@ -44,31 +45,33 @@
"tests/phpunit"
]
},
"bin": [
"install"
],
"config": {
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"scripts": {
"build": [
"@composer bin box require --dev humbug/box",
"box validate",
"box compile"
],
"lint": [
"phpcs",
"phpstan",
"phpmd --exclude vendor,vendor-bin,node_modules . text phpmd.xml",
"rector --clear-cache --dry-run"
],
"lint-fix": [
"rector --clear-cache",
"phpcbf"
],
"test": "phpunit",
"build": [
"@composer bin box require --dev humbug/box",
"box validate",
"box compile"
]
},
"bin": [
"install"
]
"test": "phpunit"
}
}
Loading

0 comments on commit a6a5923

Please sign in to comment.