1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 08:30:07 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Chris Brown
0b341a7ca1 Update test suite to phpunit 9.5
Update test suite to phpunit 9.5 syntax
Refactored to use polyfill for older PHP versions via `yoast/phpunit-polyfills`

Note: this includes 2 important differences from usual phpunit test suites:
- instead of extending `PHPUnit\Framework\TestCase` we extend `Yoast\PHPUnitPolyfills\TestCases\TestCase`
- instead of handling fixtures via `setUp()` and `tearDown()` we use `set_up()` and `tear_down()` respectively

Comment regarding formatting: I chose to use the FQDN in the `extends` syntax of the class declaration instead of using `use` so that it is more quickly apparent that we're doing something slightly different than usual phpunit syntax, particularly in regards to the set_up() / tear_down() methods that appear immediately following the `extends` line.
2020-11-29 12:10:05 -05:00
Miguel Piedrafita
5e43cf872a wip 2020-11-03 15:29:45 +00:00
Miguel Piedrafita
ecbc87b9b1 wip 2020-11-03 15:25:20 +00:00
Chris Brown
38e0072d3e Convert to GitHub Actions 2020-11-03 11:02:18 +00:00
Matt Stauffer
aa09445d3a Add issue template 2020-05-04 16:25:00 -04:00