Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
Composer /
DependencyResolver /
Delete
Unzip
Name
Size
Permission
Date
Action
Operation
[ DIR ]
drwxr-xr-x
2026-07-12 06:24
Decisions.php
6.09
KB
-rw-r--r--
2023-03-21 10:50
DefaultPolicy.php
8.5
KB
-rw-r--r--
2023-03-21 10:50
GenericRule.php
1.91
KB
-rw-r--r--
2023-03-21 10:50
LocalRepoTransaction.php
814
B
-rw-r--r--
2023-03-21 10:50
LockTransaction.php
5.52
KB
-rw-r--r--
2023-03-21 10:50
MultiConflictRule.php
2.56
KB
-rw-r--r--
2023-03-21 10:50
PolicyInterface.php
859
B
-rw-r--r--
2023-03-21 10:50
Pool.php
8.21
KB
-rw-r--r--
2023-03-21 10:50
PoolBuilder.php
30.46
KB
-rw-r--r--
2023-03-21 10:50
PoolOptimizer.php
18.97
KB
-rw-r--r--
2023-03-21 10:50
Problem.php
27.26
KB
-rw-r--r--
2023-03-21 10:50
Request.php
7.83
KB
-rw-r--r--
2023-03-21 10:50
Rule.php
19.3
KB
-rw-r--r--
2023-03-21 10:50
Rule2Literals.php
2.61
KB
-rw-r--r--
2023-03-21 10:50
RuleSet.php
4.82
KB
-rw-r--r--
2023-03-21 10:50
RuleSetGenerator.php
12.92
KB
-rw-r--r--
2023-03-21 10:50
RuleSetIterator.php
2.54
KB
-rw-r--r--
2023-03-21 10:50
RuleWatchChain.php
1.43
KB
-rw-r--r--
2023-03-21 10:50
RuleWatchGraph.php
6.37
KB
-rw-r--r--
2023-03-21 10:50
RuleWatchNode.php
2.86
KB
-rw-r--r--
2023-03-21 10:50
Solver.php
25.71
KB
-rw-r--r--
2023-03-21 10:50
SolverBugException.php
798
B
-rw-r--r--
2023-03-21 10:50
SolverProblemsException.php
5.5
KB
-rw-r--r--
2023-03-21 10:50
Transaction.php
13.67
KB
-rw-r--r--
2023-03-21 10:50
Save
Rename
<?php declare(strict_types=1); /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\DependencyResolver; /** * @author Nils Adermann <naderman@naderman.de> * @phpstan-import-type ReasonData from Rule */ class Rule2Literals extends Rule { /** @var int */ protected $literal1; /** @var int */ protected $literal2; /** * @param Rule::RULE_* $reason A RULE_* constant * @param mixed $reasonData * * @phpstan-param ReasonData $reasonData */ public function __construct(int $literal1, int $literal2, $reason, $reasonData) { parent::__construct($reason, $reasonData); if ($literal1 < $literal2) { $this->literal1 = $literal1; $this->literal2 = $literal2; } else { $this->literal1 = $literal2; $this->literal2 = $literal1; } } /** * @return list<int> */ public function getLiterals(): array { return [$this->literal1, $this->literal2]; } /** * @inheritDoc */ public function getHash() { return $this->literal1.','.$this->literal2; } /** * Checks if this rule is equal to another one * * Ignores whether either of the rules is disabled. * * @param Rule $rule The rule to check against * @return bool Whether the rules are equal */ public function equals(Rule $rule): bool { // specialized fast-case if ($rule instanceof self) { if ($this->literal1 !== $rule->literal1) { return false; } if ($this->literal2 !== $rule->literal2) { return false; } return true; } $literals = $rule->getLiterals(); if (2 !== \count($literals)) { return false; } if ($this->literal1 !== $literals[0]) { return false; } if ($this->literal2 !== $literals[1]) { return false; } return true; } /** @return false */ public function isAssertion(): bool { return false; } /** * Formats a rule as a string of the format (Literal1|Literal2|...) */ public function __toString(): string { $result = $this->isDisabled() ? 'disabled(' : '('; $result .= $this->literal1 . '|' . $this->literal2 . ')'; return $result; } }