From 8d23e106c8789da31ee6661eca78a2d9eb87e267 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 18 Aug 2023 02:17:08 +0000 Subject: [PATCH 1/2] composer(deps-dev): bump the minor-patch-dependencies group with 5 updates Updates the requirements on [mimmi20/coding-standard](https://github.com/mimmi20/coding-standard), [nikic/php-parser](https://github.com/nikic/PHP-Parser), [phpstan/phpstan](https://github.com/phpstan/phpstan), [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) and [rector/rector](https://github.com/rectorphp/rector) to permit the latest version. Updates `mimmi20/coding-standard` to 5.1.11 - [Release notes](https://github.com/mimmi20/coding-standard/releases) - [Commits](https://github.com/mimmi20/coding-standard/compare/5.1.10...5.1.11) Updates `nikic/php-parser` to 4.17.1 - [Release notes](https://github.com/nikic/PHP-Parser/releases) - [Changelog](https://github.com/nikic/PHP-Parser/blob/4.x/CHANGELOG.md) - [Commits](https://github.com/nikic/PHP-Parser/compare/v4.16.0...v4.17.1) Updates `phpstan/phpstan` to 1.10.29 - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md) - [Commits](https://github.com/phpstan/phpstan/compare/1.10.28...1.10.29) Updates `phpunit/phpunit` to 10.3.2 - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.3.2/ChangeLog-10.3.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.3.1...10.3.2) Updates `rector/rector` to 0.18.0 - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/0.17.12...0.18.0) --- updated-dependencies: - dependency-name: mimmi20/coding-standard dependency-type: direct:development dependency-group: minor-patch-dependencies - dependency-name: nikic/php-parser dependency-type: direct:development dependency-group: minor-patch-dependencies - dependency-name: phpstan/phpstan dependency-type: direct:development dependency-group: minor-patch-dependencies - dependency-name: phpunit/phpunit dependency-type: direct:development dependency-group: minor-patch-dependencies - dependency-name: rector/rector dependency-type: direct:development dependency-group: minor-patch-dependencies ... Signed-off-by: dependabot[bot] --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index b4f9afb..ad9e937 100644 --- a/composer.json +++ b/composer.json @@ -32,14 +32,14 @@ "infection/infection": "^0.27.0", "laminas/laminas-modulemanager": "^2.14.0", "laminas/laminas-servicemanager": "^3.21.0", - "mimmi20/coding-standard": "^5.1.10", - "nikic/php-parser": "^v4.16.0", + "mimmi20/coding-standard": "^5.1.11", + "nikic/php-parser": "^v4.17.1", "phpstan/extension-installer": "^1.3.1", - "phpstan/phpstan": "^1.10.28", + "phpstan/phpstan": "^1.10.29", "phpstan/phpstan-deprecation-rules": "^1.1.4", "phpstan/phpstan-phpunit": "^1.3.13", - "phpunit/phpunit": "^10.3.1", - "rector/rector": "^0.17.12", + "phpunit/phpunit": "^10.3.2", + "rector/rector": "^0.18.0", "vimeo/psalm": "^5.14.1" }, "autoload": { From deab4fb6f10c8bc8c2610659ff49a22582196dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Fri, 18 Aug 2023 19:52:23 +0200 Subject: [PATCH 2/2] update pipelines --- .github/workflows/cleanup-caches.yml | 6 +++--- .github/workflows/codeql.yml | 20 ++++++++++---------- .github/workflows/continuous-integration.yml | 4 ++-- .github/workflows/labels.yml | 8 ++++---- .github/workflows/lock-closed-issues.yml | 6 +++--- .github/workflows/reactions.yml | 6 +++--- .github/workflows/release-drafter.yml | 4 ++-- 7 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/cleanup-caches.yml b/.github/workflows/cleanup-caches.yml index ff7c97f..928254c 100644 --- a/.github/workflows/cleanup-caches.yml +++ b/.github/workflows/cleanup-caches.yml @@ -1,4 +1,4 @@ -name: cleanup caches by a branch +name: "Cleanup caches by a branch" on: pull_request: types: @@ -7,7 +7,7 @@ on: jobs: cleanup: - runs-on: ubuntu-latest + runs-on: "ubuntu-20.04" steps: - name: "Checkout" uses: "actions/checkout@v3" @@ -36,4 +36,4 @@ jobs: done echo "Done" env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8288794..c4b4c97 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,8 +24,8 @@ on: jobs: analyze: - name: Analyze - runs-on: ubuntu-latest + name: "Analyze" + runs-on: "ubuntu-22.04" permissions: actions: read contents: read @@ -35,7 +35,7 @@ jobs: fail-fast: false matrix: language: - - 'javascript' + - "javascript" # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Use only 'java' to analyze code written in Java, Kotlin or both # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both @@ -51,10 +51,10 @@ jobs: persist-credentials: false # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + - name: "Initialize CodeQL" + uses: "github/codeql-action/init@v2" with: - languages: ${{ matrix.language }} + languages: "${{ matrix.language }}" # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. @@ -64,8 +64,8 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 + - name: "Autobuild" + uses: "github/codeql-action/autobuild@v2" # ℹī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -77,7 +77,7 @@ jobs: # echo "Run, Build Application using script" # ./location_of_script_within_repo/buildscript.sh - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + - name: "Perform CodeQL Analysis" + uses: "github/codeql-action/analyze@v2" with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 96eaaa4..dbaf1cf 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -135,7 +135,7 @@ jobs: composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v" - name: "Run unit tests with phpunit/phpunit" - run: "vendor/bin/phpunit -c phpunit.xml --no-coverage" + run: "vendor/bin/phpunit -c phpunit.xml --no-coverage --display-warnings" code-coverage: name: "Code Coverage with PHPUnit" @@ -192,7 +192,7 @@ jobs: run: "mkdir -p .build/coverage" - name: "Collect code coverage with Xdebug and phpunit/phpunit" - run: "vendor/bin/phpunit -c phpunit.xml --coverage-clover=.build/coverage/clover.xml --coverage-text --coverage-xml=.build/coverage/coverage-xml --log-junit=.build/coverage/phpunit.junit.xml" + run: "vendor/bin/phpunit -c phpunit.xml --coverage-clover=.build/coverage/clover.xml --coverage-text --coverage-xml=.build/coverage/coverage-xml --log-junit=.build/coverage/phpunit.junit.xml --display-warnings" - name: "Upload coverage to Codecov" uses: "codecov/codecov-action@v3.1.4" diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 5ba35c1..bbce963 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -20,7 +20,7 @@ jobs: permissions: issues: write - runs-on: ubuntu-latest + runs-on: "ubuntu-22.04" steps: - name: "Checkout" @@ -33,7 +33,7 @@ jobs: - uses: "micnncim/action-label-syncer@v1.3.0" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_REPOSITORY: ${{ github.repository }} + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + GITHUB_REPOSITORY: "${{ github.repository }}" with: - manifest: .github/labels.yml + manifest: ".github/labels.yml" diff --git a/.github/workflows/lock-closed-issues.yml b/.github/workflows/lock-closed-issues.yml index 017bf7c..baef386 100644 --- a/.github/workflows/lock-closed-issues.yml +++ b/.github/workflows/lock-closed-issues.yml @@ -7,8 +7,8 @@ on: jobs: lock: - runs-on: ubuntu-latest + runs-on: "ubuntu-22.04" steps: - - uses: Dunning-Kruger/lock-issues@v1.1 + - uses: "Dunning-Kruger/lock-issues@v1.1" with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/reactions.yml b/.github/workflows/reactions.yml index f86d186..4085517 100644 --- a/.github/workflows/reactions.yml +++ b/.github/workflows/reactions.yml @@ -19,11 +19,11 @@ permissions: jobs: action: - runs-on: ubuntu-latest + runs-on: "ubuntu-22.04" steps: - - uses: dessant/reaction-comments@v3 + - uses: "dessant/reaction-comments@v3" with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: "${{ secrets.GITHUB_TOKEN }}" issue-comment: > :wave: @{comment-author}, would you like to leave a reaction instead? diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index d2fe7b4..ccdb8e2 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -29,11 +29,11 @@ jobs: # otherwise, read permission is required at least pull-requests: write - runs-on: "ubuntu-latest" + runs-on: "ubuntu-22.04" steps: # Drafts your next Release notes as Pull Requests are merged into "master" - name: "Release Drafter" uses: "release-drafter/release-drafter@v5.24.0" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"