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
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Console/ConsoleEventSchedulerTest.php
@@ -19,7 +19,7 @@ class ConsoleEventSchedulerTest extends TestCase */ private $schedule; - public function setUp(): void + protected function setUp(): void { parent::setUp(); @@ -32,7 +32,7 @@ public function setUp(): void $container->instance(Schedule::class, $this->schedule = new Schedule(m::mock(EventMutex::class))); } - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Console/ConsoleScheduledEventTest.php
@@ -18,13 +18,13 @@ class ConsoleScheduledEventTest extends TestCase */ protected $defaultTimezone; - public function setUp(): void + protected function setUp(): void { $this->defaultTimezone = date_default_timezone_get(); date_default_timezone_set('UTC'); } - public function tearDown(): void + protected function tearDown(): void { date_default_timezone_set($this->defaultTimezone); Carbon::setTestNow(null);
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Console/Scheduling/CacheEventMutexTest.php
@@ -31,7 +31,7 @@ class CacheEventMutexTest extends TestCase */ protected $cacheRepository; - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Console/Scheduling/CacheSchedulingMutexTest.php
@@ -38,7 +38,7 @@ class CacheSchedulingMutexTest extends TestCase */ protected $cacheRepository; - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Console/Scheduling/EventTest.php
@@ -9,7 +9,7 @@ class EventTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Console/Scheduling/FrequencyTest.php
@@ -14,7 +14,7 @@ class FrequencyTest extends TestCase */ protected $event; - public function setUp(): void + protected function setUp(): void { $this->event = new Event( m::mock(EventMutex::class),
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Cookie/CookieTest.php
@@ -10,7 +10,7 @@ class CookieTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Cookie/Middleware/EncryptCookiesTest.php
@@ -26,7 +26,7 @@ class EncryptCookiesTest extends TestCase protected $setCookiePath = 'cookie/set'; protected $queueCookiePath = 'cookie/queue'; - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseConnectionFactoryTest.php
@@ -15,7 +15,7 @@ class DatabaseConnectionFactoryTest extends TestCase { protected $db; - public function setUp(): void + protected function setUp(): void { $this->db = new DB; @@ -37,7 +37,7 @@ public function setUp(): void $this->db->setAsGlobal(); } - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseConnectionTest.php
@@ -25,7 +25,7 @@ class DatabaseConnectionTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseConnectorTest.php
@@ -13,7 +13,7 @@ class DatabaseConnectorTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentBelongsToManyChunkByIdTest.php
@@ -10,7 +10,7 @@ class DatabaseEloquentBelongsToManyChunkByIdTest extends TestCase { - public function setUp(): void + protected function setUp(): void { $db = new DB; @@ -70,7 +70,7 @@ public function testBelongsToChunkById() * * @return void */ - public function tearDown(): void + protected function tearDown(): void { $this->schema()->drop('users'); $this->schema()->drop('articles');
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentBelongsToManySyncReturnValueTypeTest.php
@@ -9,7 +9,7 @@ class DatabaseEloquentBelongsToManySyncReturnValueTypeTest extends TestCase { - public function setUp(): void + protected function setUp(): void { $db = new DB; @@ -56,7 +56,7 @@ public function createSchema() * * @return void */ - public function tearDown(): void + protected function tearDown(): void { $this->schema()->drop('users'); $this->schema()->drop('articles');
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentBelongsToManyWithDefaultAttributesTest.php
@@ -10,7 +10,7 @@ class DatabaseEloquentBelongsToManyWithDefaultAttributesTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentBelongsToTest.php
@@ -15,7 +15,7 @@ class DatabaseEloquentBelongsToTest extends TestCase protected $related; - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentBuilderTest.php
@@ -23,7 +23,7 @@ class DatabaseEloquentBuilderTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentCastsDatabaseStringTest.php
@@ -9,7 +9,7 @@ class DatabaseEloquentCastsDatabaseStringTest extends TestCase { - public function setUp(): void + protected function setUp(): void { $db = new DB; @@ -45,7 +45,7 @@ public function createSchema() * * @return void */ - public function tearDown(): void + protected function tearDown(): void { $this->schema()->drop('casting_table'); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentCollectionQueueableTest.php
@@ -10,7 +10,7 @@ class DatabaseEloquentCollectionQueueableTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { Mockery::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentCollectionTest.php
@@ -11,7 +11,7 @@ class DatabaseEloquentCollectionTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentGlobalScopesTest.php
@@ -11,7 +11,7 @@ class DatabaseEloquentGlobalScopesTest extends TestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp(); @@ -21,7 +21,7 @@ public function setUp(): void ])->bootEloquent(); } - public function tearDown(): void + protected function tearDown(): void { m::close();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentHasManyTest.php
@@ -12,7 +12,7 @@ class DatabaseEloquentHasManyTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentHasManyThroughIntegrationTest.php
@@ -10,7 +10,7 @@ class DatabaseEloquentHasManyThroughIntegrationTest extends TestCase { - public function setUp(): void + protected function setUp(): void { $db = new DB; @@ -63,7 +63,7 @@ public function createSchema() * * @return void */ - public function tearDown(): void + protected function tearDown(): void { $this->schema()->drop('users'); $this->schema()->drop('posts');
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentHasOneTest.php
@@ -19,7 +19,7 @@ class DatabaseEloquentHasOneTest extends TestCase protected $parent; - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentHasOneThroughIntegrationTest.php
@@ -10,7 +10,7 @@ class DatabaseEloquentHasOneThroughIntegrationTest extends TestCase { - public function setUp(): void + protected function setUp(): void { $db = new DB; @@ -63,7 +63,7 @@ public function createSchema() * * @return void */ - public function tearDown(): void + protected function tearDown(): void { $this->schema()->drop('users'); $this->schema()->drop('contracts');
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentIntegrationTest.php
@@ -30,7 +30,7 @@ class DatabaseEloquentIntegrationTest extends TestCase * * @return void */ - public function setUp(): void + protected function setUp(): void { $db = new DB; @@ -130,7 +130,7 @@ protected function createSchema() * * @return void */ - public function tearDown(): void + protected function tearDown(): void { foreach (['default', 'second_connection'] as $connection) { $this->schema($connection)->drop('users');
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentIntegrationWithTablePrefixTest.php
@@ -15,7 +15,7 @@ class DatabaseEloquentIntegrationWithTablePrefixTest extends TestCase * * @return void */ - public function setUp(): void + protected function setUp(): void { $db = new DB; @@ -66,7 +66,7 @@ protected function createSchema() * * @return void */ - public function tearDown(): void + protected function tearDown(): void { foreach (['default'] as $connection) { $this->schema($connection)->drop('users');
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentIrregularPluralTest.php
@@ -9,7 +9,7 @@ class DatabaseEloquentIrregularPluralTest extends TestCase { - public function setUp(): void + protected function setUp(): void { $db = new DB; @@ -53,7 +53,7 @@ public function createSchema() }); } - public function tearDown(): void + protected function tearDown(): void { $this->schema()->drop('irregular_plural_tokens'); $this->schema()->drop('irregular_plural_humans');
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentModelTest.php
@@ -33,14 +33,14 @@ class DatabaseEloquentModelTest extends TestCase { use InteractsWithTime; - public function setUp(): void + protected function setUp(): void { parent::setUp(); Carbon::setTestNow(Carbon::now()); } - public function tearDown(): void + protected function tearDown(): void { parent::tearDown();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentMorphTest.php
@@ -13,7 +13,7 @@ class DatabaseEloquentMorphTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { Relation::morphMap([], false);
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentMorphToManyTest.php
@@ -10,7 +10,7 @@ class DatabaseEloquentMorphToManyTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentMorphToTest.php
@@ -14,7 +14,7 @@ class DatabaseEloquentMorphToTest extends TestCase protected $related; - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentPivotTest.php
@@ -9,7 +9,7 @@ class DatabaseEloquentPivotTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentPolymorphicIntegrationTest.php
@@ -8,7 +8,7 @@ class DatabaseEloquentPolymorphicIntegrationTest extends TestCase { - public function setUp(): void + protected function setUp(): void { $db = new DB; @@ -66,7 +66,7 @@ public function createSchema() * * @return void */ - public function tearDown(): void + protected function tearDown(): void { $this->schema()->drop('users'); $this->schema()->drop('posts');
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentPolymorphicRelationsIntegrationTest.php
@@ -14,7 +14,7 @@ class DatabaseEloquentPolymorphicRelationsIntegrationTest extends TestCase * * @return void */ - public function setUp(): void + protected function setUp(): void { $db = new DB; @@ -58,7 +58,7 @@ protected function createSchema() * * @return void */ - public function tearDown(): void + protected function tearDown(): void { foreach (['default'] as $connection) { $this->schema($connection)->drop('posts');
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentRelationTest.php
@@ -14,7 +14,7 @@ class DatabaseEloquentRelationTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentSoftDeletesIntegrationTest.php
@@ -14,7 +14,7 @@ class DatabaseEloquentSoftDeletesIntegrationTest extends TestCase { - public function setUp(): void + protected function setUp(): void { Carbon::setTestNow(Carbon::now()); @@ -85,7 +85,7 @@ public function createSchema() * * @return void */ - public function tearDown(): void + protected function tearDown(): void { Carbon::setTestNow(null);
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseEloquentTimestampsTest.php
@@ -9,7 +9,7 @@ class DatabaseEloquentTimestampsTest extends TestCase { - public function setUp(): void + protected function setUp(): void { $db = new DB; @@ -56,7 +56,7 @@ public function createSchema() * * @return void */ - public function tearDown(): void + protected function tearDown(): void { $this->schema()->drop('users'); $this->schema()->drop('users_created_at');
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseMigrationCreatorTest.php
@@ -10,7 +10,7 @@ class DatabaseMigrationCreatorTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseMigrationInstallCommandTest.php
@@ -12,7 +12,7 @@ class DatabaseMigrationInstallCommandTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseMigrationMakeCommandTest.php
@@ -13,7 +13,7 @@ class DatabaseMigrationMakeCommandTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseMigrationMigrateCommandTest.php
@@ -12,7 +12,7 @@ class DatabaseMigrationMigrateCommandTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseMigrationRefreshCommandTest.php
@@ -16,7 +16,7 @@ class DatabaseMigrationRefreshCommandTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseMigrationRepositoryTest.php
@@ -13,7 +13,7 @@ class DatabaseMigrationRepositoryTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseMigrationResetCommandTest.php
@@ -12,7 +12,7 @@ class DatabaseMigrationResetCommandTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseMigrationRollbackCommandTest.php
@@ -12,7 +12,7 @@ class DatabaseMigrationRollbackCommandTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseMigratorIntegrationTest.php
@@ -23,7 +23,7 @@ class DatabaseMigratorIntegrationTest extends TestCase * * @return void */ - public function setUp(): void + protected function setUp(): void { $this->db = $db = new DB; @@ -59,7 +59,7 @@ public function setUp(): void } } - public function tearDown(): void + protected function tearDown(): void { Facade::clearResolvedInstances(); Facade::setFacadeApplication(null);
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseMySqlSchemaGrammarTest.php
@@ -11,7 +11,7 @@ class DatabaseMySqlSchemaGrammarTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabasePostgresSchemaGrammarTest.php
@@ -10,7 +10,7 @@ class DatabasePostgresSchemaGrammarTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseProcessorTest.php
@@ -11,7 +11,7 @@ class DatabaseProcessorTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseQueryBuilderTest.php
@@ -24,7 +24,7 @@ class DatabaseQueryBuilderTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseSQLiteSchemaGrammarTest.php
@@ -13,7 +13,7 @@ class DatabaseSQLiteSchemaGrammarTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseSchemaBlueprintIntegrationTest.php
@@ -21,7 +21,7 @@ class DatabaseSchemaBlueprintIntegrationTest extends TestCase * * @return void */ - public function setUp(): void + protected function setUp(): void { $this->db = $db = new DB; @@ -37,7 +37,7 @@ public function setUp(): void Facade::setFacadeApplication($container); } - public function tearDown(): void + protected function tearDown(): void { Facade::clearResolvedInstances(); Facade::setFacadeApplication(null);
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseSchemaBlueprintTest.php
@@ -13,7 +13,7 @@ class DatabaseSchemaBlueprintTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseSchemaBuilderIntegrationTest.php
@@ -16,7 +16,7 @@ class DatabaseSchemaBuilderIntegrationTest extends TestCase * * @return void */ - public function setUp(): void + protected function setUp(): void { $this->db = $db = new DB; @@ -32,7 +32,7 @@ public function setUp(): void Facade::setFacadeApplication($container); } - public function tearDown(): void + protected function tearDown(): void { Facade::clearResolvedInstances(); Facade::setFacadeApplication(null);
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseSchemaBuilderTest.php
@@ -10,7 +10,7 @@ class DatabaseSchemaBuilderTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseSeederTest.php
@@ -28,7 +28,7 @@ public function run(Mock $someDependency) class DatabaseSeederTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseSoftDeletingScopeTest.php
@@ -15,7 +15,7 @@ class DatabaseSoftDeletingScopeTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseSoftDeletingTraitTest.php
@@ -9,7 +9,7 @@ class DatabaseSoftDeletingTraitTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Database/DatabaseSqlServerSchemaGrammarTest.php
@@ -10,7 +10,7 @@ class DatabaseSqlServerSchemaGrammarTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Events/EventsDispatcherTest.php
@@ -14,7 +14,7 @@ class EventsDispatcherTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Filesystem/FilesystemAdapterTest.php
@@ -16,13 +16,13 @@ class FilesystemAdapterTest extends TestCase private $tempDir; private $filesystem; - public function setUp(): void + protected function setUp(): void { $this->tempDir = __DIR__.'/tmp'; $this->filesystem = new Filesystem(new Local($this->tempDir)); } - public function tearDown(): void + protected function tearDown(): void { $filesystem = new Filesystem(new Local(dirname($this->tempDir))); $filesystem->deleteDir(basename($this->tempDir));
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Filesystem/FilesystemTest.php
@@ -15,13 +15,13 @@ class FilesystemTest extends TestCase { private $tempDir; - public function setUp(): void + protected function setUp(): void { $this->tempDir = __DIR__.'/tmp'; mkdir($this->tempDir); } - public function tearDown(): void + protected function tearDown(): void { m::close();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Foundation/Bootstrap/LoadEnvironmentVariablesTest.php
@@ -9,7 +9,7 @@ class LoadEnvironmentVariablesTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Foundation/FoundationApplicationTest.php
@@ -12,7 +12,7 @@ class FoundationApplicationTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Foundation/FoundationAuthenticationTest.php
@@ -49,7 +49,7 @@ protected function mockGuard() return $guard; } - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Foundation/FoundationComposerTest.php
@@ -9,7 +9,7 @@ class FoundationComposerTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Foundation/FoundationEnvironmentDetectorTest.php
@@ -8,7 +8,7 @@ class FoundationEnvironmentDetectorTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Foundation/FoundationExceptionsHandlerTest.php
@@ -29,7 +29,7 @@ class FoundationExceptionsHandlerTest extends TestCase protected $request; - public function setUp(): void + protected function setUp(): void { $this->config = m::mock(Config::class); @@ -51,7 +51,7 @@ public function setUp(): void $this->handler = new Handler($this->container); } - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Foundation/FoundationFormRequestTest.php
@@ -21,7 +21,7 @@ class FoundationFormRequestTest extends TestCase { protected $mocks = []; - public function tearDown(): void + protected function tearDown(): void { m::close();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Foundation/FoundationHelpersTest.php
@@ -12,7 +12,7 @@ class FoundationHelpersTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Foundation/FoundationInteractsWithDatabaseTest.php
@@ -20,12 +20,12 @@ class FoundationInteractsWithDatabaseTest extends TestCase protected $connection; - public function setUp(): void + protected function setUp(): void { $this->connection = m::mock(Connection::class); } - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Foundation/FoundationProviderRepositoryTest.php
@@ -12,7 +12,7 @@ class FoundationProviderRepositoryTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Foundation/Http/Middleware/CheckForMaintenanceModeTest.php
@@ -27,7 +27,7 @@ class CheckForMaintenanceModeTest extends TestCase */ protected $files; - public function setUp(): void + protected function setUp(): void { if (is_null($this->files)) { $this->files = new Filesystem; @@ -39,7 +39,7 @@ public function setUp(): void $this->files->makeDirectory($this->storagePath.'/framework', 0755, true); } - public function tearDown(): void + protected function tearDown(): void { $this->files->deleteDirectory($this->storagePath);
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Http/HttpRedirectResponseTest.php
@@ -15,7 +15,7 @@ class HttpRedirectResponseTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Http/HttpRequestTest.php
@@ -14,7 +14,7 @@ class HttpRequestTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Http/HttpResponseTest.php
@@ -22,7 +22,7 @@ class HttpResponseTest extends TestCase { - public function tearDown(): void + protected function tearDown(): void { m::close(); }
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Auth/AuthenticationTest.php
@@ -34,7 +34,7 @@ protected function getEnvironmentSetUp($app) $app['config']->set('hashing', ['driver' => 'bcrypt']); } - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Cache/DynamoDbStoreTest.php
@@ -11,7 +11,7 @@ */ class DynamoDbStoreTest extends TestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Cache/MemcachedIntegrationTest.php
@@ -10,7 +10,7 @@ */ abstract class MemcachedIntegrationTest extends TestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Cache/RedisCacheLockTest.php
@@ -14,14 +14,14 @@ class RedisCacheLockTest extends TestCase { use InteractsWithRedis; - public function setUp(): void + protected function setUp(): void { parent::setUp(); $this->setUpRedis(); } - public function tearDown(): void + protected function tearDown(): void { parent::tearDown();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentBelongsToManyTest.php
@@ -17,7 +17,7 @@ */ class EloquentBelongsToManyTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentBelongsToTest.php
@@ -12,7 +12,7 @@ */ class EloquentBelongsToTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentCollectionFreshTest.php
@@ -10,7 +10,7 @@ */ class EloquentCollectionFreshTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentCollectionLoadCountTest.php
@@ -15,7 +15,7 @@ */ class EloquentCollectionLoadCountTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentCollectionLoadMissingTest.php
@@ -13,7 +13,7 @@ */ class EloquentCollectionLoadMissingTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentCustomPivotCastTest.php
@@ -11,7 +11,7 @@ */ class EloquentCustomPivotCastTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentDeleteTest.php
@@ -25,7 +25,7 @@ protected function getEnvironmentSetUp($app) ]); } - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentFactoryBuilderTest.php
@@ -103,7 +103,7 @@ protected function getEnvironmentSetUp($app) }); } - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentHasManyThroughTest.php
@@ -13,7 +13,7 @@ */ class EloquentHasManyThroughTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentLazyEagerLoadingTest.php
@@ -12,7 +12,7 @@ */ class EloquentLazyEagerLoadingTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentModelConnectionsTest.php
@@ -31,7 +31,7 @@ protected function getEnvironmentSetUp($app) ]); } - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentModelCustomEventsTest.php
@@ -12,7 +12,7 @@ */ class EloquentModelCustomEventsTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentModelDateCastingTest.php
@@ -12,7 +12,7 @@ */ class EloquentModelDateCastingTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentModelDecimalCastingTest.php
@@ -11,7 +11,7 @@ */ class EloquentModelDecimalCastingTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentModelJsonCastingTest.php
@@ -13,7 +13,7 @@ */ class EloquentModelJsonCastingTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentModelLoadCountTest.php
@@ -13,7 +13,7 @@ */ class EloquentModelLoadCountTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentModelLoadMissingTest.php
@@ -13,7 +13,7 @@ */ class EloquentModelLoadMissingTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentModelRefreshTest.php
@@ -13,7 +13,7 @@ */ class EloquentModelRefreshTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentModelTest.php
@@ -12,7 +12,7 @@ */ class EloquentModelTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true
Other
laravel
framework
222800c2658647619ed9cbf608faaae277a1c8a1.json
Use proper method visibility
tests/Integration/Database/EloquentMorphManyTest.php
@@ -13,7 +13,7 @@ */ class EloquentMorphManyTest extends DatabaseTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp();
true