update to laravel 5.7 and try getting autologin saved

This commit is contained in:
Kode
2018-10-14 20:50:32 +01:00
parent c3da17befc
commit 6501aacb1b
2402 changed files with 79064 additions and 28971 deletions

View File

@@ -27,7 +27,7 @@ abstract class AbstractFileExtractor
*/
protected function extractFiles($resource)
{
if (is_array($resource) || $resource instanceof \Traversable) {
if (\is_array($resource) || $resource instanceof \Traversable) {
$files = array();
foreach ($resource as $file) {
if ($this->canBeExtracted($file)) {
@@ -45,7 +45,7 @@ abstract class AbstractFileExtractor
private function toSplFileInfo(string $file): \SplFileInfo
{
return ($file instanceof \SplFileInfo) ? $file : new \SplFileInfo($file);
return new \SplFileInfo($file);
}
/**

View File

@@ -208,7 +208,7 @@ class PhpExtractor extends AbstractFileExtractor implements ExtractorInterface
} elseif (self::MESSAGE_TOKEN === $item) {
$message = $this->getValue($tokenIterator);
if (count($sequence) === ($sequenceKey + 1)) {
if (\count($sequence) === ($sequenceKey + 1)) {
break;
}
} elseif (self::METHOD_ARGUMENTS_TOKEN === $item) {

View File

@@ -89,7 +89,7 @@ class PhpStringTokenParser
* Parses escape sequences in strings (all string types apart from single quoted).
*
* @param string $str String without quotes
* @param null|string $quote Quote type
* @param string|null $quote Quote type
*
* @return string String with escape sequences parsed
*/
@@ -113,9 +113,9 @@ class PhpStringTokenParser
if (isset(self::$replacements[$str])) {
return self::$replacements[$str];
} elseif ('x' === $str[0] || 'X' === $str[0]) {
return chr(hexdec($str));
return \chr(hexdec($str));
} else {
return chr(octdec($str));
return \chr(octdec($str));
}
}