Loading be_sure.module +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ const BE_SURE_STATUS_OK = 'messages--status'; const BE_SURE_STATUS_NOK = 'messages--warning'; define('BE_SURE_MODULE_PATH', drupal_get_path('module', 'be_sure')); define('BE_SURE_MODULE_PATH', \Drupal::service('extension.list.module')->getPath('be_sure')); use Drupal\Core\Url; use Drupal\Core\Link; Loading modules/bs_performance/tests/src/Kernel/BeSurePerformanceCacheTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ class BeSurePerformanceCacheTest extends KernelTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->installConfig(['system']); Loading modules/bs_performance/tests/src/Kernel/BeSurePerformanceOtherTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ class BeSurePerformanceOtherTest extends KernelTestBase { /** * {@inheritdoc} */ public function setUp() { public function setUp(): void { parent::setUp(); $this->installConfig(['system']); Loading modules/bs_security/tests/src/Kernel/BeSureSecurityTest.php +3 −3 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ class BsSecurityTest extends KernelTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->installConfig(['system']); Loading @@ -39,7 +39,7 @@ class BsSecurityTest extends KernelTestBase { if ($moduleHandler->moduleExists($module)) { $this->disableModules([$module]); } $this->assertEqual(call_user_func($callback), !$expected); $this->assertEquals(call_user_func($callback), !$expected); } /** Loading @@ -49,7 +49,7 @@ class BsSecurityTest extends KernelTestBase { */ public function testEnabledModules($module, $callback, $expected) { $this->enableModules([$module]); $this->assertEqual(call_user_func($callback), $expected); $this->assertEquals(call_user_func($callback), $expected); } /** Loading modules/bs_seo/tests/src/Kernel/BeSureSeoBestPractices.php +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ class BeSureSeoBestPractices extends KernelTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); } Loading Loading
be_sure.module +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ const BE_SURE_STATUS_OK = 'messages--status'; const BE_SURE_STATUS_NOK = 'messages--warning'; define('BE_SURE_MODULE_PATH', drupal_get_path('module', 'be_sure')); define('BE_SURE_MODULE_PATH', \Drupal::service('extension.list.module')->getPath('be_sure')); use Drupal\Core\Url; use Drupal\Core\Link; Loading
modules/bs_performance/tests/src/Kernel/BeSurePerformanceCacheTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ class BeSurePerformanceCacheTest extends KernelTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->installConfig(['system']); Loading
modules/bs_performance/tests/src/Kernel/BeSurePerformanceOtherTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ class BeSurePerformanceOtherTest extends KernelTestBase { /** * {@inheritdoc} */ public function setUp() { public function setUp(): void { parent::setUp(); $this->installConfig(['system']); Loading
modules/bs_security/tests/src/Kernel/BeSureSecurityTest.php +3 −3 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ class BsSecurityTest extends KernelTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->installConfig(['system']); Loading @@ -39,7 +39,7 @@ class BsSecurityTest extends KernelTestBase { if ($moduleHandler->moduleExists($module)) { $this->disableModules([$module]); } $this->assertEqual(call_user_func($callback), !$expected); $this->assertEquals(call_user_func($callback), !$expected); } /** Loading @@ -49,7 +49,7 @@ class BsSecurityTest extends KernelTestBase { */ public function testEnabledModules($module, $callback, $expected) { $this->enableModules([$module]); $this->assertEqual(call_user_func($callback), $expected); $this->assertEquals(call_user_func($callback), $expected); } /** Loading
modules/bs_seo/tests/src/Kernel/BeSureSeoBestPractices.php +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ class BeSureSeoBestPractices extends KernelTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); } Loading