feat: update dependencies, add linting, fix codebase, cleanup (#11)

* chore(deps): update dependencies

* feat(tests): add matrix testing, problem matcher

* feat(lint): add php-cs-fixer, fix codebase
This commit is contained in:
Ismo Vuorinen
2024-11-08 18:40:40 +02:00
committed by GitHub
parent dfd2dc0d8a
commit 61ac97155c
15 changed files with 119 additions and 6951 deletions

View File

@@ -2,10 +2,10 @@
namespace Superhelio\Commands\Tests;
use Superhelio\Commands\Commands\Reload;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
/**
* @internal
* @coversNothing
*/
class ReloadTest extends \Orchestra\Testbench\TestCase
{
public function testReloadTest()
@@ -13,12 +13,12 @@ class ReloadTest extends \Orchestra\Testbench\TestCase
self::assertTrue(true);
}
public function test_reload_is_installed()
public function testReloadIsInstalled()
{
self::assertTrue(class_exists('\\Superhelio\\Commands\\Commands\\Reload'));
}
public function test_reload_has_required_methods_and_properties()
public function testReloadHasRequiredMethodsAndProperties()
{
$reload = new \ReflectionClass('\\Superhelio\\Commands\\Commands\\Reload');
self::assertTrue($reload->hasMethod('handle'));