Skip to content

Commit 5734b53

Browse files
author
Robert
committed
Merge branch '3-add-v1-update-to-v2' into 'main'
Resolve "Add v1 update to v2" See merge request xolvio-nl/laravel-data-openapi-generator!2
2 parents 7f610e6 + d1ea9fa commit 5734b53

22 files changed

+618
-240
lines changed

.gitlab-ci.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
stages:
2+
- all
3+
4+
variables:
5+
GIT_SUBMODULE_STRATEGY: recursive
6+
7+
backend:
8+
only:
9+
- merge_requests
10+
except:
11+
variables:
12+
- $CI_MERGE_REQUEST_TITLE =~ /^Draft/
13+
stage: all
14+
image: xolvionl/laravel:minimal
15+
before_script:
16+
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/".insteadOf "[email protected]:"
17+
script:
18+
- composer install
19+
- composer validate --strict
20+
- composer larastan
21+
- composer format-dry
22+
- composer test

composer.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
"format": [
2929
"@php ./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --verbose --config=./php-cs.php --path-mode=intersection . --ansi"
3030
],
31+
"format-dry": [
32+
"@php ./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --dry-run --verbose --config=./php-cs.php --path-mode=intersection . --ansi"
33+
],
3134
"larastan": [
3235
"vendor/bin/phpstan analyse"
3336
],
@@ -42,9 +45,9 @@
4245
"spatie/invade": "^1.0"
4346
},
4447
"require-dev": {
45-
"friendsofphp/php-cs-fixer": "^3.8",
46-
"nunomaduro/larastan": "^2.1",
47-
"orchestra/testbench": "^7.5",
48+
"friendsofphp/php-cs-fixer": "^3.11",
49+
"nunomaduro/larastan": "^2.2",
50+
"orchestra/testbench": "^7.8",
4851
"pestphp/pest": "^1.21"
4952
},
5053
"config": {

0 commit comments

Comments
 (0)