1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 08:30:07 +01:00
Files
laravel-valet/composer.json
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

47 lines
1.1 KiB
JSON

{
"name": "laravel/valet",
"description": "A more enjoyable local development experience for Mac.",
"keywords": ["laravel", "zonda", "wwdhhd"],
"license": "MIT",
"authors": [
{
"name": "Taylor Otwell",
"email": "taylor@laravel.com"
},
{
"name": "Adam Wathan",
"email": "adam.wathan@gmail.com"
}
],
"autoload": {
"files": [
"cli/includes/compatibility.php",
"cli/includes/facades.php",
"cli/includes/helpers.php"
],
"psr-4": {
"Valet\\": "cli/Valet/"
}
},
"require": {
"php": ">=5.6",
"illuminate/container": "~5.1|^6.0|^7.0|^8.0",
"mnapoli/silly": "~1.0",
"symfony/process": "~3.0|~4.0|~5.0",
"nategood/httpful": "~0.2",
"tightenco/collect": "^5.3|^6.0|^7.0|^8.0"
},
"require-dev": {
"mockery/mockery": "^1.2.3",
"yoast/phpunit-polyfills": "^0.2.0"
},
"bin": [
"valet"
],
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
}
}
}