Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Commit

Permalink
Supports button-group option
Browse files Browse the repository at this point in the history
  • Loading branch information
escalle committed Nov 23, 2015
1 parent 0e49644 commit 6e16762
Show file tree
Hide file tree
Showing 126 changed files with 18,356 additions and 18,211 deletions.
12 changes: 6 additions & 6 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/tests export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.travis.composer.json export-ignore
.travis.yml export-ignore
CONTRIBUTING.md export-ignore
/tests export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.travis.composer.json export-ignore
.travis.yml export-ignore
CONTRIBUTING.md export-ignore
22 changes: 11 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/.settings
/.buildpath
/.project
/composer.lock
/vendor
/nbproject/private/
/nbproject/
nbactions.xml
nb-configuration.xml
/build/
.idea/
/.settings
/.buildpath
/.project
/composer.lock
/vendor
/nbproject/private/
/nbproject/
nbactions.xml
nb-configuration.xml
/build/
.idea/
14 changes: 7 additions & 7 deletions .travis.composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"config":{
"github-oauth":{
"github.com":"069388e2ed1ad02978a005938ec140fe57edc15d"
}
}
}
{
"config":{
"github-oauth":{
"github.com":"069388e2ed1ad02978a005938ec140fe57edc15d"
}
}
}
54 changes: 27 additions & 27 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
language: php

php:
- "5.3"
- "5.4"
- "5.5"
- "5.6"

before_install:
# Set the GitHub OAuth token to make use of the 6000 per hour rate limit
- mkdir -p ~/.composer
- cp .travis.composer.json ~/.composer/config.json
# Update composer
- composer self-update
# Install project
- composer install --prefer-dist --dev

before_script:
- mkdir -p build/logs

script:
- cd tests
- phpunit -d max_execution_time=0 --coverage-text --coverage-clover ../build/logs/clover.xml
- cd ..

after_script:
- php vendor/bin/coveralls --verbose --config
language: php

php:
- "5.3"
- "5.4"
- "5.5"
- "5.6"

before_install:
# Set the GitHub OAuth token to make use of the 6000 per hour rate limit
- mkdir -p ~/.composer
- cp .travis.composer.json ~/.composer/config.json
# Update composer
- composer self-update
# Install project
- composer install --prefer-dist --dev

before_script:
- mkdir -p build/logs

script:
- cd tests
- phpunit -d max_execution_time=0 --coverage-text --coverage-clover ../build/logs/clover.xml
- cd ..

after_script:
- php vendor/bin/coveralls --verbose --config
46 changes: 23 additions & 23 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# CONTRIBUTING

_TwbBundle_ is 100% covered by tests. Travis-ci build failed if code coverage is not 100%.

## RUNNING TESTS

To run tests:

- Make sure you have a recent version of PHPUnit installed; 3.7.0
minimally.
- Enter the `tests/` subdirectory.
- Execute PHPUnit

```sh
% phpunit
```

- You may also provide the `--coverage-html` switch;

```sh
% phpunit --coverage-html ./_report
```

# CONTRIBUTING

_TwbBundle_ is 100% covered by tests. Travis-ci build failed if code coverage is not 100%.

## RUNNING TESTS

To run tests:

- Make sure you have a recent version of PHPUnit installed; 3.7.0
minimally.
- Enter the `tests/` subdirectory.
- Execute PHPUnit

```sh
% phpunit
```

- You may also provide the `--coverage-html` switch;

```sh
% phpunit --coverage-html ./_report
```

This will generate code-coverage report witch can be displayed in a browser by opening `tests/_report/index.html` file
40 changes: 20 additions & 20 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@

The MIT License (MIT)

Copyright (c) [2013] [ESCALLE Emilien]

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
The MIT License (MIT)
Copyright (c) [2013] [ESCALLE Emilien]
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
48 changes: 24 additions & 24 deletions Module.php
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<?php
namespace TwbBundle;
class Module implements
\Zend\ModuleManager\Feature\ConfigProviderInterface,
\Zend\ModuleManager\Feature\AutoloaderProviderInterface{

/**
* @see \Zend\ModuleManager\Feature\AutoloaderProviderInterface::getAutoloaderConfig()
* @return array
*/
public function getAutoloaderConfig(){
return array(
'Zend\Loader\ClassMapAutoloader' => array(
__DIR__.DIRECTORY_SEPARATOR.'autoload_classmap.php'
)
);
}

/**
* @return array
*/
public function getConfig(){
return include __DIR__.DIRECTORY_SEPARATOR.'config/module.config.php';
}
<?php
namespace TwbBundle;
class Module implements
\Zend\ModuleManager\Feature\ConfigProviderInterface,
\Zend\ModuleManager\Feature\AutoloaderProviderInterface{

/**
* @see \Zend\ModuleManager\Feature\AutoloaderProviderInterface::getAutoloaderConfig()
* @return array
*/
public function getAutoloaderConfig(){
return array(
'Zend\Loader\ClassMapAutoloader' => array(
__DIR__.DIRECTORY_SEPARATOR.'autoload_classmap.php'
)
);
}

/**
* @return array
*/
public function getConfig(){
return include __DIR__.DIRECTORY_SEPARATOR.'config/module.config.php';
}
}
Loading

0 comments on commit 6e16762

Please sign in to comment.