Файловый менеджер - Редактировать - /home/easybachat/hisabat365.com/4a7891/.github.zip
Ðазад
PK Fb*[����A A FUNDING.ymlnu �[��� # These are supported funding model platforms github: [theseer] PK Fb*[���p p workflows/ci.ymlnu �[��� name: CI on: push: branches: - master tags: - v[0-9]+.[0-9]+.[0-9]+* pull_request: branches: - master jobs: run: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Set up php 8.0 uses: shivammathur/setup-php@v2 with: php-version: '8.0' - name: 'Create env file' run: | touch ${{ github.workspace }}/tests/.env echo RAZORPAY_API_KEY=${{ secrets.RAZORPAY_API_KEY }} >> ${{ github.workspace }}/tests/.env echo RAZORPAY_API_SECRET=${{ secrets.RAZORPAY_API_SECRET }} >> ${{ github.workspace }}/tests/.env cat ${{ github.workspace }}/tests/.env - name: Install dependencies run: composer self-update && composer install && composer require vlucas/phpdotenv && composer dump-autoload - name: Run tests and collect coverage run: vendor/bin/phpunit ./tests/CoverageTest.php --coverage-clover coverage.xml . env: RAZORPAY_API_KEY: ${{ secrets.RAZORPAY_API_KEY }} RAZORPAY_API_SECRET: ${{ secrets.RAZORPAY_API_SECRET }} RAZORPAY_PARTNER_API_KEY: ${{ secrets.RAZORPAY_PARTNER_API_KEY }} RAZORPAY_PARTNER_API_SECRET: ${{ secrets.RAZORPAY_PARTNER_API_SECRET }} - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 PK �D,[6�� � stale.ymlnu �[��� daysUntilStale: 180 daysUntilClose: 28 exemptLabels: - keep-open # Label to use when marking an issue as stale staleLabel: stale # Comment to post when marking an issue as stale. Set to `false` to disable markComment: > This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 4 weeks if no further activity occurs. Thank you for your contributions. # Comment to post when closing a stale issue. Set to `false` to disable closeComment: false PK �D,[�M@� workflows/.editorconfignu �[��� [*.yml] indent_size = 2 PK �D,[��~�/ / workflows/style-checker.ymlnu �[��� name: The PHP League Style Checks on: [push, pull_request] jobs: style: runs-on: ubuntu-latest name: The PHP League Style Checks steps: - name: Checkout Code uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '7.4' - name: Cache Dependencies id: composer-cache-style uses: actions/cache@v2 with: path: vendor key: ubuntu-composer-cache-style-${{ hashFiles('**/composer.lock') }} restore-keys: ubuntu-php-style - name: Install Dependencies if: steps.composer-cache.outputs.cache-hit != 'true' run: composer install --prefer-dist --no-progress --no-suggest - name: Check Coding Style run: vendor/bin/phpcs src/PK �D,[n�X workflows/static.ymlnu �[��� on: [ pull_request ] name: Static analysis jobs: phpstan: name: PHPStan runs-on: ubuntu-20.04 steps: - name: Checkout code uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: 8.1 extensions: apcu, redis coverage: none tools: phpstan:1.4.6, cs2pr - name: Download dependencies uses: ramsey/composer-install@v1 - name: PHPStan run: phpstan analyze --no-progress --error-format=checkstyle | cs2pr psalm: name: Psalm runs-on: ubuntu-20.04 steps: - name: Checkout code uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: 8.1 extensions: apcu, redis coverage: none tools: vimeo/psalm:4.22.0 - name: Download dependencies uses: ramsey/composer-install@v1 - name: Psalm run: psalm --no-progress --output-format=github PK �D,[���r r workflows/run-tests.ymlnu �[��� name: The PHP League Tests on: [push, pull_request] jobs: ci: runs-on: ${{ matrix.os }} strategy: fail-fast: true matrix: os: [ubuntu-20.04] php: [7.4, 8.0, 8.1] name: League - PHP ${{ matrix.php }} on ${{ matrix.os }} steps: - name: Checkout code uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} tools: phpcs, phpunit - name: Download dependencies uses: ramsey/composer-install@v2 - name: Run Tests run: vendor/bin/phpunit PK mD-[b�J7� � pull_request_template.mdnu �[��� ## Note :- Please follow the below points while attaching test cases document link below: ### - If label `Tested` is added then test cases document URL is mandatory. ### - Link added should be a valid URL and accessible throughout the org. ### - If the branch name contains hotfix / revert by default the BVT workflow check will pass. | Test Case Document URL | |-----------------------------------------------| | Please paste test case document link here.... | PK nD-[���!R R ISSUE_TEMPLATE/issue_report.ymlnu �[��� name: issue.md description: Create a report to help us improve labels: ["issue"] body: - type: markdown attributes: value: | Thanks for taking the time to fill out this issue report! - type: textarea id: repro-steps attributes: label: Steps to reproduce the behavior description: placeholder: | 1. Fetch a '...' 2. Update the '....' 3. See error validations: required: true - type: textarea id: expected-behavior attributes: label: Expected behavior description: A clear and concise description of what you expected to happen. validations: required: true - type: textarea id: actual-behavior attributes: label: Actual behavior description: A clear and concise description of what actually happen. validations: required: true - type: textarea id: code-snippets attributes: label: Code snippets description: If applicable, add code snippets to help explain your problem. render: Php validations: required: false - type: input id: language-version attributes: label: Php version placeholder: Php v7.4 validations: required: true - type: input id: lib-version attributes: label: Library version placeholder: razorpay-php v2.8.4 validations: required: true - type: textarea id: additional-context attributes: label: Additional Information description: Add any other information about the problem here. validations: required: false PK nD-[~^�,' ' ISSUE_TEMPLATE/feature.ymlnu �[��� name: feature.md description: Submit a proposal for a new feature title: '[Feature]: ' labels: [':rocket: Feature Request'] body: - type: markdown attributes: value: | ### Thank you for taking the time to suggest a new feature! We kindly ask that you search to see if an issue [already exists](https://github.com/razorpay/razorpay-php/issues?q=is%3Aissue+sort%3Acreated-desc+) for your feature. We are also happy to accept contributions from our users. - type: textarea id: description attributes: label: '🚀 Feature Proposal' description: validations: required: true - type: textarea id: solution attributes: label: Suggested Solution description: validations: required: true - type: textarea id: alternatives attributes: label: Alternatives description: validations: required: false - type: textarea id: extra attributes: label: Additional Information description: validations: required: true PK nD-[���� � dependabot.ymlnu �[��� version: 2 updates: - package-ecosystem: composer directory: "/" schedule: interval: daily time: "04:00" timezone: Asia/Calcutta PK nD-[���Ğ � workflows/security.ymlnu �[��� name: SecurityChecks on: pull_request: {} push: branches: ["master"] schedule: - cron: '30 20 * * *' jobs: semgrep: name: Semgrep runs-on: [ubuntu-latest] container: image: returntocorp/semgrep steps: - uses: actions/checkout@v4.0.0 - name: Run semgrep run: semgrep ci env: SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} workflow_status: runs-on: [ ubuntu-latest ] # nosemgrep : semgrep.dev/s/swati31196:github_provided_runner name: Update Status Check needs: [ semgrep ] if: always() env: githubCommit: ${{ github.event.pull_request.head.sha }} steps: - name: Set github commit id run: | if [ "${{ github.event_name }}" = "push" ] || [ "${{ github.event_name }}" = "schedule" ]; then echo "githubCommit=${{ github.sha }}" >> $GITHUB_ENV fi exit 0 - name: Failed id: failed if: (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) && github.ref != 'refs/heads/master' run: | echo 'Failing the workflow for github security status check.' curl -X POST -H "Content-Type: application/json" -H "Authorization: token ${{ github.token }}" \ -d '{ "state" : "failure" , "context" : "github/security-status-check" , "description" : "github/security-status-check", "target_url" : "https://github.com/${{ github.repository }}" }' \ https://api.github.com/repos/${{ github.repository }}/statuses/${{ env.githubCommit }} exit 1 - name: Success if: steps.failed.conclusion == 'skipped' || github.ref != 'refs/heads/master' run: | echo 'Status check has passed!' curl -X POST -H "Content-Type: application/json" -H "Authorization: token ${{ github.token }}" \ -d '{ "state" : "success" , "context" : "github/security-status-check" , "description" : "github/security-status-check", "target_url" : "https://github.com/${{ github.repository }}" }' \ https://api.github.com/repos/${{ github.repository }}/statuses/${{ env.githubCommit }} exit 0 PK ��.[���w w workflows/tests.ymlnu �[��� name: tests on: push: pull_request: jobs: tests: runs-on: ubuntu-latest strategy: matrix: php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0'] name: PHP ${{ matrix.php }} steps: - name: Checkout code uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} extensions: curl tools: composer:v2 coverage: none - name: Install PHP 7 dependencies run: composer update --prefer-dist --no-interaction --no-progress if: "matrix.php != '8.0'" - name: Install PHP 8 dependencies run: composer update --prefer-dist --no-interaction --no-progress --ignore-platform-reqs if: "matrix.php == '8.0'" - name: Execute tests run: vendor/bin/phpunit -c tests/phpunit.xml.dist PK ǂ.[�f�>� � workflows/main.yamlnu �[��� name: main on: [ push, pull_request ] jobs: test: runs-on: ubuntu-latest strategy: matrix: php-version: - '7.1' - '7.2' - '7.3' - '7.4' - '8.0' - '8.1' - '8.2' include: - php-version: 'nightly' experimental: true name: PHP ${{ matrix.php-version }} steps: - name: Checkout uses: actions/checkout@v3 - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib coverage: none - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer 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: Delete composer lock file id: composer-lock if: ${{ matrix.php-version == '8.0' || matrix.php-version == '8.1' || matrix.php-version == '8.2' || matrix.php-version == 'nightly' }} run: | rm composer.lock echo "::set-output name=flags::--ignore-platform-reqs" - name: Install dependencies run: composer update --no-progress --prefer-dist --optimize-autoloader ${{ steps.composer-lock.outputs.flags }} - name: Setup problem matchers for PHP run: echo "::add-matcher::${{ runner.tool_cache }}/php.json" - name: Setup problem matchers for PHPUnit run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - name: Test with PHPUnit run: ./vendor/bin/phpunit phpcs: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 with: php-version: 7.4 extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib coverage: none tools: cs2pr - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer 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 run: composer install --no-progress --prefer-dist --optimize-autoloader - name: Code style with PHP_CodeSniffer run: ./vendor/bin/phpcs -q --report=checkstyle | cs2pr --graceful-warnings --colorize coverage: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 with: php-version: 7.4 extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib coverage: pcov - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer 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 run: composer install --no-progress --prefer-dist --optimize-autoloader - name: Coverage run: | ./vendor/bin/phpunit --coverage-text PK Fb*[����A A FUNDING.ymlnu �[��� PK Fb*[���p p | workflows/ci.ymlnu �[��� PK �D,[6�� � , stale.ymlnu �[��� PK �D,[�M@� ` workflows/.editorconfignu �[��� PK �D,[��~�/ / � workflows/style-checker.ymlnu �[��� PK �D,[n�X 9 workflows/static.ymlnu �[��� PK �D,[���r r � workflows/run-tests.ymlnu �[��� PK mD-[b�J7� � G pull_request_template.mdnu �[��� PK nD-[���!R R ~ ISSUE_TEMPLATE/issue_report.ymlnu �[��� PK nD-[~^�,' ' ISSUE_TEMPLATE/feature.ymlnu �[��� PK nD-[���� � � dependabot.ymlnu �[��� PK nD-[���Ğ � _! workflows/security.ymlnu �[��� PK ��.[���w w C* workflows/tests.ymlnu �[��� PK ǂ.[�f�>� � �- workflows/main.yamlnu �[��� PK � >