Skip to content

Commit fd13279

Browse files
Merge pull request #233 from MarcinOrlowski/dev
Release 9.4.0
2 parents 4964aa6 + 89994a8 commit fd13279

File tree

107 files changed

+3835
-3904
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+3835
-3904
lines changed

.codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# @package MarcinOrlowski\ResponseBuilder
66
#
77
# @author Marcin Orlowski <mail (#) marcinOrlowski (.) com>
8-
# @copyright 2016-2022 Marcin Orlowski
8+
# @copyright 2016-2023 Marcin Orlowski
99
# @license http://www.opensource.org/licenses/mit-license.php MIT
1010
# @link https://github.com/MarcinOrlowski/laravel-api-response-builder
1111
#

.config/README.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.config/composer-laravel-6.x.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

.config/composer-laravel-7.x.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

.config/composer-laravel-8.x.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

.config/composer-laravel-9.x.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/coding-standards.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# @package MarcinOrlowski\ResponseBuilder
66
#
77
# @author Marcin Orlowski <mail (#) marcinOrlowski (.) com>
8-
# @copyright 2016-2022 Marcin Orlowski
8+
# @copyright 2016-2023 Marcin Orlowski
99
# @license http://www.opensource.org/licenses/mit-license.php MIT
1010
# @link https://github.com/MarcinOrlowski/laravel-api-response-builder
1111
#
@@ -26,18 +26,14 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
# quotes are needed it is treated as a number and zero at decimal part is gone at runtime
29-
laravel: ["8.x"]
29+
laravel: ["9.x"]
3030
php: ["8.0", "8.1"]
3131

3232
runs-on: ubuntu-latest
3333

3434
steps:
3535
- name: "Checkout repository..."
36-
uses: actions/checkout@v2
37-
38-
- name: "Setup proper composer.json"
39-
shell: bash
40-
run: cp -f ".config/composer-laravel-${{ matrix.laravel }}.json" composer.json
36+
uses: actions/checkout@v3
4137

4238
# https://github.com/marketplace/actions/composer-php-actions
4339
- name: "Installing dependencies..."

.github/workflows/coverage.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# @package MarcinOrlowski\ResponseBuilder
66
#
77
# @author Marcin Orlowski <mail (#) marcinOrlowski (.) com>
8-
# @copyright 2016-2022 Marcin Orlowski
8+
# @copyright 2016-2023 Marcin Orlowski
99
# @license http://www.opensource.org/licenses/mit-license.php MIT
1010
# @link https://github.com/MarcinOrlowski/laravel-api-response-builder
1111
#
@@ -29,18 +29,14 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
# quotes are needed it is treated as a number and zero at decimal part is gone at runtime
32-
laravel: ["8.x"]
32+
laravel: ["9.x"]
3333
php: ["8.0", "8.1"]
3434

3535
runs-on: ubuntu-latest
3636

3737
steps:
3838
- name: "Checkout repository..."
39-
uses: actions/checkout@v2
40-
41-
- name: "Setup proper composer.json"
42-
shell: bash
43-
run: cp -f ".config/composer-laravel-${{ matrix.laravel }}.json" composer.json
39+
uses: actions/checkout@v3
4440

4541
# https://github.com/marketplace/actions/composer-php-actions
4642
- name: "Installing dependencies..."
@@ -50,6 +46,10 @@ jobs:
5046
php_version: "${{ matrix.php }}"
5147
dev: yes
5248

49+
- name: "Patching testbench's onNotSuccessfulTest() signature..."
50+
shell: bash
51+
run: "sed -i 's/^protected function onNotSuccessfulTest(Throwable \\$exception)\\: void/protected function onNotSuccessfulTest(Throwable \\$exception)\\: never/' vendor/orchestra/testbench-core/src/TestCase.php"
52+
5353
# https://github.com/marketplace/actions/phpunit-php-actions
5454
- name: "Running PHPUnit with Coverage..."
5555
uses: php-actions/phpunit@v3

.github/workflows/markdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717

1818
# https://github.com/marketplace/actions/my-markdown-linter
1919
- name: "Running markdown linter..."

.github/workflows/phpstan.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# @package MarcinOrlowski\ResponseBuilder
66
#
77
# @author Marcin Orlowski <mail (#) marcinOrlowski (.) com>
8-
# @copyright 2016-2022 Marcin Orlowski
8+
# @copyright 2016-2023 Marcin Orlowski
99
# @license http://www.opensource.org/licenses/mit-license.php MIT
1010
# @link https://github.com/MarcinOrlowski/laravel-api-response-builder
1111
#
@@ -29,18 +29,14 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
# quotes are needed it is treated as a number and zero at decimal part is gone at runtime
32-
laravel: ["8.x"]
33-
php: ["7.4", "8.0", "8.1"]
32+
laravel: ["9.x"]
33+
php: ["8.0", "8.1"]
3434

3535
runs-on: ubuntu-latest
3636

3737
steps:
3838
- name: "Checkout repository..."
39-
uses: actions/checkout@v2
40-
41-
- name: "Setup proper composer.json"
42-
shell: bash
43-
run: cp -f ".config/composer-laravel-${{ matrix.laravel }}.json" composer.json
39+
uses: actions/checkout@v3
4440

4541
# https://github.com/marketplace/actions/composer-php-actions
4642
- name: "Installing dependencies..."
@@ -50,10 +46,18 @@ jobs:
5046
php_version: "${{ matrix.php }}"
5147
dev: yes
5248

53-
# https://github.com/marketplace/actions/phpstan-php-actions
49+
# # https://github.com/marketplace/actions/phpstan-php-actions
50+
# - name: "Running PHPStan..."
51+
# uses: php-actions/phpstan@v3
52+
# with:
53+
# configuration: "phpstan.neon"
54+
# php_version: "${{ matrix.php }}"
55+
# # memory_limit: "16M"
56+
57+
# - name: "Making cache folder writable"
58+
# shell: bash
59+
# run: chmod 777 vendor/orchestra/testbench-core/laravel/bootstrap/cache
60+
5461
- name: "Running PHPStan..."
55-
uses: php-actions/phpstan@v3
56-
with:
57-
configuration: "phpstan.neon"
58-
php_version: "${{ matrix.php }}"
59-
memory_limit: 16M
62+
shell: bash
63+
run: vendor/bin/phpstan

0 commit comments

Comments
 (0)