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 | 2a922bc0d83ebdf4199ff8fa75088b27c9c41083.json | Add hasScope function to the Base Model | src/Illuminate/Database/Eloquent/Builder.php | @@ -1373,8 +1373,8 @@ public function __call($method, $parameters)
return call_user_func_array(static::$macros[$method], $parameters);
}
- if (method_exists($this->model, $scope = 'scope'.ucfirst($method))) {
- return $this->callScope([$this->model, $scope], $parameters);
+ ... | true |
Other | laravel | framework | 2a922bc0d83ebdf4199ff8fa75088b27c9c41083.json | Add hasScope function to the Base Model | src/Illuminate/Database/Eloquent/Model.php | @@ -331,6 +331,17 @@ public static function isIgnoringTouch($class = null)
return false;
}
+ /**
+ * Determine if the given model has a scope.
+ *
+ * @param string $method
+ * @return bool
+ */
+ public function hasScope(string $method)
+ {
+ return method_exists($t... | true |
Other | laravel | framework | 2a922bc0d83ebdf4199ff8fa75088b27c9c41083.json | Add hasScope function to the Base Model | tests/Integration/Database/EloquentModelScopeTest.php | @@ -0,0 +1,33 @@
+<?php
+
+namespace Illuminate\Tests\Integration\Database;
+
+use Illuminate\Database\Eloquent\Model;
+
+/**
+ * @group integration
+ */
+class EloquentModelScopeTest extends DatabaseTestCase
+{
+ public function testModelHasScope()
+ {
+ $model = new TestModel1;
+
+ $this->assertTr... | true |
Other | laravel | framework | 055762286132d545cbc064dce645562c0d51532f.json | use single space if plain email is empty | src/Illuminate/Mail/Mailer.php | @@ -331,7 +331,7 @@ protected function addContent($message, $view, $plain, $raw, $data)
if (isset($plain)) {
$method = isset($view) ? 'addPart' : 'setBody';
- $message->$method($this->renderView($plain, $data), 'text/plain');
+ $message->$method($this->renderView($plain, $d... | false |
Other | laravel | framework | 6f1fdddc9c9afc571f3aca51a67b58828a9e35f7.json | Add pdo try again as lost connection message | src/Illuminate/Database/DetectsLostConnections.php | @@ -43,6 +43,7 @@ protected function causedByLostConnection(Throwable $e)
'Connection refused',
'running with the --read-only option so it cannot execute this statement',
'The connection is broken and recovery is not possible. The connection is marked by the client driver as unrec... | false |
Other | laravel | framework | 6ead73349126c7eee5fd9702c420915f6a02a889.json | Set relation connection on eager loaded MorphTo | src/Illuminate/Database/Eloquent/Relations/MorphTo.php | @@ -151,7 +151,11 @@ public function createModelByType($type)
{
$class = Model::getActualClassNameForMorph($type);
- return new $class;
+ return tap(new $class, function ($instance) {
+ if (! $instance->getConnectionName()) {
+ $instance->setConnection($this->getC... | true |
Other | laravel | framework | 6ead73349126c7eee5fd9702c420915f6a02a889.json | Set relation connection on eager loaded MorphTo | tests/Database/DatabaseEloquentIntegrationTest.php | @@ -1179,6 +1179,23 @@ public function testMorphToRelationsAcrossDatabaseConnections()
$this->assertInstanceOf(EloquentTestItem::class, $item);
}
+ public function testEagerLoadedMorphToRelationsOnAnotherDatabaseConnection()
+ {
+ EloquentTestPost::create(['id' => 1, 'name' => 'Default Conn... | true |
Other | laravel | framework | e4dc43f772557c0ca1767d5070cf336006dfa4e0.json | Add ability to test blade components | src/Illuminate/Foundation/Testing/Concerns/InteractsWithViews.php | @@ -41,4 +41,23 @@ protected function blade(string $template, array $data = [])
return new TestView(view(Str::before(basename($tempFile), '.blade.php'), $data));
}
+
+ /**
+ * Create a new TestView from the given view component.
+ *
+ * @param string $view
+ * @param \Illuminate\Co... | false |
Other | laravel | framework | f0639fda45fc2874986fe409d944dde21d42c6f3.json | fix bug in old input check | src/Illuminate/Foundation/Testing/TestResponse.php | @@ -997,7 +997,7 @@ public function assertSessionHasInput($key, $value = null)
if (is_null($value)) {
PHPUnit::assertTrue(
- $this->session()->getOldInput($key),
+ $this->session()->hasOldInput($key),
"Session is missing expected key [{$key}]."
... | false |
Other | laravel | framework | cb523c7d27df194398d88c71af9f849f881d447a.json | Apply fixes from StyleCI (#32600) | src/Illuminate/View/Compilers/ComponentTagCompiler.php | @@ -203,8 +203,8 @@ protected function componentString(string $component, array $attributes)
$parameters = $data->all();
}
- return " @component('{$class}', '{$component}', [".$this->attributesToString($parameters, $escapeBound = false)."])
-<?php \$component->withAttributes([".$this->att... | false |
Other | laravel | framework | 7834fe3f4e192008d24a2f82c284e4740ecb74e9.json | Remove illogic test | tests/View/Blade/BladeComponentsTest.php | @@ -11,11 +11,6 @@ public function testComponentsAreCompiled()
$this->assertSame('<?php $__env->startComponent(\'foo\'); ?>', $this->compiler->compileString('@component(\'foo\')'));
}
- public function testExtraAttributesCanBePassedToComponents()
- {
- $this->assertSame('<?php $__env->start... | false |
Other | laravel | framework | bb3f0aa147cbcc495716ca710a1c86b255f2fd93.json | Add assertDatabaseCount assertion | src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php | @@ -5,6 +5,7 @@
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Arr;
+use Illuminate\Testing\Constraints\CountInDatabase;
use Illuminate\Testing\Constraints\HasInDatabase;
use Illuminate\Testing\Constraints\SoftDeletedInDatabase;
use PHPUnit\Framework\C... | true |
Other | laravel | framework | bb3f0aa147cbcc495716ca710a1c86b255f2fd93.json | Add assertDatabaseCount assertion | src/Illuminate/Testing/Constraints/CountInDatabase.php | @@ -0,0 +1,85 @@
+<?php
+
+namespace Illuminate\Testing\Constraints;
+
+use ReflectionClass;
+use Illuminate\Database\Connection;
+use PHPUnit\Framework\Constraint\Constraint;
+
+class CountInDatabase extends Constraint
+{
+
+ /**
+ * The database connection.
+ *
+ * @var \Illuminate\Database\Connection
... | true |
Other | laravel | framework | bb3f0aa147cbcc495716ca710a1c86b255f2fd93.json | Add assertDatabaseCount assertion | tests/Foundation/FoundationInteractsWithDatabaseTest.php | @@ -103,6 +103,22 @@ public function testDontSeeInDatabaseFindsResults()
$this->assertDatabaseMissing($this->table, $this->data);
}
+ public function testAssertTableEntriesCount()
+ {
+ $this->mockCountBuilder(1);
+
+ $this->assertDatabaseCount($this->table, 1);
+ }
+
+ public ... | true |
Other | laravel | framework | a29b94f0dc78f5c4111b36a8acaa6ce818cd8709.json | Apply fixes from StyleCI (#32581) | src/Illuminate/Database/DatabaseServiceProvider.php | @@ -85,7 +85,7 @@ protected function registerEloquentFactory()
$locale = $parameters['locale'] ?? $app['config']->get('app.faker_locale', 'en_US');
if (! isset(static::$fakers[$locale])) {
- static::$fakers[$locale] = FakerFactory::create($locale);;
+ static::$f... | false |
Other | laravel | framework | fa62732859f6e13cfa94ef25f0d54a2246945084.json | Apply fixes from StyleCI (#32582) | src/Illuminate/Database/DatabaseServiceProvider.php | @@ -84,7 +84,7 @@ protected function registerEloquentFactory()
$locale = $parameters['locale'] ?? $app['config']->get('app.faker_locale', 'en_US');
if (! isset(static::$fakers[$locale])) {
- static::$fakers[$locale] = FakerFactory::create($locale);;
+ static::$f... | false |
Other | laravel | framework | 33a5ea396a7d220c5cd8e76f1e02abf069a76ad0.json | Apply fixes from StyleCI (#32581) | src/Illuminate/Database/DatabaseServiceProvider.php | @@ -85,7 +85,7 @@ protected function registerEloquentFactory()
$locale = $parameters['locale'] ?? $app['config']->get('app.faker_locale', 'en_US');
if (! isset(static::$fakers[$locale])) {
- static::$fakers[$locale] = FakerFactory::create($locale);;
+ static::$f... | false |
Other | laravel | framework | 0deda1a8780b57d7a26b9317de90556432029df2.json | Apply fixes from StyleCI (#32575) | tests/View/Blade/BladeComponentTagCompilerTest.php | @@ -5,7 +5,6 @@
use Illuminate\Container\Container;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\View\Factory;
-use Illuminate\Filesystem\Filesystem;
use Illuminate\View\Compilers\BladeCompiler;
use Illuminate\View\Compilers\ComponentTagCompiler;
use Illuminate\View\Component; | false |
Other | laravel | framework | 4d13ad92ee9dd881d7eb59dde0f31572b8605cf5.json | Apply fixes from StyleCI (#32573) | tests/View/Blade/BladeComponentTagCompilerTest.php | @@ -5,7 +5,6 @@
use Illuminate\Container\Container;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\View\Factory;
-use Illuminate\Filesystem\Filesystem;
use Illuminate\View\Compilers\BladeCompiler;
use Illuminate\View\Compilers\ComponentTagCompiler;
use Illuminate\View\Component; | false |
Other | laravel | framework | 9ede7d34f97932c3f7f0c4dae21ddea16621aefc.json | Apply fixes from StyleCI (#32572) | tests/View/Blade/BladeComponentTagCompilerTest.php | @@ -5,7 +5,6 @@
use Illuminate\Container\Container;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\View\Factory;
-use Illuminate\Filesystem\Filesystem;
use Illuminate\View\Compilers\BladeCompiler;
use Illuminate\View\Compilers\ComponentTagCompiler;
use Illuminate\View\Component; | false |
Other | laravel | framework | 520544dc24772b421410a2528ba01fd47818eeea.json | change argument order | src/Illuminate/View/Compilers/BladeCompiler.php | @@ -318,7 +318,7 @@ protected function compileComponentTags($value)
}
return (new ComponentTagCompiler(
- $this, $this->classComponentAliases
+ $this->classComponentAliases, $this
))->compile($value);
}
| true |
Other | laravel | framework | 520544dc24772b421410a2528ba01fd47818eeea.json | change argument order | src/Illuminate/View/Compilers/ComponentTagCompiler.php | @@ -5,6 +5,7 @@
use Illuminate\Container\Container;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\View\Factory;
+use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Str;
use Illuminate\View\AnonymousComponent;
use InvalidArgumentException;
@@ -41,12 +42,14 @@ class ComponentTa... | true |
Other | laravel | framework | 520544dc24772b421410a2528ba01fd47818eeea.json | change argument order | tests/View/Blade/BladeComponentTagCompilerTest.php | @@ -268,8 +268,8 @@ protected function mockViewFactory($existsSucceeds = true)
protected function compiler($aliases = [])
{
return new ComponentTagCompiler(
- new BladeCompiler(new Filesystem, __DIR__),
- $aliases
+ $aliases,
+ new BladeCompiler(new Filesys... | true |
Other | laravel | framework | 4c9557734ae70a20b3af0fdd69a9dc392b61fab4.json | Apply fixes from StyleCI (#32569) | src/Illuminate/View/Component.php | @@ -239,6 +239,7 @@ public function __toString()
{
return (string) $this->__invoke();
}
+
};
}
| false |
Other | laravel | framework | 08c40123a438e40ad82582fee7ddaa1ff056bb83.json | add more proxy methods to deferred value | src/Illuminate/View/Component.php | @@ -2,10 +2,13 @@
namespace Illuminate\View;
+use ArrayIterator;
use Closure;
use Illuminate\Container\Container;
use Illuminate\Contracts\Support\DeferringDisplayableValue;
+use Illuminate\Support\Enumerable;
use Illuminate\Support\Str;
+use IteratorAggregate;
use ReflectionClass;
use ReflectionMethod;
use... | false |
Other | laravel | framework | 7b224b1bbad698f56d7d02e815bb9bb5703953d8.json | Apply fixes from StyleCI (#32561) | src/Illuminate/View/Component.php | @@ -219,6 +219,7 @@ public function __toString()
{
return (string) $this->__invoke();
}
+
};
}
| false |
Other | laravel | framework | cd366a40124818c8a550e5caeeded126025c2b42.json | Apply fixes from StyleCI (#32557) | src/Illuminate/View/Compilers/ComponentTagCompiler.php | @@ -7,7 +7,6 @@
use Illuminate\Contracts\View\Factory;
use Illuminate\Support\Str;
use Illuminate\View\AnonymousComponent;
-use Illuminate\View\Compilers\BladeCompiler;
use InvalidArgumentException;
use ReflectionClass;
| false |
Other | laravel | framework | 3f537ca1c7cbf14af34dcf697801db75f2b173d3.json | evaluate echos within attributes | src/Illuminate/View/Compilers/BladeCompiler.php | @@ -318,7 +318,7 @@ protected function compileComponentTags($value)
}
return (new ComponentTagCompiler(
- $this->classComponentAliases
+ $this, $this->classComponentAliases
))->compile($value);
}
| true |
Other | laravel | framework | 3f537ca1c7cbf14af34dcf697801db75f2b173d3.json | evaluate echos within attributes | src/Illuminate/View/Compilers/ComponentTagCompiler.php | @@ -7,6 +7,7 @@
use Illuminate\Contracts\View\Factory;
use Illuminate\Support\Str;
use Illuminate\View\AnonymousComponent;
+use Illuminate\View\Compilers\BladeCompiler;
use InvalidArgumentException;
use ReflectionClass;
@@ -16,6 +17,13 @@
*/
class ComponentTagCompiler
{
+ /**
+ * The Blade compiler in... | true |
Other | laravel | framework | 3f537ca1c7cbf14af34dcf697801db75f2b173d3.json | evaluate echos within attributes | src/Illuminate/View/Compilers/Concerns/CompilesEchos.php | @@ -10,7 +10,7 @@ trait CompilesEchos
* @param string $value
* @return string
*/
- protected function compileEchos($value)
+ public function compileEchos($value)
{
foreach ($this->getEchoMethods() as $method) {
$value = $this->$method($value); | true |
Other | laravel | framework | 3f537ca1c7cbf14af34dcf697801db75f2b173d3.json | evaluate echos within attributes | tests/View/Blade/BladeComponentTagCompilerTest.php | @@ -5,6 +5,7 @@
use Illuminate\Container\Container;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\View\Factory;
+use Illuminate\Filesystem\Filesystem;
use Illuminate\View\Compilers\BladeCompiler;
use Illuminate\View\Compilers\ComponentTagCompiler;
use Illuminate\View\Component;
@@ -20,... | true |
Other | laravel | framework | 9e22c7cfa629773eab981ccad13080c0f4cb81b2.json | fix getOriginal with custom casts | src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php | @@ -476,7 +476,7 @@ protected function mutateAttribute($key, $value)
protected function mutateAttributeForArray($key, $value)
{
$value = $this->isClassCastable($key)
- ? $this->getClassCastableAttributeValue($key)
+ ? $this->getClassCastableAttributeValue($key, $... | true |
Other | laravel | framework | 9e22c7cfa629773eab981ccad13080c0f4cb81b2.json | fix getOriginal with custom casts | tests/Integration/Database/DatabaseEloquentModelCustomCastingTest.php | @@ -27,6 +27,10 @@ public function testBasicCustomCasting()
$this->assertSame('TAYLOR', $unserializedModel->getAttributes()['uppercase']);
$this->assertSame('TAYLOR', $unserializedModel->toArray()['uppercase']);
+ $model->syncOriginal();
+ $model->uppercase = 'dries';
+ $this->a... | true |
Other | laravel | framework | 80c39186b4e6875fe5c78342c63b5d9334e0b22d.json | Fix boolean value in assertSessionHasErrors | src/Illuminate/Foundation/Testing/TestResponse.php | @@ -1029,6 +1029,10 @@ public function assertSessionHasErrors($keys = [], $format = null, $errorBag = '
if (is_int($key)) {
PHPUnit::assertTrue($errors->has($value), "Session missing error: $value");
} else {
+ if (is_bool($value)) {
+ $value ... | false |
Other | laravel | framework | b85f906bef8865f6d15525dbf2d9db6618c50d64.json | Improve return type that may be null | src/Illuminate/Cookie/CookieJar.php | @@ -119,7 +119,7 @@ public function hasQueued($key, $path = null)
* @param string $key
* @param mixed $default
* @param string|null $path
- * @return \Symfony\Component\HttpFoundation\Cookie
+ * @return \Symfony\Component\HttpFoundation\Cookie|null
*/
public function queued($k... | true |
Other | laravel | framework | b85f906bef8865f6d15525dbf2d9db6618c50d64.json | Improve return type that may be null | src/Illuminate/Routing/Route.php | @@ -348,7 +348,7 @@ public function hasParameter($name)
*
* @param string $name
* @param mixed $default
- * @return string|object
+ * @return string|object|null
*/
public function parameter($name, $default = null)
{
@@ -360,7 +360,7 @@ public function parameter($name, $defa... | true |
Other | laravel | framework | 92e0e93072163d8b07b89c4e46307f713209787d.json | Apply fixes from StyleCI (#32551) | tests/Mail/MailManagerTest.php | @@ -2,7 +2,6 @@
namespace Illuminate\Tests\Mail;
-use Illuminate\Mail\MailManager;
use Orchestra\Testbench\TestCase;
class MailManagerTest extends TestCase
@@ -24,13 +23,13 @@ public function testEmptyTransportConfig($transport)
$this->expectException(\InvalidArgumentException::class);
$thi... | false |
Other | laravel | framework | 2ad79ca851d5bd6578957c506b3e9eace6d987c7.json | Add pdo try again as lost connection message | src/Illuminate/Database/DetectsLostConnections.php | @@ -43,6 +43,7 @@ protected function causedByLostConnection(Throwable $e)
'Connection refused',
'running with the --read-only option so it cannot execute this statement',
'The connection is broken and recovery is not possible. The connection is marked by the client driver as unrec... | false |
Other | laravel | framework | 70d7ba1175b6e54eb2abe82cea8f1e04fd7c4d69.json | reset select bindings when setting select
fixes https://github.com/laravel/framework/issues/32526 | src/Illuminate/Database/Query/Builder.php | @@ -225,6 +225,7 @@ public function __construct(ConnectionInterface $connection,
public function select($columns = ['*'])
{
$this->columns = [];
+ $this->bindings['select'] = [];
$columns = is_array($columns) ? $columns : func_get_args();
| true |
Other | laravel | framework | 70d7ba1175b6e54eb2abe82cea8f1e04fd7c4d69.json | reset select bindings when setting select
fixes https://github.com/laravel/framework/issues/32526 | tests/Database/DatabaseQueryBuilderTest.php | @@ -3024,6 +3024,22 @@ public function testSubSelect()
$builder->selectSub(['foo'], 'sub');
}
+ public function testSubSelectResetBindings()
+ {
+ $builder = $this->getPostgresBuilder();
+ $builder->from('one')->selectSub(function ($query) {
+ $query->from('two')->select('... | true |
Other | laravel | framework | b815dc6c1b1c595f3241c493255f0fbfd67a6131.json | pass status code to schedule finish | src/Illuminate/Console/Scheduling/CommandBuilder.php | @@ -52,11 +52,11 @@ protected function buildBackgroundCommand(Event $event)
$finished = Application::formatCommandString('schedule:finish').' "'.$event->mutexName().'"';
if (windows_os()) {
- return 'start /b cmd /c "('.$event->command.' & '.$finished.')'.$redirect.$output.' 2>&1"';
+ ... | true |
Other | laravel | framework | b815dc6c1b1c595f3241c493255f0fbfd67a6131.json | pass status code to schedule finish | src/Illuminate/Console/Scheduling/Event.php | @@ -262,6 +262,20 @@ public function callAfterCallbacks(Container $container)
}
}
+ /**
+ * Call all of the "after" callbacks for the event.
+ *
+ * @param \Illuminate\Contracts\Container\Container $container
+ * @param int $exitCode
+ * @return void
+ */
+ public funct... | true |
Other | laravel | framework | b815dc6c1b1c595f3241c493255f0fbfd67a6131.json | pass status code to schedule finish | src/Illuminate/Console/Scheduling/ScheduleFinishCommand.php | @@ -11,7 +11,7 @@ class ScheduleFinishCommand extends Command
*
* @var string
*/
- protected $signature = 'schedule:finish {id}';
+ protected $signature = 'schedule:finish {id} {code=0}';
/**
* The console command description.
@@ -37,6 +37,6 @@ public function handle(Schedule $sched... | true |
Other | laravel | framework | b815dc6c1b1c595f3241c493255f0fbfd67a6131.json | pass status code to schedule finish | tests/Console/Scheduling/EventTest.php | @@ -29,7 +29,7 @@ public function testBuildCommand()
$commandSeparator = ($isWindows ? '&' : ';');
$scheduleId = '"framework'.DIRECTORY_SEPARATOR.'schedule-eeb46c93d45e928d62aaf684d727e213b7094822"';
- $this->assertSame("(php -i > {$quote}{$defaultOutput}{$quote} 2>&1 {$commandSeparator} {$qu... | true |
Other | laravel | framework | b9c2763ebfcd2eac29ecc900a6623f4a22281715.json | pass status code to schedule finish | src/Illuminate/Console/Scheduling/CommandBuilder.php | @@ -52,11 +52,11 @@ protected function buildBackgroundCommand(Event $event)
$finished = Application::formatCommandString('schedule:finish').' "'.$event->mutexName().'"';
if (windows_os()) {
- return 'start /b cmd /c "('.$event->command.' & '.$finished.')'.$redirect.$output.' 2>&1"';
+ ... | true |
Other | laravel | framework | b9c2763ebfcd2eac29ecc900a6623f4a22281715.json | pass status code to schedule finish | src/Illuminate/Console/Scheduling/Event.php | @@ -262,6 +262,20 @@ public function callAfterCallbacks(Container $container)
}
}
+ /**
+ * Call all of the "after" callbacks for the event.
+ *
+ * @param \Illuminate\Contracts\Container\Container $container
+ * @param int $exitCode
+ * @return void
+ */
+ public funct... | true |
Other | laravel | framework | b9c2763ebfcd2eac29ecc900a6623f4a22281715.json | pass status code to schedule finish | src/Illuminate/Console/Scheduling/ScheduleFinishCommand.php | @@ -11,7 +11,7 @@ class ScheduleFinishCommand extends Command
*
* @var string
*/
- protected $signature = 'schedule:finish {id}';
+ protected $signature = 'schedule:finish {id} {code=0}';
/**
* The console command description.
@@ -37,6 +37,6 @@ public function handle(Schedule $sched... | true |
Other | laravel | framework | b9c2763ebfcd2eac29ecc900a6623f4a22281715.json | pass status code to schedule finish | tests/Console/Scheduling/EventTest.php | @@ -29,7 +29,7 @@ public function testBuildCommand()
$commandSeparator = ($isWindows ? '&' : ';');
$scheduleId = '"framework'.DIRECTORY_SEPARATOR.'schedule-eeb46c93d45e928d62aaf684d727e213b7094822"';
- $this->assertSame("(php -i > {$quote}{$defaultOutput}{$quote} 2>&1 {$commandSeparator} {$qu... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Auth/Access/Gate.php | @@ -3,9 +3,9 @@
namespace Illuminate\Auth\Access;
use Exception;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
use Illuminate\Contracts\Container\Container;
-use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use InvalidArgumentException;
use ReflectionClass; | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Auth/Passwords/PasswordBroker.php | @@ -3,10 +3,10 @@
namespace Illuminate\Auth\Passwords;
use Closure;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
use Illuminate\Contracts\Auth\PasswordBroker as PasswordBrokerContract;
use Illuminate\Contracts\Auth\UserProvider;
-use Illuminate\Supp... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Auth/composer.json | @@ -15,6 +15,7 @@
],
"require": {
"php": "^7.3",
+ "illuminate/collections": "^8.0",
"illuminate/contracts": "^8.0",
"illuminate/http": "^8.0",
"illuminate/macroable": "^8.0", | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Broadcasting/BroadcastEvent.php | @@ -3,10 +3,10 @@
namespace Illuminate\Broadcasting;
use Illuminate\Bus\Queueable;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Broadcasting\Broadcaster;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Contracts\Support\Arrayable;
-use Illuminate\Support\Arr;
use ReflectionClass;
use Re... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Broadcasting/Broadcasters/Broadcaster.php | @@ -3,11 +3,11 @@
namespace Illuminate\Broadcasting\Broadcasters;
use Exception;
+use Illuminate\Collections\Arr;
use Illuminate\Container\Container;
use Illuminate\Contracts\Broadcasting\Broadcaster as BroadcasterContract;
use Illuminate\Contracts\Routing\BindingRegistrar;
use Illuminate\Contracts\Routing\UrlR... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php | @@ -3,7 +3,7 @@
namespace Illuminate\Broadcasting\Broadcasters;
use Illuminate\Broadcasting\BroadcastException;
-use Illuminate\Support\Arr;
+use Illuminate\Collections\Arr;
use Illuminate\Support\Str;
use Pusher\Pusher;
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Broadcasting/Broadcasters/RedisBroadcaster.php | @@ -2,8 +2,8 @@
namespace Illuminate\Broadcasting\Broadcasters;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Redis\Factory as Redis;
-use Illuminate\Support\Arr;
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
class RedisBroadcaster extends Broadcaster | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Broadcasting/composer.json | @@ -18,6 +18,7 @@
"ext-json": "*",
"psr/log": "^1.0",
"illuminate/bus": "^8.0",
+ "illuminate/collections": "^8.0",
"illuminate/contracts": "^8.0",
"illuminate/queue": "^8.0",
"illuminate/support": "^8.0" | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Bus/Queueable.php | @@ -3,8 +3,8 @@
namespace Illuminate\Bus;
use Closure;
+use Illuminate\Collections\Arr;
use Illuminate\Queue\CallQueuedClosure;
-use Illuminate\Support\Arr;
use RuntimeException;
trait Queueable | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Bus/composer.json | @@ -15,6 +15,7 @@
],
"require": {
"php": "^7.3",
+ "illuminate/collections": "^8.0",
"illuminate/contracts": "^8.0",
"illuminate/pipeline": "^8.0",
"illuminate/support": "^8.0" | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Cache/CacheManager.php | @@ -4,10 +4,10 @@
use Aws\DynamoDb\DynamoDbClient;
use Closure;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Cache\Factory as FactoryContract;
use Illuminate\Contracts\Cache\Store;
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
-use Illuminate\Support\Arr;
use InvalidArgumentExce... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Cache/composer.json | @@ -15,6 +15,7 @@
],
"require": {
"php": "^7.3",
+ "illuminate/collections": "^8.0",
"illuminate/contracts": "^8.0",
"illuminate/macroable": "^8.0",
"illuminate/support": "^8.0" | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Config/Repository.php | @@ -3,8 +3,8 @@
namespace Illuminate\Config;
use ArrayAccess;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Config\Repository as ConfigContract;
-use Illuminate\Support\Arr;
class Repository implements ArrayAccess, ConfigContract
{ | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Config/composer.json | @@ -15,8 +15,8 @@
],
"require": {
"php": "^7.3",
- "illuminate/contracts": "^8.0",
- "illuminate/support": "^8.0"
+ "illuminate/collections": "^8.0",
+ "illuminate/contracts": "^8.0"
},
"autoload": {
"psr-4": { | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Console/Scheduling/Event.php | @@ -6,11 +6,11 @@
use Cron\CronExpression;
use GuzzleHttp\Client as HttpClient;
use GuzzleHttp\Exception\TransferException;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Container\Container;
use Illuminate\Contracts\Debug\ExceptionHandler;
use Illuminate\Contracts\Mail\Mailer;
use Illuminate\Macroabl... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Console/composer.json | @@ -15,6 +15,7 @@
],
"require": {
"php": "^7.3",
+ "illuminate/collections": "^8.0",
"illuminate/contracts": "^8.0",
"illuminate/macroable": "^8.0",
"illuminate/support": "^8.0", | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Container/Util.php | @@ -9,7 +9,7 @@ class Util
/**
* If the given value is not an array and not null, wrap it in one.
*
- * From Arr::wrap() in Illuminate\Support.
+ * From Arr::wrap() in Illuminate\Collections.
*
* @param mixed $value
* @return array | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Cookie/CookieJar.php | @@ -2,9 +2,9 @@
namespace Illuminate\Cookie;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Cookie\QueueingFactory as JarContract;
use Illuminate\Macroable\Macroable;
-use Illuminate\Support\Arr;
use Illuminate\Support\InteractsWithTime;
use Symfony\Component\HttpFoundation\Cookie;
| true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Cookie/composer.json | @@ -15,6 +15,7 @@
],
"require": {
"php": "^7.3",
+ "illuminate/collections": "^8.0",
"illuminate/contracts": "^8.0",
"illuminate/macroable": "^8.0",
"illuminate/support": "^8.0", | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Connection.php | @@ -6,6 +6,7 @@
use DateTimeInterface;
use Doctrine\DBAL\Connection as DoctrineConnection;
use Exception;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Database\Events\QueryExecuted;
use Illuminate\Database\Events\StatementPrepared;
@@ -17,7 +18,6 @@
use Illuminate\D... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Connectors/ConnectionFactory.php | @@ -2,13 +2,13 @@
namespace Illuminate\Database\Connectors;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Container\Container;
use Illuminate\Database\Connection;
use Illuminate\Database\MySqlConnection;
use Illuminate\Database\PostgresConnection;
use Illuminate\Database\SQLiteConnection;
use Ill... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Connectors/SqlServerConnector.php | @@ -2,7 +2,7 @@
namespace Illuminate\Database\Connectors;
-use Illuminate\Support\Arr;
+use Illuminate\Collections\Arr;
use PDO;
class SqlServerConnector extends Connector implements ConnectorInterface | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/DatabaseManager.php | @@ -2,8 +2,8 @@
namespace Illuminate\Database;
+use Illuminate\Collections\Arr;
use Illuminate\Database\Connectors\ConnectionFactory;
-use Illuminate\Support\Arr;
use Illuminate\Support\ConfigurationUrlParser;
use Illuminate\Support\Str;
use InvalidArgumentException; | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Eloquent/Builder.php | @@ -5,12 +5,12 @@
use BadMethodCallException;
use Closure;
use Exception;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Database\Concerns\BuildsQueries;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Database\Query\Builder as QueryBuilder;
use I... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Eloquent/Collection.php | @@ -2,10 +2,10 @@
namespace Illuminate\Database\Eloquent;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Queue\QueueableCollection;
use Illuminate\Contracts\Queue\QueueableEntity;
use Illuminate\Contracts\Support\Arrayable;
-use Illuminate\Support\Arr;
use Illuminate\Support\Collection as BaseCollec... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php | @@ -4,12 +4,12 @@
use Carbon\CarbonInterface;
use DateTimeInterface;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Database\Eloquent\Castable;
use Illuminate\Contracts\Database\Eloquent\CastsInboundAttributes;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Database\Eloquent\JsonEncodingE... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Eloquent/Concerns/HasEvents.php | @@ -2,8 +2,8 @@
namespace Illuminate\Database\Eloquent\Concerns;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Events\Dispatcher;
-use Illuminate\Support\Arr;
use InvalidArgumentException;
trait HasEvents | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Eloquent/Concerns/HasGlobalScopes.php | @@ -3,8 +3,8 @@
namespace Illuminate\Database\Eloquent\Concerns;
use Closure;
+use Illuminate\Collections\Arr;
use Illuminate\Database\Eloquent\Scope;
-use Illuminate\Support\Arr;
use InvalidArgumentException;
trait HasGlobalScopes | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php | @@ -2,6 +2,7 @@
namespace Illuminate\Database\Eloquent\Concerns;
+use Illuminate\Collections\Arr;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
@@ -16,7 +17,6 @@
use Illuminate\Database\Eloquent\Relations\MorphTo;
use Illuminate\... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Eloquent/Model.php | @@ -4,6 +4,7 @@
use ArrayAccess;
use Exception;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Queue\QueueableCollection;
use Illuminate\Contracts\Queue\QueueableEntity;
use Illuminate\Contracts\Routing\UrlRoutable;
@@ -12,7 +13,6 @@
use Illuminate\Database\ConnectionResolverInterface as Resolver;
u... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Eloquent/ModelNotFoundException.php | @@ -2,7 +2,7 @@
namespace Illuminate\Database\Eloquent;
-use Illuminate\Support\Arr;
+use Illuminate\Collections\Arr;
use RuntimeException;
class ModelNotFoundException extends RuntimeException | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Eloquent/Relations/MorphToMany.php | @@ -2,9 +2,9 @@
namespace Illuminate\Database\Eloquent\Relations;
+use Illuminate\Collections\Arr;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
-use Illuminate\Support\Arr;
class MorphToMany extends BelongsToMany
{ | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Eloquent/Relations/Relation.php | @@ -3,12 +3,12 @@
namespace Illuminate\Database\Eloquent\Relations;
use Closure;
+use Illuminate\Collections\Arr;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Query\Expression;
use Illuminate\Macroable\Mac... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Migrations/Migrator.php | @@ -2,6 +2,7 @@
namespace Illuminate\Database\Migrations;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Database\ConnectionResolverInterface as Resolver;
use Illuminate\Database\Events\MigrationEnded;
@@ -10,7 +11,6 @@
use Illuminate\Database\Events\MigrationStarte... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Query/Builder.php | @@ -4,6 +4,7 @@
use Closure;
use DateTimeInterface;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Database\Concerns\BuildsQueries;
use Illuminate\Database\ConnectionInterface;
@@ -12,7 +13,6 @@
use Illuminate\Database\Query\Processors\Processor;
use Illuminate\Macr... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Query/Grammars/Grammar.php | @@ -2,10 +2,10 @@
namespace Illuminate\Database\Query\Grammars;
+use Illuminate\Collections\Arr;
use Illuminate\Database\Grammar as BaseGrammar;
use Illuminate\Database\Query\Builder;
use Illuminate\Database\Query\JoinClause;
-use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use RuntimeException;
| true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Query/Grammars/PostgresGrammar.php | @@ -2,8 +2,8 @@
namespace Illuminate\Database\Query\Grammars;
+use Illuminate\Collections\Arr;
use Illuminate\Database\Query\Builder;
-use Illuminate\Support\Arr;
use Illuminate\Support\Str;
class PostgresGrammar extends Grammar | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Query/Grammars/SQLiteGrammar.php | @@ -2,8 +2,8 @@
namespace Illuminate\Database\Query\Grammars;
+use Illuminate\Collections\Arr;
use Illuminate\Database\Query\Builder;
-use Illuminate\Support\Arr;
use Illuminate\Support\Str;
class SQLiteGrammar extends Grammar | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Query/Grammars/SqlServerGrammar.php | @@ -2,8 +2,8 @@
namespace Illuminate\Database\Query\Grammars;
+use Illuminate\Collections\Arr;
use Illuminate\Database\Query\Builder;
-use Illuminate\Support\Arr;
class SqlServerGrammar extends Grammar
{ | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php | @@ -3,9 +3,9 @@
namespace Illuminate\Database\Schema\Grammars;
use Doctrine\DBAL\Schema\Index;
+use Illuminate\Collections\Arr;
use Illuminate\Database\Connection;
use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Support\Arr;
use Illuminate\Support\Fluent;
use RuntimeException;
| true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/Seeder.php | @@ -2,9 +2,9 @@
namespace Illuminate\Database;
+use Illuminate\Collections\Arr;
use Illuminate\Console\Command;
use Illuminate\Container\Container;
-use Illuminate\Support\Arr;
use InvalidArgumentException;
abstract class Seeder | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Database/composer.json | @@ -17,6 +17,7 @@
"require": {
"php": "^7.3",
"ext-json": "*",
+ "illuminate/collections": "^8.0",
"illuminate/container": "^8.0",
"illuminate/contracts": "^8.0",
"illuminate/macroable": "^8.0", | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Events/Dispatcher.php | @@ -3,14 +3,14 @@
namespace Illuminate\Events;
use Exception;
+use Illuminate\Collections\Arr;
use Illuminate\Container\Container;
use Illuminate\Contracts\Broadcasting\Factory as BroadcastFactory;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Contracts\Container\Container as ContainerCo... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Events/composer.json | @@ -15,6 +15,7 @@
],
"require": {
"php": "^7.3",
+ "illuminate/collections": "^8.0",
"illuminate/container": "^8.0",
"illuminate/contracts": "^8.0",
"illuminate/macroable": "^8.0", | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Filesystem/FilesystemAdapter.php | @@ -2,13 +2,13 @@
namespace Illuminate\Filesystem;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Filesystem\Cloud as CloudFilesystemContract;
use Illuminate\Contracts\Filesystem\FileExistsException as ContractFileExistsException;
use Illuminate\Contracts\Filesystem\FileNotFoundException as ContractF... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Filesystem/FilesystemManager.php | @@ -4,8 +4,8 @@
use Aws\S3\S3Client;
use Closure;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Filesystem\Factory as FactoryContract;
-use Illuminate\Support\Arr;
use InvalidArgumentException;
use League\Flysystem\Adapter\Ftp as FtpAdapter;
use League\Flysystem\Adapter\Local as LocalAdapter; | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Filesystem/composer.json | @@ -15,6 +15,7 @@
],
"require": {
"php": "^7.3",
+ "illuminate/collections": "^8.0",
"illuminate/contracts": "^8.0",
"illuminate/macroable": "^8.0",
"illuminate/support": "^8.0", | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Foundation/Application.php | @@ -3,6 +3,7 @@
namespace Illuminate\Foundation;
use Closure;
+use Illuminate\Collections\Arr;
use Illuminate\Container\Container;
use Illuminate\Contracts\Foundation\Application as ApplicationContract;
use Illuminate\Contracts\Foundation\CachesConfiguration;
@@ -15,7 +16,6 @@
use Illuminate\Http\Request;
use ... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Foundation/Console/Kernel.php | @@ -3,14 +3,14 @@
namespace Illuminate\Foundation\Console;
use Closure;
+use Illuminate\Collections\Arr;
use Illuminate\Console\Application as Artisan;
use Illuminate\Console\Command;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Contracts\Console\Kernel as KernelContract;
use Illuminate\Contracts... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Foundation/Console/RouteListCommand.php | @@ -3,10 +3,10 @@
namespace Illuminate\Foundation\Console;
use Closure;
+use Illuminate\Collections\Arr;
use Illuminate\Console\Command;
use Illuminate\Routing\Route;
use Illuminate\Routing\Router;
-use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Symfony\Component\Console\Input\InputOption;
| true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Foundation/Console/VendorPublishCommand.php | @@ -2,9 +2,9 @@
namespace Illuminate\Foundation\Console;
+use Illuminate\Collections\Arr;
use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
-use Illuminate\Support\Arr;
use Illuminate\Support\ServiceProvider;
use League\Flysystem\Adapter\Local as LocalAdapter;
use League\Flysystem\Filesyst... | true |
Other | laravel | framework | b9b00ecb3c142d6f89fc5ff7c44b69cf0d1e77f3.json | Replace Arr usages | src/Illuminate/Foundation/Exceptions/Handler.php | @@ -5,6 +5,7 @@
use Exception;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Auth\AuthenticationException;
+use Illuminate\Collections\Arr;
use Illuminate\Contracts\Container\BindingResolutionException;
use Illuminate\Contracts\Container\Container;
use Illuminate\Contracts\Debug\ExceptionHandl... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.