8000 Update laravel/framework requirement from 9.* to 11.* by dependabot[bot] · Pull Request #360 · antonioribeiro/health · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update laravel/framework requirement from 9.* to 11.* #360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"docusign/esign-client": ">=2.0",
"predis/predis": ">=1.0",
"nesbot/carbon": ">=1.34",
"laravel/framework": "9.*"
"laravel/framework": "11.*"
},
"suggest": {
"guzzlehttp/guzzle": ">=6.0",
Expand Down
22 changes: 11 additions & 11 deletions src/Checkers/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ protected function checkAndStoreTime()
/**
* Create base directory for files.
*
* @param $fileName
* @param $fileName
*/
protected function makeDir($fileName)
{
Expand Down Expand Up @@ -69,7 +69,7 @@ protected function makeHealthyResult()
/**
* Make a result from an exception.
*
* @param $exception
* @param $exception
* @return Result
*/
protected function makeResultFromException($exception)
Expand All @@ -78,7 +78,7 @@ protected function makeResultFromException($exception)
}

/**
* @param $resources
* @param $resources
* @return mixed
*/
public function healthy($resources)
Expand All @@ -87,7 +87,7 @@ public function healthy($resources)
}

/**
* @param $resources
* @param $resources
* @return mixed
*/
public function message($resources)
Expand All @@ -98,7 +98,7 @@ public function message($resources)
/**
* Save result to database.
*
* @param $result
* @param $result
* @return
*/
protected function saveToDatabase($result)
Expand All @@ -109,15 +109,15 @@ protected function saveToDatabase($result)
}

/**
* @param $healthy
* @param $healthy
*/
public function setHealthy($healthy)
{
$this->healthy = $healthy;
}

/**
* @param $message
* @param $message
*/
public function setMessage($message)
{
Expand Down Expand Up @@ -153,7 +153,7 @@ public function load()
/**
* Persist to database cache file.
*
* @param $data
* @param $data
*/
public function persist($data = null)
{
Expand Down Expand Up @@ -183,7 +183,7 @@ protected function getFileName()
/**
* Target setter.
*
* @param $target
* @param $target
* @return $this
*/
public function setTarget($target)
Expand All @@ -196,7 +196,7 @@ public function setTarget($target)
/**
* Check the target.
*
* @param $target
* @param $target
* @return \PragmaRX\Health\Support\Result
*/
public function checkTarget()
Expand All @@ -211,7 +211,7 @@ public function checkTarget()
/**
* Get the total elapsed time for this resource.
*
* @param $target
* @param $target
* @return string
*/
public function getTotalTime()
Expand Down
4 changes: 2 additions & 2 deletions src/Checkers/Broadcasting.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ protected function createPingRow()
/**
* Parse date.
*
* @param $date
* @param $date
* @return Carbon
*/
protected function parseDate($date)
Expand All @@ -91,7 +91,7 @@ protected function parseDate($date)
/**
* Create and persist pong.
*
* @param $secret
* @param $secret
*/
public function pong($secret)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Checkers/Certificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function checkCertificateWithPhp($host)
}

/**
* @param $host
* @param $host
* @return string|string[]
*/
protected function makeCommand($host)
Expand Down
F438
4 changes: 2 additions & 2 deletions src/Checkers/Contract.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ interface Contract
public function check();

/**
* @param $resources
* @param $resources
* @return mixed
*/
public function healthy($resources);

/**
* @param $resources
* @param $resources
* @return mixed
*/
public function message($resources);
Expand Down
6 changes: 3 additions & 3 deletions src/Checkers/DirectoryAndFilePresence.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function getCheckers($checker)
/**
* Check if a file exists.
*
* @param $file
* @param $file
* @return bool|string
*/
public function fileExists($file)
Expand All @@ -171,7 +171,7 @@ public function fileExists($file)
/**
* Check if a file does not exists.
*
* @param $file
* @param $file
* @return bool|string
*/
public function fileDoesNotExists($file)
Expand All @@ -186,7 +186,7 @@ public function fileDoesNotExists($file)
/**
* Check if a path is a directory.
*
* @param $file
* @param $file
* @return bool|string
*/
public function isDirectory($file)
Expand Down
6 changes: 3 additions & 3 deletions src/Checkers/Docusign.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private function getAccountIdFromLogin($login)
}

/**
* @param $config
* @param $config
* @return ApiClient
*/
protected function getApiClient($config)
Expand All @@ -49,7 +49,7 @@ protected function getApiClient($config)
}

/**
* @param $config
* @param $config
* @return AuthenticationApi
*/
protected function getAuthApi($config)
Expand Down Expand Up @@ -77,7 +77,7 @@ protected function getConfig()
}

/**
* @param $config
* @param $config
* @return \DocuSign\eSign\Model\LoginInformation
*/
protected function getLoginInformation($config)
Expand Down
4 changes: 2 additions & 2 deletions src/Checkers/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public function check()
}

