for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Fabrica\Tools\Docker;
use Fabrica\Tools\Bash;
/**
* Docker Class
*
* @class Mysql
*/
class Docker
{
protected $local = false;
public function __construct($bash = false)
$this->local = $bash;
if (!$this->local) {
$this->local = new Bash();
new \Fabrica\Tools\Bash()
object<Fabrica\Tools\Bash>
boolean
$local
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
}
* # This script is meant for quick & easy install via:
* # $ curl -fsSL https://get.docker.com -o get-docker.sh
* # $ sh get-docker.sh
* #
* # For test builds (ie. release candidates):
* # $ curl -fsSL https://test.docker.com -o test-docker.sh
* # $ sh test-docker.sh
* # NOTE: Make sure to verify the contents of the script
* # you downloaded matches the contents of install.sh
* # located at https://github.com/docker/docker-install
* # before executing.
* # Git commit from https://github.com/docker/docker-install when
* # the script was uploaded (Should only be modified by upload job):
* SCRIPT_COMMIT_SHA=2f4ae48
public function install()
$this->local->exec(
exec
$this->local
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.
'curl -fsSL https://get.docker.com -o get-docker.sh'.' && '.
'sh get-docker.sh && rm sh get-docker.sh'
);
public function installNow($bash = false)
return (new self($bash))->install();
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..