diff --git a/.github/workflows/phpcsfixer.yml b/.github/workflows/phpcsfixer.yml index 877c7ea..8e5667a 100644 --- a/.github/workflows/phpcsfixer.yml +++ b/.github/workflows/phpcsfixer.yml @@ -27,7 +27,7 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: '8.2' extensions: json, tokenizer coverage: none env: diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index a2d78f1..63e59ff 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.3', '8.5'] + php-versions: ['8.2', '8.5'] steps: - name: Checkout diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml index e82c04d..ff1b8f0 100644 --- a/.github/workflows/psalm.yml +++ b/.github/workflows/psalm.yml @@ -31,7 +31,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: '8.2' tools: phpstan, phpunit extensions: intl, json, mbstring, xml coverage: none diff --git a/.github/workflows/rector.yml b/.github/workflows/rector.yml index 343241f..bd517f8 100644 --- a/.github/workflows/rector.yml +++ b/.github/workflows/rector.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.3', '8.5'] + php-versions: ['8.2', '8.5'] steps: - name: Checkout diff --git a/composer.json b/composer.json index 691d259..fa1a8e6 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ ], "homepage": "https://github.com/codeigniter4/devkit", "require": { - "php": "^8.3", + "php": "^8.2", "codeigniter/coding-standard": "^1.9", "fakerphp/faker": "^1.24", "mikey179/vfsstream": "^1.6", @@ -32,7 +32,7 @@ "phpstan/phpstan": "^2.0", "phpstan/phpstan-deprecation-rules": "^2.0", "phpstan/phpstan-phpunit": "^2.0", - "phpunit/phpunit": "^12.5.22 || ^13.1.7", + "phpunit/phpunit": "^11.5.55 || ^12.5.22 || ^13.1.7", "rector/rector": "^2.0", "roave/security-advisories": "dev-latest", "vimeo/psalm": "^5.0 || ^6.0" diff --git a/src/Template/.github/workflows/deptrac.yml b/src/Template/.github/workflows/deptrac.yml index d44fb05..7ec1560 100644 --- a/src/Template/.github/workflows/deptrac.yml +++ b/src/Template/.github/workflows/deptrac.yml @@ -31,7 +31,7 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: '8.2' extensions: intl, json, mbstring, xml coverage: none env: diff --git a/src/Template/.github/workflows/infection.yml b/src/Template/.github/workflows/infection.yml index 68187d8..c19bd5e 100644 --- a/src/Template/.github/workflows/infection.yml +++ b/src/Template/.github/workflows/infection.yml @@ -23,7 +23,7 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: '8.2' tools: infection, phpunit extensions: intl, json, mbstring, gd, xml, sqlite3 coverage: xdebug diff --git a/src/Template/.github/workflows/phpcpd.yml b/src/Template/.github/workflows/phpcpd.yml index 468492c..27034c9 100644 --- a/src/Template/.github/workflows/phpcpd.yml +++ b/src/Template/.github/workflows/phpcpd.yml @@ -27,7 +27,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: '8.2' tools: phpcpd extensions: dom, mbstring coverage: none diff --git a/src/Template/.github/workflows/phpcsfixer.yml b/src/Template/.github/workflows/phpcsfixer.yml index 45ab00c..007da64 100644 --- a/src/Template/.github/workflows/phpcsfixer.yml +++ b/src/Template/.github/workflows/phpcsfixer.yml @@ -27,7 +27,7 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: '8.2' extensions: json, tokenizer coverage: none env: diff --git a/src/Template/.github/workflows/phpstan.yml b/src/Template/.github/workflows/phpstan.yml index 74e6838..50f5f93 100644 --- a/src/Template/.github/workflows/phpstan.yml +++ b/src/Template/.github/workflows/phpstan.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.3', '8.5'] + php-versions: ['8.2', '8.5'] steps: - name: Checkout diff --git a/src/Template/.github/workflows/phpunit.yml b/src/Template/.github/workflows/phpunit.yml index 1148d4e..8e7ec38 100644 --- a/src/Template/.github/workflows/phpunit.yml +++ b/src/Template/.github/workflows/phpunit.yml @@ -25,7 +25,7 @@ jobs: if: (! contains(github.event.head_commit.message, '[ci skip]')) strategy: matrix: - php-versions: ['8.3', '8.4', '8.5'] + php-versions: ['8.2', '8.4', '8.5'] steps: - name: Checkout @@ -65,7 +65,7 @@ jobs: TERM: xterm-256color TACHYCARDIA_MONITOR_GA: enabled - - if: matrix.php-versions == '8.3' + - if: matrix.php-versions == '8.2' name: Run Coveralls continue-on-error: true run: | diff --git a/src/Template/.github/workflows/psalm.yml b/src/Template/.github/workflows/psalm.yml index 3257113..f9374c0 100644 --- a/src/Template/.github/workflows/psalm.yml +++ b/src/Template/.github/workflows/psalm.yml @@ -31,7 +31,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: '8.2' tools: phpstan, phpunit extensions: intl, json, mbstring, xml coverage: none diff --git a/src/Template/.github/workflows/rector.yml b/src/Template/.github/workflows/rector.yml index 3514a44..b74d21b 100644 --- a/src/Template/.github/workflows/rector.yml +++ b/src/Template/.github/workflows/rector.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.3', '8.5'] + php-versions: ['8.2', '8.5'] steps: - name: Checkout diff --git a/src/Template/.github/workflows/unused.yml b/src/Template/.github/workflows/unused.yml index 255cb96..47a4d29 100644 --- a/src/Template/.github/workflows/unused.yml +++ b/src/Template/.github/workflows/unused.yml @@ -29,7 +29,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: '8.2' tools: composer, composer-unused extensions: intl, json, mbstring, xml coverage: none diff --git a/src/Template/phpunit9.xml.dist b/src/Template/phpunit9.xml.dist deleted file mode 100644 index 665bdc4..0000000 --- a/src/Template/phpunit9.xml.dist +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - ./app/ - - - ./app/Config - ./app/Views - - - - - - - - - - - - - ./tests - - - - - - - - - 0.50 - - - 30 - - - 2 - - - true - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -