Playground Core Module

6.0.4 2023-08-19 14:27 UTC

README

SensioLabsInsight

Develop Branch Build Status Scrutinizer Quality Score Coverage Status

Latest Stable Version Total Downloads Latest Unstable Version License

This library contains the following features :

Each feature is explained in the wiki : https://github.com/gregorybesson/PlaygroundCore/wiki

Migration Laminas

  1. Màj bootstrap de /tests avec
  $config = ArrayUtils::merge($baseConfig, $testConfig);

  $smConfig = new ServiceManagerConfig($config);
  $serviceManager = new ServiceManager();
  $smConfig->configureServiceManager($serviceManager);

  $serviceManager->setService('ApplicationConfig', $config);
  $serviceManager->get('ModuleManager')->loadModules();
  1. Remplacer
public function setUp()

par

protected function setUp(): void
  1. Remplacer
public function tearDown()

par

protected function tearDown(): void
  1. Remplacer
\PHPUnit_Framework_TestCase

par

\PHPUnit\Framework\TestCase
  1. Les annotations PHPUNIT
  2. Remplacer
'MvcTranslator'                      => 'Laminas\Mvc\I18n\TranslatorServiceFactory',

par

'MvcTranslator'                      => 'Laminas\I18n\Translator\TranslatorServiceFactory',