Larval framework upated to v5.6.33

Updated laravel frameowrk version to as suggested for security patch update which was released in v5.6.30
This commit is contained in:
Manish Verma
2018-08-15 18:38:24 +05:30
parent 5d3ffdf379
commit 8148bbd920
319 changed files with 647 additions and 1078 deletions

0
vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php vendored Normal file → Executable file
View File

View File

View File

View File

0
vendor/laravel/framework/src/Illuminate/Auth/GenericUser.php vendored Normal file → Executable file
View File

View File

View File

View File

View File

@@ -21,7 +21,7 @@ class Recaller
*/
public function __construct($recaller)
{
$this->recaller = $recaller;
$this->recaller = @unserialize($recaller, ['allowed_classes' => false]) ?: $recaller;
}
/**

0
vendor/laravel/framework/src/Illuminate/Cache/ApcStore.php vendored Normal file → Executable file
View File

0
vendor/laravel/framework/src/Illuminate/Cache/ApcWrapper.php vendored Normal file → Executable file
View File

0
vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php vendored Normal file → Executable file
View File

View File

View File

View File

0
vendor/laravel/framework/src/Illuminate/Cache/DatabaseStore.php vendored Normal file → Executable file
View File

0
vendor/laravel/framework/src/Illuminate/Cache/FileStore.php vendored Normal file → Executable file
View File

View File

0
vendor/laravel/framework/src/Illuminate/Cache/MemcachedStore.php vendored Normal file → Executable file
View File

0
vendor/laravel/framework/src/Illuminate/Cache/NullStore.php vendored Normal file → Executable file
View File

0
vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php vendored Normal file → Executable file
View File

0
vendor/laravel/framework/src/Illuminate/Cache/Repository.php vendored Normal file → Executable file
View File

0
vendor/laravel/framework/src/Illuminate/Cache/composer.json vendored Normal file → Executable file
View File

0
vendor/laravel/framework/src/Illuminate/Config/composer.json vendored Normal file → Executable file
View File

0
vendor/laravel/framework/src/Illuminate/Console/Application.php vendored Normal file → Executable file
View File

0
vendor/laravel/framework/src/Illuminate/Console/Command.php vendored Normal file → Executable file
View File

View File

@@ -35,6 +35,8 @@ class Parser
*
* @param string $expression
* @return string
*
* @throws \InvalidArgumentException
*/
protected static function name($expression)
{

0
vendor/laravel/framework/src/Illuminate/Console/composer.json vendored Normal file → Executable file
View File

0
vendor/laravel/framework/src/Illuminate/Container/Container.php vendored Normal file → Executable file
View File

0
vendor/laravel/framework/src/Illuminate/Container/composer.json vendored Normal file → Executable file
View File

View File

View File

View File

View File

View File

View File

@@ -23,7 +23,7 @@ interface Validator extends MessageProvider
/**
* Add conditions to a given field based on a Closure.
*
* @param string $attribute
* @param string|array $attribute
* @param string|array $rules
* @param callable $callback
* @return $this

0
vendor/laravel/framework/src/Illuminate/Contracts/View/Engine.php vendored Normal file → Executable file
View File

0
vendor/laravel/framework/src/Illuminate/Cookie/CookieJar.php vendored Normal file → Executable file
View File

View File

View File

@@ -25,6 +25,13 @@ class EncryptCookies
*/
protected $except = [];
/**
* Indicates if cookies should be serialized.
*
* @var bool
*/
protected static $serialize = false;
/**
* Create a new CookieGuard instance.
*
@@ -73,7 +80,7 @@ class EncryptCookies
}
try {
$request->cookies->set($key, $this->decryptCookie($cookie));
$request->cookies->set($key, $this->decryptCookie($key, $cookie));
} catch (DecryptException $e) {
$request->cookies->set($key, null);
}
@@ -85,14 +92,15 @@ class EncryptCookies
/**
* Decrypt the given cookie and return the value.
*
* @param string $name
* @param string|array $cookie
* @return string|array
*/
protected function decryptCookie($cookie)
protected function decryptCookie($name, $cookie)
{
return is_array($cookie)
? $this->decryptArray($cookie)
: $this->encrypter->decrypt($cookie);
: $this->encrypter->decrypt($cookie, static::serialized($name));
}
/**
@@ -107,7 +115,7 @@ class EncryptCookies
foreach ($cookie as $key => $value) {
if (is_string($value)) {
$decrypted[$key] = $this->encrypter->decrypt($value);
$decrypted[$key] = $this->encrypter->decrypt($value, static::serialized($key));
}
}
@@ -128,7 +136,7 @@ class EncryptCookies
}
$response->headers->setCookie($this->duplicate(
$cookie, $this->encrypter->encrypt($cookie->getValue())
$cookie, $this->encrypter->encrypt($cookie->getValue(), static::serialized($cookie->getName()))
));
}
@@ -161,4 +169,15 @@ class EncryptCookies
{
return in_array($name, $this->except);
}
/**
* Determine if the cookie contents should be serialized.
*
* @param string $name
* @return bool
*/
public static function serialized($name)
{
return static::$serialize;
}
}

