repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Executor/Server.php
src/Executor/Server.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Executor; use Closure; use Deployer\Exception\Exception; use Symfony\Component\Console\Output\...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Executor/Worker.php
src/Executor/Worker.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Executor; use Deployer\Deployer; use Deployer\Exception\Exception; use Deployer\Exception\Grac...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Executor/Master.php
src/Executor/Master.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Executor; use Deployer\Deployer; use Deployer\Host\Host; use Deployer\Host\HostCollection; use...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Selector/Selector.php
src/Selector/Selector.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Selector; use Deployer\Host\Host; use Deployer\Host\HostCollection; use function Deployer\Sup...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Documentation/DocGen.php
src/Documentation/DocGen.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Documentation; use RecursiveDirectoryIterator; use RecursiveIteratorIterator; use RecursiveReg...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Documentation/DocRecipe.php
src/Documentation/DocRecipe.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Documentation; class DocRecipe { /** * @var string */ public $recipeName; ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Documentation/ApiGen.php
src/Documentation/ApiGen.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Documentation; class ApiGen { /** * @var array */ private $fns = []; pu...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Documentation/DocConfig.php
src/Documentation/DocConfig.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Documentation; class DocConfig { /** * @var string */ public $name; /** ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Documentation/DocTask.php
src/Documentation/DocTask.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Documentation; class DocTask { /** * @var string */ public $name; /** ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Host/Localhost.php
src/Host/Localhost.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Host; class Localhost extends Host { public function __construct(string $hostname = 'local...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Host/Range.php
src/Host/Range.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Host; class Range { public const PATTERN = '/\[(.+?)\]/'; public static function expa...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Host/HostCollection.php
src/Host/HostCollection.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Host; use Deployer\Collection\Collection; /** * @method Host get($name) * @method Host[] ge...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Host/Host.php
src/Host/Host.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Host; use Deployer\Configuration; use Deployer\Deployer; use Deployer\Exception\ConfigurationE...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Update.php
src/Component/PharUpdate/Update.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate; use Deployer\Component\PharUpdate\Exception\FileException; use Deployer\Component\PharUpdate\Exception\LogicException; use Deployer\Component\PharUpdate\Version\Comparator; use Deployer\Component\PharUpdate\Version\Version; use Phar; use SplFile...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Manager.php
src/Component/PharUpdate/Manager.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate; use Deployer\Component\PharUpdate\Exception\InvalidArgumentException; use Deployer\Component\PharUpdate\Version\Parser; use Deployer\Component\PharUpdate\Version\Version; /** * Manages the Phar update process. * * @author Kevin Herrera <kevi...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Manifest.php
src/Component/PharUpdate/Manifest.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate; use Deployer\Component\PharUpdate\Version\Comparator; use Deployer\Component\PharUpdate\Version\Parser; use Deployer\Component\PharUpdate\Version\Version; /** * Manages the contents of an updates manifest file. * * @author Kevin Herrera <kev...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Console/Command.php
src/Component/PharUpdate/Console/Command.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Console; use Deployer\Component\PharUpdate\Manager; use LogicException; use Symfony\Component\Console\Command\Command as Base; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Compon...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Console/Helper.php
src/Component/PharUpdate/Console/Helper.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Console; use Deployer\Component\PharUpdate\Manager; use Deployer\Component\PharUpdate\Manifest; use Symfony\Component\Console\Helper\Helper as Base; /** * The helper provides a Manager factory. * * @author Kevin Herrera <kevin@herrera.io> */...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Exception/FileException.php
src/Component/PharUpdate/Exception/FileException.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Exception; /** * Used for errors when using the file system. * * @author Kevin Herrera <kevin@herrera.io> */ class FileException extends Exception {}
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Exception/Exception.php
src/Component/PharUpdate/Exception/Exception.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Exception; /** * Provides additional functional to the Exception class. * * @author Kevin Herrera <kevin@herrera.io> */ class Exception extends \Exception implements ExceptionInterface { /** * Creates a new exception using a format a...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Exception/ExceptionInterface.php
src/Component/PharUpdate/Exception/ExceptionInterface.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Exception; /** * Indicates that the exception came from this library. * * @author Kevin Herrera <kevin@herrera.io> */ interface ExceptionInterface {}
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Exception/LogicException.php
src/Component/PharUpdate/Exception/LogicException.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Exception; /** * Used if developer did something stupid (or overlooked something). * * @author Kevin Herrera <kevin@herrera.io> */ class LogicException extends Exception {}
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Exception/InvalidArgumentException.php
src/Component/PharUpdate/Exception/InvalidArgumentException.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Exception; /** * Used if an invalid argument is given. * * @author Kevin Herrera <kevin@herrera.io> */ class InvalidArgumentException extends Exception {}
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Version/Dumper.php
src/Component/PharUpdate/Version/Dumper.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Version; /** * Dumps the Version instance to a variety of formats. * * @author Kevin Herrera <kevin@herrera.io> */ class Dumper { /** * Returns the components of a Version instance. * * @param Version $version A version. ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Version/Version.php
src/Component/PharUpdate/Version/Version.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Version; /** * Stores and returns the version information. * * @author Kevin Herrera <kevin@herrera.io> */ class Version { /** * The build metadata identifiers. * * @var array */ protected $build; /** * T...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Version/Builder.php
src/Component/PharUpdate/Version/Builder.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Version; use Deployer\Component\PharUpdate\Version\Exception\InvalidIdentifierException; use Deployer\Component\PharUpdate\Version\Exception\InvalidNumberException; /** * Builds a new version number. * * @author Kevin Herrera <kevin@herrera.i...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Version/Comparator.php
src/Component/PharUpdate/Version/Comparator.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Version; /** * Compares two Version instances. * * @author Kevin Herrera <kevin@herrera.io> */ class Comparator { /** * The version is equal to another. */ public const EQUAL_TO = 0; /** * The version is greater th...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Version/Parser.php
src/Component/PharUpdate/Version/Parser.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Version; use Deployer\Component\PharUpdate\Version\Exception\InvalidStringRepresentationException; /** * Parses the string representation of a version number. * * @author Kevin Herrera <kevin@herrera.io> */ class Parser { /** * The ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Version/Validator.php
src/Component/PharUpdate/Version/Validator.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Version; /** * Validates version information. * * @author Kevin Herrera <kevin@herrera.io> */ class Validator { /** * The regular expression for a valid identifier. */ public const IDENTIFIER_REGEX = '/^[0-9A-Za-z\-]+$/'; ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Version/Exception/InvalidIdentifierException.php
src/Component/PharUpdate/Version/Exception/InvalidIdentifierException.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Version\Exception; /** * Thrown if an invalid identifier is used. * * @author Kevin Herrera <kevin@herrera.io> */ class InvalidIdentifierException extends VersionException { /** * The invalid identifier. * * @var string ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Version/Exception/VersionException.php
src/Component/PharUpdate/Version/Exception/VersionException.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Version\Exception; use Exception; /** * The base library exception class. * * @author Kevin Herrera <kevin@herrera.io> */ class VersionException extends Exception {}
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Version/Exception/InvalidNumberException.php
src/Component/PharUpdate/Version/Exception/InvalidNumberException.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Version\Exception; /** * Thrown if an invalid version number is used. * * @author Kevin Herrera <kevin@herrera.io> */ class InvalidNumberException extends VersionException { /** * The invalid version number. * * @var mixed ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/PharUpdate/Version/Exception/InvalidStringRepresentationException.php
src/Component/PharUpdate/Version/Exception/InvalidStringRepresentationException.php
<?php declare(strict_types=1); namespace Deployer\Component\PharUpdate\Version\Exception; /** * Throw if an invalid version string representation is used. * * @author Kevin Herrera <kevin@herrera.io> */ class InvalidStringRepresentationException extends VersionException { /** * The invalid string repres...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/Pimple/Container.php
src/Component/Pimple/Container.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Component\Pimple; use Deployer\Component\Pimple\Exception\ExpectedInvokableException; use Depl...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/Pimple/Exception/ExpectedInvokableException.php
src/Component/Pimple/Exception/ExpectedInvokableException.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Component\Pimple\Exception; use Psr\Container\ContainerExceptionInterface; /** * A closure o...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/Pimple/Exception/InvalidServiceIdentifierException.php
src/Component/Pimple/Exception/InvalidServiceIdentifierException.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Component\Pimple\Exception; use Psr\Container\NotFoundExceptionInterface; /** * An attempt t...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/Pimple/Exception/UnknownIdentifierException.php
src/Component/Pimple/Exception/UnknownIdentifierException.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Component\Pimple\Exception; use Psr\Container\NotFoundExceptionInterface; /** * The identifi...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Component/Pimple/Exception/FrozenServiceException.php
src/Component/Pimple/Exception/FrozenServiceException.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Component\Pimple\Exception; use Psr\Container\ContainerExceptionInterface; /** * An attempt ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Support/Reporter.php
src/Support/Reporter.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Support; use Deployer\Utility\Httpie; use Symfony\Component\Process\PhpProcess; /** * @codeC...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Support/helpers.php
src/Support/helpers.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Support; function array_flatten(array $array): array { $flatten = []; array_walk_recur...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Support/ObjectProxy.php
src/Support/ObjectProxy.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Support; class ObjectProxy { /** * @var array */ private $objects; publ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Logger/Logger.php
src/Logger/Logger.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Logger; use Deployer\ProcessRunner\Printer; use Deployer\Host\Host; use Deployer\Logger\Handle...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Logger/Handler/FileHandler.php
src/Logger/Handler/FileHandler.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Logger\Handler; class FileHandler implements HandlerInterface { /** * @var string ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Logger/Handler/NullHandler.php
src/Logger/Handler/NullHandler.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Logger\Handler; class NullHandler implements HandlerInterface { public function log(string...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Logger/Handler/HandlerInterface.php
src/Logger/Handler/HandlerInterface.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Logger\Handler; interface HandlerInterface { public function log(string $message): void; }...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Collection/Collection.php
src/Collection/Collection.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Collection; use Countable; use IteratorAggregate; class Collection implements Countable, Iter...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Ssh/SshClient.php
src/Ssh/SshClient.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Ssh; use Deployer\ProcessRunner\Printer; use Deployer\Exception\RunException; use Deployer\Exc...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Ssh/IOArguments.php
src/Ssh/IOArguments.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Ssh; use Deployer\Exception\Exception; use Symfony\Component\Console\Input\InputInterface; use...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Ssh/RunParams.php
src/Ssh/RunParams.php
<?php namespace Deployer\Ssh; class RunParams { public function __construct( public ?string $shell = null, public ?string $cwd = null, public ?array $env = null, public ?string $dotenv = null, public bool $nothrow = false, public ?int $timeout = null, ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Importer/Importer.php
src/Importer/Importer.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Importer; use Deployer\Exception\ConfigurationException; use Deployer\Exception\Exception; use...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Exception/WillAskUser.php
src/Exception/WillAskUser.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Exception; class WillAskUser extends Exception { public function __construct(string $messa...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Exception/ConfigurationException.php
src/Exception/ConfigurationException.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Exception; class ConfigurationException extends \RuntimeException {}
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Exception/HttpieException.php
src/Exception/HttpieException.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Exception; class HttpieException extends \RuntimeException {}
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Exception/Exception.php
src/Exception/Exception.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Exception; use Throwable; class Exception extends \Exception { /** * @var string ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Exception/RunException.php
src/Exception/RunException.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Exception; use Deployer\Host\Host; use Symfony\Component\Process\Process; class RunException ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Exception/TimeoutException.php
src/Exception/TimeoutException.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Exception; class TimeoutException extends Exception { public function __construct( ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Exception/GracefulShutdownException.php
src/Exception/GracefulShutdownException.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Exception; /** * Then this exception thrown, it will not trigger "fail" callback. * * f...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Task/Context.php
src/Task/Context.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Task; use Deployer\Configuration; use Deployer\Exception\Exception; use Deployer\Host\Host; us...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Task/ScriptManager.php
src/Task/ScriptManager.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Task; use Deployer\Exception\Exception; use function Deployer\Support\array_flatten; class S...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Task/GroupTask.php
src/Task/GroupTask.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Task; use function Deployer\invoke; class GroupTask extends Task { /** * List of tas...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Task/TaskCollection.php
src/Task/TaskCollection.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Task; use Deployer\Collection\Collection; /** * @method Task get($name) * @method Task[] ge...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Task/Task.php
src/Task/Task.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Task; use Deployer\Selector\Selector; class Task { /** * @var string */ pri...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Utility/Httpie.php
src/Utility/Httpie.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Utility; use Deployer\Exception\HttpieException; class Httpie { private string $method = ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Utility/Rsync.php
src/Utility/Rsync.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Utility; use Deployer\ProcessRunner\Printer; use Deployer\Exception\RunException; use Deployer...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/ProcessRunner/ProcessRunner.php
src/ProcessRunner/ProcessRunner.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\ProcessRunner; use Deployer\Exception\RunException; use Deployer\Exception\TimeoutException; u...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/ProcessRunner/Printer.php
src/ProcessRunner/Printer.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\ProcessRunner; use Deployer\Host\Host; use Symfony\Component\Console\Output\OutputInterface; ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Command/SelectCommand.php
src/Command/SelectCommand.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Command; use Deployer\Deployer; use Deployer\Exception\ConfigurationException; use Deployer\Ex...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Command/ConfigCommand.php
src/Command/ConfigCommand.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Command; use Deployer\Deployer; use Deployer\Exception\WillAskUser; use Deployer\Task\Context;...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Command/BlackjackCommand.php
src/Command/BlackjackCommand.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\In...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Command/MainCommand.php
src/Command/MainCommand.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Command; use Deployer\Deployer; use Deployer\Exception\Exception; use Deployer\Exception\Grace...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Command/TreeCommand.php
src/Command/TreeCommand.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Command; use Deployer\Deployer; use Deployer\Task\GroupTask; use Symfony\Component\Console\Com...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Command/CommandCommon.php
src/Command/CommandCommon.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Command; use Deployer\Deployer; use Deployer\Support\Reporter; trait CommandCommon { /** ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Command/SshCommand.php
src/Command/SshCommand.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Command; use Deployer\Deployer; use Deployer\Host\Localhost; use Deployer\Task\Context; use Sy...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Command/WorkerCommand.php
src/Command/WorkerCommand.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Command; use Deployer\Deployer; use Deployer\Executor\Worker; use Deployer\Host\Localhost; use...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Command/CustomOption.php
src/Command/CustomOption.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Command; use Deployer\Host\Host; trait CustomOption { /** * @param Host[] $hosts ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Command/RunCommand.php
src/Command/RunCommand.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Command; use Deployer\Deployer; use Deployer\Task\Context; use Deployer\Task\Task; use Symfony...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/src/Command/InitCommand.php
src/Command/InitCommand.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\In...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/bootstrap.php
tests/bootstrap.php
<?php $loaded = false; foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) { if (file_exists($file)) { require $file; $loaded = true; break; } } if (!$loaded) { die( 'You need to set up the project dependencies using the following c...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/DeployerTest.php
tests/src/DeployerTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer; use PHPUnit\Framework\TestCase; use Symfony\Component\Console\Application; use Symfony\Component\Console\Input\InputInte...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/FunctionsTest.php
tests/src/FunctionsTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer; use Deployer\Configuration; use Deployer\Host\Host; use Deployer\Host\Localhost; use Deployer\Task\Context; use Deployer...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Selector/SelectorTest.php
tests/src/Selector/SelectorTest.php
<?php namespace Deployer\Selector; use Deployer\Host\Host; use Deployer\Host\HostCollection; use PHPUnit\Framework\TestCase; class SelectorTest extends TestCase { public function testSelectHosts() { $prod = (new Host('prod.domain.com'))->set('labels', ['stage' => 'prod']); $front = (new Host(...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Host/RangeTest.php
tests/src/Host/RangeTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Host; use PHPUnit\Framework\TestCase; class RangeTest extends TestCase { public function testExpand() { ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Host/ConfigurationTest.php
tests/src/Host/ConfigurationTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Host; use Deployer\Configuration; use Deployer\Exception\ConfigurationException; use PHPUnit\Framework\TestCase; class C...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Host/HostTest.php
tests/src/Host/HostTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Host; use Deployer\Configuration; use PHPUnit\Framework\TestCase; class HostTest extends TestCase { public function ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Component/Pimple/PimpleTest.php
tests/src/Component/Pimple/PimpleTest.php
<?php declare(strict_types=1); /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Component\Pimple; use Deployer\Component\Pimple\Exception\FrozenServiceException; use Deployer\...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Support/HelpersTest.php
tests/src/Support/HelpersTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Support; use PHPUnit\Framework\TestCase; class HelpersTest extends TestCase { public function testArrayFlatten() ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Support/ObjectProxyTest.php
tests/src/Support/ObjectProxyTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Support; use PHPUnit\Framework\TestCase; class ObjectProxyTest extends TestCase { public function testObjectProxy() ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Configuration/ConfigurationTest.php
tests/src/Configuration/ConfigurationTest.php
<?php namespace Deployer\Configuration; use Deployer\Configuration; use Deployer\Exception\ConfigurationException; use PHPUnit\Framework\TestCase; class ConfigurationTest extends TestCase { public function testParse() { $config = new Configuration(); $config->set('foo', 'a'); $config[...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Collection/CollectionTest.php
tests/src/Collection/CollectionTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Collection; use Deployer\Host\HostCollection; use Deployer\Task\TaskCollection; use PHPUnit\Framework\TestCase; class Co...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Ssh/IOArgumentsTest.php
tests/src/Ssh/IOArgumentsTest.php
<?php namespace Deployer\Ssh; use PHPUnit\Framework\TestCase; use Symfony\Component\Console\Input\ArgvInput; use Symfony\Component\Console\Input\InputDefinition; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\ConsoleOutput; use Symfony\Component\Console\Output\OutputInterface; ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Importer/ImporterTest.php
tests/src/Importer/ImporterTest.php
<?php declare(strict_types=1); namespace Deployer\Importer; use Deployer\Deployer; use PHPUnit\Framework\TestCase; class ImporterTest extends TestCase { private $previousInput; private $previousOutput; public function setUp(): void { $deployer = Deployer::get(); $this->previousInput...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Task/ContextTest.php
tests/src/Task/ContextTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Task; use Deployer\Configuration; use Deployer\Host\Host; use PHPUnit\Framework\TestCase; use Symfony\Component\Console\I...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Task/ScriptManagerTest.php
tests/src/Task/ScriptManagerTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Task; use PHPUnit\Framework\TestCase; class ScriptManagerTest extends TestCase { public function testGetTasks() ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Task/TaskTest.php
tests/src/Task/TaskTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer\Task; use Deployer\Host\Host; use PHPUnit\Framework\TestCase; use function Deployer\invoke; use function Deployer\task; ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/src/Command/BlackjackCommandTest.php
tests/src/Command/BlackjackCommandTest.php
<?php use Deployer\Command\BlackjackCommand; use PHPUnit\Framework\TestCase; class BlackjackCommandTest extends TestCase { public function testHandValue() { self::assertEquals(3, BlackjackCommand::handValue([['3']])); self::assertEquals(10, BlackjackCommand::handValue([['3'], ['7']])); ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/legacy/OnceTest.php
tests/legacy/OnceTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer; class OnceTest extends AbstractTest { public const RECIPE = __DIR__ . '/recipe/once.php'; public function testO...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/legacy/OncePerNodeTest.php
tests/legacy/OncePerNodeTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer; class OncePerNodeTest extends AbstractTest { public const RECIPE = __DIR__ . '/recipe/once_per_node.php'; publi...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/legacy/CurrentPathTest.php
tests/legacy/CurrentPathTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer; use Symfony\Component\Console\Output\Output; class CurrentPathTest extends AbstractTest { public const RECIPE = __D...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/legacy/YamlTest.php
tests/legacy/YamlTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer; use Symfony\Component\Console\Output\Output; class YamlTest extends AbstractTest { public const RECIPE = __DIR__ . ...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false
deployphp/deployer
https://github.com/deployphp/deployer/blob/815419f1c95c4316609d73e6f1b1efd682d73430/tests/legacy/UpdateCodeTest.php
tests/legacy/UpdateCodeTest.php
<?php /* (c) Anton Medvedev <anton@medv.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Deployer; use Symfony\Component\Console\Output\Output; class UpdateCodeTest extends AbstractTest { public const RECIPE = __DI...
php
MIT
815419f1c95c4316609d73e6f1b1efd682d73430
2026-01-04T15:05:41.290405Z
false