diff --git a/.editorconfig b/.editorconfig deleted file mode 100755 index 6f313c6..0000000 --- a/.editorconfig +++ /dev/null @@ -1,15 +0,0 @@ -root = true - -[*] -charset = utf-8 -end_of_line = lf -insert_final_newline = true -indent_style = space -indent_size = 4 -trim_trailing_whitespace = true - -[*.md] -trim_trailing_whitespace = false - -[*.yml] -indent_size = 2 diff --git a/.gitignore b/.gitignore deleted file mode 100755 index 7e4722d..0000000 --- a/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/vendor -composer.lock -.idea/ -.DS_Store -.phpunit.result.cache -node_modules/ -fonts/ -images/ -packages/* \ No newline at end of file diff --git a/.php_cs b/.php_cs deleted file mode 100755 index 250ecb9..0000000 --- a/.php_cs +++ /dev/null @@ -1,47 +0,0 @@ -notPath('resources') - ->notPath('vendor') - ->notPath('bootstrap') - ->notPath('storage') - ->in(__DIR__) - ->name('*.php') - ->notName('_ide_helper.php') - ->notName('*.blade.php'); - -return PhpCsFixer\Config::create() - ->setRules([ - '@PSR2' => true, - 'array_syntax' => ['syntax' => 'short'], - 'ordered_imports' => ['sortAlgorithm' => 'alpha'], - 'no_unused_imports' => true, - '@PHP70Migration' => true, - '@PHP71Migration:risky' => true, - 'linebreak_after_opening_tag' => true, - 'mb_str_functions' => true, - 'native_function_invocation' => true, - 'no_php4_constructor' => true, - 'no_unreachable_default_argument_value' => true, - 'no_useless_else' => true, - 'no_useless_return' => true, - 'phpdoc_add_missing_param_annotation' => ['only_untyped' => false], - 'phpdoc_order' => true, - 'semicolon_after_instruction' => true, - '@PHP71Migration' => true, - 'dir_constant' => true, - 'heredoc_to_nowdoc' => true, - 'modernize_types_casting' => true, - 'no_multiline_whitespace_before_semicolons' => true, - 'ordered_class_elements' => true, - 'declare_strict_types' => true, - 'psr4' => true, - 'no_short_echo_tag' => true, - 'align_multiline_comment' => true, - 'general_phpdoc_annotation_remove' => ['annotations' => ['author', 'package']], - 'list_syntax' => ['syntax' => 'short'], - 'phpdoc_types_order' => ['null_adjustment'=> 'always_last'], - 'single_line_comment_style' => true, - ]) - ->setRiskyAllowed(true) - ->setFinder($finder); diff --git a/composer.json b/composer.json index 0b95292..dff59ea 100755 --- a/composer.json +++ b/composer.json @@ -21,8 +21,7 @@ "homepage": "https://github.com/solumdesignum/recomposer", "require": { "php": "^8.1|^8.2|^8.3|^8.4", - "illuminate/support": "^5|^6|^7|^8|^9|^10|^11|^12", - "gabrielelana/byte-units": "^0.5" + "illuminate/support": "^5|^6|^7|^8|^9|^10|^11|^12" }, "require-dev": { "roave/security-advisories": "dev-master", diff --git a/phpstan.neon b/phpstan.neon deleted file mode 100755 index 1e84799..0000000 --- a/phpstan.neon +++ /dev/null @@ -1,13 +0,0 @@ -includes: - - vendor/nunomaduro/larastan/extension.neon - - vendor/phpstan/phpstan-deprecation-rules/rules.neon -parameters: - level: 8 - paths: - - app - - packages - - ignoreErrors: - - '#Unsafe usage of new static#' - - checkMissingIterableValueType: false diff --git a/phpunit.xml.dist b/phpunit.xml.dist deleted file mode 100755 index 0f38bab..0000000 --- a/phpunit.xml.dist +++ /dev/null @@ -1,18 +0,0 @@ - - - - - tests - - -