tradedataservices/phpspec-for-ci-extension

1.0.1 2024-01-17 01:54 UTC

This package is auto-updated.

Last update: 2024-10-17 04:34:42 UTC


README

#Phpspec for CodeIgniter Extension

##Using the extension

  1. Add the following repository entry in your composer.json file:
    ...
    "repositories": [
        ...
        {
          "type": "git",
          "url": "git@bitbucket.org:code-ninja/phpspec-for-ci-extension.git"
        }
        ...
    ]
  1. Add the following repository entry in your composer.json file:
    ...
    "require-dev": {
        ...
        "importgenius/phpspec-for-ci-extension" : "dev-master"
        ...
    }
  1. 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