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
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Foundation/FoundationInteractsWithDatabaseTest.php
@@ -19,12 +19,12 @@ class FoundationInteractsWithDatabaseTest extends TestCase protected $connection; - public function setUp() + public function setUp(): void { $this->connection = m::mock(Connection::class); } - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Foundation/FoundationProviderRepositoryTest.php
@@ -12,7 +12,7 @@ class FoundationProviderRepositoryTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Foundation/Http/Middleware/CheckForMaintenanceModeTest.php
@@ -26,7 +26,7 @@ class CheckForMaintenanceModeTest extends TestCase */ protected $files; - public function setUp() + public function setUp(): void { if (is_null($this->files)) { $this->files = new Filesystem; @@ -38,7 +38,7 @@ public function setUp() $this->files->makeDirectory($this->storagePath.'/framework', 0755, true); } - public function tearDown() + public function tearDown(): void { $this->files->deleteDirectory($this->storagePath);
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Http/HttpRedirectResponseTest.php
@@ -14,7 +14,7 @@ class HttpRedirectResponseTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Http/HttpRequestTest.php
@@ -13,7 +13,7 @@ class HttpRequestTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Http/HttpResponseTest.php
@@ -21,7 +21,7 @@ class HttpResponseTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Auth/AuthenticationTest.php
@@ -34,7 +34,7 @@ protected function getEnvironmentSetUp($app) $app['config']->set('hashing', ['driver' => 'bcrypt']); } - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Cache/DynamoDbStoreTest.php
@@ -11,7 +11,7 @@ */ class DynamoDbStoreTest extends TestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Cache/MemcachedIntegrationTest.php
@@ -10,7 +10,7 @@ */ abstract class MemcachedIntegrationTest extends TestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Cache/RedisCacheLockTest.php
@@ -14,14 +14,14 @@ class RedisCacheLockTest extends TestCase { use InteractsWithRedis; - public function setUp() + public function setUp(): void { parent::setUp(); $this->setUpRedis(); } - public function tearDown() + public function tearDown(): void { parent::tearDown();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Console/ConsoleApplicationTest.php
@@ -8,7 +8,7 @@ class ConsoleApplicationTest extends TestCase { - protected function setUp() + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentBelongsToManyTest.php
@@ -16,7 +16,7 @@ */ class EloquentBelongsToManyTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentBelongsToTest.php
@@ -12,7 +12,7 @@ */ class EloquentBelongsToTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentCollectionFreshTest.php
@@ -10,7 +10,7 @@ */ class EloquentCollectionFreshTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentCollectionLoadCountTest.php
@@ -15,7 +15,7 @@ */ class EloquentCollectionLoadCountTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentCollectionLoadMissingTest.php
@@ -13,7 +13,7 @@ */ class EloquentCollectionLoadMissingTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentCustomPivotCastTest.php
@@ -11,7 +11,7 @@ */ class EloquentCustomPivotCastTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentDeleteTest.php
@@ -25,7 +25,7 @@ protected function getEnvironmentSetUp($app) ]); } - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentFactoryBuilderTest.php
@@ -103,7 +103,7 @@ protected function getEnvironmentSetUp($app) }); } - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentHasManyThroughTest.php
@@ -13,7 +13,7 @@ */ class EloquentHasManyThroughTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentLazyEagerLoadingTest.php
@@ -12,7 +12,7 @@ */ class EloquentLazyEagerLoadingTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentModelConnectionsTest.php
@@ -31,7 +31,7 @@ protected function getEnvironmentSetUp($app) ]); } - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentModelCustomEventsTest.php
@@ -12,7 +12,7 @@ */ class EloquentModelCustomEventsTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentModelDateCastingTest.php
@@ -12,7 +12,7 @@ */ class EloquentModelDateCastingTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentModelDecimalCastingTest.php
@@ -11,7 +11,7 @@ */ class EloquentModelDecimalCastingTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentModelJsonCastingTest.php
@@ -13,7 +13,7 @@ */ class EloquentModelJsonCastingTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentModelLoadCountTest.php
@@ -13,7 +13,7 @@ */ class EloquentModelLoadCountTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentModelLoadMissingTest.php
@@ -13,7 +13,7 @@ */ class EloquentModelLoadMissingTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentModelRefreshTest.php
@@ -13,7 +13,7 @@ */ class EloquentModelRefreshTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentModelTest.php
@@ -12,7 +12,7 @@ */ class EloquentModelTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentMorphManyTest.php
@@ -13,7 +13,7 @@ */ class EloquentMorphManyTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentMorphToGlobalScopesTest.php
@@ -14,7 +14,7 @@ */ class EloquentMorphToGlobalScopesTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentMorphToLazyEagerLoadingTest.php
@@ -13,7 +13,7 @@ */ class EloquentMorphToLazyEagerLoadingTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentMorphToSelectTest.php
@@ -12,7 +12,7 @@ */ class EloquentMorphToSelectTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentMorphToTouchesTest.php
@@ -13,7 +13,7 @@ */ class EloquentMorphToTouchesTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentPaginateTest.php
@@ -11,7 +11,7 @@ */ class EloquentPaginateTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentPivotSerializationTest.php
@@ -14,7 +14,7 @@ */ class EloquentPivotSerializationTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentPushTest.php
@@ -11,7 +11,7 @@ */ class EloquentPushTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentTouchParentWithGlobalScopeTest.php
@@ -13,7 +13,7 @@ */ class EloquentTouchParentWithGlobalScopeTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentUpdateTest.php
@@ -26,7 +26,7 @@ protected function getEnvironmentSetUp($app) ]); } - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentWhereHasTest.php
@@ -12,7 +12,7 @@ */ class EloquentWhereHasTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentWhereTest.php
@@ -11,7 +11,7 @@ */ class EloquentWhereTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/EloquentWithCountTest.php
@@ -11,7 +11,7 @@ */ class EloquentWithCountTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/MigrateWithRealpathTest.php
@@ -6,7 +6,7 @@ class MigrateWithRealpathTest extends DatabaseTestCase { - protected function setUp() + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Database/QueryBuilderTest.php
@@ -12,7 +12,7 @@ */ class QueryBuilderTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Events/EventFakeTest.php
@@ -36,7 +36,7 @@ protected function getEnvironmentSetUp($app) * * @return void */ - protected function setUp() + protected function setUp(): void { parent::setUp(); @@ -53,7 +53,7 @@ protected function setUp() * * @return void */ - protected function tearDown() + protected function tearDown(): void { Schema::dropIfExists('posts');
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Foundation/Testing/Concerns/InteractsWithAuthenticationTest.php
@@ -23,7 +23,7 @@ protected function getEnvironmentSetUp($app) ]); } - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Http/Middleware/VerifyCsrfTokenExceptTest.php
@@ -11,7 +11,7 @@ class VerifyCsrfTokenExceptTest extends TestCase private $stub; private $request; - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Http/ThrottleRequestsTest.php
@@ -14,7 +14,7 @@ */ class ThrottleRequestsTest extends TestCase { - public function tearDown() + public function tearDown(): void { parent::tearDown(); Carbon::setTestNow(null);
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Http/ThrottleRequestsWithRedisTest.php
@@ -16,7 +16,7 @@ class ThrottleRequestsWithRedisTest extends TestCase { use InteractsWithRedis; - public function tearDown() + public function tearDown(): void { parent::tearDown(); Carbon::setTestNow(null);
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Mail/SendingMailWithLocaleTest.php
@@ -18,7 +18,7 @@ */ class SendingMailWithLocaleTest extends TestCase { - public function tearDown() + public function tearDown(): void { parent::tearDown(); @@ -46,7 +46,7 @@ protected function getEnvironmentSetUp($app) ]); } - public function setUp() + public function setUp(): void { parent::setUp(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Notifications/SendingMailNotificationsTest.php
@@ -23,7 +23,7 @@ class SendingMailNotificationsTest extends TestCase public $mailer; public $markdown; - public function tearDown() + public function tearDown(): void { parent::tearDown(); @@ -54,7 +54,7 @@ protected function getEnvironmentSetUp($app) }); } - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Notifications/SendingNotificationsWithLocaleTest.php
@@ -53,7 +53,7 @@ protected function getEnvironmentSetUp($app) ]); } - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Queue/CallQueuedHandlerTest.php
@@ -17,7 +17,7 @@ */ class CallQueuedHandlerTest extends TestCase { - public function tearDown() + public function tearDown(): void { parent::tearDown();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Queue/JobChainingTest.php
@@ -29,7 +29,7 @@ protected function getEnvironmentSetUp($app) ]); } - public function tearDown() + public function tearDown(): void { JobChainingTestFirstJob::$ran = false; JobChainingTestSecondJob::$ran = false;
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Queue/ModelSerializationTest.php
@@ -33,7 +33,7 @@ protected function getEnvironmentSetUp($app) ]); } - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Integration/Validation/ValidatorTest.php
@@ -12,7 +12,7 @@ class ValidatorTest extends DatabaseTestCase { - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Log/LogLoggerTest.php
@@ -12,7 +12,7 @@ class LogLoggerTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Mail/MailMailerTest.php
@@ -18,7 +18,7 @@ class MailMailerTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Mail/MailMarkdownTest.php
@@ -9,7 +9,7 @@ class MailMarkdownTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Mail/MailMessageTest.php
@@ -20,15 +20,15 @@ class MailMessageTest extends TestCase */ protected $message; - public function setUp() + public function setUp(): void { parent::setUp(); $this->swift = m::mock(Swift_Mime_Message::class); $this->message = new Message($this->swift); } - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Mail/MailableQueuedTest.php
@@ -19,7 +19,7 @@ class MailableQueuedTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Notifications/NotificationBroadcastChannelTest.php
@@ -13,7 +13,7 @@ class NotificationBroadcastChannelTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Notifications/NotificationChannelManagerTest.php
@@ -18,7 +18,7 @@ class NotificationChannelManagerTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Notifications/NotificationDatabaseChannelTest.php
@@ -10,7 +10,7 @@ class NotificationDatabaseChannelTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Notifications/NotificationRoutesNotificationsTest.php
@@ -11,7 +11,7 @@ class NotificationRoutesNotificationsTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Notifications/NotificationSendQueuedNotificationTest.php
@@ -9,7 +9,7 @@ class NotificationSendQueuedNotificationTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Pagination/LengthAwarePaginatorTest.php
@@ -17,13 +17,13 @@ class LengthAwarePaginatorTest extends TestCase */ private $options; - public function setUp() + public function setUp(): void { $this->options = ['onEachSide' => 5]; $this->p = new LengthAwarePaginator($array = ['item1', 'item2', 'item3', 'item4'], 4, 2, 2, $this->options); } - public function tearDown() + public function tearDown(): void { unset($this->p); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Queue/QueueBeanstalkdJobTest.php
@@ -15,7 +15,7 @@ class QueueBeanstalkdJobTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Queue/QueueBeanstalkdQueueTest.php
@@ -12,7 +12,7 @@ class QueueBeanstalkdQueueTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Queue/QueueDatabaseQueueIntegrationTest.php
@@ -27,7 +27,7 @@ class QueueDatabaseQueueIntegrationTest extends TestCase */ protected $container; - public function setUp() + public function setUp(): void { $db = new DB; @@ -95,7 +95,7 @@ protected function schema() * * @return void */ - public function tearDown() + public function tearDown(): void { $this->schema()->drop('jobs'); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Queue/QueueDatabaseQueueUnitTest.php
@@ -12,7 +12,7 @@ class QueueDatabaseQueueUnitTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Queue/QueueListenerTest.php
@@ -10,7 +10,7 @@ class QueueListenerTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Queue/QueueManagerTest.php
@@ -10,7 +10,7 @@ class QueueManagerTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Queue/QueueRedisJobTest.php
@@ -11,7 +11,7 @@ class QueueRedisJobTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Queue/QueueRedisQueueTest.php
@@ -11,7 +11,7 @@ class QueueRedisQueueTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Queue/QueueSqsJobTest.php
@@ -12,7 +12,7 @@ class QueueSqsJobTest extends TestCase { - public function setUp() + public function setUp(): void { $this->key = 'AMAZONSQSKEY'; $this->secret = 'AmAz0n+SqSsEcReT+aLpHaNuM3R1CsTr1nG'; @@ -50,7 +50,7 @@ public function setUp() ]; } - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Queue/QueueSqsQueueTest.php
@@ -13,12 +13,12 @@ class QueueSqsQueueTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); } - public function setUp() + public function setUp(): void { // Use Mockery to mock the SqsClient $this->sqs = m::mock(SqsClient::class);
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Queue/QueueSyncQueueTest.php
@@ -13,7 +13,7 @@ class QueueSyncQueueTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Queue/QueueWorkerTest.php
@@ -23,7 +23,7 @@ class QueueWorkerTest extends TestCase public $events; public $exceptionHandler; - public function setUp() + public function setUp(): void { $this->events = m::spy(Dispatcher::class); $this->exceptionHandler = m::spy(ExceptionHandler::class); @@ -34,7 +34,7 @@ public function setUp() $container->instance(ExceptionHandler::class, $this->exceptionHandler); } - public function tearDown() + public function tearDown(): void { Container::setInstance(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Queue/RedisQueueIntegrationTest.php
@@ -20,14 +20,14 @@ class RedisQueueIntegrationTest extends TestCase */ private $queue; - public function setUp() + public function setUp(): void { Carbon::setTestNow(Carbon::now()); parent::setUp(); $this->setUpRedis(); } - public function tearDown() + public function tearDown(): void { Carbon::setTestNow(null); parent::tearDown();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Redis/ConcurrentLimiterTest.php
@@ -15,7 +15,7 @@ class ConcurrentLimiterTest extends TestCase { use InteractsWithRedis; - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Redis/DurationLimiterTest.php
@@ -15,7 +15,7 @@ class DurationLimiterTest extends TestCase { use InteractsWithRedis; - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Redis/RedisConnectionTest.php
@@ -14,7 +14,7 @@ class RedisConnectionTest extends TestCase { use InteractsWithRedis; - public function setUp() + public function setUp(): void { parent::setUp(); $this->setUpRedis(); @@ -28,7 +28,7 @@ public function setUp() } } - public function tearDown() + public function tearDown(): void { parent::tearDown(); $this->tearDownRedis();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Routing/RouteCollectionTest.php
@@ -14,7 +14,7 @@ class RouteCollectionTest extends TestCase */ protected $routeCollection; - public function setUp() + public function setUp(): void { parent::setUp();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Routing/RouteRegistrarTest.php
@@ -16,14 +16,14 @@ class RouteRegistrarTest extends TestCase */ protected $router; - public function setUp() + public function setUp(): void { parent::setUp(); $this->router = new Router(m::mock(Dispatcher::class), Container::getInstance()); } - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Routing/RoutingRedirectorTest.php
@@ -19,7 +19,7 @@ class RoutingRedirectorTest extends TestCase protected $session; protected $redirect; - public function setUp() + public function setUp(): void { $this->headers = m::mock(HeaderBag::class); @@ -45,7 +45,7 @@ public function setUp() $this->redirect->setSession($this->session); } - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Session/EncryptedSessionStoreTest.php
@@ -11,7 +11,7 @@ class EncryptedSessionStoreTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Session/SessionStoreTest.php
@@ -13,7 +13,7 @@ class SessionStoreTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Session/SessionTableCommandTest.php
@@ -14,7 +14,7 @@ class SessionTableCommandTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Support/DateFacadeTest.php
@@ -12,7 +12,7 @@ class DateFacadeTest extends TestCase { - protected function tearDown() + protected function tearDown(): void { parent::tearDown(); DateFactory::use(Carbon::class);
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Support/SupportCapsuleManagerTraitTest.php
@@ -13,7 +13,7 @@ class SupportCapsuleManagerTraitTest extends TestCase { use CapsuleManagerTrait; - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Support/SupportCarbonTest.php
@@ -16,14 +16,14 @@ class SupportCarbonTest extends TestCase */ protected $now; - public function setUp() + public function setUp(): void { parent::setUp(); Carbon::setTestNow($this->now = Carbon::create(2017, 6, 27, 13, 14, 15, 'UTC')); } - public function tearDown() + public function tearDown(): void { Carbon::setTestNow(); Carbon::serializeUsing(null);
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Support/SupportFacadeTest.php
@@ -11,13 +11,13 @@ class SupportFacadeTest extends TestCase { - public function setUp() + public function setUp(): void { Facade::clearResolvedInstances(); FacadeStub::setFacadeApplication(null); } - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Support/SupportFacadesEventTest.php
@@ -15,7 +15,7 @@ class SupportFacadesEventTest extends TestCase { private $events; - protected function setUp() + protected function setUp(): void { parent::setUp(); @@ -27,7 +27,7 @@ protected function setUp() Facade::setFacadeApplication($container); } - public function tearDown() + public function tearDown(): void { Event::clearResolvedInstances();
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Support/SupportHelpersTest.php
@@ -14,7 +14,7 @@ class SupportHelpersTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Support/SupportMacroableTest.php
@@ -9,7 +9,7 @@ class SupportMacroableTest extends TestCase { private $macroable; - public function setUp() + public function setUp(): void { $this->macroable = $this->createObjectForTrait(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Support/SupportMessageBagTest.php
@@ -9,7 +9,7 @@ class SupportMessageBagTest extends TestCase { - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Support/SupportServiceProviderTest.php
@@ -9,7 +9,7 @@ class SupportServiceProviderTest extends TestCase { - public function setUp() + public function setUp(): void { ServiceProvider::$publishes = []; ServiceProvider::$publishGroups = []; @@ -21,7 +21,7 @@ public function setUp() $two->boot(); } - public function tearDown() + public function tearDown(): void { m::close(); }
true
Other
laravel
framework
8fc3a75b413267a30e41464d358c1d0714a6a186.json
Add void return type to setUp and tearDown methods
tests/Support/SupportTestingEventFakeTest.php
@@ -11,7 +11,7 @@ class SupportTestingEventFakeTest extends TestCase { - protected function setUp() + protected function setUp(): void { parent::setUp(); $this->fake = new EventFake(m::mock(Dispatcher::class));
true