From 80213a27427d7bc85a447e2bec33caf1953ba5b9 Mon Sep 17 00:00:00 2001 From: nikita tarasov Date: Fri, 12 Apr 2024 10:02:58 +0300 Subject: [PATCH] add php 8.3 --- .github/workflows/grumphp.yml | 4 ++-- .gitignore | 3 ++- composer.json | 2 +- grumphp.yml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/grumphp.yml b/.github/workflows/grumphp.yml index 0d048b0..2181e69 100644 --- a/.github/workflows/grumphp.yml +++ b/.github/workflows/grumphp.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['8.1', '8.2'] + php-versions: ['8.1', '8.2', '8.3'] steps: - uses: actions/checkout@v4 @@ -27,7 +27,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/.gitignore b/.gitignore index af83c52..f3a2c78 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ /composer.lock .DS_Store .php-cs-fixer.cache -auth.json \ No newline at end of file +auth.json +/generated \ No newline at end of file diff --git a/composer.json b/composer.json index 01aea61..ae6d3c4 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "magento/module-email": "~101.1.6" }, "require-dev": { - "mygento/coding-standard": "v2.4.x-dev" + "mygento/coding-standard": "~2.14" }, "autoload": { "files": [ diff --git a/grumphp.yml b/grumphp.yml index 90582de..d54441d 100644 --- a/grumphp.yml +++ b/grumphp.yml @@ -19,4 +19,4 @@ grumphp: phpstan: autoload_file: 'vendor/mygento/coding-standard/stan/autoload.php' ignore_patterns: ['Test'] - level: 1 + level: 4