Skip to content

Commit 50ff99c

Browse files
andrewbessAndrii Beziazychnyi
authored and
Andrii Beziazychnyi
committed
Refactor: Remove deprecated methods
- removed deprecated method "loadConfigFile" from "Magento\Framework\App\DeploymentConfig\Reader"
1 parent 5067755 commit 50ff99c

File tree

1 file changed

+0
-17
lines changed
  • lib/internal/Magento/Framework/App/DeploymentConfig

1 file changed

+0
-17
lines changed

lib/internal/Magento/Framework/App/DeploymentConfig/Reader.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -124,21 +124,4 @@ public function load($fileKey = null)
124124
}
125125
return $result ?: [];
126126
}
127-
128-
/**
129-
* Loads the configuration file.
130-
*
131-
* @param string $fileKey The file key
132-
* @param string $pathConfig The path config
133-
* @param bool $ignoreInitialConfigFiles Whether ignore custom pools
134-
* @return array
135-
* @throws FileSystemException
136-
* @throws RuntimeException
137-
* @deprecated 100.2.0 Magento does not support custom config file pools since 2.2.0 version
138-
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
139-
*/
140-
public function loadConfigFile($fileKey, $pathConfig, $ignoreInitialConfigFiles = false)
141-
{
142-
return $this->load($fileKey);
143-
}
144127
}

0 commit comments

Comments
 (0)