wesmiler 2 лет назад
Родитель
Сommit
9359e0293d

+ 0 - 57
vendor/mockery/mockery/.github/ISSUE_TEMPLATE/BUG_REPORT.yml

@@ -1,57 +0,0 @@
-# Docs https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
-name: Bug report
-description: File a bug report to help us improve Mockery
-labels:
-  - bug
-  - triage
-body:
-  - type: markdown
-    attributes:
-      value: |
-        Thanks for taking the time to fill out this bug report!
-  - type: input
-    attributes:
-      label: Mockery Version
-      description: What version of Mockery do you have installed?
-    validations:
-      required: true
-  - type: dropdown
-    attributes:
-      label: PHP Version
-      description: What version of PHP do you have installed?
-      multiple: true
-      options:
-        - PHP 7.3
-        - PHP 7.4
-        - PHP 8.0
-        - PHP 8.1
-        - PHP 8.2
-        - PHP 8.3
-    validations:
-      required: true
-  - type: textarea
-    attributes:
-      label: Issue Description
-      description: Please describe the issue you are experiencing.
-    validations:
-      required: true
-  - type: textarea
-    attributes:
-      label: Steps to Reproduce
-      description: Please provide clear steps to reproduce the issue, if applicable.
-  - type: textarea
-    attributes:
-      label: Expected Behavior
-      description: Please describe what you expected to happen.
-  - type: textarea
-    attributes:
-      label: Actual Behavior
-      description: Please describe what actually happened.
-  - type: textarea
-    attributes:
-      label: Exception or Error
-      description: Please provide error logs, if applicable.
-  - type: textarea
-    attributes:
-      label: Additional Information
-      description: Please provide any additional information that may be helpful in resolving this issue.

+ 0 - 58
vendor/mockery/mockery/.github/workflows/codecov.yml

@@ -1,58 +0,0 @@
-name: Codecov
-on:
-  pull_request:
-  push:
-    branches:
-      - "[0-9]+.[0-9]+.x"
-  # Allow manually triggering the workflow.
-  workflow_dispatch:
-
-jobs:
-  run:
-    runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        php: ['8.2']
-    steps:
-      - name: Checkout
-        uses: actions/checkout@v3
-
-      - name: Set up PHP ${{ matrix.php }}
-        uses: shivammathur/setup-php@v2
-        with:
-          php-version: ${{ matrix.php }}
-          ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On
-          tools: composer:v2
-          extensions: mongodb, redis
-
-      - name: Get composer cache directory
-        id: composer-cache
-        run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
-
-      - name: Cache dependencies
-        uses: actions/cache@v3
-        with:
-          path: ${{ steps.composer-cache.outputs.dir }}
-          key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
-          restore-keys: ${{ runner.os }}-composer-
-
-      - name: Install dependencies
-        working-directory: ${{ github.workspace }}
-        run: |
-          composerCommand="install"
-          composerOptions=("--no-interaction" "--no-progress" "--ansi")
-          # Use `update` if there is no composer.lock file
-          if [ ! -f "composer.lock" ]; then
-            composerCommand="update"
-          fi
-          fullCommand="composer ${composerCommand} ${composerOptions[*]}"
-          echo "Running: ${fullCommand}"
-          ${fullCommand}
-
-      - name: Run PHPUnit to collect coverage
-        run: composer phpunit:coverage
-
-      - name: Upload coverage to Codecov
-        uses: codecov/codecov-action@v3
-        with:
-          token: ${{ secrets.CODECOV_TOKEN }}

+ 0 - 54
vendor/mockery/mockery/.github/workflows/psalm.yml

@@ -1,54 +0,0 @@
-name: Psalm Static analysis
-
-on:
-  pull_request:
-  push:
-    branches:
-      - "[0-9]+.[0-9]+.x"
-  # Allow manually triggering the workflow.
-  workflow_dispatch:
-
-concurrency:
-  group: psalm-${{ github.head_ref || github.run_id }}
-  cancel-in-progress: true
-
-jobs:
-  psalm:
-    name: Psalm
-    runs-on: ubuntu-latest
-    steps:
-      - name: Checkout
-        uses: actions/checkout@v3
-
-      - name: Set up php
-        uses: shivammathur/setup-php@v2
-        with:
-          coverage: none
-          php-version: 8.2
-
-      - name: Get composer cache directory
-        id: composer-cache
-        run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
-
-      - name: Cache dependencies
-        uses: actions/cache@v3
-        with:
-          path: ${{ steps.composer-cache.outputs.dir }}
-          key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
-          restore-keys: ${{ runner.os }}-composer-
-
-      - name: Install dependencies
-        working-directory: ${{ github.workspace }}
-        run: |
-          composerCommand="install"
-          composerOptions=("--no-interaction" "--no-progress" "--ansi")
-          # Use `update` if there is no composer.lock file
-          if [ ! -f "composer.lock" ]; then
-            composerCommand="update"
-          fi
-          fullCommand="composer ${composerCommand} ${composerOptions[*]}"
-          echo "Running: ${fullCommand}"
-          ${fullCommand}
-
-      - name: Run Psalm
-        run: composer psalm:shepherd

+ 0 - 74
vendor/mockery/mockery/.github/workflows/tests.yml

@@ -1,74 +0,0 @@
-name: Tests
-
-on:
-  pull_request:
-  push:
-    branches:
-      - "[0-9]+.[0-9]+.x"
-  # Allow manually triggering the workflow.
-  workflow_dispatch:
-
-jobs:
-  phpunit:
-    name: PHPUnit on PHP ${{ matrix.php }} with ${{ matrix.dependencies }} Dependencies
-    runs-on: ubuntu-latest
-
-    strategy:
-      matrix:
-        php: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
-        dependencies: ['lowest','highest','locked']
-        dev: ['8.3']
-
-    continue-on-error: ${{ matrix.php == matrix.dev || matrix.dependencies == 'lowest' }}
-
-    steps:
-      - name: Checkout Code
-        uses: actions/checkout@v3
-
-      - name: Setup PHP ${{ matrix.php }}
-        uses: shivammathur/setup-php@v2
-        with:
-          php-version: ${{ matrix.php }}
-          ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On
-          tools: composer:v2
-          extensions: mongodb, redis
-          coverage: pcov
-
-      - name: Setup problem matchers for PHP
-        run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
-
-      - name: Setup Problem Matchers
-        run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
-
-      - name: Get composer cache directory
-        id: composer-cache
-        run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
-
-      - name: Cache dependencies
-        uses: actions/cache@v3
-        with:
-          path: ${{ steps.composer-cache.outputs.dir }}
-          key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }}
-          restore-keys: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ matrix.dependencies }}-
-
-      - name: Install ${{ matrix.dependencies }} dependencies
-        working-directory: ${{ github.workspace }}
-        run: |
-          composerDependency="${{ matrix.dependencies }}"
-          composerCommand="update"
-          composerOptions=("--no-interaction" "--no-progress" "--ansi")
-          case ${composerDependency} in
-              highest) composerCommand="update" ;;
-              lowest) composerOptions+=("--prefer-lowest" "--prefer-stable") ;;
-              *) composerCommand="install" ;;
-          esac
-          # Use `update` if there is no composer.lock file
-          if [ ! -f "composer.lock" ]; then
-            composerCommand="update"
-          fi
-          fullCommand="composer ${composerCommand} ${composerOptions[*]}"
-          echo "Running: ${fullCommand}"
-          ${fullCommand}
-
-      - name: Execute PHPUnit
-        run: composer phpunit