Skip to content

Commit

Permalink
Merge branch '5.3' into 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed May 8, 2024
2 parents 9beb068 + 0e9662c commit 78ed916
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/vendor/

# Composer bin
/vendor-bin/*/vendor
/vendor-bin/*/vendor/

# Monorepo Tools
/.monorepo-split-cache/
Expand Down
2 changes: 1 addition & 1 deletion ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@
->withParallel()
->withSpacing(Option::INDENTATION_SPACES, "\n")
->withConfiguredRule(HeaderCommentFixer::class, ['header' => "This file is part of Contao.\n\n(c) Leo Feyer\n\n@license LGPL-3.0-or-later"])
->withCache(sys_get_temp_dir().'/ecs_cache')
->withCache(sys_get_temp_dir().'/ecs/contao5x')
;
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
includes:
- vendor-bin/phpstan/config/config.php
- vendor-bin/phpstan/vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor-bin/phpstan/vendor/phpstan/phpstan-phpunit/extension.neon
- vendor-bin/phpstan/vendor/phpstan/phpstan-phpunit/rules.neon
Expand Down
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@
])
->withRootFiles()
->withParallel()
->withCache(sys_get_temp_dir().'/rector_cache')
->withCache(sys_get_temp_dir().'/rector/contao5x')
;
2 changes: 1 addition & 1 deletion vendor-bin/ecs/config/legacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,5 @@
->withConfiguredRule(HeaderCommentFixer::class, ['header' => "This file is part of Contao.\n\n(c) Leo Feyer\n\n@license LGPL-3.0-or-later"])
->withConfiguredRule(ListSyntaxFixer::class, ['syntax' => 'long'])
->withConfiguredRule(NoExtraBlankLinesFixer::class, ['tokens' => ['curly_brace_block', 'extra', 'parenthesis_brace_block', 'square_brace_block', 'use']])
->withCache(sys_get_temp_dir().'/ecs_legacy_cache')
->withCache(sys_get_temp_dir().'/ecs/contao5x-legacy')
;
2 changes: 1 addition & 1 deletion vendor-bin/ecs/config/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@
->withParallel()
->withSpacing(Option::INDENTATION_SPACES, "\n")
->withFileExtensions(['html5'])
->withCache(sys_get_temp_dir().'/ecs_template_cache')
->withCache(sys_get_temp_dir().'/ecs/contao5x-template')
;
17 changes: 17 additions & 0 deletions vendor-bin/phpstan/config/config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

declare(strict_types=1);

/*
* This file is part of Contao.
*
* (c) Leo Feyer
*
* @license LGPL-3.0-or-later
*/

return [
'parameters' => [
'tmpDir' => sys_get_temp_dir().'/phpstan/contao5x',
],
];
8 changes: 8 additions & 0 deletions vendor-bin/phpstan/src/ExtensionReturnTypeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

declare(strict_types=1);

/*
* This file is part of Contao.
*
* (c) Leo Feyer
*
* @license LGPL-3.0-or-later
*/

namespace Contao\Tools\PHPStan;

use PhpParser\Node\Expr\MethodCall;
Expand Down
8 changes: 8 additions & 0 deletions vendor-bin/phpstan/src/GraphReturnTypeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

declare(strict_types=1);

/*
* This file is part of Contao.
*
* (c) Leo Feyer
*
* @license LGPL-3.0-or-later
*/

namespace Contao\Tools\PHPStan;

use PhpParser\Node\Expr\MethodCall;
Expand Down
8 changes: 8 additions & 0 deletions vendor-bin/phpstan/src/HelperReturnTypeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

declare(strict_types=1);

/*
* This file is part of Contao.
*
* (c) Leo Feyer
*
* @license LGPL-3.0-or-later
*/

namespace Contao\Tools\PHPStan;

use PhpParser\Node\Expr\MethodCall;
Expand Down

0 comments on commit 78ed916

Please sign in to comment.