Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4 features #194

Merged
merged 27 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ecffe04
Add symfony messenger handler
TheGrimmChester Jun 4, 2024
ad6151b
Added interface for providers
TheGrimmChester Jun 6, 2024
9887423
Use process configuration using "continue" option
TheGrimmChester Jun 6, 2024
d65f5e7
Use process configuration using "continue" option
TheGrimmChester Jun 6, 2024
7b6ba4f
fix attribute resource processor
TheGrimmChester Jun 10, 2024
f432984
optimize product group processor
TheGrimmChester Jun 11, 2024
da0450d
use cache when retrieving family variation axes
TheGrimmChester Jun 12, 2024
7a3af19
Merge pull request #190 from synolia/feature/use-symfony-messenger
TheGrimmChester Jul 4, 2024
854a765
Merge pull request #191 from synolia/feature/add-interface-on-provider
TheGrimmChester Jul 4, 2024
95f589d
refacto filters and category import
TheGrimmChester Jun 13, 2024
c84e9d4
Merge pull request #192 from synolia/feature/add-from-page
TheGrimmChester Jul 4, 2024
2d3baf5
Fix CI
TheGrimmChester Jul 4, 2024
b0806fe
Fix minimum dependencies
TheGrimmChester Jul 4, 2024
b373f72
Fix import category position
TheGrimmChester Jul 11, 2024
433f747
Fix search method
TheGrimmChester Jul 25, 2024
bfd81ab
Fix category attribut import
TheGrimmChester Jul 31, 2024
155f4d5
Added more logs to akeneo category attributes import
TheGrimmChester Aug 21, 2024
077f87f
Added more logs to akeneo product asset import
TheGrimmChester Aug 22, 2024
5273f5b
Fix Symfony Messenger Task handler - clean already sent identifiers
TheGrimmChester Aug 23, 2024
4739488
updated phpstan baseline
TheGrimmChester Sep 12, 2024
00a7478
don't crash import on asset error
TheGrimmChester Sep 12, 2024
b00c7f9
Use Akeneo Logger everywhere
TheGrimmChester Oct 24, 2024
55b0453
fix phpstan
TheGrimmChester Oct 24, 2024
a9f672c
Added more info on debug logger
TheGrimmChester Nov 19, 2024
58ffeab
Removed deprecated and added property scopes
TheGrimmChester Nov 28, 2024
a21710e
Changed logger verbosity
TheGrimmChester Dec 6, 2024
b1ab481
Merge pull request #198 from synolia/fix/loggers
oallain Dec 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ jobs:
matrix:
php:
- 8.2
- 8.3
symfony:
- '5.4.*'
- '6.2.*'
- '6.4.*'
env:
APP_ENV: test
steps:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sylius.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ jobs:
matrix:
php:
- 8.2
- 8.3
sylius:
- 1.12.0
symfony:
- 5.4
- 6.2
- 6.4
node:
- 14.x
env:
Expand Down
17 changes: 8 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,22 @@
"description": "Akeneo connector for Sylius.",
"license": "EUPL-1.2",
"require": {
"php": "^8.0",
"php": "^8.2",
"ext-json": "*",
"akeneo/api-php-client": ">=8.0 <12.0",
"behat/transliterator": "^1.3",
"bluepsyduck/symfony-process-manager": "^1.3",
"doctrine/dbal": "^2.10 || ^3.0",
"doctrine/doctrine-bundle": "^1.12 || ^2.0",
"http-interop/http-factory-guzzle": "^1.0",
"http-interop/http-factory-guzzle": "^1.2",
"league/pipeline": "^1.0",
"php-http/guzzle6-adapter": "^2.0",
"psr/event-dispatcher": "^1.0",
"sylius/sylius": "^1.10",
"symfony/framework-bundle": "^5.4|^6.0",
"symfony/lock": "^5.4|^6.0",
"symfony/property-access": "^4.3|^5.4|^6.0",
"symfony/property-info": "^5.4|^6.0",
"symfony/serializer": "^5.4|^6.0",
"symfony/framework-bundle": "^6.0",
"symfony/lock": "^6.0",
"symfony/property-access": "^6.0",
"symfony/property-info": "^6.0",
"symfony/serializer": "^6.0",
"symfony/service-contracts": "^1.1|^2.0|^3.0",
"webmozart/assert": "^1.8"
},
Expand Down Expand Up @@ -67,7 +66,7 @@
},
"extra": {
"symfony": {
"require": "^5.4 || ^6.0"
"require": "^6.0"
}
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion install/Application/config/packages/test/akeneo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
Synolia\SyliusAkeneoPlugin\Factory\ProductModelPipelineFactory: ~
Synolia\SyliusAkeneoPlugin\Factory\AssociationTypePipelineFactory: ~
Synolia\SyliusAkeneoPlugin\Filter\ProductFilter: ~
Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider: ~
Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProvider: ~
Synolia\SyliusAkeneoPlugin\Provider\TaskProvider: ~
Synolia\SyliusAkeneoPlugin\Retriever\FamilyRetriever: ~
Synolia\SyliusAkeneoPlugin\Repository\ProductAttributeRepository: ~
Expand Down
530 changes: 195 additions & 335 deletions ruleset/phpstan-baseline.neon

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions ruleset/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ parameters:
- '#Call to an undefined method League\\Pipeline\\PipelineInterface\:\:process\(\).#'
- '#Method Doctrine\\Persistence\\ObjectRepository<object>\:\:findOneBy\(\) invoked with 2 parameters, 1 required.#'
- "#^Call to an undefined method Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface\\:\\:getFlashBag\\(\\)\\.$#"
-
message: '#Property [a-zA-Z0-9\\_]+::\$pipelineFactory is never read, only written.#'
path: ../src/Command/*
4 changes: 2 additions & 2 deletions src/Builder/Attribute/AssetAttributeValueValueBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

namespace Synolia\SyliusAkeneoPlugin\Builder\Attribute;

use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AssetCollectionAttributeTypeMatcher;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AttributeTypeMatcher;

final class AssetAttributeValueValueBuilder implements ProductAttributeValueValueBuilderInterface
{
public function __construct(
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private AttributeTypeMatcher $attributeTypeMatcher,
) {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

namespace Synolia\SyliusAkeneoPlugin\Builder\Attribute;

use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AttributeTypeMatcher;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\BooleanAttributeTypeMatcher;

final class BooleanProductAttributeValueValueBuilder implements ProductAttributeValueValueBuilderInterface
{
public function __construct(
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private AttributeTypeMatcher $attributeTypeMatcher,
) {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

namespace Synolia\SyliusAkeneoPlugin\Builder\Attribute;

use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AttributeTypeMatcher;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\CollectionReferenceEntityAttributeTypeMatcher;

final class CollectionReferenceEntityAttributeValueValueBuilder implements ProductAttributeValueValueBuilderInterface
{
public function __construct(
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private AttributeTypeMatcher $attributeTypeMatcher,
) {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

namespace Synolia\SyliusAkeneoPlugin\Builder\Attribute;

use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AttributeTypeMatcher;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\DatabaseMappingAttributeTypeMatcher;

final class DatabaseProductAttributeValueValueBuilder implements ProductAttributeValueValueBuilderInterface
{
public function __construct(
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private AttributeTypeMatcher $attributeTypeMatcher,
private DatabaseMappingAttributeTypeMatcher $databaseMappingAttributeTypeMatcher,
private ProductAttributeValueValueBuilder $productAttributeValueValueBuilder,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
use DateTime;
use DateTimeInterface;
use LogicException;
use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AttributeTypeMatcher;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\DateAttributeTypeMatcher;

final class DateProductAttributeValueValueBuilder implements ProductAttributeValueValueBuilderInterface
{
public function __construct(
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private AttributeTypeMatcher $attributeTypeMatcher,
) {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

namespace Synolia\SyliusAkeneoPlugin\Builder\Attribute;

use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AttributeTypeMatcher;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\IntegerAttributeTypeMatcher;

final class IntegerProductAttributeValueValueBuilder implements ProductAttributeValueValueBuilderInterface
{
public function __construct(
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private AttributeTypeMatcher $attributeTypeMatcher,
) {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

namespace Synolia\SyliusAkeneoPlugin\Builder\Attribute;

use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AttributeTypeMatcher;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\MetricAttributeTypeMatcher;

final class MetricProductAttributeValueValueBuilder implements ProductAttributeValueValueBuilderInterface
{
public function __construct(
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private AttributeTypeMatcher $attributeTypeMatcher,
) {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

namespace Synolia\SyliusAkeneoPlugin\Builder\Attribute;

use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\Transformer\AttributeOptionValueDataTransformerInterface;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AttributeTypeMatcher;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\MultiSelectAttributeTypeMatcher;

final class MultiSelectProductAttributeValueValueBuilder implements ProductAttributeValueValueBuilderInterface
{
public function __construct(
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private AttributeTypeMatcher $attributeTypeMatcher,
private AttributeOptionValueDataTransformerInterface $attributeOptionValueDataTransformer,
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function hasSupportedBuilder(string $attributeCode): bool
return true;
}
} catch (Throwable $throwable) {
$this->akeneoLogger->critical(sprintf(
$this->akeneoLogger->error(sprintf(
'AttributeValueBuilder "%s" failed to execute method support() for attribute "%s"',
$attributeValueBuilder::class,
$attributeCode,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
use Synolia\SyliusAkeneoPlugin\Exceptions\Attribute\MissingLocaleTranslationOrScopeException;
use Synolia\SyliusAkeneoPlugin\Exceptions\Attribute\MissingScopeException;
use Synolia\SyliusAkeneoPlugin\Exceptions\Attribute\TranslationNotFoundException;
use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\AkeneoReferenceEntityAttributeDataProviderInterface;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoReferenceEntityAttributeDataProviderInterface;
use Synolia\SyliusAkeneoPlugin\Provider\ProductRefEntityAttributeValueValueBuilderProviderInterface;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AttributeTypeMatcher;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\ReferenceEntityAttributeTypeMatcher;
Expand All @@ -21,7 +21,7 @@
final class ReferenceEntityAttributeValueValueBuilder implements ProductAttributeValueValueBuilderInterface
{
public function __construct(
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private AkeneoReferenceEntityAttributeDataProviderInterface $akeneoReferenceEntityAttributeDataProvider,
private AttributeTypeMatcher $attributeTypeMatcher,
private AkeneoPimClientInterface $client,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

namespace Synolia\SyliusAkeneoPlugin\Builder\Attribute;

use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\Transformer\AttributeOptionValueDataTransformerInterface;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AttributeTypeMatcher;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\SelectAttributeTypeMatcher;

final class SelectProductAttributeValueValueBuilder implements ProductAttributeValueValueBuilderInterface
{
public function __construct(
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private AttributeTypeMatcher $attributeTypeMatcher,
private AttributeOptionValueDataTransformerInterface $attributeOptionValueDataTransformer,
) {
Expand Down
4 changes: 2 additions & 2 deletions src/Builder/Attribute/TableAttributeValueValueBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
use Sylius\Component\Product\Model\ProductAttributeInterface;
use Sylius\Component\Resource\Repository\RepositoryInterface;
use Synolia\SyliusAkeneoPlugin\Exceptions\Processor\MissingAkeneoProductAttributeValueProcessorException;
use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\Provider\ProductAttributeValue\TableAttributeValueProcessorProviderInterface;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AttributeTypeMatcher;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\TableAttributeTypeMatcher;

final class TableAttributeValueValueBuilder implements ProductAttributeValueValueBuilderInterface
{
public function __construct(
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private AttributeTypeMatcher $attributeTypeMatcher,
private RepositoryInterface $productAttributeRepository,
private TableAttributeValueProcessorProviderInterface $tableAttributeValueProcessorProvider,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

namespace Synolia\SyliusAkeneoPlugin\Builder\Attribute;

use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AttributeTypeMatcher;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\TextareaAttributeTypeMatcher;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\TextAttributeTypeMatcher;

final class TextProductAttributeValueValueBuilder implements ProductAttributeValueValueBuilderInterface
{
public function __construct(
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private AttributeTypeMatcher $attributeTypeMatcher,
) {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use Synolia\SyliusAkeneoPlugin\Event\ProductOptionValueTranslation\AfterProcessingProductOptionValueTranslationEvent;
use Synolia\SyliusAkeneoPlugin\Event\ProductOptionValueTranslation\BeforeProcessingProductOptionValueTranslationEvent;
use Synolia\SyliusAkeneoPlugin\Exceptions\Builder\ProductOptionValueTranslation\ProductOptionValueTranslationBuilderNotFoundException;
use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\Provider\SyliusAkeneoLocaleCodeProvider;
use Synolia\SyliusAkeneoPlugin\Transformer\ProductOptionValueDataTransformerInterface;
use Webmozart\Assert\Assert;
Expand All @@ -29,7 +29,7 @@ public static function getDefaultPriority(): int
public function __construct(
private FactoryInterface $productOptionValueFactory,
private SyliusAkeneoLocaleCodeProvider $syliusAkeneoLocaleCodeProvider,
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private ProductOptionValueDataTransformerInterface $productOptionValueDataTransformer,
private ProductOptionValueTranslationBuilderProcessorInterface $productOptionValueTranslationBuilder,
private LoggerInterface $akeneoLogger,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
use Synolia\SyliusAkeneoPlugin\Exceptions\Retriever\FamilyMeasureNotFoundException;
use Synolia\SyliusAkeneoPlugin\Exceptions\Retriever\MeasurableNotFoundException;
use Synolia\SyliusAkeneoPlugin\Exceptions\UnsupportedAttributeTypeException;
use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributeDataProviderInterface;
use Synolia\SyliusAkeneoPlugin\Provider\AkeneoAttributePropertiesProvider;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributeDataProviderInterface;
use Synolia\SyliusAkeneoPlugin\Provider\Data\AkeneoAttributePropertiesProviderInterface;
use Synolia\SyliusAkeneoPlugin\Provider\ProductFilterRulesProviderInterface;
use Synolia\SyliusAkeneoPlugin\Retriever\FamilyMeasureRetriever;
use Synolia\SyliusAkeneoPlugin\TypeMatcher\Attribute\AttributeTypeMatcher;
Expand All @@ -29,7 +29,7 @@ class MetricProductOptionValueTranslationBuilder implements ProductOptionValueTr

public function __construct(
private AttributeTypeMatcher $attributeTypeMatcher,
private AkeneoAttributePropertiesProvider $akeneoAttributePropertiesProvider,
private AkeneoAttributePropertiesProviderInterface $akeneoAttributePropertiesProvider,
private AkeneoAttributeDataProviderInterface $akeneoAttributeDataProvider,
private FamilyMeasureRetriever $measureFamilyRetriever,
private ProductFilterRulesProviderInterface $productFilterRulesProvider,
Expand Down
2 changes: 1 addition & 1 deletion src/Builder/TaxonAttribute/TaxonAttributeValueBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function hasSupportedBuilder(string $attributeCode): bool
return true;
}
} catch (Throwable $throwable) {
$this->akeneoLogger->critical(sprintf(
$this->akeneoLogger->error(sprintf(
'TaxonAttributeValueBuilder "%s" failed to execute method support() for attribute "%s"',
$attributeValueBuilder::class,
$attributeCode,
Expand Down
Loading
Loading