0
vendor/laravel/framework/src/Illuminate/Cookie/composer.json vendored Normal file → Executable file
View File

View File

View File

@@ -83,7 +83,7 @@ trait BuildsQueries
* @param mixed $value
* @param callable $callback
* @param callable $default
* @return mixed
* @return mixed|$this
*/
public function when($value, $callback, $default = null)
{
@@ -113,7 +113,7 @@ trait BuildsQueries
* @param mixed $value
* @param callable $callback
* @param callable $default
* @return mixed
* @return mixed|$this
*/
public function unless($value, $callback, $default = null)
{

0
vendor/laravel/framework/src/Illuminate/Database/Connection.php vendored Normal file → Executable file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

@@ -312,7 +312,7 @@ class Builder
*
* @param mixed $id
* @param array $columns
* @return \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection
* @return \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection|static|static[]
*
* @throws \Illuminate\Database\Eloquent\ModelNotFoundException
*/
@@ -612,7 +612,7 @@ class Builder
*
* @param int $count
* @param callable $callback
* @param string $column
* @param string|null $column
* @param string|null $alias
* @return bool
*/

View File

View File

View File

View File

View File

@@ -425,6 +425,16 @@ class HasManyThrough extends Relation
return $this->prepareQueryBuilder()->chunk($count, $callback);
}
/**
* Get a generator for the given query.
*
* @return \Generator
*/
public function cursor()
{
return $this->prepareQueryBuilder()->cursor();
}
/**
* Execute a callback over each item while chunking.
*

View File

View File

View File

View File

View File

View File

0
vendor/laravel/framework/src/Illuminate/Database/Grammar.php vendored Normal file → Executable file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

4
vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php vendored Normal file → Executable file
View File

@@ -1415,7 +1415,7 @@ class Builder
$this->wheres[] = compact('type', 'columns', 'operator', 'values', 'boolean');
$this->addBinding($values);
$this->addBinding($this->cleanBindings($values));
return $this;
}
@@ -2084,7 +2084,7 @@ class Builder
* @param int $count
* @param callable $callback
* @param string $column
* @param string $alias
* @param string|null $alias
* @return bool
*/
public function chunkById($count, callable $callback, $column = 'id', $alias = null)

View File

View File

View File

View File

View File

View File

@@ -185,7 +185,7 @@ class SqlServerGrammar extends Grammar
{
$constraint = $this->compileRowConstraint($query);
return "select * from ({$sql}) as temp_table where row_num {$constraint}";
return "select * from ({$sql}) as temp_table where row_num {$constraint} order by row_num";
}
/**

View File

Some files were not shown because too many files have changed in this diff Show More