Skip to content

Commit

Permalink
update linting
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed Mar 10, 2020
1 parent 375bbae commit 740d2df
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .phplint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
path: ./
jobs: 10
cache: .phplint.cache
exclude:
- build
- vendor
11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8",
"doctrine/annotations": "^1.4",
"friendsofphp/php-cs-fixer": "^2.0",
"infection/infection": "^0.9",
"friendsofphp/php-cs-fixer": "^2.16",
"infection/infection": "^0.13|^0.15",
"mikey179/vfsstream": "^1.6",
"phpmd/phpmd": "^2.0",
"overtrue/phplint": "^1.2",
"phpmd/phpmd": "^2.8",
"phpstan/extension-installer": "^1.0.3",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12",
Expand All @@ -45,7 +46,7 @@
"sebastian/phpcpd": "^4.0",
"slim/twig-view": "^2.3",
"spatie/array-to-xml": "^2.2",
"squizlabs/php_codesniffer": "^3.0",
"squizlabs/php_codesniffer": "^3.5",
"thecodingmachine/phpstan-strict-rules": "^0.12",
"laminas/laminas-diactoros": "^2.0"
},
Expand Down Expand Up @@ -75,7 +76,7 @@
"cghooks": "cghooks",
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update",
"lint-php": "php -l src && php -l tests",
"lint-php": "phplint --configuration=.phplint.yml",
"lint-phpcs": "phpcs --standard=PSR2 src tests",
"lint-phpcs-fixer": "php-cs-fixer fix --config=.php_cs --dry-run --verbose",
"fix-phpcs": "php-cs-fixer fix --config=.php_cs --verbose",
Expand Down

0 comments on commit 740d2df

Please sign in to comment.