Skip to content

Keiji-Miyake/php-practice

Repository files navigation

PHPナレッジベース*w

PHP MD Install

{
    "require-dev": {
        "phpmd/phpmd" : "@stable"
    }
}

phpmdの実行

# ./vendor/bin/phpmd sample.php text cleancode,codesize,controversial,design,naming,unusedcode
# ./vendor/bin/phpmd . text cleancode,codesize,controversial,design,naming,unusedcode --suffixes php --exclude vendor
# ./vendor/bin/phpmd . text phpmd.xml --suffixes php --exclude vendor
# composer phpmd

PHPstan

# vendor/bin/phpstan analyse
# vendor/bin/phpstan analyse -c phpstan.neon
# composer phpstan

PHPUnit

# composer phpunit

About

PHPの練習用リポジトリ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages