diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..7546b77 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,51 @@ +name: Bug Report +description: Report an Issue or Bug with the Package +title: "[Bug]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + We're sorry to hear you have a problem. Can you help us solve it by providing the following details. + - type: textarea + id: what-happened + attributes: + label: What happened? + description: What did you expect to happen? + placeholder: I cannot currently do X thing because when I do, it breaks X thing. + validations: + required: true + - type: input + id: package-version + attributes: + label: Package Version + description: What version of our Package are you running? Please be as specific as possible + placeholder: 1.0.0 + validations: + required: true + - type: input + id: php-version + attributes: + label: PHP Version + description: What version of PHP are you running? Please be as specific as possible + placeholder: 8.3.0 + validations: + required: true + - type: input + id: laravel-version + attributes: + label: Laravel Version + description: What version of Laravel are you running? Please be as specific as possible + placeholder: 11.0.0 + validations: + required: true + - type: dropdown + id: operating-systems + attributes: + label: Which operating systems does with happen with? + description: You may select more than one. + multiple: true + options: + - macOS + - Windows + - Linux diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index b4e8146..0000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,11 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: Ask a question - url: https://github.com/codebar-ag/laravel-flatfox/discussions/new?category=q-a - about: Ask the community for help - - name: Request a feature - url: https://github.com/codebar-ag/laravel-flatfox/discussions/new?category=ideas - about: Share ideas for new features - - name: Report a bug - url: https://github.com/codebar-ag/laravel-flatfox/issues/new - about: Report a reproducable bug diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..b259caf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,12 @@ +name: Question or Feature +description: Open a Question or Feature Request +title: "[Feature]: " +labels: ["feature"] +body: + - type: textarea + id: question-feature + attributes: + label: Question or Feature? + description: Enter a Question or Feature Request + validations: + required: true diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 557d263..3c93dae 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -16,7 +16,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' coverage: none - name: Install composer dependencies diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index bff3889..9f9a31c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,13 +14,13 @@ jobs: matrix: # os: [ ubuntu-latest, windows-latest ] os: [ ubuntu-latest ] - php: [ 8.1 ] - laravel: [ 9.* ] + php: [ 8.2 ] + laravel: [ 10.* ] #stability: [ prefer-lowest, prefer-stable ] stability: [ prefer-stable ] include: - - laravel: 9.* - testbench: 7.* + - laravel: 10.* + testbench: 8.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/.phpunit.cache/test-results b/.phpunit.cache/test-results new file mode 100644 index 0000000..7f2fc30 --- /dev/null +++ b/.phpunit.cache/test-results @@ -0,0 +1 @@ +{"version":"pest_2.34.0","defects":{"P\\Tests\\Feature\\GetInvoicePayerTest::__pest_evaluable_it_b2b_service_getInvoicePayer_test":7},"times":{"P\\Tests\\Feature\\GetInvoicePayerTest::__pest_evaluable_it_b2b_service_getInvoicePayer_test":0.542,"P\\Tests\\Feature\\GetInvoiceListPayerTest::__pest_evaluable_it_b2b_service_getInvoiceListPayer_test":0.405,"P\\Tests\\Feature\\PingTest::__pest_evaluable_it_b2b_service_executePing_test":0.408}} \ No newline at end of file diff --git a/composer.json b/composer.json index db13cc9..803f70c 100644 --- a/composer.json +++ b/composer.json @@ -37,8 +37,8 @@ "nunomaduro/collision": "^7.0", "nunomaduro/larastan": "^2.4.0", "orchestra/testbench": "^8.0", - "pestphp/pest": "2.x-dev", - "pestphp/pest-plugin-laravel": "2.x-dev", + "pestphp/pest": "^2.0", + "pestphp/pest-plugin-laravel": "^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0",