diff --git a/.github/workflows/formats.yml b/.github/workflows/formats.yml
index 5974f60..01f04a2 100644
--- a/.github/workflows/formats.yml
+++ b/.github/workflows/formats.yml
@@ -10,7 +10,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
- php: [8.2]
+ php: [8.1]
dependency-version: [prefer-lowest, prefer-stable]
name: Formats P${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index e68401f..3b93dd7 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -9,7 +9,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
- php: [8.2]
+ php: [8.1]
dependency-version: [prefer-lowest, prefer-stable]
name: Tests P${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
diff --git a/README.md b/README.md
index f8d1450..efd24c4 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,8 @@
-
-
-
-
-
-
-
-
-
-
-------
+
+----
This package provides a wonderful **PHP Skeleton** to start building your next package idea.
-> **Requires [PHP 8.2+](https://php.net/releases/)**
+> **Requires [PHP 8.1+](https://php.net/releases/)**
⚡️ Create your package using [Composer](https://getcomposer.org):
diff --git a/composer.json b/composer.json
index 28fe645..fb88404 100644
--- a/composer.json
+++ b/composer.json
@@ -1,26 +1,25 @@
{
- "name": "nunomaduro/skeleton-php",
+ "name": "swow-cloud/skeleton-php",
"description": "A skeleton repository for my packages",
"keywords": ["php", "skeleton", "package"],
"license": "MIT",
"authors": [
{
- "name": "Nuno Maduro",
- "email": "enunomaduro@gmail.com"
+ "name": "He Ping",
+ "email": "847050412@qq.com"
}
],
"require": {
- "php": "^8.2.0"
+ "php": "^8.1.0"
},
"require-dev": {
- "laravel/pint": "^1.4",
"pestphp/pest": "^2.0.0",
"phpstan/phpstan": "^1.9.11",
"symfony/var-dumper": "^6.2.3"
},
"autoload": {
"psr-4": {
- "NunoMaduro\\SkeletonPhp\\": "src/"
+ "SwowCloud\\SkeletonPhp\\": "src/"
}
},
"autoload-dev": {
@@ -38,12 +37,9 @@
}
},
"scripts": {
- "lint": "pint -v",
- "test:lint": "pint --test -v",
"test:types": "phpstan analyse --ansi",
"test:unit": "pest --colors=always",
"test": [
- "@test:lint",
"@test:types",
"@test:unit"
]
diff --git a/src/Example.php b/src/Example.php
index 622a4f5..1d69592 100644
--- a/src/Example.php
+++ b/src/Example.php
@@ -2,7 +2,7 @@
declare(strict_types=1);
-namespace NunoMaduro\SkeletonPhp;
+namespace SwowCloud\SkeletonPhp;
/**
* @internal
diff --git a/tests/Feature.php b/tests/Feature.php
index d885ae9..4e7354a 100644
--- a/tests/Feature.php
+++ b/tests/Feature.php
@@ -1,6 +1,6 @@