From 1f48e9fc0ffdefe70e31a6c9613f8d390e1394f2 Mon Sep 17 00:00:00 2001 From: Omid Date: Tue, 15 Feb 2022 22:39:08 +0330 Subject: [PATCH 1/2] add laravel 7 support to composer.json --- .editorconfig | 12 ++++++++++++ composer.json | 30 ++++++++++++++++++------------ 2 files changed, 30 insertions(+), 12 deletions(-) create mode 100644 .editorconfig 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/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 } From f5677eaaf1c70ebea8baa6ee1ac821e8222aa2db Mon Sep 17 00:00:00 2001 From: Omid Date: Tue, 15 Feb 2022 22:39:35 +0330 Subject: [PATCH 2/2] export ignore git files, tests & workflow --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .gitattributes 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