PrestaShopCorp/ps_accounts

1.6 compatibility

apacios opened this issue · 2 comments

In PrestaShop 1.6 the namespaces can be tricky.

In ps_accounts remove :

  • use PrestaShop\Module\PsAccounts\Module\Install;
  • use PrestaShop\Module\PsAccounts\Module\Uninstall;
  • use Symfony\Component\Dotenv\Dotenv;

Use it directly when instantiating the class. Example : new Symfony\Component\Dotenv\Dotenv();

Compatibility with PrestaShop 1.6 can be difficult to achieve. There is a PR on the developer documentation which describes the pain points. If we missed something, please let us know.

PrestaShop/docs#472

@david-piatek tu as tendu vers cela ?