-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from italia/certs-in-files
Allow private key and certificate to be stored in files
- Loading branch information
Showing
30 changed files
with
745 additions
and
374 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,40 @@ | ||
# http://editorconfig.org | ||
|
||
# A special property that should be specified at the top of the file outside of | ||
# any sections. Set to true to stop .editor config file search on current file | ||
root = true | ||
|
||
[*] | ||
# Indentation style | ||
# Possible values - tab, space | ||
indent_style = space | ||
|
||
# Line ending file format | ||
# Possible values - lf, crlf, cr | ||
end_of_line = lf | ||
|
||
# File character encoding | ||
# Possible values - latin1, utf-8, utf-16be, utf-16le | ||
charset = utf-8 | ||
|
||
# Denotes whether to trim whitespace at the end of lines | ||
# Possible values - true, false | ||
trim_trailing_whitespace = true | ||
|
||
# Denotes whether file should end with a newline | ||
# Possible values - true, false | ||
insert_final_newline = true | ||
|
||
# Indentation size in single-spaced characters | ||
# Possible values - an integer, tab | ||
indent_size = 4 | ||
|
||
[*.{css,scss,sass}] | ||
# Indentation size in single-spaced characters | ||
# Possible values - an integer, tab | ||
indent_size = 2 | ||
|
||
[*.{yml,yaml}] | ||
# Indentation size in single-spaced characters | ||
# Possible values - an integer, tab | ||
indent_size = 2 |
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,41 @@ | ||
<?php | ||
use PhpCsFixer\Finder; | ||
use PhpCsFixer\Config; | ||
use PhpCsFixer\FixerInterface; | ||
|
||
$excluded_folders = [ | ||
'config', | ||
'bootstrap/cache', | ||
'node_modules', | ||
'public', | ||
'resources', | ||
'storage', | ||
'vendor', | ||
]; | ||
|
||
$rules = [ | ||
'@PSR2' => true, | ||
'@Symfony' => true, | ||
'ordered_class_elements' => true, | ||
'array_syntax' => ['syntax' => 'short'], | ||
'concat_space' => ['spacing' => 'one'], | ||
'linebreak_after_opening_tag' => true, | ||
'no_empty_comment' => false, | ||
'ordered_imports' => true, | ||
'phpdoc_align' => ['align' => 'left'], | ||
'phpdoc_order' => true, | ||
]; | ||
|
||
$finder = Finder::create() | ||
->exclude($excluded_folders) | ||
->notPath('server.php') | ||
->name('*.php') | ||
->notName('*.blade.php') | ||
->ignoreDotFiles(true) | ||
->ignoreVCS(true) | ||
->in(__DIR__); | ||
|
||
return Config::create() | ||
->setRules($rules) | ||
->setFinder($finder) | ||
->setUsingCache(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
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
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 |
---|---|---|
|
@@ -39,5 +39,4 @@ class SPIDEventSubscriber | |
'{{namespace}}Listeners\SPIDEventSubscriber@onSPIDLogout' | ||
); | ||
} | ||
|
||
} |
Oops, something went wrong.