Skip to content

Commit

Permalink
new, php7-only release
Browse files Browse the repository at this point in the history
  • Loading branch information
robfrawley committed Sep 20, 2016
1 parent 760fb76 commit dd94bb7
Show file tree
Hide file tree
Showing 13 changed files with 523 additions and 496 deletions.
30 changes: 30 additions & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

/*
* This file is part of the `src-run/augustus-exception-library` project.
*
* (c) Rob Frawley 2nd <rmf@src.run>
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/

use SLLH\StyleCIBridge\ConfigBridge;

require_once __DIR__.'/vendor/autoload.php';

$headerString = <<<EOF
This file is part of the `src-run/augustus-exception-library` project.
(c) Rob Frawley 2nd <rmf@src.run>
For the full copyright and license information, please view the LICENSE.md
file that was distributed with this source code.
EOF;

$config = ConfigBridge::create();
$config->setRules(array_merge($config->getRules(), [
'header_comment' => [ 'header' => $headerString ]
]));

return $config;
33 changes: 17 additions & 16 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
---

#
# This file is part of the `src-run/augustus-exception-library` project.
#
# (c) Rob Frawley 2nd <rmf@src.run>
#
# For the full copyright and license information, view the LICENSE.md
# file distributed with this source code.
#
preset: symfony

preset : symfony
enabled : ["short_array_syntax", "phpdoc_order"]
disabled : ["simplified_null_return"]
enabled:
- combine_consecutive_unsets
- linebreak_after_opening_tag
- no_short_echo_tag
- ordered_imports
- phpdoc_order
- php_unit_construct
- php_unit_dedicate_assert
- php_unit_strict
- short_array_syntax

finder :
exclude : ["tests"]
name : ["*.php"]
path : ["lib", "src"]
disabled:
- simplified_null_return

# EOF
finder :
name : [ '*.php' ]
exclude : [ 'vendor', 'var' ]
path : [ '.' ]

...
67 changes: 33 additions & 34 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,52 @@
{
"name" : "src-run/augustus-exception-library",
"license" : "MIT",
"type" : "library",
"homepage" : "https://src.run/augustus-exception-library",
"description" : "core exception base class with fluent API, as well as a set of exceptions built to utilize this and replace core-engine exceptions",
"support" : {
"email" : "rmf@src.run",
"issues" : "https://src.run/augustus-exception-library/issues",
"source" : "https://src.run/augustus-exception-library/git"
"name": "src-run/augustus-exception-library",
"license": "MIT",
"type": "library",
"homepage": "https://src.run/augustus-exception-library",
"description": "core exception base class with fluent API, as well as a set of exceptions built to utilize this and replace core-engine exceptions",
"support": {
"email": "rmf@src.run",
"issues": "https://src.run/augustus-exception-library/issues",
"source": "https://src.run/augustus-exception-library/git"
},
"keywords" : [
"augustus-exception-library", "augustus", "exception", "library", "rmf", "src-run"
],
"authors" : [
"keywords": [ "augustus-exception-library", "augustus", "exception", "library", "rmf", "src-run" ],
"authors": [
{
"name" : "Rob Frawley 2nd",
"email" : "rmf@src.run",
"name": "Rob Frawley 2nd",
"email": "rmf@src.run",
"homepage": "https://src.run/rmf",
"role" : "Project Lead"
"role": "Project Lead"
}
],
"require" : {
"php" : "~5.6 || ~7.0",
"src-run/augustus-polyfill-library" : "~0.6 || ~0.7 || ~0.8",
"src-run/augustus-utility-library" : "~0.6 || ~0.7 || ~0.8"
"require": {
"php": "~7.0",
"src-run/augustus-utility-library": "~0.6"
},
"require-dev" : {
"phpunit/phpunit" : "~5.0",
"codacy/coverage" : "~1.0",
"satooshi/php-coveralls" : "~1.0"
"require-dev": {
"codacy/coverage": "~1.0",
"friendsofphp/php-cs-fixer": "~2.0",
"phpunit/phpunit": "~5.4",
"satooshi/php-coveralls": "~1.0",
"sllh/php-cs-fixer-styleci-bridge": "~2.1"
},
"autoload" : {
"psr-4" : {
"SR\\Exception\\" : "lib/"
"autoload": {
"psr-4": {
"SR\\Exception\\": "lib/"
}
},
"autoload-dev" : {
"psr-4" : {
"SR\\Exception\\Tests\\" : "tests/"
"autoload-dev": {
"psr-4": {
"SR\\Exception\\Tests\\": "tests/"
}
},
"minimum-stability" : "dev",
"prefer-stable" : true,
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"bin-dir" : "bin"
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master" : "0.8-dev"
"dev-master": "0.7-dev"
}
}
}

0 comments on commit dd94bb7

Please sign in to comment.