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

Laravel 5.8 support #30

Merged
merged 13 commits into from
Jun 12, 2019

Conversation

CmdrSharp
Copy link
Contributor

@CmdrSharp CmdrSharp commented Apr 28, 2019

Changes

  • Adding support for Laravel 5.8
  • Removing support for Laravel 5.3 and 5.4 (see notes)
  • Restricting PHP Version to 7.2 or above as per https://laravel.com/docs/5.8/installation and https://phpunit.de/announcements/phpunit-8.html
  • Upping PHPUnit requirement to ~8.0. Laravel 5.8 still technically supports PHPUnit 7 - but Laravel 5.9 very likely won't due to PHP Version requirement changes.
  • Upping mockery requirement to ^1.0
  • Added dms/phpunit-arraysubset-asserts to require-dev due to assertArraySubset being deprecated in PHPUnit 9.
  • Fixed deprecated method calls in unit tests.

Notes:

Compatibility with older orchestra/testbench releases has to go if we want to use newer PHPUnit versions.
Furthermore, this release should (in my opinion) stop supporting PHP 5.6, 7.0 and 7.1 - all of which are EOL.

Fixes:

This fixes #29.

- Adding support for Laravel 5.8
- Removing support for Laravel 5.3 and 5.4 **(see notes)**
- Restricting PHP Version to 7.2 or above as per https://laravel.com/docs/5.8/installation and https://phpunit.de/announcements/phpunit-8.html
- Upping PHPUnit requirement to `~8.0`. Laravel 5.8 still technically supports PHPUnit 7 - but Laravel 5.9 very likely won't.
- Removed unsupported PHP Versions and added `PHP 7.2` and `PHP 7.3` to test suite.
Adding `"dms/phpunit-arraysubset-asserts": ">=0.1.0"`
Due to upcoming deprecation.
`setExpectedException` was deprecated. Replaced with `expectException` and `expectExceptionMessage`.
`setExpectedException` is deprecated. Updated to `expectException`.
@CmdrSharp
Copy link
Contributor Author

CmdrSharp commented Apr 28, 2019

This should be a major release due to breaking backwards compatibility.

@ghost
Copy link

ghost commented May 6, 2019

Please merge this :-)

@casperboone
Copy link
Member

Sorry for the delay, nice work @CmdrSharp! Thanks :)

@casperboone casperboone merged commit 82ea738 into laravel-notification-channels:master Jun 12, 2019
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.

Laravel 5.8 support
2 participants