diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..56f3b6b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5297c5f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +/.github export-ignore +/tests export-ignore +.editorconfig export-ignore +.gitattributes export-ignore +.gitignore export-ignore +phpunit.xml.dist export-ignore diff --git a/composer.json b/composer.json index 443d6b9..1a7f9e6 100755 --- a/composer.json +++ b/composer.json @@ -8,21 +8,26 @@ "email": "hekmati.nasser@gmail.com" } ], - "keywords": ["Laravel","Date","Datetime","Jalali", "Shamsi", "Verta"], + "keywords": [ + "Laravel", + "Date", + "Datetime", + "Jalali", + "Shamsi", + "Verta" + ], "require": { - "php": "^7.3|^8.0|^8.1", - "illuminate/support": "^6.0|^8.0|^9.0", - "illuminate/validation": "^6.0|^8.0|^9.0", + "php": "^7.3|^8.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0", + "illuminate/validation": "^6.0|^7.0|^8.0|^9.0", "hekmatinasser/notowo": "^1.0" }, - "require-dev" : { - "orchestra/testbench": "^4.9|^6.23|^7.0", - "phpunit/phpunit": "^9.4", - "mockery/mockery": "^1.0" + "require-dev": { + "orchestra/testbench": "^4.18|^5.20|^6.24|^7.0" }, "autoload": { "psr-4": { - "Hekmatinasser\\Verta\\": "src" + "Hekmatinasser\\Verta\\": "src/" }, "files": [ "src/helpers.php" @@ -30,10 +35,9 @@ }, "autoload-dev": { "psr-4": { - "Hekmatinasser\\VertaTests\\": "tests" + "Hekmatinasser\\Verta\\Tests\\": "tests/" } }, - "minimum-stability": "dev", "extra": { "laravel": { "providers": [ @@ -43,5 +47,7 @@ "Verta": "Hekmatinasser\\Verta\\Verta" } } - } + }, + "minimum-stability": "dev", + "prefer-stable": true }