Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php declare(strict_types=1); namespace Drupal\Tests\comment\Functional\Views; /** * ..
Decoded Output download
<?php
declare(strict_types=1);
namespace Drupal\Tests\comment\Functional\Views;
/**
* Tests the comment row plugin.
*
* @group comment
*/
class CommentRowTest extends CommentTestBase {
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* Views used by this test.
*
* @var array
*/
public static $testViews = ['test_comment_row'];
/**
* Tests comment row.
*/
public function testCommentRow(): void {
$this->drupalGet('test-comment-row');
$this->assertSession()->elementsCount('xpath', '//article[contains(@class, "comment")]', 1);
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace Drupal\Tests\comment\Functional\Views;
/**
* Tests the comment row plugin.
*
* @group comment
*/
class CommentRowTest extends CommentTestBase {
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* Views used by this test.
*
* @var array
*/
public static $testViews = ['test_comment_row'];
/**
* Tests comment row.
*/
public function testCommentRow(): void {
$this->drupalGet('test-comment-row');
$this->assertSession()->elementsCount('xpath', '//article[contains(@class, "comment")]', 1);
}
}
Function Calls
None |
Stats
MD5 | e81c68a5ff9fedbb11c8003e7b34b2af |
Eval Count | 0 |
Decode Time | 102 ms |