Ghost Exploiter Team Official
Mass Deface
Directory >>
/
var
/
www
/
html
/
back
/
vendor
/
phpdocumentor
/
reflection
/
tests
/
integration
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
type
file
dir
+File/Dir
Metadata
--
ren
PHP8
--
ren
data
--
ren
AsymmetricAccessorTest.php
1.77KB
edt
ren
ClassesTest.php
5.517KB
edt
ren
EnumTest.php
4.222KB
edt
ren
FileDocblockTest.php
2.495KB
edt
ren
MetadataTest.php
0.902KB
edt
ren
ProjectCreationTest.php
8.876KB
edt
ren
ProjectNamespaceTest.php
1.976KB
edt
ren
PropertyHookTest.php
6.052KB
edt
ren
<?php declare(strict_types=1); /** * This file is part of phpDocumentor. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @link http://phpdoc.org */ namespace phpDocumentor\Reflection; use phpDocumentor\Reflection\File\LocalFile; use phpDocumentor\Reflection\Php\ProjectFactory; use PHPUnit\Framework\TestCase; /** * Integration tests to check the correct working of processing a namespace into a project. * * @coversNothing */ class ProjectNamespaceTest extends TestCase { /** * @var ProjectFactory */ private $fixture; protected function setUp() : void { $this->fixture = $this->fixture = ProjectFactory::createInstance(); } public function testWithNamespacedClass() : void { $fileName = __DIR__ . '/data/Luigi/Pizza.php'; $project = $this->fixture->create( 'My Project', [ new LocalFile($fileName) ] ); $this->assertArrayHasKey($fileName, $project->getFiles()); $this->assertArrayHasKey('\\Luigi', $project->getNamespaces()); $this->assertEquals( ['\\Luigi\\Pizza' => new Fqsen('\\Luigi\\Pizza')], $project->getNamespaces()['\\Luigi']->getClasses() ); } public function testWithNamespacedConstant() : void { $fileName = __DIR__ . '/data/Luigi/constants.php'; $project = $this->fixture->create( 'My Project', [ new LocalFile($fileName) ] ); $this->assertArrayHasKey($fileName, $project->getFiles()); $this->assertArrayHasKey('\\Luigi', $project->getNamespaces()); $this->assertEquals( [ '\\Luigi\\OVEN_TEMPERATURE' => new Fqsen('\\Luigi\\OVEN_TEMPERATURE'), '\\Luigi\\MAX_OVEN_TEMPERATURE' => new Fqsen('\\Luigi\\MAX_OVEN_TEMPERATURE'), ], $project->getNamespaces()['\\Luigi']->getConstants() ); } }
<=Back
Liking