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 | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Database/DatabaseEloquentHasManyThroughTest.php | @@ -2,12 +2,12 @@
namespace Illuminate\Tests\Database;
+use stdClass;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Relations\HasManyThrough;
-use stdClass;
class DatabaseEloquent... | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Database/DatabaseEloquentModelTest.php | @@ -3,17 +3,17 @@
namespace Illuminate\Tests\Database;
use DateTime;
-use DateTimeImmutable;
-use DateTimeInterface;
+use stdClass;
use Exception;
-use LogicException;
use Mockery as m;
+use LogicException;
+use ReflectionClass;
+use DateTimeImmutable;
+use DateTimeInterface;
use PHPUnit\Framework\TestCase;
use... | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Database/SeedCommandTest.php | @@ -2,8 +2,8 @@
namespace Illuminate\Tests\Database;
-use Illuminate\Database\Seeder;
use Mockery;
+use Illuminate\Database\Seeder;
use PHPUnit\Framework\TestCase;
use Illuminate\Container\Container;
use Illuminate\Database\Console\Seeds\SeedCommand; | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Database/stubs/MigrationCreatorFakeMigration.php | @@ -2,4 +2,4 @@
class MigrationCreatorFakeMigration
{
-}
\ No newline at end of file
+} | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Http/HttpRedirectResponseTest.php | @@ -2,8 +2,8 @@
namespace Illuminate\Tests\Http;
-use BadMethodCallException;
use Mockery as m;
+use BadMethodCallException;
use Illuminate\Http\Request;
use PHPUnit\Framework\TestCase;
use Illuminate\Http\RedirectResponse; | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Notifications/NotificationMailChannelTest.php | @@ -3,11 +3,11 @@
namespace Illuminate\Tests\Notifications;
use Mockery;
+use stdClass;
use PHPUnit\Framework\TestCase;
use Illuminate\Support\HtmlString;
use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Messages\MailMessage;
-use stdClass;
class NotificationMailChannelTest extends Tes... | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Notifications/NotificationRoutesNotificationsTest.php | @@ -3,10 +3,10 @@
namespace Illuminate\Tests\Notifications;
use Mockery;
+use stdClass;
use PHPUnit\Framework\TestCase;
use Illuminate\Container\Container;
use Illuminate\Contracts\Notifications\Dispatcher;
-use stdClass;
class NotificationRoutesNotificationsTest extends TestCase
{ | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Queue/QueueDatabaseQueueIntegrationTest.php | @@ -5,7 +5,7 @@
use Carbon\Carbon;
use PHPUnit\Framework\TestCase;
use Illuminate\Container\Container;
-use \Illuminate\Queue\DatabaseQueue;
+use Illuminate\Queue\DatabaseQueue;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Capsule\Manager as DB;
use Illuminate\Database\Eloquent\Model as Eloqu... | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Queue/QueueDatabaseQueueUnitTest.php | @@ -2,10 +2,10 @@
namespace Illuminate\Tests\Queue;
+use stdClass;
use Mockery as m;
-use PHPUnit\Framework\TestCase;
use ReflectionClass;
-use stdClass;
+use PHPUnit\Framework\TestCase;
class QueueDatabaseQueueUnitTest extends TestCase
{ | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Queue/QueueWorkerTest.php | @@ -3,6 +3,7 @@
namespace Illuminate\Tests\Queue;
use Mockery;
+use RuntimeException;
use PHPUnit\Framework\TestCase;
use Illuminate\Container\Container;
use Illuminate\Queue\WorkerOptions;
@@ -13,7 +14,6 @@
use Illuminate\Contracts\Debug\ExceptionHandler;
use Illuminate\Queue\Events\JobExceptionOccurred;
use... | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Queue/RedisQueueIntegrationTest.php | @@ -2,12 +2,12 @@
namespace Illuminate\Tests\Queue;
-use Illuminate\Tests\Redis\InteractsWithRedis;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use Illuminate\Queue\RedisQueue;
use Illuminate\Container\Container;
use Illuminate\Queue\Jobs\RedisJob;
+use Illuminate\Tests\Redis\InteractsWithRedis;
clas... | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Routing/RoutingRouteTest.php | @@ -2,8 +2,10 @@
namespace Illuminate\Tests\Routing;
+use stdClass;
use Illuminate\Http\Request;
use Illuminate\Routing\Route;
+use UnexpectedValueException;
use Illuminate\Routing\Router;
use PHPUnit\Framework\TestCase;
use Illuminate\Events\Dispatcher;
@@ -15,10 +17,8 @@
use Illuminate\Routing\ResourceRegi... | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Session/EncryptedSessionStoreTest.php | @@ -3,8 +3,8 @@
namespace Illuminate\Tests\Session;
use Mockery as m;
-use PHPUnit\Framework\TestCase;
use ReflectionClass;
+use PHPUnit\Framework\TestCase;
class EncryptedSessionStoreTest extends TestCase
{ | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Session/SessionStoreTest.php | @@ -3,8 +3,8 @@
namespace Illuminate\Tests\Session;
use Mockery as m;
-use PHPUnit\Framework\TestCase;
use ReflectionClass;
+use PHPUnit\Framework\TestCase;
class SessionStoreTest extends TestCase
{ | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Support/SupportArrTest.php | @@ -2,11 +2,11 @@
namespace Illuminate\Tests\Support;
+use stdClass;
use ArrayObject;
use Illuminate\Support\Arr;
use PHPUnit\Framework\TestCase;
use Illuminate\Support\Collection;
-use stdClass;
class SupportArrTest extends TestCase
{ | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Support/SupportCollectionTest.php | @@ -2,16 +2,16 @@
namespace Illuminate\Tests\Support;
+use stdClass;
use ArrayAccess;
-use JsonSerializable;
use Mockery as m;
+use ReflectionClass;
+use JsonSerializable;
use PHPUnit\Framework\TestCase;
use Illuminate\Support\Collection;
+use PHPUnit_Framework_Error_Notice;
use Illuminate\Contracts\Support\J... | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Support/SupportFacadeTest.php | @@ -2,10 +2,10 @@
namespace Illuminate\Tests\Support;
+use stdClass;
use ArrayAccess;
use Mockery as m;
use PHPUnit\Framework\TestCase;
-use stdClass;
class SupportFacadeTest extends TestCase
{ | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Support/SupportFluentTest.php | @@ -2,10 +2,10 @@
namespace Illuminate\Tests\Support;
-use Illuminate\Support\Fluent;
+use ReflectionObject;
use IteratorAggregate;
+use Illuminate\Support\Fluent;
use PHPUnit\Framework\TestCase;
-use ReflectionObject;
class SupportFluentTest extends TestCase
{ | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/Support/SupportHelpersTest.php | @@ -2,11 +2,11 @@
namespace Illuminate\Tests\Support;
+use stdClass;
use ArrayAccess;
use Mockery as m;
use Illuminate\Support\Str;
use PHPUnit\Framework\TestCase;
-use stdClass;
class SupportHelpersTest extends TestCase
{ | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/View/ViewEngineResolverTest.php | @@ -2,9 +2,9 @@
namespace Illuminate\Tests\View;
+use stdClass;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
-use stdClass;
class ViewEngineResolverTest extends TestCase
{ | true |
Other | laravel | framework | a414265ee94da32004198ffe9a8ec47efb39a827.json | Apply fixes from StyleCI (#17375) | tests/View/ViewFactoryTest.php | @@ -3,9 +3,9 @@
namespace Illuminate\Tests\View;
use Mockery as m;
+use ReflectionFunction;
use Illuminate\View\Factory;
use PHPUnit\Framework\TestCase;
-use ReflectionFunction;
class ViewFactoryTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Auth/AuthAccessGateTest.php | @@ -2,13 +2,13 @@
namespace Illuminate\Tests\Auth;
+use StdClass;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
use Illuminate\Auth\Access\Gate;
use Illuminate\Container\Container;
use Illuminate\Auth\Access\Response;
use Illuminate\Auth\Access\HandlesAuthorization;
-use StdClass;
class Ga... | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Auth/AuthDatabaseTokenRepositoryTest.php | @@ -2,9 +2,9 @@
namespace Illuminate\Tests\Auth;
-use Illuminate\Auth\Passwords\DatabaseTokenRepository;
use Mockery as m;
use PHPUnit\Framework\TestCase;
+use Illuminate\Auth\Passwords\DatabaseTokenRepository;
class AuthDatabaseTokenRepositoryTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Auth/AuthDatabaseUserProviderTest.php | @@ -2,9 +2,9 @@
namespace Illuminate\Tests\Auth;
-use Illuminate\Auth\DatabaseUserProvider;
use Mockery as m;
use PHPUnit\Framework\TestCase;
+use Illuminate\Auth\DatabaseUserProvider;
class AuthDatabaseUserProviderTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Auth/AuthTokenGuardTest.php | @@ -2,9 +2,9 @@
namespace Illuminate\Tests\Auth;
+use Mockery;
use Illuminate\Http\Request;
use Illuminate\Auth\TokenGuard;
-use Mockery;
use PHPUnit\Framework\TestCase;
use Illuminate\Contracts\Auth\UserProvider;
| true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Auth/AuthorizeMiddlewareTest.php | @@ -2,6 +2,7 @@
namespace Illuminate\Tests\Auth;
+use stdClass;
use Mockery as m;
use Illuminate\Http\Request;
use Illuminate\Routing\Router;
@@ -14,7 +15,6 @@
use Illuminate\Contracts\Auth\Factory as Auth;
use Illuminate\Routing\Middleware\SubstituteBindings;
use Illuminate\Contracts\Auth\Access\Gate as Gat... | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Cache/CacheMemcachedConnectorTest.php | @@ -4,8 +4,8 @@
use Memcached;
use Mockery as m;
-use PHPUnit\Framework\TestCase;
use RuntimeException;
+use PHPUnit\Framework\TestCase;
class CacheMemcachedConnectorTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Cache/CacheTaggedCacheTest.php | @@ -2,8 +2,8 @@
namespace Illuminate\Tests\Cache;
-use DateInterval;
use DateTime;
+use DateInterval;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use Illuminate\Cache\ArrayStore; | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Container/ContainerTest.php | @@ -2,10 +2,10 @@
namespace Illuminate\Tests\Container;
+use stdClass;
+use ReflectionException;
use PHPUnit\Framework\TestCase;
use Illuminate\Container\Container;
-use ReflectionException;
-use stdClass;
class ContainerTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Database/DatabaseConnectionFactoryTest.php | @@ -2,13 +2,13 @@
namespace Illuminate\Tests\Database;
-use InvalidArgumentException;
use Mockery as m;
+use ReflectionProperty;
+use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
use Illuminate\Database\Connection;
use Illuminate\Database\Capsule\Manager as DB;
use Illuminate\Database\Connectors\... | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Database/DatabaseConnectionTest.php | @@ -2,8 +2,8 @@
namespace Illuminate\Tests\Database;
-use Mockery as m;
use PDO;
+use Mockery as m;
use PHPUnit\Framework\TestCase;
class DatabaseConnectionTest extends TestCase | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Database/DatabaseConnectorTest.php | @@ -2,8 +2,8 @@
namespace Illuminate\Tests\Database;
-use Mockery as m;
use PDO;
+use Mockery as m;
use PHPUnit\Framework\TestCase;
class DatabaseConnectorTest extends TestCase | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Database/DatabaseEloquentBelongsToManyTest.php | @@ -2,15 +2,15 @@
namespace Illuminate\Tests\Database;
-use Illuminate\Database\Eloquent\Model;
-use Illuminate\Database\Eloquent\ModelNotFoundException;
+use stdClass;
use Mockery as m;
+use ReflectionClass;
use PHPUnit\Framework\TestCase;
+use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloque... | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Database/DatabaseEloquentBuilderTest.php | @@ -2,12 +2,12 @@
namespace Illuminate\Tests\Database;
+use StdClass;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Support\Collection as BaseCollection;
-use StdClass;
class DatabaseEloquentBuilderTes... | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Database/DatabaseEloquentHasManyTest.php | @@ -2,11 +2,11 @@
namespace Illuminate\Tests\Database;
+use stdClass;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Relations\HasMany;
-use stdClass;
class DatabaseEloquentHasManyTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Database/DatabaseEloquentHasManyThroughTest.php | @@ -2,12 +2,12 @@
namespace Illuminate\Tests\Database;
+use stdClass;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Relations\HasManyThrough;
-use stdClass;
class DatabaseEloquent... | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Database/DatabaseEloquentModelTest.php | @@ -3,17 +3,17 @@
namespace Illuminate\Tests\Database;
use DateTime;
-use DateTimeImmutable;
-use DateTimeInterface;
+use stdClass;
use Exception;
-use LogicException;
use Mockery as m;
+use LogicException;
+use ReflectionClass;
+use DateTimeImmutable;
+use DateTimeInterface;
use PHPUnit\Framework\TestCase;
use... | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Database/SeedCommandTest.php | @@ -2,8 +2,8 @@
namespace Illuminate\Tests\Database;
-use Illuminate\Database\Seeder;
use Mockery;
+use Illuminate\Database\Seeder;
use PHPUnit\Framework\TestCase;
use Illuminate\Container\Container;
use Illuminate\Database\Console\Seeds\SeedCommand; | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Database/stubs/MigrationCreatorFakeMigration.php | @@ -2,4 +2,4 @@
class MigrationCreatorFakeMigration
{
-}
\ No newline at end of file
+} | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Http/HttpRedirectResponseTest.php | @@ -2,8 +2,8 @@
namespace Illuminate\Tests\Http;
-use BadMethodCallException;
use Mockery as m;
+use BadMethodCallException;
use Illuminate\Http\Request;
use PHPUnit\Framework\TestCase;
use Illuminate\Http\RedirectResponse; | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Notifications/NotificationMailChannelTest.php | @@ -3,11 +3,11 @@
namespace Illuminate\Tests\Notifications;
use Mockery;
+use stdClass;
use PHPUnit\Framework\TestCase;
use Illuminate\Support\HtmlString;
use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Messages\MailMessage;
-use stdClass;
class NotificationMailChannelTest extends Tes... | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Notifications/NotificationRoutesNotificationsTest.php | @@ -3,10 +3,10 @@
namespace Illuminate\Tests\Notifications;
use Mockery;
+use stdClass;
use PHPUnit\Framework\TestCase;
use Illuminate\Container\Container;
use Illuminate\Contracts\Notifications\Dispatcher;
-use stdClass;
class NotificationRoutesNotificationsTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Queue/QueueDatabaseQueueIntegrationTest.php | @@ -5,7 +5,7 @@
use Carbon\Carbon;
use PHPUnit\Framework\TestCase;
use Illuminate\Container\Container;
-use \Illuminate\Queue\DatabaseQueue;
+use Illuminate\Queue\DatabaseQueue;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Capsule\Manager as DB;
use Illuminate\Database\Eloquent\Model as Eloqu... | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Queue/QueueDatabaseQueueUnitTest.php | @@ -2,10 +2,10 @@
namespace Illuminate\Tests\Queue;
+use stdClass;
use Mockery as m;
-use PHPUnit\Framework\TestCase;
use ReflectionClass;
-use stdClass;
+use PHPUnit\Framework\TestCase;
class QueueDatabaseQueueUnitTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Queue/QueueWorkerTest.php | @@ -3,6 +3,7 @@
namespace Illuminate\Tests\Queue;
use Mockery;
+use RuntimeException;
use PHPUnit\Framework\TestCase;
use Illuminate\Container\Container;
use Illuminate\Queue\WorkerOptions;
@@ -13,7 +14,6 @@
use Illuminate\Contracts\Debug\ExceptionHandler;
use Illuminate\Queue\Events\JobExceptionOccurred;
use... | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Queue/RedisQueueIntegrationTest.php | @@ -2,12 +2,12 @@
namespace Illuminate\Tests\Queue;
-use Illuminate\Tests\Redis\InteractsWithRedis;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use Illuminate\Queue\RedisQueue;
use Illuminate\Container\Container;
use Illuminate\Queue\Jobs\RedisJob;
+use Illuminate\Tests\Redis\InteractsWithRedis;
clas... | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Routing/RoutingRouteTest.php | @@ -2,8 +2,10 @@
namespace Illuminate\Tests\Routing;
+use stdClass;
use Illuminate\Http\Request;
use Illuminate\Routing\Route;
+use UnexpectedValueException;
use Illuminate\Routing\Router;
use PHPUnit\Framework\TestCase;
use Illuminate\Events\Dispatcher;
@@ -15,10 +17,8 @@
use Illuminate\Routing\ResourceRegi... | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Session/EncryptedSessionStoreTest.php | @@ -3,8 +3,8 @@
namespace Illuminate\Tests\Session;
use Mockery as m;
-use PHPUnit\Framework\TestCase;
use ReflectionClass;
+use PHPUnit\Framework\TestCase;
class EncryptedSessionStoreTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Session/SessionStoreTest.php | @@ -3,8 +3,8 @@
namespace Illuminate\Tests\Session;
use Mockery as m;
-use PHPUnit\Framework\TestCase;
use ReflectionClass;
+use PHPUnit\Framework\TestCase;
class SessionStoreTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Support/SupportArrTest.php | @@ -2,11 +2,11 @@
namespace Illuminate\Tests\Support;
+use stdClass;
use ArrayObject;
use Illuminate\Support\Arr;
use PHPUnit\Framework\TestCase;
use Illuminate\Support\Collection;
-use stdClass;
class SupportArrTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Support/SupportCollectionTest.php | @@ -2,16 +2,16 @@
namespace Illuminate\Tests\Support;
+use stdClass;
use ArrayAccess;
-use JsonSerializable;
use Mockery as m;
+use ReflectionClass;
+use JsonSerializable;
use PHPUnit\Framework\TestCase;
use Illuminate\Support\Collection;
+use PHPUnit_Framework_Error_Notice;
use Illuminate\Contracts\Support\J... | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Support/SupportFacadeTest.php | @@ -2,10 +2,10 @@
namespace Illuminate\Tests\Support;
+use stdClass;
use ArrayAccess;
use Mockery as m;
use PHPUnit\Framework\TestCase;
-use stdClass;
class SupportFacadeTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Support/SupportFluentTest.php | @@ -2,10 +2,10 @@
namespace Illuminate\Tests\Support;
-use Illuminate\Support\Fluent;
+use ReflectionObject;
use IteratorAggregate;
+use Illuminate\Support\Fluent;
use PHPUnit\Framework\TestCase;
-use ReflectionObject;
class SupportFluentTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/Support/SupportHelpersTest.php | @@ -2,11 +2,11 @@
namespace Illuminate\Tests\Support;
+use stdClass;
use ArrayAccess;
use Mockery as m;
use Illuminate\Support\Str;
use PHPUnit\Framework\TestCase;
-use stdClass;
class SupportHelpersTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/View/ViewEngineResolverTest.php | @@ -2,9 +2,9 @@
namespace Illuminate\Tests\View;
+use stdClass;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
-use stdClass;
class ViewEngineResolverTest extends TestCase
{ | true |
Other | laravel | framework | 4643459f469038f4fce13a9bab524dc16d5db66b.json | Apply fixes from StyleCI (#17374) | tests/View/ViewFactoryTest.php | @@ -3,9 +3,9 @@
namespace Illuminate\Tests\View;
use Mockery as m;
+use ReflectionFunction;
use Illuminate\View\Factory;
use PHPUnit\Framework\TestCase;
-use ReflectionFunction;
class ViewFactoryTest extends TestCase
{ | true |
Other | laravel | framework | ef43a3cba04ece7d591c5c52b71dc3b5842eb370.json | Remove useless imports. (#17364) | src/Illuminate/Database/Eloquent/Model.php | @@ -8,12 +8,10 @@
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Illuminate\Contracts\Support\Jsonable;
-use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Routing\UrlRoutable;
use Illuminate\Contracts\Queue\QueueableEntity;
use Illuminat... | false |
Other | laravel | framework | a0bebba5593b4063076f93df228121293ead6d48.json | Handle JSON request (#17369) | src/Illuminate/Foundation/Auth/AuthenticatesUsers.php | @@ -123,11 +123,15 @@ protected function authenticated(Request $request, $user)
*/
protected function sendFailedLoginResponse(Request $request)
{
+ $errors = [$this->username() => trans('auth.failed')];
+
+ if ($request->expectsJson()) {
+ return response()->json($errors, 422);
... | true |
Other | laravel | framework | a0bebba5593b4063076f93df228121293ead6d48.json | Handle JSON request (#17369) | src/Illuminate/Foundation/Auth/ThrottlesLogins.php | @@ -48,9 +48,15 @@ protected function sendLockoutResponse(Request $request)
$message = Lang::get('auth.throttle', ['seconds' => $seconds]);
+ $errors = [$this->username() => $message];
+
+ if ($request->expectsJson()) {
+ return response()->json($errors, 423);
+ }
+
... | true |
Other | laravel | framework | 0b5d13f682fde0b835937ea4bfb78507cfd8828c.json | Apply fixes from StyleCI (#17361) | src/Illuminate/Foundation/Testing/Concerns/InteractsWithSession.php | @@ -2,8 +2,6 @@
namespace Illuminate\Foundation\Testing\Concerns;
-use PHPUnit_Framework_Assert as PHPUnit;
-
trait InteractsWithSession
{
/** | false |
Other | laravel | framework | 471f9233037c354b541ea33dacb807b55a44cffc.json | Apply fixes from StyleCI (#17356) | src/Illuminate/Database/Grammar.php | @@ -71,7 +71,7 @@ public function wrap($value, $prefixAlias = false)
*/
protected function wrapAliasedValue($value, $prefixAlias = false)
{
- $segments = preg_split( '/\s+as\s+/i', $value );
+ $segments = preg_split('/\s+as\s+/i', $value);
// If we are wrapping a table we need t... | true |
Other | laravel | framework | 471f9233037c354b541ea33dacb807b55a44cffc.json | Apply fixes from StyleCI (#17356) | tests/Database/DatabaseQueryBuilderTest.php | @@ -68,12 +68,12 @@ public function testAliasWrappingAsWholeConstant()
$builder->select('x.y as foo.bar')->from('baz');
$this->assertEquals('select "x"."y" as "foo.bar" from "baz"', $builder->toSql());
}
-
+
public function testAliasWrappingWithSpacesInDatabaseName()
{
- $builde... | true |
Other | laravel | framework | b3203fcda645b641eb64b920df2962c1f37e5004.json | change exception message | src/Illuminate/View/Concerns/ManagesStacks.php | @@ -47,7 +47,7 @@ public function startPush($section, $content = '')
public function stopPush()
{
if (empty($this->pushStack)) {
- throw new InvalidArgumentException('Cannot end a section without first starting one.');
+ throw new InvalidArgumentException('Cannot end a push stac... | false |
Other | laravel | framework | 352095c0209948c83decffdba63eb723c706e91a.json | Remove ambiguity in Exception message (#17350)
This message has been copy-pasted from the one for `@endsection`/`@stop` directives. However, in this case, the exception is thrown because an `@endpush` directive has been called without any `@push` being called first.
This change updates the Exception message to make... | src/Illuminate/View/Factory.php | @@ -686,7 +686,7 @@ public function startPush($section, $content = '')
public function stopPush()
{
if (empty($this->pushStack)) {
- throw new InvalidArgumentException('Cannot end a section without first starting one.');
+ throw new InvalidArgumentException('Cannot end a push wi... | false |
Other | laravel | framework | 8f1798e779da1b2ffd6ed9a57ee0105c34f823d1.json | Remove priority. (#17303) | src/Illuminate/Database/Eloquent/Concerns/HasEvents.php | @@ -18,7 +18,7 @@ trait HasEvents
/**
* User exposed observable events.
*
- * These are extra user-defind events observers may subscribe to.
+ * These are extra user-defined events observers may subscribe to.
*
* @var array
*/
@@ -28,10 +28,9 @@ trait HasEvents
* Registe... | true |
Other | laravel | framework | 8f1798e779da1b2ffd6ed9a57ee0105c34f823d1.json | Remove priority. (#17303) | tests/Database/DatabaseEloquentModelTest.php | @@ -1174,8 +1174,8 @@ public function testCloneModelMakesAFreshCopyOfTheModel()
public function testModelObserversCanBeAttachedToModels()
{
EloquentModelStub::setEventDispatcher($events = m::mock('Illuminate\Contracts\Events\Dispatcher'));
- $events->shouldReceive('listen')->once()->with('eloq... | true |
Other | laravel | framework | 3097f597a153437b42559faf297e910d35f349cc.json | Allow chaining of response assertions. (#17330) | src/Illuminate/Foundation/Testing/TestResponse.php | @@ -39,7 +39,7 @@ public static function fromBaseResponse($response)
* Assert that the response has the given status code.
*
* @param int $status
- * @return void
+ * @return $this
*/
public function assertStatus($status)
{
@@ -49,13 +49,15 @@ public function assertStatus($st... | false |
Other | laravel | framework | 0fd8f8de75545b5701e59f51c88d02c12528800a.json | Add broadcast method to trait. | src/Illuminate/Foundation/Events/Dispatchable.php | @@ -13,4 +13,14 @@ public static function dispatch()
{
return event(new static(...func_get_args()));
}
+
+ /**
+ * Broadcast the event with the given arguments.
+ *
+ * @return \Illuminate\Broadcasting\PendingBroadcast
+ */
+ public static function broadcast()
+ {
+ re... | false |
Other | laravel | framework | 9c4cf333158e9b00e58888686b65c55774de8fdc.json | Apply fixes from StyleCI (#17327) | src/Illuminate/View/Factory.php | @@ -5,7 +5,6 @@
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use InvalidArgumentException;
-use Illuminate\Support\Collection;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\View\Engines\EngineResolver;
@@ -171,6 +170,7 @@ public function renderEa... | false |
Other | laravel | framework | ac3d11e2a0d7d794adcdde648a27594a4153f6e9.json | Apply fixes from StyleCI (#17278) | src/Illuminate/Database/Connectors/Connector.php | @@ -36,7 +36,7 @@ class Connector
public function createConnection($dsn, array $config, array $options)
{
list($username, $password) = [
- Arr::get($config, 'username'), Arr::get($config, 'password')
+ Arr::get($config, 'username'), Arr::get($config, 'password'),
];
... | false |
Other | laravel | framework | a2749017ef461dd4f0843bc73c826ce55a5fd63f.json | Fix undefined variable hosts (#17272) | src/Illuminate/Database/Connectors/ConnectionFactory.php | @@ -175,7 +175,7 @@ protected function createPdoResolver(array $config)
protected function createPdoResolverWithHosts(array $config)
{
return function () use ($config) {
- foreach (Arr::shuffle($this->parseHosts($config)) as $key => $host) {
+ foreach (Arr::shuffle($hosts = $thi... | false |
Other | laravel | framework | 09ffc3a2eeddd31d43e1121ae865dd37e16f0cef.json | Fix assertCookie (#17271) | src/Illuminate/Foundation/Testing/TestResponse.php | @@ -6,6 +6,7 @@
use Illuminate\Http\Response;
use Illuminate\Contracts\View\View;
use PHPUnit_Framework_Assert as PHPUnit;
+use Symfony\Component\HttpFoundation\Cookie;
class TestResponse extends Response
{
@@ -108,16 +109,16 @@ public function assertPlainCookie($cookieName, $value = null)
* @param string... | false |
Other | laravel | framework | 7464dce14d76071d6b9f6056f96d7983528bc6ee.json | Fix multiple unused variables (#17274) | src/Illuminate/Database/Eloquent/Builder.php | @@ -951,7 +951,7 @@ protected function callScope(callable $scope, $parameters = [])
$this->addNewWheresWithinGroup($query, $originalWhereCount);
}
- return $this;
+ return $result;
}
/** | true |
Other | laravel | framework | 7464dce14d76071d6b9f6056f96d7983528bc6ee.json | Fix multiple unused variables (#17274) | src/Illuminate/Queue/Console/WorkCommand.php | @@ -80,7 +80,7 @@ public function fire()
// connection being run for the queue operation currently being executed.
$queue = $this->getQueue($connection);
- $response = $this->runWorker(
+ $this->runWorker(
$connection, $queue
);
} | true |
Other | laravel | framework | 7464dce14d76071d6b9f6056f96d7983528bc6ee.json | Fix multiple unused variables (#17274) | src/Illuminate/View/Concerns/ManagesComponents.php | @@ -101,7 +101,7 @@ public function slot($name)
*/
public function endSlot()
{
- $current = last($this->componentStack);
+ last($this->componentStack);
$currentSlot = array_pop(
$this->slotStack[$this->currentComponent()] | true |
Other | laravel | framework | 7464dce14d76071d6b9f6056f96d7983528bc6ee.json | Fix multiple unused variables (#17274) | src/Illuminate/View/Factory.php | @@ -149,23 +149,17 @@ public function make($view, $data = [], $mergeData = [])
*/
public function renderEach($view, $data, $iterator, $empty = 'raw|')
{
- $result = '';
-
// If is actually data in the array, we will loop through the data and append
// an instance of the partial ... | true |
Other | laravel | framework | 52777eecdca8fbafe4ea07498953aabb548481f2.json | Fix undefined variables | src/Illuminate/Database/Connectors/Connector.php | @@ -41,7 +41,7 @@ public function createConnection($dsn, array $config, array $options)
);
} catch (Exception $e) {
return $this->tryAgainIfCausedByLostConnection(
- $e, $dsn, $username, $password, $options
+ $e, $dsn, Arr::get($config, 'username'), Arr::... | false |
Other | laravel | framework | 73669ec79a91f59ebfc53ff829f3c62ba2c9e591.json | Apply fixes from StyleCI (#17258) | tests/Events/EventsDispatcherTest.php | @@ -28,6 +28,7 @@ public function testHaltingEventExecution()
$d = new Dispatcher;
$d->listen('foo', function ($foo) {
$this->assertTrue(true);
+
return 'here';
});
$d->listen('foo', function ($foo) { | false |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | src/Illuminate/Auth/SessionGuard.php | @@ -491,7 +491,7 @@ public function logout()
}
if (isset($this->events)) {
- $this->events->fire(new Events\Logout($user));
+ $this->events->dispatch(new Events\Logout($user));
}
// Once we have fired the logout event we will clear the users out of memory
@@... | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | src/Illuminate/Broadcasting/PendingBroadcast.php | @@ -54,6 +54,6 @@ public function toOthers()
*/
public function __destruct()
{
- $this->events->fire($this->event);
+ $this->events->dispatch($this->event);
}
} | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | src/Illuminate/Cache/Repository.php | @@ -418,7 +418,7 @@ public function getStore()
protected function event($event)
{
if (isset($this->events)) {
- $this->events->fire($event);
+ $this->events->dispatch($event);
}
}
| true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | src/Illuminate/Console/Application.php | @@ -53,7 +53,7 @@ public function __construct(Container $laravel, Dispatcher $events, $version)
$this->setAutoExit(false);
$this->setCatchExceptions(false);
- $events->fire(new Events\ArtisanStarting($this));
+ $events->dispatch(new Events\ArtisanStarting($this));
$this->boo... | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | src/Illuminate/Database/Connection.php | @@ -780,11 +780,11 @@ protected function fireConnectionEvent($event)
switch ($event) {
case 'beganTransaction':
- return $this->events->fire(new Events\TransactionBeginning($this));
+ return $this->events->dispatch(new Events\TransactionBeginning($this));
... | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | src/Illuminate/Events/Dispatcher.php | @@ -103,7 +103,7 @@ public function hasListeners($eventName)
public function push($event, $payload = [])
{
$this->listen($event.'_pushed', function () use ($event, $payload) {
- $this->fire($event, $payload);
+ $this->dispatch($event, $payload);
});
}
@@ -143,7 +... | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | src/Illuminate/Log/Writer.php | @@ -293,7 +293,7 @@ protected function fireLogEvent($level, $message, array $context = [])
// log listeners. These are useful for building profilers or other tools
// that aggregate all of the log messages for a given "request" cycle.
if (isset($this->dispatcher)) {
- $this->dispat... | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | src/Illuminate/Mail/Mailer.php | @@ -416,7 +416,7 @@ protected function createMessage()
protected function sendSwiftMessage($message)
{
if ($this->events) {
- $this->events->fire(new Events\MessageSending($message));
+ $this->events->dispatch(new Events\MessageSending($message));
}
try { | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | src/Illuminate/Notifications/Channels/BroadcastChannel.php | @@ -48,7 +48,7 @@ public function send($notifiable, Notification $notification)
->onQueue($message->queue);
}
- return $this->events->fire($event);
+ return $this->events->dispatch($event);
}
/** | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | src/Illuminate/Notifications/NotificationSender.php | @@ -111,7 +111,7 @@ protected function sendToNotifiable($notifiable, $id, $notification, $channel)
$response = $this->manager->driver($channel)->send($notifiable, $notification);
- $this->events->fire(
+ $this->events->dispatch(
new Events\NotificationSent($notifiable, $notificat... | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | src/Illuminate/Routing/Router.php | @@ -516,7 +516,7 @@ public function dispatchToRoute(Request $request)
return $route;
});
- $this->events->fire(new Events\RouteMatched($route, $request));
+ $this->events->dispatch(new Events\RouteMatched($route, $request));
$response = $this->runRouteWithinStack($route,... | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | tests/Auth/AuthGuardTest.php | @@ -68,8 +68,8 @@ public function testAttemptCallsRetrieveByCredentials()
{
$guard = $this->getGuard();
$guard->setDispatcher($events = m::mock('Illuminate\Contracts\Events\Dispatcher'));
- $events->shouldReceive('fire')->once()->with(m::type(Attempting::class));
- $events->shouldRe... | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | tests/Cache/CacheEventsTest.php | @@ -19,16 +19,16 @@ public function testHasTriggersEvents()
$dispatcher = $this->getDispatcher();
$repository = $this->getRepository($dispatcher);
- $dispatcher->shouldReceive('fire')->once()->with($this->assertEventMatches(CacheMissed::class, ['key' => 'foo']));
+ $dispatcher->shouldR... | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | tests/Console/ConsoleApplicationTest.php | @@ -46,7 +46,7 @@ public function testResolveAddsCommandViaApplicationResolution()
protected function getMockConsole(array $methods)
{
$app = m::mock('Illuminate\Contracts\Foundation\Application', ['version' => '5.4']);
- $events = m::mock('Illuminate\Contracts\Events\Dispatcher', ['fire' => n... | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | tests/Database/DatabaseConnectionTest.php | @@ -173,7 +173,7 @@ public function testBeganTransactionFiresEventsIfSet()
$connection = $this->getMockConnection(['getName'], $pdo);
$connection->expects($this->any())->method('getName')->will($this->returnValue('name'));
$connection->setEventDispatcher($events = m::mock('Illuminate\Contract... | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | tests/Notifications/NotificationBroadcastChannelTest.php | @@ -19,7 +19,7 @@ public function testDatabaseChannelCreatesDatabaseRecordWithProperData()
$notifiable = Mockery::mock();
$events = Mockery::mock('Illuminate\Contracts\Events\Dispatcher');
- $events->shouldReceive('fire')->once()->with(Mockery::type('Illuminate\Notifications\Events\BroadcastN... | true |
Other | laravel | framework | 5e98a2ce90530847f11a3d8ed7e73d9fea6acc14.json | Use dispatch instead of fire (#17246) | tests/Notifications/NotificationChannelManagerTest.php | @@ -25,7 +25,7 @@ public function testNotificationCanBeDispatchedToDriver()
$manager->shouldReceive('driver')->andReturn($driver = Mockery::mock());
$events->shouldReceive('until')->with(Mockery::type(Illuminate\Notifications\Events\NotificationSending::class))->andReturn(true);
$driver->shou... | true |
Other | laravel | framework | 24cc767f9ff3a83c01620d2b05ab976bb128b6e2.json | Apply fixes from StyleCI (#17252) | src/Illuminate/Routing/RouteUrlGenerator.php | @@ -71,7 +71,7 @@ public function __construct($url, $request)
* @param array $parameters
* @param bool $absolute
* @return string
- *
+ *
* @throws UrlGenerationException
*/
public function to($route, $parameters = [], $absolute = false) | false |
Other | laravel | framework | fc7d27ae0331b6d37cba3a1d5879d8f4247cf89f.json | Update some docblocks (#17251) | src/Illuminate/Database/Concerns/ManagesTransactions.php | @@ -53,6 +53,8 @@ public function transaction(Closure $callback, $attempts = 1)
* @param int $currentAttempt
* @param int $maxAttempts
* @return void
+ *
+ * @throws \Exception
*/
protected function handleTransactionException($e, $currentAttempt, $maxAttempts)
{
@@ -129,6 +... | true |
Other | laravel | framework | fc7d27ae0331b6d37cba3a1d5879d8f4247cf89f.json | Update some docblocks (#17251) | src/Illuminate/Routing/RouteUrlGenerator.php | @@ -67,11 +67,12 @@ public function __construct($url, $request)
/**
* Generate a URL for the given route.
*
- * @param \Illuminate\Routing\UrlGeneartor $url
* @param \Illuminate\Routing\Route $route
* @param array $parameters
* @param bool $absolute
* @return string
... | true |
Other | laravel | framework | fc7d27ae0331b6d37cba3a1d5879d8f4247cf89f.json | Update some docblocks (#17251) | src/Illuminate/Support/Collection.php | @@ -1459,6 +1459,8 @@ public static function proxy($method)
*
* @param string $key
* @return mixed
+ *
+ * @throws Exception
*/
public function __get($key)
{ | true |
Other | laravel | framework | fc7d27ae0331b6d37cba3a1d5879d8f4247cf89f.json | Update some docblocks (#17251) | src/Illuminate/Support/helpers.php | @@ -627,6 +627,8 @@ function preg_replace_array($pattern, array $replacements, $subject)
* @param callable $callback
* @param int $sleep
* @return mixed
+ *
+ * @throws Exception
*/
function retry($times, callable $callback, $sleep = 0)
{ | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.