Skip to content
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

added laravel 9 support #1297

Merged
merged 6 commits into from
Jan 13, 2022
Merged

added laravel 9 support #1297

merged 6 commits into from
Jan 13, 2022

Conversation

rcerljenko
Copy link
Contributor

Summary

  • Added Laravel 9 Support to composer.json and tests

@rcerljenko rcerljenko mentioned this pull request Jan 13, 2022
Copy link
Collaborator

@mfn mfn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some combinations of PHP / Laravel are not valid in the test matrix, can you please fix them?

.github/workflows/run-integration-tests.yml Outdated Show resolved Hide resolved
.github/workflows/run-tests.yml Show resolved Hide resolved
@rcerljenko rcerljenko requested a review from mfn January 13, 2022 10:10
Copy link
Collaborator

@mfn mfn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're not yet there, the matrix isn't correctly generated yet, see my inline feedback.

Another thing: L9 is not yet available for the integration tests, see https://github.com/barryvdh/laravel-ide-helper/runs/4802033128?check_suite_focus=true#step:4:13

So until this works, we can't merge and probably have to wait until the actual release.

laravel: [8.*]
laravel: [8.*, 9.*]
exclude:
- php: [7.4, 7.3]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The matrix still generates jobs for PHP 7.4 and Laravel 9, see https://github.com/barryvdh/laravel-ide-helper/actions/runs/1692091626

Maybe the […, …] is not supported and you've to manually list each?

- php 7.3
  laravel: 9.*
- php 7.4
  laravel: 9.*

Just a guess though

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok i've updated matrix to suggested syntax.. sorry it's my first time with github actions syntax

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

np!

yeah it can be a PITA, also since you're first time contributor, we've to manually enabled running the workflows everytime 😅 (I just did, let's wait for the result)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're one step further, next problem: orchestra/benchmark also needs to have adapted version constraints, see https://github.com/barryvdh/laravel-ide-helper/runs/4803289512?check_suite_focus=true#step:5:20

I see they have not yet made a new 7.* release at https://github.com/orchestral/testbench-core but their branch is also updated. Maybe we can use dev-master there or we need to wait.

FTR: If you feel overwhelmed / frustrated, don't be: I can take it from here later if you want.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mfn if it's not a problem please take it from here because i don't wan't to break something... thx for the support! :)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's wait for the 9.x release to run the ingration tests.

@rcerljenko rcerljenko requested a review from mfn January 13, 2022 11:22
@mfn
Copy link
Collaborator

mfn commented Jan 13, 2022

@barryvdh nice, thx; seems to work already

Now we've to wait for the composer laravel installer to switch to L9 I guess?

@barryvdh
Copy link
Owner

Yeah let's skip the integration test for Laravel 9 for now, but do just the unit tests.

@barryvdh
Copy link
Owner

The tests run :)

@rcerljenko
Copy link
Contributor Author

@barryvdh then it's safe to merge? :)

@barryvdh
Copy link
Owner

Yeah if @mfn approves

Copy link
Collaborator

@mfn mfn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work all, thanks! 🙏🏼

@barryvdh can you add this to the changelog? I can't push unfortunately:
- Added Laravel 9 support [#1297 / rcerljenko](https://github.com/barryvdh/laravel-ide-helper/pull/1297)

@barryvdh barryvdh merged commit de64d66 into barryvdh:master Jan 13, 2022
@barryvdh barryvdh mentioned this pull request Jan 23, 2022
mfn added a commit to mfn/laravel-ide-helper that referenced this pull request Jan 23, 2022
### Added
- Add support for custom casts that using `Castable` [barryvdh#1287 / binotaliu](barryvdh#1287)
- Added Laravel 9 support [barryvdh#1297 / rcerljenko](barryvdh#1297)
@mfn mfn mentioned this pull request Jan 23, 2022
9 tasks
renaforsberg824 added a commit to renaforsberg824/ide-helper-laravel-developer that referenced this pull request Oct 5, 2022
### Added
- Add support for custom casts that using `Castable` [#1287 / binotaliu](barryvdh/laravel-ide-helper#1287)
- Added Laravel 9 support [#1297 / rcerljenko](barryvdh/laravel-ide-helper#1297)
lisadeloach63 added a commit to lisadeloach63/ide-helper-reso-laravel that referenced this pull request Oct 7, 2022
### Added
- Add support for custom casts that using `Castable` [#1287 / binotaliu](barryvdh/laravel-ide-helper#1287)
- Added Laravel 9 support [#1297 / rcerljenko](barryvdh/laravel-ide-helper#1297)
sadafrangian3 pushed a commit to sadafrangian3/ide-helper-laravel that referenced this pull request Oct 18, 2022
### Added
- Add support for custom casts that using `Castable` [#1287 / binotaliu](barryvdh/laravel-ide-helper#1287)
- Added Laravel 9 support [#1297 / rcerljenko](barryvdh/laravel-ide-helper#1297)
smile1130 added a commit to smile1130/laravel-IDE that referenced this pull request Jun 16, 2023
### Added
- Add support for custom casts that using `Castable` [#1287 / binotaliu](barryvdh/laravel-ide-helper#1287)
- Added Laravel 9 support [#1297 / rcerljenko](barryvdh/laravel-ide-helper#1297)
d3v2a pushed a commit to d3v2a/laravel-ide-helper that referenced this pull request Feb 16, 2024
* added laravel 9 support

* added exclude directives to matrix

* fixed matrix

* Update composer.json

* Update run-integration-tests.yml

* Update CHANGELOG.md

Co-authored-by: Ricardo Čerljenko <[email protected]>
Co-authored-by: Barry vd. Heuvel <[email protected]>
d3v2a pushed a commit to d3v2a/laravel-ide-helper that referenced this pull request Feb 16, 2024
### Added
- Add support for custom casts that using `Castable` [barryvdh#1287 / binotaliu](barryvdh#1287)
- Added Laravel 9 support [barryvdh#1297 / rcerljenko](barryvdh#1297)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants