One Hat Cyber Team
Your IP:
216.73.216.30
Server IP:
198.54.114.155
Server:
Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
5.6.40
Create File
|
Create Folder
Execute
Dir :
~
/
proc
/
self
/
root
/
proc
/
thread-self
/
cwd
/
Edit File:
.github.tar
PULL_REQUEST_TEMPLATE.md 0000644 00000002547 15105663760 0010366 0 ustar 00 <!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> ## Motivation and Context <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here. --> ## How Has This Been Tested? <!--- Please describe in detail how you tested your changes. --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## Screenshots (if appropriate): ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation only (no code changes) ## Checklist: <!--- Go over all the following points, and put an `x` in all the boxes that apply. --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [ ] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I have added tests to cover my changes. - [ ] All new and existing tests passed. ISSUE_TEMPLATE.md 0000644 00000002312 15105663760 0007260 0 ustar 00 <!--- Provide a general summary of the issue in the Title above --> ## Expected Behavior <!--- If you're describing a bug, tell us what should happen --> <!--- If you're suggesting a change/improvement, tell us how it should work --> ## Current Behavior <!--- If describing a bug, tell us what happens instead of the expected behavior --> <!--- If suggesting a change/improvement, explain the difference from current behavior --> ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> <!--- or ideas how to implement the addition or change --> ## Steps to Reproduce (for bugs) <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 2. 3. 4. ## Context <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * Version used: * Environment name and version (e.g. Chrome 39, node.js 5.4): * Operating System and version (desktop or mobile): * Link to your project: workflows/tests.yml 0000644 00000001567 15105663760 0010510 0 ustar 00 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 workflows/pint.yml 0000644 00000001017 15105663760 0010306 0 ustar 00 name: Check & fix styling on: [push] jobs: pint: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} - name: Setup PHP uses: shivammathur/setup-php@v2 - name: Install Pint run: composer global require laravel/pint - name: Run Pint run: pint - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: Fix styling ISSUE_TEMPLATE/feature_request.md 0000644 00000001060 15107305304 0012447 0 ustar 00 --- name: Feature request about: Suggest an idea for this project --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here. ISSUE_TEMPLATE/bug_report.md 0000644 00000001407 15107305304 0011421 0 ustar 00 --- name: Bug report about: Create a report to help us improve --- > For support request no related with bugs or feature requests for this SDK, please use the official developers support channel https://mercadopago.com.ar/developers/es/support/ **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Using this snippet '....' 3. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Server (please complete the following information):** - OS: [e.g. iOS] - WebServer - Version [e.g. 22] **Additional context** Add any other context about the problem here. workflows/php.yml 0000644 00000002512 15107305304 0010111 0 ustar 00 name: PHP Composer on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest strategy: matrix: php-version: ['7.1', '7.2', '7.3', '7.4', '8.0'] steps: - name: Checkout uses: actions/checkout@v2 - name: Setup PHP ${{ matrix.php-version }} uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} extensions: mbstring, intl ini-values: post_max_size=256M, short_open_tag=On coverage: xdebug tools: php-cs-fixer, phpunit - name: Validate composer.json and composer.lock run: composer validate - name: Cache Composer packages id: composer-cache uses: actions/cache@v2 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- - name: Install dependencies if: steps.composer-cache.outputs.cache-hit != 'false' run: composer install --prefer-dist --no-progress - name: Run test suite run: composer run-script test env: ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} USER_EMAIL: ${{ secrets.USER_EMAIL }} CLIENT_ID: ${{ secrets.CLIENT_ID }} CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} ISSUE_TEMPLATE/issue_report.yml 0000644 00000003122 15110767115 0012177 0 ustar 00 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 ISSUE_TEMPLATE/feature.yml 0000644 00000002047 15110767115 0011114 0 ustar 00 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 pull_request_template.md 0000644 00000000757 15110767115 0011522 0 ustar 00 ## 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.... | workflows/security.yml 0000644 00000004432 15110767115 0011202 0 ustar 00 name: SecurityChecks on: pull_request: {} push: branches: ["master"] schedule: - cron: '30 20 * * *' jobs: semgrep: name: Scan runs-on: [ubuntu-latest] # nosemgrep : semgrep.dev/s/swati31196:github_provided_runner steps: - uses: actions/checkout@v2 - uses: returntocorp/semgrep-action@v1 with: publishToken: ${{ secrets.SEMGREP_APP_TOKEN }} publishDeployment: 339 env: GITHUB_TOKEN: ${{ secrets.GITHUB_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 workflows/ci.yml 0000644 00000002560 15110767115 0007726 0 ustar 00 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 dependabot.yml 0000644 00000000221 15110767115 0007373 0 ustar 00 version: 2 updates: - package-ecosystem: composer directory: "/" schedule: interval: daily time: "04:00" timezone: Asia/Calcutta FUNDING.yml 0000644 00000001231 15111163452 0006355 0 ustar 00 # These are supported funding model platforms github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username tidelift: "packagist/myclabs/deep-copy" community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry liberapay: # Replace with a single Liberapay username issuehunt: # Replace with a single IssueHunt username otechie: # Replace with a single Otechie username custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] workflows/ci.yaml 0000644 00000005365 15111163453 0010071 0 ustar 00 name: "Continuous Integration" on: - pull_request - push env: COMPOSER_ROOT_VERSION: 1.99 jobs: composer-json-lint: name: "Lint composer.json" runs-on: "ubuntu-latest" strategy: matrix: php-version: - "8.1" steps: - name: "Checkout" uses: "actions/checkout@v2" - name: "Install PHP" uses: "shivammathur/setup-php@v2" with: coverage: "none" php-version: "${{ matrix.php-version }}" tools: composer-normalize - name: "Get composer cache directory" id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: "Cache dependencies" uses: actions/cache@v2 with: path: ${{ steps.composercache.outputs.dir }} key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ matrix.dependencies }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ matrix.dependencies }}-composer- - name: "Install dependencies" run: "composer update --no-interaction --no-progress" - name: "Validate composer.json" run: "composer validate --strict" - name: "Normalize composer.json" run: "composer-normalize --dry-run" tests: name: "Tests" runs-on: "ubuntu-latest" strategy: matrix: php-version: - "7.1" - "7.2" - "7.3" - "7.4" - "8.0" - "8.1" dependencies: - "lowest" - "highest" steps: - name: "Checkout" uses: "actions/checkout@v2" - name: "Install PHP" uses: "shivammathur/setup-php@v2" with: php-version: "${{ matrix.php-version }}" ini-values: zend.assertions=1 - name: "Get composer cache directory" id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: "Cache dependencies" uses: actions/cache@v2 with: path: ${{ steps.composercache.outputs.dir }} key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ matrix.dependencies }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ matrix.dependencies }}-composer- - name: "Install lowest dependencies" if: ${{ matrix.dependencies == 'lowest' }} run: "composer update --no-interaction --no-progress --prefer-lowest" - name: "Install highest dependencies" if: ${{ matrix.dependencies == 'highest' }} run: "composer update --no-interaction --no-progress" - name: "Run tests" timeout-minutes: 3 run: "vendor/bin/phpunit"
Simpan