Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dePHPend #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ script:
- vendor/bin/phpstan analyse src tests
- ./infection.phar --min-msi=48 --threads=4
- vendor/bin/psalm --threads=4
- vendor/bin/dephpend text src
- vendor/bin/dephpend metrics src
- composer outdated --direct

# public repo on Travis CI (without token)
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ Added strict rules with:
./vendor/bin/psalm


#### dePHPend

composer require --dev dephpend/dephpend:dev-master
./vendor/bin/dephpend --init
./vendor/bin/dephpend
./vendor/bin/dephpend metrics src


#### Ceveralls (with php)

composer require --dev php-coveralls/php-coveralls
Expand Down
13 changes: 12 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,17 @@
"email": "[email protected]"
}
],
"repositories": [
{
"type": "git",
"url": "https://github.com/vukanac/dephpend.git"
}
],
"require": {
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.1",
"dephpend/dephpend": "dev-upgraded-console",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.11.16",
"phpstan/phpstan-phpunit": "^0.11.2",
Expand Down Expand Up @@ -45,12 +52,16 @@
"@phpcpd",
"@phpstan",
"@psalm",
"@test"
"@test",
"@dephpend",
"@dephpend-metric"
],
"phpcs": "phpcs --standard=PSR2 src",
"phpcbf": "phpcbf --standard=PSR2 src tests",
"phpcpd": "phpcpd src tests",
"phpstan": "phpstan analyse --level=max src tests",
"dephpend": "dephpend text src",
"dephpend-metric": "dephpend metric src",
"psalm": "psalm --threads=4",
"test": "phpunit"
},
Expand Down
198 changes: 196 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.