Skip to content

Commit

Permalink
Merge branch '3-add-v1-update-to-v2' into 'main'
Browse files Browse the repository at this point in the history
Resolve "Add v1 update to v2"

See merge request xolvio-nl/laravel-data-openapi-generator!2
  • Loading branch information
Robert committed Sep 28, 2022
2 parents 7f610e6 + d1ea9fa commit 5734b53
Show file tree
Hide file tree
Showing 22 changed files with 618 additions and 240 deletions.
22 changes: 22 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
stages:
- all

variables:
GIT_SUBMODULE_STRATEGY: recursive

backend:
only:
- merge_requests
except:
variables:
- $CI_MERGE_REQUEST_TITLE =~ /^Draft/
stage: all
image: xolvionl/laravel:minimal
before_script:
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/".insteadOf "[email protected]:"
script:
- composer install
- composer validate --strict
- composer larastan
- composer format-dry
- composer test
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
"format": [
"@php ./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --verbose --config=./php-cs.php --path-mode=intersection . --ansi"
],
"format-dry": [
"@php ./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --dry-run --verbose --config=./php-cs.php --path-mode=intersection . --ansi"
],
"larastan": [
"vendor/bin/phpstan analyse"
],
Expand All @@ -42,9 +45,9 @@
"spatie/invade": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.8",
"nunomaduro/larastan": "^2.1",
"orchestra/testbench": "^7.5",
"friendsofphp/php-cs-fixer": "^3.11",
"nunomaduro/larastan": "^2.2",
"orchestra/testbench": "^7.8",
"pestphp/pest": "^1.21"
},
"config": {
Expand Down
Loading

0 comments on commit 5734b53

Please sign in to comment.