Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: oroinc/OroAkeneoBundle
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e74ed3ff08344eb5a7ceb306a146896184e584c8
Choose a base ref
..
head repository: oroinc/OroAkeneoBundle
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7cfbfc152eaa05e8adcbc9eb9d93d0b5abd72451
Choose a head ref
Showing with 5 additions and 0 deletions.
  1. +2 −0 .php_cs.php
  2. +3 −0 ImportExport/Writer/AttributeWriter.php
2 changes: 2 additions & 0 deletions .php_cs.php
Original file line number Diff line number Diff line change
@@ -40,6 +40,8 @@
'escape_implicit_backslashes' => false,

// PHP
'@PHP74Migration' => true,
'@PHP74Migration:risky' => true,
'@PHP80Migration' => true,
'@PHP80Migration:risky' => true,

3 changes: 3 additions & 0 deletions ImportExport/Writer/AttributeWriter.php
Original file line number Diff line number Diff line change
@@ -356,6 +356,9 @@ private function saveFormConfig(string $className, string $fieldName): void
private function saveFrontendConfig(string $className, string $fieldName): void
{
$provider = $this->configManager->getProvider('frontend');
if (!$provider) {
return;
}
$config = $provider->getConfig($className, $fieldName);
$config->set('is_displayable', false);
$config->set('is_editable', false);