Skip to content

Support Laravel 13.x#28

Open
chrillep wants to merge 4 commits into
365Werk:masterfrom
chrillep:master
Open

Support Laravel 13.x#28
chrillep wants to merge 4 commits into
365Werk:masterfrom
chrillep:master

Conversation

@chrillep
Copy link
Copy Markdown

@chrillep chrillep commented Mar 25, 2026

From the PHPUnit 8 release notes, the TestCase methods below now declare a void return type:

  • setUpBeforeClass()
  • setUp()
  • assertPreConditions()
  • assertPostConditions()
  • tearDown()
  • tearDownAfterClass()
  • onNotSuccessfulTest()
  • Adopt PHP attributes in test classes

  • Add return types to test methods

  • Define test classes as final


closes #27

* Bump dependencies for Laravel 13

* PHPUnit 12 Shift (#2)

* Bump PHPUnit dependencies

* Set return type of base TestCase methods

From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type:

- `setUpBeforeClass()`
- `setUp()`
- `assertPreConditions()`
- `assertPostConditions()`
- `tearDown()`
- `tearDownAfterClass()`
- `onNotSuccessfulTest()`

[1]: https://phpunit.de/announcements/phpunit-8.html

* Adopt PHP attributes in test classes

* Add return types to test methods

* Define test classes as `final`

---------

Co-authored-by: Shift <shift@laravelshift.com>

---------

Co-authored-by: Shift <shift@laravelshift.com>
@chrillep chrillep changed the title Support Laravel 13.x (#1) Support Laravel 13.x Mar 25, 2026
Copilot AI and others added 2 commits March 26, 2026 11:55
* Initial plan

* Fix alphabetical ordering of use statements in test files

Co-authored-by: chrillep <1267931+chrillep@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chrillep/etagconditionals/sessions/2a850694-3bc5-4413-ae12-ff9aac9bd13e

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: chrillep <1267931+chrillep@users.noreply.github.com>
* Initial plan

* Fix PHP runtime build error: downgrade PHP version from 8.3 to 8.2 in .scrutinizer.yml

Co-authored-by: chrillep <1267931+chrillep@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chrillep/etagconditionals/sessions/43f5e0f4-10a3-44ce-85be-9daaf2331fff

* Fix Scrutinizer CI: pin PHP to 8.3.3 to avoid broken 8.3.4 mirror

Co-authored-by: chrillep <1267931+chrillep@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chrillep/etagconditionals/sessions/9c5eff0d-2a61-4f8c-9f84-20f4a2a6292d

* Fix Scrutinizer CI: update PHP version to 8.3.28 (confirmed working on mirror)

Co-authored-by: chrillep <1267931+chrillep@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chrillep/etagconditionals/sessions/37d5f5ba-b4e9-49d9-9ff7-76ccff4dfdd6

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: chrillep <1267931+chrillep@users.noreply.github.com>
@chrillep
Copy link
Copy Markdown
Author

chrillep commented Mar 26, 2026

@HergenD @asbiin if and or when you merge it could you please bump the version on packagist https://packagist.org/packages/werk365/etagconditionals aswell. ❤️

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 13.x Compatibility

2 participants