/**
* @param $name
* @param $content
* @param $name
* @param $content
* @param null $folder
* @return string
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Checkers/Health.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public function check()
/**
* Compute health.
*
* @param $previous
* @param $resource
* @param $previous
* @param $resource
* @return bool
*/
private function computeHealth($previous, $resource)
Expand All @@ -38,7 +38,7 @@ private function computeHealth($previous, $resource)
/**
* Compute health for targets.
*
* @param $resource
* @param $resource
* @return bool
*/
private function computeHealthForAllTargets($resource)
Expand Down
2 changes: 1 addition & 1 deletion src/Checkers/HealthPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function checkHealthPanel($url)
/**
* Send an http request and fetch the panel json.
*
* @param $url
* @param $url
* @return mixed|\Psr\Http\Message\ResponseInterface
*
* @throws \GuzzleHttp\Exception\GuzzleException
Expand Down
16 changes: 8 additions & 8 deletions src/Checkers/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private function getResourceUrlArray()
/**
* Check web pages.
*
* @param $url
* @param $url
* @param bool $ssl
* @return mixed
*/
Expand All @@ -102,8 +102,8 @@ private function checkUrl($url, $ssl = false, $parameters = [])
/**
* Send an http request and fetch the response.
*
* @param $url
* @param $ssl
* @param $url
* @param $ssl
* @return mixed|\Psr\Http\Message\ResponseInterface
*
* @throws \GuzzleHttp\Exception\GuzzleException
Expand All @@ -122,7 +122,7 @@ private function fetchResponse($url, $ssl, $parameters = [])
/**
* Get http connection options.
*
* @param $ssl
* @param $ssl
* @return array
*/
protected function getConnectionOptions($ssl)
Expand Down Expand Up @@ -175,8 +175,8 @@ private function getRoundtripTimeout()
/**
* Make a url with a proper scheme.
*
* @param $url
* @param $secure
* @param $url
* @param $secure
* @return mixed
*/
private function makeUrlWithScheme($url, $secure)
Expand All @@ -203,8 +203,8 @@ private function onStatsCallback()
/**
* Send a request and get the result.
*
* @param $url
* @param $ssl
* @param $url
* @param $ssl
* @return bool
*
* @internal param $response
Expand Down
12 changes: 6 additions & 6 deletions src/Checkers/NotInDebugMode.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected function getCurrentUptime()
/**
* Normalize uptime matches.
*
* @param $matches
* @param $matches
* @return \Illuminate\Support\Collection
*/
protected function normalizeMatches($matches)
Expand Down Expand Up @@ -93,7 +93,7 @@ protected function normalizeMatches($matches)
/**
* Parse the uptime string.
*
* @param $system_string
* @param $system_string
* @return array
*/
protected function parseUptimeString($system_string)
Expand All @@ -117,7 +117,7 @@ protected function parseUptimeString($system_string)
/**
* Convert uptime to seconds.
*
* @param $date
* @param $date
* @return int
*/
protected function uptimeInSeconds($date)
Expand All @@ -131,8 +131,8 @@ protected function uptimeInSeconds($date)
/**
* Make uptime message.
*
* @param $current
* @param $saved
* @param $current
* @param $saved
* @return string
*/
protected function makeMessage($current, $saved = null)
Expand All @@ -147,7 +147,7 @@ protected function makeMessage($current, $saved = null)
/**
* Convert uptime to human readable string.
*
* @param $uptime
* @param $uptime
* @return string
*/
public function toUptimeString($uptime)
Expand Down
2 changes: 1 addition & 1 deletion src/Checkers/Ping.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function ping($hostname, $timeout = 5, $ttl = 128)
}

/**
* @param $hostname
* @param $hostname
* @return mixed
*/
protected function hosnameAndIp($hostname, $ipAdress)
Expand Down
4 changes: 2 additions & 2 deletions src/Checkers/PortCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function check()
/**
* Get hostname and IP.
*
* @param $hostname
* @param $hostname
* @return mixed
*/
protected function hosnameAndIp($hostname, $ipAdress)
Expand Down Expand Up @@ -69,7 +69,7 @@ public function portCheck($ipAddress, $port, $timeout)
}

/**
* @param $ipAddress
* @param $ipAddress
* @return bool
*/
protected function portIsNotConnectable($ipAddress)
Expand Down
4 changes: 2 additions & 2 deletions src/Checkers/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private function countRunningProcesses()
}

/**
* @param $file
* @param $file
* @return bool
*/
private function checkPidFileExistence($file)
Expand All @@ -89,7 +89,7 @@ private function checkPidFileExistence($file)
}

/**
* @param $file
* @param $file
* @return bool
*/
private function checkPidFileLockState($file)
Expand Down
Loading
0