forked from pmishev/ElasticsearchBundle
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed support for PHP<8.1 Removed support for Symfony<5.4 Removed support for Monolog 1.*
- Loading branch information
Showing
89 changed files
with
1,256 additions
and
1,854 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,5 @@ | |
.phpunit.result.cache | ||
.idea | ||
/.php-cs-fixer.cache | ||
/.phpstan-cache | ||
/.rector-cache/ |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
includes: | ||
- vendor/phpstan/phpstan-symfony/extension.neon | ||
- vendor/phpstan/phpstan-symfony/rules.neon | ||
# - vendor/phpstan/phpstan-phpunit/extension.neon | ||
# - vendor/phpstan/phpstan-phpunit/rules.neon | ||
|
||
parameters: | ||
level: 5 | ||
tmpDir: .phpstan-cache | ||
treatPhpDocTypesAsCertain: false | ||
|
||
symfony: | ||
containerXmlPath: var/cache/test/Sineflow_ElasticsearchBundle_Tests_App_AppKernelTestDebugContainer.xml | ||
|
||
paths: | ||
- config | ||
- src | ||
#- tests |
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,32 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Rector\Caching\ValueObject\Storage\FileCacheStorage; | ||
use Rector\Config\RectorConfig; | ||
use Rector\Doctrine\Set\DoctrineSetList; | ||
use Rector\Symfony\Set\SymfonySetList; | ||
|
||
return RectorConfig::configure() | ||
->withCache(__DIR__.'/.rector-cache', FileCacheStorage::class) | ||
->withSymfonyContainerXml(__DIR__.'/var/cache/test/Sineflow_ElasticsearchBundle_Tests_App_AppKernelTestDebugContainer.xml') | ||
->withPHPStanConfigs([__DIR__.'/phpstan.dist.neon']) | ||
->withParallel() | ||
|
||
->withImportNames(importShortClasses: false) // Allow global classes without use statements | ||
|
||
->withPaths([ | ||
__DIR__.'/config', | ||
__DIR__.'/src', | ||
__DIR__.'/tests', | ||
]) | ||
|
||
->withAttributesSets(symfony: true, doctrine: true) | ||
|
||
->withSets([ | ||
SymfonySetList::SYMFONY_CODE_QUALITY, | ||
DoctrineSetList::DOCTRINE_CODE_QUALITY, | ||
]) | ||
|
||
->withPhpSets() | ||
; |
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.