tradedataservices / phpspec-for-ci-extension
PhpSpec for CodeIgniter
1.0.1
2024-01-17 01:54 UTC
Requires
- phpspec/phpspec: 2.4.*@stable
Requires (Dev)
- behat/behat: 3.1.*@rc
- bossa/phpspec2-expect: 1.0.*@stable
- henrikbjorn/phpspec-code-coverage: 1.0.*@dev
- phpmd/phpmd: 2.3.*@stable
- squizlabs/php_codesniffer: 2.3.*@stable
This package is auto-updated.
Last update: 2024-10-17 04:34:42 UTC
README
#Phpspec for CodeIgniter Extension
##Using the extension
- Add the following repository entry in your
composer.json
file:
...
"repositories": [
...
{
"type": "git",
"url": "git@bitbucket.org:code-ninja/phpspec-for-ci-extension.git"
}
...
]
- Add the following repository entry in your
composer.json
file:
...
"require-dev": {
...
"importgenius/phpspec-for-ci-extension" : "dev-master"
...
}
- Enable the extension in your
phpspec.yml
file:
...
extensions:
- ImportGenius\PhpSpecForCi\PhpSpecExtension
...
##For further technical details, see the feature files in this folder:
vendor/importgenius/phpspec-for-ci-extension/features/code_generation
##Running The Tests
###Behat
$ bin/behat
###Phpspec
$ bin/phpspec run
###PHPMD
$ bin/phpmd src/ text cleancode,codesize,controversial,design,naming,unusedcode
###PHPCS
$ bin/phpcs src/ --standard=PSR2