Skip to content

Commit

Permalink
Release-2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewscaya committed Dec 23, 2017
2 parents 5d9f87a + 24727e2 commit 5093022
Show file tree
Hide file tree
Showing 211 changed files with 4,308 additions and 4,874 deletions.
28 changes: 28 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
engines:
duplication:
enabled: true
config:
languages:
php:
mass_threshold: 30
phpcodesniffer:
enabled: true
config:
standard: PSR2

ratings:
paths:
- "**.php"

exclude_paths:
- "bin/"
- "build/"
- "docs/"
- "docs-api/"
- "language_files/"
- "lib/"
- "sef/"
- "tests/"
- "tmpl/"
- "vendor/"
29 changes: 15 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,46 +23,47 @@ addons:
matrix:
fast_finish: true
include:
- php: 5.4
env:
- TEST_CHECK=false
- CS_CHECK=true
- CC_CHECK=true
- php: 5.5
env:
- COMPOSER_PROCESS_TIMEOUT=1200
- TEST_CHECK=true
- CS_CHECK=true
- CC_CHECK=true
- CC_CHECK=false
- php: 5.6
env:
- TEST_CHECK=true
- COMPOSER_PROCESS_TIMEOUT=1200
- TEST_CHECK_COVER=true
- CS_CHECK=true
- CC_CHECK=true
- CC_CHECK=false
- CODECLIMATE_REPO_TOKEN=cdf9d20bb5113bdc18f79b722ca5a54c965e2ccae2912ba40d92d0651cf8affa
- php: 7
env:
- TEST_CHECK=false
- CS_CHECK=true
- CC_CHECK=true
- CC_CHECK=false
- php: hhvm
allow_failures:
- php: hhvm

before_install:
- phpenv config-rm xdebug.ini || return 0
# XVFB
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 5 # give xvfb some time to start
- travis_retry composer self-update
- if [[ $TEST_CHECK == 'false' ]]; then rm $TRAVIS_BUILD_DIR/composer.json ; fi
- if [[ $TEST_CHECK == 'false' ]]; then mv $TRAVIS_BUILD_DIR/composer.php54.json $TRAVIS_BUILD_DIR/composer.json ; fi
- $TRAVIS_BUILD_DIR/bin/codeception-setup.sh
- if [[ $TEST_CHECK_54 == 'true' ]]; then rm $TRAVIS_BUILD_DIR/composer.json && mv $TRAVIS_BUILD_DIR/composer.php54.json $TRAVIS_BUILD_DIR/composer.json ; fi
- if [[ -z "$TEST_CHECK_COVER" ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
- if [[ $CC_CHECK == 'true' ]]; then $TRAVIS_BUILD_DIR/bin/codeception-setup.sh ; fi
- sleep 5 # gives enough time to Selenium to start

install:
- travis_retry composer install --no-interaction

script:
- if [[ $TEST_CHECK == 'true' ]]; then composer test ; fi
- if [[ $TEST_CHECK == 'true' || $TEST_CHECK_54 == 'true' ]]; then composer test ; fi
- if [[ $TEST_CHECK_COVER == 'true' ]]; then composer test-cover ; fi
- if [[ $CS_CHECK == 'true' ]]; then composer cs ; fi
- if [[ $CC_CHECK == 'true' ]]; then composer cc ; fi

after_success:
- if [[ $TEST_CHECK_COVER == 'true' ]]; then composer test-report ; fi
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

## 2.1.0 (2017-12-22)

- Fixes issue #15 - Allow users to configure an automated reply email to those submitting the form.
- Fixes issue #18 - Getting error of missing closing DIV.
- Fixes issue #22 - Allow to easily modify SEF's rendering by using its internal methods.
- Sets JForm as Simple Email Form's default mode.
- Offers a complete API documentation for developers.

## 2.0.1 (2017-02-24)

- Fixes issue #17 - JForm translations not explained well enough in documentation.
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# mod_simpleemailform
Joomla Simple Email Form Module
[![PDS Skeleton](https://img.shields.io/badge/pds-skeleton-blue.svg?style=flat-square)](https://github.com/php-pds/skeleton)
# [![Simple Email Form Banner](docs/images/logo.png)](http://joomla.unlikelysource.org/)
# Simple Email Form - Joomla Module
Basic email contact form which lets you define up to eight (8) configurable fields.

[![Build Status](https://travis-ci.org/andrewscaya/mod_simpleemailform.svg?branch=master)](https://travis-ci.org/andrewscaya/mod_simpleemailform)
[![Code Climate](https://codeclimate.com/github/andrewscaya/mod_simpleemailform/badges/gpa.svg)](https://codeclimate.com/github/andrewscaya/mod_simpleemailform)
[![Test Coverage](https://codeclimate.com/github/andrewscaya/mod_simpleemailform/badges/coverage.svg)](https://codeclimate.com/github/andrewscaya/mod_simpleemailform)
[![Issue Count](https://codeclimate.com/github/andrewscaya/mod_simpleemailform/badges/issue_count.svg)](https://codeclimate.com/github/andrewscaya/mod_simpleemailform)
[![PDS Skeleton](https://img.shields.io/badge/pds-skeleton-blue.svg?style=flat-square)](https://github.com/php-pds/skeleton)

Code coverage: 81.03% covered overall (SEF 68.14%, SEFv2 100%).
Code coverage: SEFv2 100%.
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
"joomla/framework": "1.1.0",
"phpunit/phpunit": "4.8.32",
"mockery/mockery": "0.9.7",
"psr/log": "1.0.0",
"codeclimate/php-test-reporter": "0.2.0",
"satooshi/php-coveralls": "~0.6",
"squizlabs/php_codesniffer": "^2.3",
"se/selenium-server-standalone": "^2.53",
"codeception/codeception": "^2.2",
Expand Down Expand Up @@ -68,6 +71,8 @@
"cs": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit",
"test-cover": "phpunit --coverage-clover build/logs/clover.xml",
"test-report": "test-reporter --coverage-report build/logs/clover.xml",
"cc": "codecept run acceptance",
"apidocs": "phpdoc --template=responsive-twig"
}
Expand Down
Binary file modified composer.phar
Binary file not shown.
77 changes: 0 additions & 77 deletions docs-api/build/classes.svg

This file was deleted.

Loading

0 comments on commit 5093022

Please sign in to comment.