diff --git a/.php_cs.dist b/.php_cs.dist deleted file mode 100644 index 1c4e7d5..0000000 --- a/.php_cs.dist +++ /dev/null @@ -1,37 +0,0 @@ -notPath('bootstrap/*') - ->notPath('storage/*') - ->notPath('resources/view/mail/*') - ->in([ - __DIR__ . '/src', - __DIR__ . '/tests', - ]) - ->name('*.php') - ->notName('*.blade.php') - ->ignoreDotFiles(true) - ->ignoreVCS(true); - -return PhpCsFixer\Config::create() - ->setRules([ - '@PSR2' => true, - 'array_syntax' => ['syntax' => 'short'], - 'ordered_imports' => ['sortAlgorithm' => 'alpha'], - 'no_unused_imports' => true, - 'not_operator_with_successor_space' => true, - 'trailing_comma_in_multiline_array' => true, - 'phpdoc_scalar' => true, - 'unary_operator_spaces' => true, - 'binary_operator_spaces' => true, - 'blank_line_before_statement' => [ - 'statements' => ['break', 'continue', 'declare', 'return', 'throw', 'try'], - ], - 'phpdoc_single_line_var_spacing' => true, - 'phpdoc_var_without_name' => true, - 'method_argument_space' => [ - 'on_multiline' => 'ensure_fully_multiline', - 'keep_multiple_spaces_after_comma' => true, - ] - ]) - ->setFinder($finder); diff --git a/composer.json b/composer.json index 4941733..3dfa4b8 100644 --- a/composer.json +++ b/composer.json @@ -27,12 +27,6 @@ "zacksmash/fortify-ui": "^1.0", "intervention/image": "^2.5.1" }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.16", - "orchestra/testbench": "^6.0", - "phpunit/phpunit": "^9.3", - "vimeo/psalm": "^3.11" - }, "autoload": { "psr-4": { "Proxeuse\\FortifyUITabler\\": "src" @@ -43,12 +37,6 @@ "Proxeuse\\FortifyUITabler\\Tests\\": "tests" } }, - "scripts": { - "psalm": "vendor/bin/psalm", - "test": "vendor/bin/phpunit --colors=always", - "test-coverage": "vendor/bin/phpunit --coverage-html coverage", - "format": "vendor/bin/php-cs-fixer fix --allow-risky=yes" - }, "config": { "sort-packages": true }, diff --git a/phpunit.xml.dist b/phpunit.xml.dist deleted file mode 100644 index 48fd33e..0000000 --- a/phpunit.xml.dist +++ /dev/null @@ -1,31 +0,0 @@ - - - - - tests - - - - - ./src - - - - - - - - - - - diff --git a/psalm.xml.dist b/psalm.xml.dist deleted file mode 100644 index c6df33e..0000000 --- a/psalm.xml.dist +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php deleted file mode 100644 index bf5c8ad..0000000 --- a/tests/ExampleTest.php +++ /dev/null @@ -1,12 +0,0 @@ -assertTrue(true); - } -} diff --git a/tests/TestCase.php b/tests/TestCase.php deleted file mode 100644 index c8bf5e9..0000000 --- a/tests/TestCase.php +++ /dev/null @@ -1,20 +0,0 @@ -