Avoid using undefined variables such as '$result' which will lead to PHP notices.
$result['images'] = $this->getImages($block);
Avoid using undefined variables such as '$result' which will lead to PHP notices.
return $result;
Avoid using undefined variables such as '$result' which will lead to PHP notices.
$result['message'] = implode("\n", $this->tuning($message));
Avoid using undefined variables such as '$status' which will lead to PHP notices.
self::getUrl($url, $params, $status);
Avoid using undefined variables such as '$status' which will lead to PHP notices.
$urlRedirect = $status['redirect_url'];
Missing class import via use statement (line '18', column '21').
$intg = new \InstagramAPI\Instagram(false, false);
Remove error control operator '@' on line 260.
protected function saveAndConvertAudio(string $fileId, StreamInterface $stream)
{
Storage::put("{$fileId}.ogg", $stream->getContents());
Remove error control operator '@' on line 262.
protected function saveAndConvertAudio(string $fileId, StreamInterface $stream)
{
Storage::put("{$fileId}.ogg", $stream->getContents());
Remove error control operator '@' on line 263.
protected function saveAndConvertAudio(string $fileId, StreamInterface $stream)
{
Storage::put("{$fileId}.ogg", $stream->getContents());
Avoid unused parameters such as '$format'.
public function sendGifToCactus(string $gif, string $format = 'Markdown', array $options = []): void
The method getText() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
private function getText(Crawler $node)
{
return $node->filter('._o0d')->each(function ($div) {
$left = $right = "";
Line exceeds 120 characters; contains 136 characters
protected $pattern = "(\b(clima)\b)\s+(?'p'(este|el)\s+)?(?'day'(lunes|martes|mi(e|é)rcoles|jueves|viernes|s(a|á)bado|domingo))$";
Line exceeds 120 characters; contains 178 characters
[-z:ZOOM -s:SIZE -c:COLOR -t:MAPTYPE ] dirección.\nZOOM es un entero del 1-20\nSIZE es una resolución (600x300)\nMAPTYPE es un tipo de mapa de google, por defecto roadmap";
Inline control structures are not allowed
if (!function_exists('curl_init'))
Line indented incorrectly; expected 8 spaces, found 10
});
Expected 1 newline at end of file; 0 found
}
Space before opening parenthesis of function call prohibited
if (count ($items) < $positionItem-1) {
Space before opening parenthesis of function call prohibited
$urlNameMovie = str_replace (' ', '-', $urlNameMovie);
Closing brace indented incorrectly; expected 8 spaces, found 10
});