Loading core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php +0 −1 Original line number Diff line number Diff line Loading @@ -859,7 +859,6 @@ protected static function createEphemeralPairedEditor(EditorInterface $editor, F $paired_editor->enforceIsNew(TRUE); $reflector = new \ReflectionObject($paired_editor); $property = $reflector->getProperty('filterFormat'); $property->setAccessible(TRUE); $property->setValue($paired_editor, clone $filter_format); return $paired_editor; } Loading core/modules/ckeditor5/src/SmartDefaultSettings.php +0 −1 Original line number Diff line number Diff line Loading @@ -125,7 +125,6 @@ public function computeSmartDefaultSettings(?EditorInterface $text_editor, Filte // @todo Remove in https://www.drupal.org/project/drupal/issues/3231347. $reflector = new \ReflectionObject($text_editor); $property = $reflector->getProperty('filterFormat'); $property->setAccessible(TRUE); $property->setValue($text_editor, $text_format); } Loading core/modules/ckeditor5/tests/src/Traits/PrivateMethodUnitTestTrait.php +0 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ trait PrivateMethodUnitTestTrait { protected static function getMethod(string $fqcn, string $name): \ReflectionMethod { $class = new \ReflectionClass($fqcn); $method = $class->getMethod($name); $method->setAccessible(TRUE); return $method; } Loading core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php +0 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,6 @@ public function testConstructor() { $comment_bulk_form->init($executable, $display, $options); $reflected_actions = (new \ReflectionObject($comment_bulk_form))->getProperty('actions'); $reflected_actions->setAccessible(TRUE); $this->assertEquals(array_slice($actions, 0, -1, TRUE), $reflected_actions->getValue($comment_bulk_form)); } Loading core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php +0 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,6 @@ protected function setupEntityTypes() { ]; $reflector = new \ReflectionProperty($this->routeSubscriber, 'moderatedEntityTypes'); $reflector->setAccessible(TRUE); $reflector->setValue($this->routeSubscriber, $entity_types); } Loading Loading
core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php +0 −1 Original line number Diff line number Diff line Loading @@ -859,7 +859,6 @@ protected static function createEphemeralPairedEditor(EditorInterface $editor, F $paired_editor->enforceIsNew(TRUE); $reflector = new \ReflectionObject($paired_editor); $property = $reflector->getProperty('filterFormat'); $property->setAccessible(TRUE); $property->setValue($paired_editor, clone $filter_format); return $paired_editor; } Loading
core/modules/ckeditor5/src/SmartDefaultSettings.php +0 −1 Original line number Diff line number Diff line Loading @@ -125,7 +125,6 @@ public function computeSmartDefaultSettings(?EditorInterface $text_editor, Filte // @todo Remove in https://www.drupal.org/project/drupal/issues/3231347. $reflector = new \ReflectionObject($text_editor); $property = $reflector->getProperty('filterFormat'); $property->setAccessible(TRUE); $property->setValue($text_editor, $text_format); } Loading
core/modules/ckeditor5/tests/src/Traits/PrivateMethodUnitTestTrait.php +0 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ trait PrivateMethodUnitTestTrait { protected static function getMethod(string $fqcn, string $name): \ReflectionMethod { $class = new \ReflectionClass($fqcn); $method = $class->getMethod($name); $method->setAccessible(TRUE); return $method; } Loading
core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php +0 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,6 @@ public function testConstructor() { $comment_bulk_form->init($executable, $display, $options); $reflected_actions = (new \ReflectionObject($comment_bulk_form))->getProperty('actions'); $reflected_actions->setAccessible(TRUE); $this->assertEquals(array_slice($actions, 0, -1, TRUE), $reflected_actions->getValue($comment_bulk_form)); } Loading
core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php +0 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,6 @@ protected function setupEntityTypes() { ]; $reflector = new \ReflectionProperty($this->routeSubscriber, 'moderatedEntityTypes'); $reflector->setAccessible(TRUE); $reflector->setValue($this->routeSubscriber, $entity_types); } Loading