-
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.
Merge pull request #16 from contao-estatemanager/support/1.0
Support/1.0
- Loading branch information
Showing
17 changed files
with
673 additions
and
624 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
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use PhpCsFixer\Fixer\Basic\BracesFixer; | ||
use PhpCsFixer\Fixer\Comment\HeaderCommentFixer; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
use Symplify\EasyCodingStandard\ValueObject\Option; | ||
use SlevomatCodingStandard\Sniffs\TypeHints\DisallowArrayTypeHintSyntaxSniff; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$containerConfigurator->import(__DIR__.'/vendor/contao/easy-coding-standard/config/set/contao.php'); | ||
|
||
$parameters = $containerConfigurator->parameters(); | ||
$parameters->set(Option::LINE_ENDING, "\n"); | ||
$parameters->set(Option::SKIP, [ | ||
DisallowArrayTypeHintSyntaxSniff::class => null, | ||
]); | ||
|
||
$services = $containerConfigurator->services(); | ||
$services | ||
->set(HeaderCommentFixer::class) | ||
->call('configure', [[ | ||
'header' => "This file is part of Contao EstateManager.\n\n@see https://www.contao-estatemanager.com/\n@source https://github.com/contao-estatemanager/project\n@copyright Copyright (c) ".date('Y')." Oveleon GbR (https://www.oveleon.de)\n@license https://www.contao-estatemanager.com/lizenzbedingungen.html", | ||
]]) | ||
; | ||
|
||
$services | ||
->set(BracesFixer::class) | ||
->call('configure', [[ | ||
'position_after_control_structures' => 'next', | ||
]]) | ||
; | ||
}; |
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 |
---|---|---|
@@ -1,19 +1,20 @@ | ||
<?php | ||
/** | ||
|
||
declare(strict_types=1); | ||
|
||
/* | ||
* This file is part of Contao EstateManager. | ||
* | ||
* @link https://www.contao-estatemanager.com/ | ||
* @source https://github.com/contao-estatemanager/project | ||
* @copyright Copyright (c) 2019 Oveleon GbR (https://www.oveleon.de) | ||
* @license https://www.contao-estatemanager.com/lizenzbedingungen.html | ||
* @see https://www.contao-estatemanager.com/ | ||
* @source https://github.com/contao-estatemanager/project | ||
* @copyright Copyright (c) 2021 Oveleon GbR (https://www.oveleon.de) | ||
* @license https://www.contao-estatemanager.com/lizenzbedingungen.html | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace ContaoEstateManager\Project; | ||
|
||
use Symfony\Component\HttpKernel\Bundle\Bundle; | ||
|
||
class EstateManagerProject extends Bundle | ||
{ | ||
} | ||
} |
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.