-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Update php-laravel to newer versions #24196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
8f19d09
update php laravel to newer versions
wing328 468633d
update worfklow
wing328 54065b4
update workflow
wing328 d1137fd
update workflow
wing328 3ac24ce
use custom spec
wing328 2b5f64f
use custom spec
wing328 ce89624
update
wing328 d89e689
update
wing328 28595ac
update
wing328 2d4496f
update
wing328 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| name: Samples php-laravel 8.x | ||
|
|
||
| on: | ||
| push: | ||
| paths: | ||
| - samples/server/petstore/php-laravel/** | ||
| - samples/server/petstore/php-laravel-issue-21334/** | ||
| pull_request: | ||
| paths: | ||
| - samples/server/petstore/php-laravel/** | ||
| - samples/server/petstore/php-laravel-issue-21334/** | ||
| jobs: | ||
| build: | ||
| name: Build | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| php: | ||
| - "8.3" | ||
| - "8.4" | ||
| sample: | ||
| # servers | ||
| # comment out due to errors | ||
| #- samples/server/petstore/php-laravel/ | ||
| - samples/server/petstore/php-laravel-issue-21334/ | ||
| steps: | ||
| - uses: actions/checkout@v7 | ||
| - name: Setup PHP with tools | ||
| uses: shivammathur/setup-php@v2 | ||
| with: | ||
| php-version: "${{ matrix.php }}" | ||
| - name: composer install | ||
| working-directory: ${{ matrix.sample }} | ||
| run: composer install | ||
| - name: phpstan | ||
| working-directory: ${{ matrix.sample }} | ||
| run: | | ||
| composer require --dev phpstan/phpstan | ||
| vendor/bin/phpstan analyse Api Http Model routes.php | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| generatorName: php-laravel | ||
| outputDir: samples/server/petstore/php-laravel | ||
| inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml | ||
| inputSpec: modules/openapi-generator/src/test/resources/3_0/php-laravel/petstore-with-fake-endpoints-models-for-testing.yaml | ||
| templateDir: modules/openapi-generator/src/main/resources/php-laravel | ||
| gitUserId: openapitools | ||
| gitRepoId: petstore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: No
phpstan.neonorphpstan.neon.distexists in the sample directory, so PHPStan defaults to level 0 (basic checks only). The analysis will miss type-safety issues, missing return types, and dead code that a higher level would catch — limiting the value of running static analysis at all.Prompt for AI agents