Skip to content

Commit

Permalink
Merge pull request #33 from flagbit/fix-akeneo-bc-break
Browse files Browse the repository at this point in the history
Fix BC break introduced by Akeneo core
  • Loading branch information
Antonio Mansilla authored Sep 10, 2019
2 parents 1aaaae6 + 0c7d9c0 commit 55e98bf
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 144 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ php bin/console --env=prod doctrine:migrations:migrate

This extension supports the latest Akeneo PIM CE/EE stable versions:

* 3.2 (LTS)
* 3.0 (LTS)
* 2.3 (LTS)

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
],
"require": {
"ext-json": "*",
"akeneo/pim-community-dev": "^3.0.0"
"akeneo/pim-community-dev": "~3.0.21 || ~3.2.0"
},
"require-dev": {
"phpspec/phpspec": "^5.1",
Expand Down

This file was deleted.

7 changes: 6 additions & 1 deletion src/Resources/config/validators.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@
</parameters>

<services>
<service class="Flagbit\Bundle\TableAttributeBundle\Validator\Constraints\AttributeTypeForOptionValidator"
<service class="Akeneo\Pim\Structure\Component\Validator\Constraints\AttributeTypeForOptionValidator"
id="pim_catalog.validator.constraint.attribute_type_for_option">
<argument type="collection">
<argument>pim_catalog_simpleselect</argument>
<argument>pim_catalog_multiselect</argument>
<argument>flagbit_catalog_table</argument>
</argument>
<tag name="validator.constraint_validator" alias="pim_attribute_type_for_option_validator" />
</service>

Expand Down
38 changes: 0 additions & 38 deletions src/Validator/Constraints/AttributeTypeForOptionValidator.php

This file was deleted.

0 comments on commit 55e98bf

Please sign in to comment.