diff --git a/.github/workflows/test-php-compatibility.yml b/.github/workflows/test-php-compatibility.yml deleted file mode 100644 index d17526b..0000000 --- a/.github/workflows/test-php-compatibility.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: PHPstan & PHPunit & Pint - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -permissions: - contents: read - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - fail-fast: true - matrix: - php: [8.0] - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - extensions: json, dom, curl, libxml, mbstring - coverage: none - - - name: Validate composer.json and composer.lock - run: composer validate --strict - - - name: Cache Composer packages - id: composer-cache - uses: actions/cache@v3 - with: - path: vendor - key: ${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }} - restore-keys: | - ${{ runner.os }}-php-${{ matrix.php }}- - - - name: Install dependencies - run: composer install --prefer-dist --no-progress - - - name: Run Unit Test - run: vendor/bin/phpunit tests/ diff --git a/README.md b/README.md index 2bf5b1e..8ae4e34 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ A powerful PHP data desensitization tool with built-in rich desensitization calc ## Environment -- PHP >= 8.0 +- PHP >= 8.2 - Composer ## Quick Start diff --git a/composer.json b/composer.json index b7b8442..94036ed 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "orchestra/testbench": "^9.2" }, "require": { - "php": ">=8.0", + "php": ">=8.2", "illuminate/hashing": "^11.15", "illuminate/support": "^11.15" }, @@ -62,7 +62,7 @@ ], "lint": [ "@php vendor/bin/pint", - "@php vendor/bin/phpstan analyse" + "@php vendor/bin/phpstan analyse src tests" ], "test": [ "@php vendor/bin/phpunit"