Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update deps, cleanup code, update meta files, update build files
- Loading branch information
1 parent
1baa4bf
commit e19b279
Showing
11 changed files
with
259 additions
and
149 deletions.
There are no files selected for viewing
Submodule .bldr
updated
52 files
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,16 +1,16 @@ | ||
api_branch : origin/master | ||
api_parser : ~ | ||
api_cfgmod : clone | ||
api_runner : ~ | ||
api_paths : lib | ||
env_make : ~ | ||
env_prep : get-composer | ||
env_post : ci-coveralls,ci-codacy | ||
php_conf : timezone | ||
php_exts : ~ | ||
app_prep : dep-composer | ||
app_post : ~ | ||
app_path : ~ | ||
pkg_name : augustus-exception-library | ||
pkg_desc : "Core exception class implementations with advanced context information and built-in string replacement functionality." | ||
pkg_bndl : false | ||
api_branch: origin/master | ||
api_parser: ~ | ||
api_cfgmod: clone | ||
api_runner: ~ | ||
api_paths: lib | ||
env_make: ~ | ||
env_prep: composer-get | ||
php_conf: timezone | ||
php_exts: ~ | ||
app_prep: composer-req | ||
app_post: ~ | ||
env_post: composer-del,ci-coveralls,ci-codacy | ||
app_path: ~ | ||
pkg_name: augustus-exception-library | ||
pkg_desc: "Core exception class implementations with advanced context information and built-in string replacement functionality." | ||
pkg_bndl: false |
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,3 +1,3 @@ | ||
[submodule ".bldr"] | ||
path = .bldr | ||
url = https://github.com/src-run/usr-src-builder.git | ||
url = https://github.com/src-run/usr-src-builder-bash.git |
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,32 +1,89 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the `src-run/augustus-exception-library` project. | ||
* This file is part of the `liip/LiipImagineBundle` project. | ||
* | ||
* (c) Rob Frawley 2nd <rmf@src.run> | ||
* (c) https://github.com/liip/LiipImagineBundle/graphs/contributors | ||
* | ||
* For the full copyright and license information, please view the LICENSE.md | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
use SLLH\StyleCIBridge\ConfigBridge; | ||
use PhpCsFixer\Config; | ||
use PhpCsFixer\Finder; | ||
|
||
require_once __DIR__.'/vendor/sllh/php-cs-fixer-styleci-bridge/autoload.php'; | ||
|
||
$header = <<<EOF | ||
$header = <<<HEADER | ||
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' => $header], | ||
])) | ||
->setUsingCache(false); | ||
HEADER; | ||
|
||
return $config; | ||
return Config::create() | ||
->setUsingCache(true) | ||
->setRiskyAllowed(true) | ||
->setFinder((new Finder())->in(__DIR__)) | ||
->setHideProgress(false) | ||
->setLineEnding("\n") | ||
->setIndent(' ') | ||
->setRules([ | ||
'@Symfony' => true, | ||
'@Symfony:risky' => true, | ||
'@PHPUnit57Migration:risky' => true, | ||
'array_syntax' => [ | ||
'syntax' => 'short' | ||
], | ||
'combine_consecutive_issets' => true, | ||
'combine_consecutive_unsets' => true, | ||
'escape_implicit_backslashes' => true, | ||
'explicit_indirect_variable' => true, | ||
'final_internal_class' => true, | ||
'header_comment' => [ | ||
'header' => $header, | ||
'separate' => 'both' | ||
], | ||
'heredoc_to_nowdoc' => true, | ||
'linebreak_after_opening_tag' => true, | ||
'list_syntax' => [ | ||
'syntax' => 'short', | ||
], | ||
'mb_str_functions' => true, | ||
'multiline_whitespace_before_semicolons' => [ | ||
'strategy' => 'no_multi_line', | ||
], | ||
'no_php4_constructor' => true, | ||
'no_short_echo_tag' => true, | ||
'no_unreachable_default_argument_value' => true, | ||
'no_useless_else' => true, | ||
'no_useless_return' => true, | ||
'ordered_class_elements' => [ | ||
'order' => [ | ||
'use_trait', | ||
'constant_public', | ||
'constant_protected', | ||
'constant_private', | ||
'property_public', | ||
'property_protected', | ||
'property_private', | ||
'construct', | ||
'destruct', | ||
'magic', | ||
'phpunit', | ||
'method_public', | ||
'method_protected', | ||
'method_private' | ||
], | ||
], | ||
'ordered_imports' => true, | ||
'php_unit_strict' => true, | ||
'php_unit_no_expectation_annotation' => true, | ||
'php_unit_test_class_requires_covers' => true, | ||
'phpdoc_order' => true, | ||
'phpdoc_summary' => false, | ||
'psr4' => true, | ||
'semicolon_after_instruction' => true, | ||
'strict_comparison' => true, | ||
'strict_param' => true, | ||
]); |
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
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
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
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
Oops, something went wrong.