-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update symfony to version 4.4 (#1704)
- Loading branch information
Showing
132 changed files
with
872 additions
and
921 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 |
---|---|---|
|
@@ -25,3 +25,5 @@ yarn-error.log | |
|
||
/assets/js/translations.json | ||
/assets/js/bundles | ||
|
||
/.phpunit.result.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
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,3 @@ | ||
sensio_framework_extra: | ||
router: | ||
annotations: 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
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 |
---|---|---|
@@ -1,88 +1,70 @@ | ||
imports: | ||
- { resource: parameters_test.yml } | ||
|
||
framework: | ||
test: true | ||
|
||
services: | ||
_defaults: | ||
autowire: true | ||
autoconfigure: true | ||
public: true | ||
|
||
Shopsys\FrameworkBundle\Component\Localization\DateTimeFormatter: | ||
factory: ['@Shopsys\FrameworkBundle\Model\Localization\CustomDateTimeFormatterFactory', create] | ||
|
||
CommerceGuys\Intl\Currency\CurrencyRepositoryInterface: | ||
class: Shopsys\FrameworkBundle\Model\Localization\IntlCurrencyRepository | ||
|
||
Shopsys\FrameworkBundle\Component\EntityExtension\EntityNameResolver: | ||
class: Tests\App\Functional\EntityExtension\OverwritableEntityNameResolver | ||
arguments: | ||
- "%shopsys.entity_extension.map%" | ||
|
||
Tests\App\Functional\EntityExtension\OverwritableEntityNameResolver: '@Shopsys\FrameworkBundle\Component\EntityExtension\EntityNameResolver' | ||
|
||
joschi127_doctrine_entity_override.event_subscriber.load_orm_metadata: | ||
class: Tests\App\Functional\EntityExtension\OverwritableLoadORMMetadataSubscriber | ||
Tests\App\Functional\EntityExtension\OverwritableLoadORMMetadataSubscriber: | ||
arguments: | ||
- "@service_container" | ||
- "%shopsys.entity_extension.map%" | ||
tags: | ||
- { name: doctrine.event_subscriber, priority: -10 } | ||
|
||
League\Flysystem\FilesystemInterface: '@main_filesystem' | ||
|
||
Shopsys\FrameworkBundle\Model\Article\ArticleFactoryInterface: '@Shopsys\FrameworkBundle\Model\Article\ArticleFactory' | ||
|
||
Shopsys\FrameworkBundle\Model\Article\ArticleFactory: ~ | ||
Symfony\Bridge\Twig\Extension\HttpKernelRuntime: | ||
arguments: ['@fragment.handler'] | ||
|
||
Shopsys\FrameworkBundle\Model\Article\ArticleDataFactoryInterface: '@App\Model\Article\ArticleDataFactory' | ||
|
||
Shopsys\FrameworkBundle\Model\Administrator\AdministratorDataFactoryInterface: '@App\Model\Administrator\AdministratorDataFactory' | ||
|
||
Shopsys\FrameworkBundle\Model\Category\CategoryDataFactoryInterface: '@App\Model\Category\CategoryDataFactory' | ||
|
||
Shopsys\FrameworkBundle\Model\Customer\User\CustomerUserDataFactoryInterface: '@App\Model\Customer\User\CustomerUserDataFactory' | ||
|
||
Shopsys\FrameworkBundle\Model\Order\Item\OrderItemDataFactoryInterface: '@App\Model\Order\Item\OrderItemDataFactory' | ||
|
||
Shopsys\FrameworkBundle\Model\Order\Item\OrderItemFactoryInterface: '@Shopsys\FrameworkBundle\Model\Order\Item\OrderItemFactory' | ||
Shopsys\FrameworkBundle\Model\Pricing\PriceConverter: ~ | ||
|
||
Shopsys\FrameworkBundle\Model\Order\OrderDataFactoryInterface: '@App\Model\Order\OrderDataFactory' | ||
Shopsys\FrameworkBundle\Model\Localization\IntlCurrencyRepository: ~ | ||
|
||
Shopsys\FrameworkBundle\Model\Transport\TransportDataFactoryInterface: '@App\Model\Transport\TransportDataFactory' | ||
Shopsys\FrameworkBundle\Model\Feed\FeedFacade: ~ | ||
|
||
Shopsys\FrameworkBundle\Model\Product\Availability\AvailabilityDataFactoryInterface: '@Shopsys\FrameworkBundle\Model\Product\Availability\AvailabilityDataFactory' | ||
Shopsys\FrameworkBundle\Component\Router\Security\RouteCsrfProtector: ~ | ||
|
||
Shopsys\FrameworkBundle\Model\Payment\PaymentDataFactoryInterface: '@App\Model\Payment\PaymentDataFactory' | ||
Shopsys\FrameworkBundle\Component\DataFixture\PersistentReferenceFacade: ~ | ||
|
||
Shopsys\FrameworkBundle\Model\Product\ProductDataFactoryInterface: '@App\Model\Product\ProductDataFactory' | ||
Shopsys\FrameworkBundle\Component\Router\DomainRouterFactory: | ||
arguments: ['%router.resource%'] | ||
|
||
Shopsys\FrameworkBundle\Model\Product\Availability\AvailabilityDataFactory: ~ | ||
Shopsys\ReadModelBundle\Image\ImageViewFacade: ~ | ||
|
||
Shopsys\FrameworkBundle\Model\Product\Elasticsearch\ProductExportRepository: ~ | ||
Shopsys\ReadModelBundle\Product\Action\ProductActionViewFacade: ~ | ||
|
||
Shopsys\FrameworkBundle\Model\Product\Brand\BrandDataFactoryInterface: '@App\Model\Product\Brand\BrandDataFactory' | ||
Shopsys\FrameworkBundle\Component\Image\ImageFacade: | ||
arguments: ['%shopsys.image_url_prefix%'] | ||
|
||
Shopsys\ReadModelBundle\Product\Action\ProductActionViewFacade: ~ | ||
Shopsys\FrameworkBundle\Component\Image\ImageLocator: | ||
arguments: ['%shopsys.image_dir%'] | ||
|
||
Shopsys\ReadModelBundle\Product\Listed\ListedProductViewFacade: ~ | ||
League\Flysystem\FilesystemInterface: '@main_filesystem' | ||
|
||
Shopsys\ReadModelBundle\Product\Listed\ListedProductViewFacadeInterface: '@Shopsys\ReadModelBundle\Product\Listed\ListedProductViewElasticFacade' | ||
Shopsys\FrameworkBundle\Component\Router\CurrentDomainRouter: | ||
tags: | ||
- { name: router, priority: 70 } | ||
|
||
Shopsys\FrameworkBundle\Model\Localization\Localization: | ||
arguments: | ||
$adminLocale: '%shopsys.admin_locale%' | ||
|
||
Shopsys\FrameworkBundle\Component\Router\DomainRouterFactory: | ||
arguments: ['%router.resource%'] | ||
CommerceGuys\Intl\Currency\CurrencyRepositoryInterface: | ||
class: Shopsys\FrameworkBundle\Model\Localization\IntlCurrencyRepository | ||
|
||
Shopsys\FrameworkBundle\Component\CurrencyFormatter\CurrencyFormatterFactory: ~ | ||
|
||
Shopsys\FrameworkBundle\Model\Localization\IntlCurrencyRepository: ~ | ||
|
||
Shopsys\FrameworkBundle\Twig\NumberFormatterExtension: ~ | ||
|
||
Shopsys\FrameworkBundle\Model\Administration\AdministrationFacade: ~ | ||
|
||
Shopsys\FrameworkBundle\Model\Pricing\PriceConverter: ~ | ||
|
||
Shopsys\FrameworkBundle\Model\Pricing\Rounding: ~ |
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,37 +1,24 @@ | ||
parameters: | ||
|
||
treatPhpDocTypesAsCertain: false | ||
|
||
ignoreErrors: | ||
- | ||
# We need to have undefined variable for testing purposes | ||
message: '#^Undefined variable: \$undefined$#' | ||
path: %currentWorkingDirectory%/project-base/src/Controller/Test/ErrorHandlerController.php | ||
- | ||
# We need to have undefined variable for testing purposes | ||
message: '#^Expression "\$undefined\[42\]" on a separate line does not do anything\.$#' | ||
path: %currentWorkingDirectory%/project-base/src/Controller/Test/ErrorHandlerController.php | ||
- | ||
# Ignore annotations in generated code | ||
message: '#^PHPDoc tag @(param|return) has invalid value (.|\n)+ expected TOKEN_IDENTIFIER at offset \d+$#' | ||
path: %currentWorkingDirectory%/tests/App/Test/Codeception/_generated/AcceptanceTesterActions.php | ||
message: '#^PHPDoc tag @(param|return) has invalid value (.|\n)+ expected type at offset \d+$#' | ||
path: %currentWorkingDirectory%/project-base/tests/App/Test/Codeception/_generated/AcceptanceTesterActions.php | ||
- | ||
# Ignore annotations in generated code | ||
message: '#^PHPDoc tag @throws with type .+ is not subtype of Throwable$#' | ||
path: %currentWorkingDirectory%/tests/App/Test/Codeception/_generated/AcceptanceTesterActions.php | ||
- | ||
# In data fixtures, we often access persistent references using $this->getReference() | ||
message: '#^Property (App|Shopsys)\\.+::\$.+ \((App|Shopsys)\\.+\) does not accept object\.$#' | ||
path: %currentWorkingDirectory%/src/DataFixtures/* | ||
- | ||
# In tests, we often grab services using $container->get() or access persistent references using $this->getReference() | ||
message: '#^Property (Shopsys|Tests)\\.+::\$.+ \(.+\) does not accept (object|object\|null)\.$#' | ||
path: %currentWorkingDirectory%/tests/App/* | ||
- | ||
# In tests, there are helper methods for grabbing services using $container->get() | ||
message: '#^Method .+::.+\(\) should return .+ but returns (object|object\|null)\.$#' | ||
path: %currentWorkingDirectory%/tests/App/* | ||
- | ||
# Actually, we are setting an array item using "$array[] = $this->getReference()" | ||
message: '#^Array \(array<.+>\) does not accept object\.$#' | ||
path: %currentWorkingDirectory%/tests/App/Functional/Model/Product/ProductOnCurrentDomainFacadeCountDataTest.php | ||
- | ||
# Actually, we are setting an array item using "$array[] = $this->getReference()" | ||
message: '#^Array \(array<.+>\) does not accept object\.$#' | ||
path: %currentWorkingDirectory%/src/DataFixtures/Demo/ProductDataFixture.php | ||
- | ||
# We need to have undefined variable for testing purposes | ||
message: '#^Undefined variable: \$undefined$#' | ||
path: %currentWorkingDirectory%/src/Controller/Test/ErrorHandlerController.php | ||
path: %currentWorkingDirectory%/project-base/tests/App/Test/Codeception/_generated/AcceptanceTesterActions.php | ||
includes: | ||
- vendor/phpstan/phpstan-doctrine/extension.neon | ||
- vendor/phpstan/phpstan-phpunit/extension.neon |
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.