-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
760fb76
commit dd94bb7
Showing
13 changed files
with
523 additions
and
496 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 : [ '.' ] | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} |
Oops, something went wrong.