language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
laravel
framework
304d71f8ce2d26d539076ff422d45872e2180b07.json
fix some formatting
src/Illuminate/Console/Parser.php
@@ -111,14 +111,14 @@ protected static function parseOption($token) if (Str::contains($token, ' : ')) { list($token, $description) = explode(' : ', $token); - $token = trim($token); - $description = trim($description); } $shortcut = null; + ...
false
Other
laravel
framework
55887ac32840fbd88cf7ed7040c126d0742aed89.json
Add the possibility to set an option shortcut
src/Illuminate/Console/Parser.php
@@ -117,18 +117,25 @@ protected static function parseOption($token) $description = trim($description); } + $shortcut = null; + $matches = preg_split('/\s*\|\s*/', $token, 2); + if (isset($matches[1])) { + $shortcut = $matches[0]; + $token = $matches[1];...
true
Other
laravel
framework
55887ac32840fbd88cf7ed7040c126d0742aed89.json
Add the possibility to set an option shortcut
tests/Console/ConsoleParserTest.php
@@ -62,4 +62,46 @@ public function testBasicParameterParsing() $this->assertTrue($results[2][0]->acceptValue()); $this->assertTrue($results[2][0]->isArray()); } + + public function testShortcutNameParsing() + { + $results = Parser::parse('command:name {--o|option}'); + + $this...
true
Other
laravel
framework
459290c88e8e5ba07fcfe2bece01c063fd2ab178.json
Fix typo in Parser.php
src/Illuminate/Console/Parser.php
@@ -56,7 +56,7 @@ protected static function parameters(array $tokens) if (!Str::startsWith($token, '--')) { $arguments[] = static::parseArgument($token); } else { - $options [] = static::parseOption(ltrim($token, '-')); + $options[] = static::pars...
false
Other
laravel
framework
6af7b2102fdec7e33cead64b335f58664f9a3ea9.json
fix several things
src/Illuminate/Foundation/helpers.php
@@ -326,14 +326,14 @@ function logger($message = null, array $context = []) if (!function_exists('method_field')) { /** - * Generate a method spoof form field for POST method's. + * Generate a form field to spoof the HTTP verb used by forms. * - * @param string $method + * @param string ...
false
Other
laravel
framework
23c21e7958bdefc18c8b26a065f2feda48805adc.json
Create a helper as a shortcut for method spoofing Similar to csrf_field().
src/Illuminate/Foundation/helpers.php
@@ -324,6 +324,19 @@ function logger($message = null, array $context = []) } } +if (!function_exists('method_spoof')) { + /** + * Generate a method spoof form field for POST method's. + * + * @param string $method + * @return string + */ + function method_spoof($method = "") + { + ...
false
Other
laravel
framework
dbc14072407800b5d3a3ccbc427f721293f9dd10.json
Use signature format for migrate make command
src/Illuminate/Database/Console/Migrations/MigrateMakeCommand.php
@@ -3,18 +3,19 @@ namespace Illuminate\Database\Console\Migrations; use Illuminate\Foundation\Composer; -use Symfony\Component\Console\Input\InputOption; -use Symfony\Component\Console\Input\InputArgument; use Illuminate\Database\Migrations\MigrationCreator; class MigrateMakeCommand extends BaseCommand { ...
false
Other
laravel
framework
8f2c68f838de27e38b3ae9819aba233a562f6616.json
Fix some valdiation rules (cherry picked from commit 8b50161890a0eb697f878581cd8103f0d4470d71)
src/Illuminate/Validation/Validator.php
@@ -730,7 +730,7 @@ protected function validateSame($attribute, $value, $parameters) $other = Arr::get($this->data, $parameters[0]); - return isset($other) && $value == $other; + return isset($other) && $value === $other; } /** @@ -747,7 +747,7 @@ protected function validateDiffer...
true
Other
laravel
framework
8f2c68f838de27e38b3ae9819aba233a562f6616.json
Fix some valdiation rules (cherry picked from commit 8b50161890a0eb697f878581cd8103f0d4470d71)
tests/Validation/ValidationValidatorTest.php
@@ -456,6 +456,9 @@ public function testValidateConfirmed() $v = new Validator($trans, ['password' => 'foo', 'password_confirmation' => 'foo'], ['password' => 'Confirmed']); $this->assertTrue($v->passes()); + + $v = new Validator($trans, ['password' => '1e2', 'password_confirmation' => '100']...
true
Other
laravel
framework
652c4a589671e6e4bbae186dc716d675f3d7449e.json
Add composite index to jobs migration
src/Illuminate/Queue/Console/stubs/jobs.stub
@@ -21,6 +21,7 @@ class CreateJobsTable extends Migration $table->unsignedInteger('reserved_at')->nullable(); $table->unsignedInteger('available_at'); $table->unsignedInteger('created_at'); + $table->index(['queue', 'reserved', 'reserved_at']); }); }
false
Other
laravel
framework
318b2dbba0e23e8858a699ade08bee72e8d4bdd4.json
Add missing dependency
src/Illuminate/Console/composer.json
@@ -16,6 +16,7 @@ "require": { "php": ">=5.5.9", "illuminate/contracts": "5.1.*", + "illuminate/support": "5.1.*", "symfony/console": "2.7.*", "nesbot/carbon": "~1.19" },
false
Other
laravel
framework
8b50161890a0eb697f878581cd8103f0d4470d71.json
Fix some valdiation rules
src/Illuminate/Validation/Validator.php
@@ -730,7 +730,7 @@ protected function validateSame($attribute, $value, $parameters) $other = Arr::get($this->data, $parameters[0]); - return isset($other) && $value == $other; + return isset($other) && $value === $other; } /** @@ -747,7 +747,7 @@ protected function validateDiffer...
true
Other
laravel
framework
8b50161890a0eb697f878581cd8103f0d4470d71.json
Fix some valdiation rules
tests/Validation/ValidationValidatorTest.php
@@ -456,6 +456,9 @@ public function testValidateConfirmed() $v = new Validator($trans, ['password' => 'foo', 'password_confirmation' => 'foo'], ['password' => 'Confirmed']); $this->assertTrue($v->passes()); + + $v = new Validator($trans, ['password' => '1e2', 'password_confirmation' => '100']...
true
Other
laravel
framework
cc7ac2b81471b4084d1dfbf44851556e705fd927.json
Add timestampsTz function to schema blueprint
src/Illuminate/Database/Schema/Blueprint.php
@@ -279,6 +279,16 @@ public function dropTimestamps() $this->dropColumn('created_at', 'updated_at'); } + /** + * Indicate that the timestamp columns should be dropped. + * + * @return void + */ + public function dropTimestampsTz() + { + $this->dropTimestamps(); + } + ...
true
Other
laravel
framework
cc7ac2b81471b4084d1dfbf44851556e705fd927.json
Add timestampsTz function to schema blueprint
tests/Database/DatabaseMySqlSchemaGrammarTest.php
@@ -182,6 +182,16 @@ public function testDropTimestamps() $this->assertEquals('alter table `users` drop `created_at`, drop `updated_at`', $statements[0]); } + public function testDropTimestampsTz() + { + $blueprint = new Blueprint('users'); + $blueprint->dropTimestampsTz(); + ...
true
Other
laravel
framework
cc7ac2b81471b4084d1dfbf44851556e705fd927.json
Add timestampsTz function to schema blueprint
tests/Database/DatabasePostgresSchemaGrammarTest.php
@@ -124,6 +124,16 @@ public function testDropTimestamps() $this->assertEquals('alter table "users" drop column "created_at", drop column "updated_at"', $statements[0]); } + public function testDropTimestampsTz() + { + $blueprint = new Blueprint('users'); + $blueprint->dropTimestampsT...
true
Other
laravel
framework
cc7ac2b81471b4084d1dfbf44851556e705fd927.json
Add timestampsTz function to schema blueprint
tests/Database/DatabaseSQLiteSchemaGrammarTest.php
@@ -421,6 +421,20 @@ public function testAddingTimeStamps() $this->assertEquals($expected, $statements); } + public function testAddingTimeStampsTz() + { + $blueprint = new Blueprint('users'); + $blueprint->timestampsTz(); + $statements = $blueprint->toSql($this->getConnection...
true
Other
laravel
framework
cc7ac2b81471b4084d1dfbf44851556e705fd927.json
Add timestampsTz function to schema blueprint
tests/Database/DatabaseSqlServerSchemaGrammarTest.php
@@ -114,6 +114,16 @@ public function testDropTimestamps() $this->assertEquals('alter table "users" drop column "created_at", "updated_at"', $statements[0]); } + public function testDropTimestampsTz() + { + $blueprint = new Blueprint('users'); + $blueprint->dropTimestampsTz(); + ...
true
Other
laravel
framework
35648aa3177f55c3eab3c72ff09b3bbc5c11f414.json
Use table variable in stubs
src/Illuminate/Queue/Console/stubs/failed_jobs.stub
@@ -12,7 +12,7 @@ class CreateFailedJobsTable extends Migration */ public function up() { - Schema::create('failed_jobs', function (Blueprint $table) { + Schema::create('{{table}}', function (Blueprint $table) { $table->increments('id'); $table->text('connection')...
true
Other
laravel
framework
35648aa3177f55c3eab3c72ff09b3bbc5c11f414.json
Use table variable in stubs
src/Illuminate/Queue/Console/stubs/jobs.stub
@@ -12,7 +12,7 @@ class CreateJobsTable extends Migration */ public function up() { - Schema::create('jobs', function (Blueprint $table) { + Schema::create('{{table}}', function (Blueprint $table) { $table->bigIncrements('id'); $table->string('queue'); ...
true
Other
laravel
framework
c158a2e80ed22740e7600e7cc2bd794d14ba886c.json
Add test to check passing $columns in paginate
tests/Database/DatabaseEloquentBuilderTest.php
@@ -214,6 +214,36 @@ public function testListsWithoutModelGetterJustReturnTheAttributesFoundInDatabas $this->assertEquals(['bar', 'baz'], $builder->lists('name')->all()); } + public function testPaginatePassesColumnsToGetCountForPaginationMethod() + { + $totalItems = 100; + $itemsPer...
false
Other
laravel
framework
080d36af36189f54669c48a71cb6279e19808eb0.json
Collection::make empty array as default
src/Illuminate/Support/Collection.php
@@ -38,7 +38,7 @@ public function __construct($items = []) * @param mixed $items * @return static */ - public static function make($items = null) + public static function make($items = []) { return new static($items); }
false
Other
laravel
framework
1d95529e3c98ab71eccae397da9e29ccaa53abd9.json
fix incorrect definition
src/Illuminate/Foundation/Console/VendorPublishCommand.php
@@ -24,8 +24,8 @@ class VendorPublishCommand extends Command * @var string */ protected $signature = 'vendor:publish {--force : Overwrite any existing files.} - {--provider? : The service provider that has assets you want to publish.} - {--tag?* : One or many tags that have assets...
false
Other
laravel
framework
3f951978a53c965698cfced90ee201156b1697bf.json
Resolve route model binding through IoC
src/Illuminate/Routing/Router.php
@@ -940,7 +940,7 @@ public function model($key, $class, Closure $callback = null) // For model binders, we will attempt to retrieve the models using the first // method on the model instance. If we cannot retrieve the models we'll // throw a not found exception otherwise we will r...
true
Other
laravel
framework
3f951978a53c965698cfced90ee201156b1697bf.json
Resolve route model binding through IoC
tests/Routing/RoutingRouteTest.php
@@ -3,6 +3,8 @@ use Illuminate\Http\Request; use Illuminate\Routing\Route; use Illuminate\Routing\Router; +use Illuminate\Events\Dispatcher; +use Illuminate\Container\Container; use Symfony\Component\HttpFoundation\Response; class RoutingRouteTest extends PHPUnit_Framework_TestCase @@ -546,6 +548,16 @@ public fu...
true
Other
laravel
framework
ef29f14656999bc4f841602ef271700b6561166c.json
remove superfluous newline
src/Illuminate/Database/Eloquent/Model.php
@@ -2849,7 +2849,6 @@ protected function asDateTime($value) $format = $this->getDateFormat(); return Carbon::createFromFormat($format, $value); - } /**
false
Other
laravel
framework
76674b8074b8e69a84022522e5678e0940af8895.json
Fix brittle test This could fail in rare cases.
tests/Database/DatabaseEloquentRelationTest.php
@@ -30,8 +30,9 @@ public function testTouchMethodUpdatesRelatedTimestamps() $relation = new HasOne($builder, $parent, 'foreign_key', 'id'); $related->shouldReceive('getTable')->andReturn('table'); $related->shouldReceive('getUpdatedAtColumn')->andReturn('updated_at'); - $related->shoul...
false
Other
laravel
framework
37927a9f732097e484a67fac66b6aaee7dc61fef.json
Make username customizable during login.
src/Illuminate/Foundation/Auth/AuthenticatesUsers.php
@@ -29,7 +29,7 @@ public function getLogin() public function postLogin(Request $request) { $this->validate($request, [ - 'email' => 'required|email', 'password' => 'required', + $this->loginUsername() => 'required', 'password' => 'required', ]); $throttles = ...
true
Other
laravel
framework
37927a9f732097e484a67fac66b6aaee7dc61fef.json
Make username customizable during login.
src/Illuminate/Foundation/Auth/ThrottlesLogins.php
@@ -61,9 +61,9 @@ protected function sendLockoutResponse(Request $request) $seconds = (int) Cache::get($this->getLoginLockExpirationKey($request)) - time(); return redirect($this->loginPath()) - ->withInput($request->only('email', 'remember')) + ->withInput($request->only($this...
true
Other
laravel
framework
8ebfc02b24ec8b59cd12f879e7d28d0aadfbbe91.json
add options to sort (and order) routes
src/Illuminate/Foundation/Console/RouteListCommand.php
@@ -89,6 +89,16 @@ protected function getRoutes() $results[] = $this->getRouteInformation($route); } + if ($sort = $this->option('sort')) { + $results = array_sort($results, function ($value) use ($sort) { + return $value[$sort]; + }); + } + + ...
false
Other
laravel
framework
c238aac4a1e854594e3492b61115162b5360254d.json
pass $attributes through to factory definitions Allow the factory definitions more knowledge about what is being created and what attributes are being overridden.
src/Illuminate/Database/Eloquent/FactoryBuilder.php
@@ -126,7 +126,7 @@ protected function makeInstance(array $attributes = []) throw new InvalidArgumentException("Unable to locate factory with name [{$this->name}]."); } - $definition = call_user_func($this->definitions[$this->class][$this->name], $this->faker); + $d...
false
Other
laravel
framework
23d6a793748de8b1394c1c5b3fa155ec265f995a.json
Add HTTP_ check
src/Illuminate/Foundation/Testing/CrawlerTrait.php
@@ -771,7 +771,9 @@ protected function transformHeadersToServerVars(array $headers) $server = []; foreach ($headers as $name => $value) { - $name = 'HTTP_'.strtr(strtoupper($name), '-', '_'); + if (!starts_with($name, 'HTTP_')) { + $name = 'HTTP_'.strtr(strtouppe...
false
Other
laravel
framework
fc063229a87ae38ea858067a5054895ac865874c.json
change some wording
src/Illuminate/Console/Scheduling/Event.php
@@ -83,7 +83,7 @@ class Event * @var string */ public $output = '/dev/null'; - + /** * The array of callbacks to be run before the event is started. * @@ -152,14 +152,14 @@ protected function runCommandInBackground() protected function runCommandInForeground(Container $contain...
false
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Auth/DatabaseUserProvider.php
@@ -2,6 +2,7 @@ namespace Illuminate\Auth; +use Illuminate\Support\Str; use Illuminate\Contracts\Auth\UserProvider; use Illuminate\Database\ConnectionInterface; use Illuminate\Contracts\Hashing\Hasher as HasherContract; @@ -103,7 +104,7 @@ public function retrieveByCredentials(array $credentials) $quer...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Auth/EloquentUserProvider.php
@@ -2,6 +2,7 @@ namespace Illuminate\Auth; +use Illuminate\Support\Str; use Illuminate\Contracts\Auth\UserProvider; use Illuminate\Contracts\Hashing\Hasher as HasherContract; use Illuminate\Contracts\Auth\Authenticatable as UserContract; @@ -91,7 +92,7 @@ public function retrieveByCredentials(array $credentials...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Auth/Guard.php
@@ -3,6 +3,7 @@ namespace Illuminate\Auth; use RuntimeException; +use Illuminate\Support\Str; use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Contracts\Auth\UserProvider; use Symfony\Component\HttpFoundation\Request; @@ -237,7 +238,7 @@ protected function getRecallerId() */ protected functi...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Auth/Passwords/DatabaseTokenRepository.php
@@ -3,6 +3,7 @@ namespace Illuminate\Auth\Passwords; use Carbon\Carbon; +use Illuminate\Support\Str; use Illuminate\Database\ConnectionInterface; use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract; @@ -167,7 +168,7 @@ public function deleteExpired() */ public function createNe...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Console/GeneratorCommand.php
@@ -2,6 +2,7 @@ namespace Illuminate\Console; +use Illuminate\Support\Str; use Illuminate\Filesystem\Filesystem; use Symfony\Component\Console\Input\InputArgument; @@ -86,11 +87,11 @@ protected function parseName($name) { $rootNamespace = $this->laravel->getNamespace(); - if (starts_with...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Console/Parser.php
@@ -2,6 +2,7 @@ namespace Illuminate\Console; +use Illuminate\Support\Str; use InvalidArgumentException; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputArgument; @@ -46,7 +47,7 @@ public static function parse($expression) protected static function arguments(array ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Database/Connection.php
@@ -9,6 +9,7 @@ use LogicException; use RuntimeException; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use Illuminate\Database\Query\Expression; use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Database\Query\Processors\Processor; @@ -667,7 +668,7 @@ protected function causedByLostConnection...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Database/Eloquent/Builder.php
@@ -4,6 +4,7 @@ use Closure; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use Illuminate\Pagination\Paginator; use Illuminate\Database\Query\Expression; use Illuminate\Pagination\LengthAwarePaginator; @@ -516,9 +517,9 @@ protected function nestedRelations($relation) */ protected function i...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Database/Eloquent/Model.php
@@ -9,6 +9,7 @@ use LogicException; use JsonSerializable; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use Illuminate\Contracts\Support\Jsonable; use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Contracts\Support\Arrayable; @@ -782,7 +783,7 @@ public function belongsTo($related, $foreignKey ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php
@@ -3,6 +3,7 @@ namespace Illuminate\Database\Eloquent\Relations; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Query\Expression; @@ -1047,7 +1048,7 @@ protected function touchingParent() */...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Database/Migrations/MigrationCreator.php
@@ -3,6 +3,7 @@ namespace Illuminate\Database\Migrations; use Closure; +use Illuminate\Support\Str; use Illuminate\Filesystem\Filesystem; class MigrationCreator @@ -110,7 +111,7 @@ protected function populateStub($name, $stub, $table) */ protected function getClassName($name) { - return s...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Database/Migrations/Migrator.php
@@ -2,6 +2,7 @@ namespace Illuminate\Database\Migrations; +use Illuminate\Support\Str; use Illuminate\Filesystem\Filesystem; use Illuminate\Database\ConnectionResolverInterface as Resolver; @@ -318,7 +319,7 @@ public function resolve($file) { $file = implode('_', array_slice(explode('_', $file), ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Database/Query/Builder.php
@@ -5,6 +5,7 @@ use Closure; use BadMethodCallException; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use InvalidArgumentException; use Illuminate\Support\Collection; use Illuminate\Pagination\Paginator; @@ -1008,7 +1009,7 @@ protected function addDynamic($segment, $connector, $parameters, $index) ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Events/Dispatcher.php
@@ -4,6 +4,7 @@ use Exception; use ReflectionClass; +use Illuminate\Support\Str; use Illuminate\Container\Container; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Contracts\Broadcasting\ShouldBroadcastNow; @@ -76,7 +77,7 @@ public function __construct(ContainerContract $container = null) ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Foundation/Application.php
@@ -5,6 +5,7 @@ use Closure; use RuntimeException; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use Illuminate\Http\Request; use Illuminate\Container\Container; use Illuminate\Filesystem\Filesystem; @@ -439,7 +440,7 @@ public function environment() $patterns = is_array(func_get_arg(0)) ? ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Foundation/Console/EventGenerateCommand.php
@@ -2,6 +2,7 @@ namespace Illuminate\Foundation\Console; +use Illuminate\Support\Str; use Illuminate\Console\Command; class EventGenerateCommand extends Command @@ -32,7 +33,7 @@ public function fire() ); foreach ($provider->listens() as $event => $listeners) { - if (!str_contain...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Foundation/Console/HandlerEventCommand.php
@@ -2,6 +2,7 @@ namespace Illuminate\Foundation\Console; +use Illuminate\Support\Str; use Illuminate\Console\GeneratorCommand; use Symfony\Component\Console\Input\InputOption; @@ -40,7 +41,7 @@ protected function buildClass($name) $event = $this->option('event'); - if (!starts_with($event, ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Foundation/Console/KeyGenerateCommand.php
@@ -2,6 +2,7 @@ namespace Illuminate\Foundation\Console; +use Illuminate\Support\Str; use Illuminate\Console\Command; use Symfony\Component\Console\Input\InputOption; @@ -56,10 +57,10 @@ public function fire() protected function getRandomKey($cipher) { if ($cipher === 'AES-128-CBC') { - ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Foundation/Console/ListenerMakeCommand.php
@@ -2,6 +2,7 @@ namespace Illuminate\Foundation\Console; +use Illuminate\Support\Str; use Illuminate\Console\GeneratorCommand; use Symfony\Component\Console\Input\InputOption; @@ -40,7 +41,7 @@ protected function buildClass($name) $event = $this->option('event'); - if (!starts_with($event, ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Foundation/Console/ModelMakeCommand.php
@@ -2,6 +2,7 @@ namespace Illuminate\Foundation\Console; +use Illuminate\Support\Str; use Illuminate\Console\GeneratorCommand; use Symfony\Component\Console\Input\InputOption; @@ -37,7 +38,7 @@ public function fire() { if (parent::fire() !== false) { if ($this->option('migration')) {...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Foundation/Console/RouteListCommand.php
@@ -3,6 +3,7 @@ namespace Illuminate\Foundation\Console; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use Illuminate\Http\Request; use Illuminate\Routing\Route; use Illuminate\Routing\Router; @@ -239,8 +240,8 @@ protected function getMethodPatterns($uri, $method) */ protected function filt...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Foundation/EnvironmentDetector.php
@@ -4,6 +4,7 @@ use Closure; use Illuminate\Support\Arr; +use Illuminate\Support\Str; class EnvironmentDetector { @@ -62,7 +63,7 @@ protected function detectConsoleEnvironment(Closure $callback, array $args) protected function getEnvironmentArgument(array $args) { return Arr::first($args, fun...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Foundation/Testing/CrawlerTrait.php
@@ -2,6 +2,7 @@ namespace Illuminate\Foundation\Testing; +use Illuminate\Support\Str; use Illuminate\Http\Request; use InvalidArgumentException; use Symfony\Component\DomCrawler\Form; @@ -325,7 +326,7 @@ protected function seeJsonContains(array $data) $expected = $this->formatToExpectedJson($key, $...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Http/RedirectResponse.php
@@ -3,6 +3,7 @@ namespace Illuminate\Http; use BadMethodCallException; +use Illuminate\Support\Str; use Illuminate\Support\MessageBag; use Illuminate\Support\ViewErrorBag; use Illuminate\Session\Store as SessionStore; @@ -190,8 +191,8 @@ public function setSession(SessionStore $session) */ public func...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Http/Request.php
@@ -7,6 +7,7 @@ use SplFileInfo; use RuntimeException; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use Symfony\Component\HttpFoundation\ParameterBag; use Symfony\Component\HttpFoundation\Request as SymfonyRequest; @@ -152,7 +153,7 @@ public function segments() public function is() { ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Mail/Mailer.php
@@ -6,6 +6,7 @@ use Swift_Mailer; use Swift_Message; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use SuperClosure\Serializer; use Psr\Log\LoggerInterface; use InvalidArgumentException; @@ -286,7 +287,7 @@ public function handleQueuedMessage($job, $data) */ protected function getQueuedCalla...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Queue/Console/SubscribeCommand.php
@@ -4,6 +4,7 @@ use Exception; use RuntimeException; +use Illuminate\Support\Str; use Illuminate\Queue\IronQueue; use Illuminate\Console\Command; use Symfony\Component\Console\Input\InputOption; @@ -96,7 +97,7 @@ protected function getSubscriberList() $url = $this->argument('url'); - if (!sta...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Queue/Jobs/Job.php
@@ -3,6 +3,7 @@ namespace Illuminate\Queue\Jobs; use DateTime; +use Illuminate\Support\Str; abstract class Job { @@ -179,7 +180,7 @@ protected function resolveQueueableEntities($data) */ protected function resolveQueueableEntity($value) { - if (is_string($value) && starts_with($value, '::...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Queue/RedisQueue.php
@@ -3,6 +3,7 @@ namespace Illuminate\Queue; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use Illuminate\Redis\Database; use Illuminate\Queue\Jobs\RedisJob; use Illuminate\Contracts\Queue\Queue as QueueContract; @@ -261,7 +262,7 @@ protected function createPayload($job, $data = '', $queue = null) ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Routing/Controller.php
@@ -4,6 +4,7 @@ use Closure; use BadMethodCallException; +use Illuminate\Support\Str; use InvalidArgumentException; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; @@ -137,7 +138,7 @@ protected function registerInstanceFilter($filter) */ protected function isInstanceFilter($filter) ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Routing/ControllerInspector.php
@@ -4,6 +4,7 @@ use ReflectionClass; use ReflectionMethod; +use Illuminate\Support\Str; class ControllerInspector { @@ -65,7 +66,7 @@ public function isRoutable(ReflectionMethod $method) return false; } - return starts_with($method->name, $this->verbs); + return Str::starts...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Routing/ResourceRegistrar.php
@@ -2,6 +2,8 @@ namespace Illuminate\Routing; +use Illuminate\Support\Str; + class ResourceRegistrar { /** @@ -42,7 +44,7 @@ public function register($name, $controller, array $options = []) // If the resource name contains a slash, we will assume the developer wishes to // register these ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Routing/Route.php
@@ -6,6 +6,7 @@ use LogicException; use ReflectionFunction; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use Illuminate\Http\Request; use UnexpectedValueException; use Illuminate\Container\Container; @@ -353,7 +354,7 @@ protected static function explodeArrayFilters(array $filters) */ public...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Routing/Router.php
@@ -4,6 +4,7 @@ use Closure; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Pipeline\Pipeline; @@ -874,7 +875,7 @@ public function filter($name, $callback) */ protected function parseFilter($callback) { - i...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Routing/UrlGenerator.php
@@ -3,6 +3,7 @@ namespace Illuminate\Routing; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use Illuminate\Http\Request; use InvalidArgumentException; use Illuminate\Contracts\Routing\UrlRoutable; @@ -212,7 +213,7 @@ protected function removeIndex($root) { $i = 'index.php'; - re...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Session/Store.php
@@ -3,6 +3,7 @@ namespace Illuminate\Session; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use SessionHandlerInterface; use InvalidArgumentException; use Symfony\Component\HttpFoundation\Request; @@ -193,7 +194,7 @@ public function isValidId($id) */ protected function generateSessionId() ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Validation/Factory.php
@@ -3,6 +3,7 @@ namespace Illuminate\Validation; use Closure; +use Illuminate\Support\Str; use Illuminate\Contracts\Container\Container; use Symfony\Component\Translation\TranslatorInterface; use Illuminate\Contracts\Validation\Factory as FactoryContract; @@ -163,7 +164,7 @@ public function extend($rule, $extens...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/Validation/Validator.php
@@ -9,6 +9,7 @@ use DateTimeZone; use RuntimeException; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use BadMethodCallException; use InvalidArgumentException; use Illuminate\Support\Fluent; @@ -1040,7 +1041,7 @@ protected function validateUnique($attribute, $value, $parameters) */ protected...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/View/Compilers/BladeCompiler.php
@@ -3,6 +3,7 @@ namespace Illuminate\View\Compilers; use Illuminate\Support\Arr; +use Illuminate\Support\Str; class BladeCompiler extends Compiler implements CompilerInterface { @@ -647,7 +648,7 @@ protected function compileEndforelse($expression) */ protected function compileExtends($expression) ...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/View/Factory.php
@@ -4,6 +4,7 @@ use Closure; use Illuminate\Support\Arr; +use Illuminate\Support\Str; use InvalidArgumentException; use Illuminate\Contracts\Support\Arrayable; use Illuminate\View\Engines\EngineResolver; @@ -268,7 +269,7 @@ public function renderEach($view, $data, $iterator, $empty = 'raw|') // view. Al...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
src/Illuminate/View/View.php
@@ -5,6 +5,7 @@ use Closure; use ArrayAccess; use BadMethodCallException; +use Illuminate\Support\Str; use Illuminate\Support\MessageBag; use Illuminate\Contracts\Support\Arrayable; use Illuminate\View\Engines\EngineInterface; @@ -375,8 +376,8 @@ public function __unset($key) */ public function __call(...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
tests/Encryption/EncrypterTest.php
@@ -1,5 +1,6 @@ <?php +use Illuminate\Support\Str; use Illuminate\Encryption\Encrypter; class EncrypterTest extends PHPUnit_Framework_TestCase @@ -81,7 +82,7 @@ public function testExceptionThrownWithDifferentKey() public function testOpenSslEncrypterCanDecryptMcryptedData() { - $key = str_ran...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
tests/Support/SupportHelpersTest.php
@@ -1,6 +1,7 @@ <?php use Mockery as m; +use Illuminate\Support\Str; class SupportHelpersTest extends PHPUnit_Framework_TestCase { @@ -170,32 +171,32 @@ public function testArrayFlatten() public function testStrIs() { - $this->assertTrue(str_is('*.dev', 'localhost.dev')); - $this->asse...
true
Other
laravel
framework
15251e41212ee47cf2f4be13dd36d07c1a892925.json
Use Str class instead of string helper functions
tests/Support/SupportPluralizerTest.php
@@ -1,36 +1,38 @@ <?php +use Illuminate\Support\Str; + class SupportPluralizerTest extends PHPUnit_Framework_TestCase { public function testBasicSingular() { - $this->assertEquals('child', str_singular('children')); + $this->assertEquals('child', Str::singular('children')); } pu...
true
Other
laravel
framework
81332dd65c6e92ae048e1079b6e7eee7b9739e9b.json
Add verbosity levels to Output
src/Illuminate/Console/Command.php
@@ -7,7 +7,6 @@ use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Output\NullOutput; use Symfony\Component\Console\Question\Question; -use Symfony\Component\Console\Style\SymfonyStyle; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterfa...
true
Other
laravel
framework
81332dd65c6e92ae048e1079b6e7eee7b9739e9b.json
Add verbosity levels to Output
src/Illuminate/Console/OutputStyle.php
@@ -0,0 +1,67 @@ +<?php + +namespace Illuminate\Console; + +use Symfony\Component\Console\Style\SymfonyStyle; +use Symfony\Component\Console\Input\InputInterface; +use Symfony\Component\Console\Output\OutputInterface; + +class OutputStyle extends SymfonyStyle +{ + /** @var OutputInterface */ + private $output; + ...
true
Other
laravel
framework
2e4345ee6896aaacf79fa281ee5cc33b7ce6e548.json
change variable name.
src/Illuminate/Database/Eloquent/Factory.php
@@ -135,9 +135,9 @@ public function rawOf($class, $name, array $attributes = []) */ public function raw($class, array $attributes = [], $name = 'default') { - $attrs = call_user_func($this->definitions[$class][$name], Faker::create()); + $raw = call_user_func($this->definitions[$class][$na...
false
Other
laravel
framework
246265839b40a595a56a491a23f9a88480a9f2eb.json
Add path for the database that we tried to load Without this information the exception isn't very helpful as the developer will have no idea where Illuminate was searching.
src/Illuminate/Database/Connectors/SQLiteConnector.php
@@ -31,7 +31,7 @@ public function connect(array $config) // as the developer probably wants to know if the database exists and this // SQLite driver will not throw any exception if it does not by default. if ($path === false) { - throw new InvalidArgumentException('Database does no...
false
Other
laravel
framework
9976625202a101d3dfc6ee020d2afb036dd89bcc.json
Add dontSee() to CrawlerTrait.
src/Illuminate/Foundation/Testing/CrawlerTrait.php
@@ -236,6 +236,17 @@ protected function see($text, $negate = false) return $this; } + /** + * Assert that a given string is not seen on the page. + * + * @param string $text + * @return $this + */ + protected function dontSee($text) + { + return $this->see($text, tr...
false
Other
laravel
framework
471d608150a263aac9ca25b96054eae2e61be649.json
Add Htmlable contract, HtmlString helper class
src/Illuminate/Contracts/Support/Htmlable.php
@@ -0,0 +1,13 @@ +<?php + +namespace Illuminate\Contracts\Support; + +interface Htmlable +{ + /** + * Get content as a string of HTML + * + * @return string + */ + public function toHtml(); +}
true
Other
laravel
framework
471d608150a263aac9ca25b96054eae2e61be649.json
Add Htmlable contract, HtmlString helper class
src/Illuminate/Support/HtmlString.php
@@ -0,0 +1,46 @@ +<?php + +namespace Illuminate\Support; + +use Illuminate\Contracts\Support\Htmlable; + +class HtmlString implements Htmlable +{ + /** + * The HTML string + * + * @var string + */ + protected $html; + + /** + * Create a new HTML string instance. + * + * @param stri...
true
Other
laravel
framework
471d608150a263aac9ca25b96054eae2e61be649.json
Add Htmlable contract, HtmlString helper class
src/Illuminate/Support/helpers.php
@@ -426,11 +426,15 @@ function dd() /** * Escape HTML entities in a string. * - * @param string $value + * @param \Illuminate\Support\Htmlable|string $value * @return string */ function e($value) { + if ($value instanceof Illuminate\Contracts\Support\Htmlable) {...
true
Other
laravel
framework
471d608150a263aac9ca25b96054eae2e61be649.json
Add Htmlable contract, HtmlString helper class
tests/Support/SupportHelpersTest.php
@@ -1,7 +1,14 @@ <?php +use Mockery as m; + class SupportHelpersTest extends PHPUnit_Framework_TestCase { + public function tearDown() + { + m::close(); + } + public function testArrayBuild() { $this->assertEquals(['foo' => 'bar'], array_build(['foo' => 'bar'], function ($key, $v...
true
Other
laravel
framework
471d608150a263aac9ca25b96054eae2e61be649.json
Add Htmlable contract, HtmlString helper class
tests/Support/SupportHtmlStringTest.php
@@ -0,0 +1,20 @@ +<?php + +use Illuminate\Support\HtmlString; + +class SupportHtmlStringTest extends PHPUnit_Framework_TestCase +{ + public function testToHtml() + { + $str = '<h1>foo</h1>'; + $html = new HtmlString('<h1>foo</h1>'); + $this->assertEquals($str, $html->toHtml()); + } + + ...
true
Other
laravel
framework
cb5757acb1da0ba8d837213f1d182d508eddb9e8.json
Remove unused use statements.
src/Illuminate/Encryption/Encrypter.php
@@ -3,7 +3,6 @@ namespace Illuminate\Encryption; use RuntimeException; -use Illuminate\Support\Str; use Illuminate\Contracts\Encryption\EncryptException; use Illuminate\Contracts\Encryption\DecryptException; use Illuminate\Contracts\Encryption\Encrypter as EncrypterContract;
true
Other
laravel
framework
cb5757acb1da0ba8d837213f1d182d508eddb9e8.json
Remove unused use statements.
src/Illuminate/Encryption/McryptEncrypter.php
@@ -3,7 +3,6 @@ namespace Illuminate\Encryption; use Exception; -use Illuminate\Support\Str; use Illuminate\Contracts\Encryption\DecryptException; use Illuminate\Contracts\Encryption\Encrypter as EncrypterContract;
true
Other
laravel
framework
cb5757acb1da0ba8d837213f1d182d508eddb9e8.json
Remove unused use statements.
src/Illuminate/Http/ResponseTrait.php
@@ -2,8 +2,6 @@ namespace Illuminate\Http; -use Symfony\Component\HttpFoundation\Cookie; - trait ResponseTrait { /**
true
Other
laravel
framework
401167c3a4957f108820b13ae877118a22f14c3d.json
Fix wrong class name in return docblock.
src/Illuminate/Database/Eloquent/Factory.php
@@ -143,7 +143,7 @@ public function raw($class, array $attributes = [], $name = 'default') * * @param string $class * @param string $name - * @return \Illuminate\Database\Factory\Builder + * @return \Illuminate\Database\Eloquent\FactoryBuilder */ public function of($class, $name...
false
Other
laravel
framework
275739483a335a78ad814b441b740e7bf35b0844.json
Fix basepath on chrooted environments
src/Illuminate/Foundation/Application.php
@@ -252,7 +252,7 @@ public function hasBeenBootstrapped() */ public function setBasePath($basePath) { - $this->basePath = $basePath; + $this->basePath = rtrim($basePath, DIRECTORY_SEPARATOR); $this->bindPathsInContainer();
false
Other
laravel
framework
b5accc88525e592aea50c717ded962bec2938314.json
Add a test for testValidateMimetypes
tests/Validation/ValidationValidatorTest.php
@@ -990,6 +990,18 @@ public function testValidateImage() $this->assertTrue($v->passes()); } + public function testValidateMimetypes() + { + $trans = $this->getRealTranslator(); + $uploadedFile = [__FILE__, '', null, null, null, true]; + + $file = $this->getMock('Symfony\Compon...
false
Other
laravel
framework
331dc60cd7ed387ef264d22899fb3c7c756e4453.json
Allow validateIn for type array
src/Illuminate/Validation/Validator.php
@@ -962,6 +962,10 @@ protected function getSize($attribute, $value) */ protected function validateIn($attribute, $value, $parameters) { + if (is_array($value) && in_array('array', $this->rules[$attribute])) { + return count(array_diff($value, $parameters)) == 0; + } + r...
false
Other
laravel
framework
19e84aeb4c8e82f0e96d1d30ff12fa2afad36c85.json
fix app name
src/Illuminate/Foundation/Console/AppNameCommand.php
@@ -236,7 +236,7 @@ protected function setPhpSpecNamespace() protected function setDatabaseFactoryNamespaces() { $this->replaceIn( - $this->laravel->databasePath().'/factories', $this->currentRoot, $this->argument('name') + $this->laravel->databasePath().'/factories/ModelFactory...
false
Other
laravel
framework
603aad0f53efcffcc609e8f010fd5f3022e61711.json
Use methods from contract
src/Illuminate/Foundation/Bootstrap/RegisterFacades.php
@@ -20,6 +20,6 @@ public function bootstrap(Application $app) Facade::setFacadeApplication($app); - AliasLoader::getInstance($app['config']['app.aliases'])->register(); + AliasLoader::getInstance($app->make('config')->get('app.aliases'))->register(); } }
true
Other
laravel
framework
603aad0f53efcffcc609e8f010fd5f3022e61711.json
Use methods from contract
src/Illuminate/Foundation/Bootstrap/SetRequestForConsole.php
@@ -15,7 +15,7 @@ class SetRequestForConsole */ public function bootstrap(Application $app) { - $url = $app['config']->get('app.url', 'http://localhost'); + $url = $app->make('config')->get('app.url', 'http://localhost'); $app->instance('request', Request::create($url, 'GET', []...
true
Other
laravel
framework
6020b7c2937df9cae48b5f4e3ebd0c623d1c79b1.json
Fix some compiled stuff.
src/Illuminate/Foundation/Console/Optimize/config.php
@@ -41,7 +41,7 @@ $basePath.'/vendor/laravel/framework/src/Illuminate/Contracts/Auth/UserProvider.php', $basePath.'/vendor/laravel/framework/src/Illuminate/Auth/EloquentUserProvider.php', $basePath.'/vendor/laravel/framework/src/Illuminate/Container/Container.php', - $basePath.'/vendor/symfony/http-ke...
false
Other
laravel
framework
5796036e3f0114fd3dfdecd26b0dfd1e896faf38.json
Remove middleware contract from core middleware.
src/Illuminate/Auth/Middleware/AuthenticateWithBasicAuth.php
@@ -4,9 +4,8 @@ use Closure; use Illuminate\Contracts\Auth\Guard; -use Illuminate\Contracts\Routing\Middleware; -class AuthenticateWithBasicAuth implements Middleware +class AuthenticateWithBasicAuth { /** * The guard instance.
true
Other
laravel
framework
5796036e3f0114fd3dfdecd26b0dfd1e896faf38.json
Remove middleware contract from core middleware.
src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
@@ -3,10 +3,9 @@ namespace Illuminate\Cookie\Middleware; use Closure; -use Illuminate\Contracts\Routing\Middleware; use Illuminate\Contracts\Cookie\QueueingFactory as CookieJar; -class AddQueuedCookiesToResponse implements Middleware +class AddQueuedCookiesToResponse { /** * The cookie jar instance.
true