laravel-openapi icon indicating copy to clipboard operation
laravel-openapi copied to clipboard

Add Support for Laravel 11 and Enhance CI Testing

Open KentarouTakeda opened this issue 1 year ago • 3 comments

Laravel 11 ~~will be~~ has been released. Accordingly, this pull request provides support for the new version and CI enhancements.

closes #112

List of changes

  • Added support for Laravel 11
  • Enhancement of CI
    • Expansion of PHP versions: 8.3 has been newly added in addition to 8.0 - 8.2.
    • Multiple Laravel versions: Tested on 3 versions: 9.x - 11.x.
  • Fixed points due to support addition
    • orchestral/testbench version expansion: Laravel 11 requires Testbench 9.x
    • phpunit/phpunit version expansion: Testbench 9.x requires PHPUnit 10
    • Fixed some tests: Changes in PHPUnit 10.0

      Using a non-static method as a data provider is now deprecated

No code modifications were made except for the deprecation of PHPUnit. Under these conditions, I confirmed that all eight combinations of PHP and Laravel versions passed the test without any problems. The results can be seen here.

I look forward to your feedback and reviews. Thank you for your consideration.

KentarouTakeda avatar Feb 05 '24 08:02 KentarouTakeda