diff --git a/.travis.yml b/.travis.yml index caaeb29..1cbd504 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,8 @@ php: - 5.5 - 5.6 - 7.0 + - 7.1 + - 7.2 - hhvm # This triggers builds to run on the new TravisCI infrastructure. diff --git a/CHANGELOG.md b/CHANGELOG.md index e32a254..657bea1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,4 +80,4 @@ All notable changes to `Spark Plug` will be documented in this file. ## 0.1.0 - 2015-06-25 ### Added -- `Spark Plug` library +- `Spark Plug` library \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md index 1808a43..f53b03e 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018 Rougin Royce Gutib +Copyright (c) 2018 Rougin Gutib Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 6c02eff..af93fa2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Spark Plug [![Latest Version on Packagist][ico-version]][link-packagist] -[![Software License][ico-license]](LICENSE.md) +[![Software License][ico-license]][link-license] [![Build Status][ico-travis]][link-travis] [![Coverage Status][ico-scrutinizer]][link-scrutinizer] [![Quality Score][ico-code-quality]][link-code-quality] @@ -9,15 +9,15 @@ Spark Plug returns [Codeigniter](https://codeigniter.com/) applications as single variables. Might be useful for testing frameworks such as [PHPUnit](https://phpunit.de/). -## Install +## Installation -Via Composer +Install `Spark Plug` via [Composer](https://getcomposer.org/): ``` bash $ composer require rougin/spark-plug ``` -## Usage +## Basic Usage ### Using the `Instance` helper @@ -81,9 +81,9 @@ class SampleTest extends \PHPUnit_Framework_TestCase } ``` -## Change log +## Changelog -Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently. +Please see [CHANGELOG][link-changelog] for more information what has changed recently. ## Testing @@ -91,30 +91,26 @@ Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recen $ composer test ``` -## Security - -If you discover any security related issues, please email rougingutib@gmail.com instead of using the issue tracker. - ## Credits -- [Rougin Royce Gutib][link-author] -- [All Contributors][link-contributors] +- [All contributors][link-contributors] ## License -The MIT License (MIT). Please see [License File](LICENSE.md) for more information. +The MIT License (MIT). Please see [LICENSE][link-license] for more information. -[ico-version]: https://img.shields.io/packagist/v/rougin/spark-plug.svg?style=flat-square -[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square -[ico-travis]: https://img.shields.io/travis/rougin/spark-plug/master.svg?style=flat-square -[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/rougin/spark-plug.svg?style=flat-square [ico-code-quality]: https://img.shields.io/scrutinizer/g/rougin/spark-plug.svg?style=flat-square [ico-downloads]: https://img.shields.io/packagist/dt/rougin/spark-plug.svg?style=flat-square +[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square +[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/rougin/spark-plug.svg?style=flat-square +[ico-travis]: https://img.shields.io/travis/rougin/spark-plug/master.svg?style=flat-square +[ico-version]: https://img.shields.io/packagist/v/rougin/spark-plug.svg?style=flat-square -[link-packagist]: https://packagist.org/packages/rougin/spark-plug -[link-travis]: https://travis-ci.org/rougin/spark-plug -[link-scrutinizer]: https://scrutinizer-ci.com/g/rougin/spark-plug/code-structure +[link-changelog]: https://github.com/rougin/spark-plug/blob/master/CHANGELOG.md [link-code-quality]: https://scrutinizer-ci.com/g/rougin/spark-plug +[link-contributors]: https://github.com/rougin/spark-plug/contributors [link-downloads]: https://packagist.org/packages/rougin/spark-plug -[link-author]: https://github.com/rougin -[link-contributors]: ../../contributors \ No newline at end of file +[link-license]: https://github.com/rougin/spark-plug/blob/master/LICENSE.md +[link-packagist]: https://packagist.org/packages/rougin/spark-plug +[link-scrutinizer]: https://scrutinizer-ci.com/g/rougin/spark-plug/code-structure +[link-travis]: https://travis-ci.org/rougin/spark-plug \ No newline at end of file diff --git a/composer.json b/composer.json index 8aaa155..e48f680 100644 --- a/composer.json +++ b/composer.json @@ -1,46 +1,57 @@ { "name": "rougin/spark-plug", - "description": "Returns Codeigniter applications as single variables.", + "description": "Codeigniter applications as single variables.", "keywords": ["codeigniter", "instance", "php", "spark-plug"], - "homepage": "https://github.com/rougin/spark-plug", + "homepage": "https://rougin.github.io/spark-plug/", "license": "MIT", - "authors": [ + "authors": + [ { - "name": "Rougin Royce Gutib", + "name": "Rougin Gutib", "email": "rougingutib@gmail.com", - "homepage": "https://rougin.github.io", + "homepage": "https://rougin.github.io/", "role": "Developer" } ], - "require": { - "php" : ">=5.4.0" + "require": + { + "php": ">=5.4.0" }, - "require-dev": { - "phpunit/phpunit" : "4.*", - "scrutinizer/ocular": "~1.1", - "rougin/codeigniter": "~3.0" + "require-dev": + { + "phpunit/phpunit": "~4.2|~5.7", + "rougin/codeigniter": "~3.0", + "scrutinizer/ocular": "~1.1.0" }, - "autoload": { - "psr-4": { + "autoload": + { + "psr-4": + { "Rougin\\SparkPlug\\": "src" } }, - "autoload-dev": { - "psr-4": { + "autoload-dev": + { + "psr-4": + { "Rougin\\SparkPlug\\": "tests" } }, - "scripts": { + "scripts": + { "test": "phpunit" }, - "extra": { - "branch-alias": { + "extra": + { + "branch-alias": + { "dev-master": "1.0-dev" } }, - "suggest": { + "suggest": + { "rougin/codeigniter": "A package that installs Codeigniter's core via Composer.", "rougin/combustor": "Generates MVC code for Codeigniter using database tables.", "rougin/refinery": "\"Ready-to-eat\" migrations for the Codeigniter framework." } -} +} \ No newline at end of file diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 6b0ec04..2a57879 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,20 +1,20 @@ - - - - tests - - - - - src/ - - - - - - - - - + + + + tests + + + + + src/ + + + + + + + + + \ No newline at end of file diff --git a/src/Instance.php b/src/Instance.php index b30ec94..31ad8c0 100644 --- a/src/Instance.php +++ b/src/Instance.php @@ -8,7 +8,7 @@ * A static helper for the SparkPlug::instance method. * * @package SparkPlug - * @author Rougin Royce Gutib + * @author Rougin Gutib */ class Instance { diff --git a/src/SparkPlug.php b/src/SparkPlug.php index c14b9ed..38434d3 100644 --- a/src/SparkPlug.php +++ b/src/SparkPlug.php @@ -8,7 +8,7 @@ * Returns Codeigniter applications as single variables. * * @package SparkPlug - * @author Rougin Royce Gutib + * @author Rougin Gutib */ class SparkPlug { diff --git a/tests/InstanceTest.php b/tests/InstanceTest.php index 019e42a..9073f0b 100644 --- a/tests/InstanceTest.php +++ b/tests/InstanceTest.php @@ -6,7 +6,7 @@ * Instance Test * * @package SparkPlug - * @author Rougin Royce Gutib + * @author Rougin Gutib */ class InstanceTest extends SparkPlugTest { diff --git a/tests/SparkPlugTest.php b/tests/SparkPlugTest.php index 3e4b4eb..4c7752a 100644 --- a/tests/SparkPlugTest.php +++ b/tests/SparkPlugTest.php @@ -6,7 +6,7 @@ * Spark Plug Test * * @package SparkPlug - * @author Rougin Royce Gutib + * @author Rougin Gutib */ class SparkPlugTest extends \PHPUnit_Framework_TestCase {