File tree Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ services:
44 type : php:custom
55 via : cli
66 overrides :
7- image : slimdeluxe/php:8.1
7+ image : slimdeluxe/php:8.3-v1.0
88tooling :
99 php :
1010 service : appserver
@@ -14,3 +14,7 @@ tooling:
1414 service : appserver
1515 description : Run tests
1616 cmd : " composer test"
17+ format :
18+ service : appserver
19+ description : Fix code style issues
20+ cmd : " composer format"
Original file line number Diff line number Diff line change 3232 }
3333 },
3434 "require" : {
35- "php" : " >=8.1 "
35+ "php" : " ^8.3 "
3636 },
3737 "require-dev" : {
38- "laravel/pint" : " ^1.13 " ,
39- "pestphp/pest" : " ^2.24 "
38+ "laravel/pint" : " ^1.21 " ,
39+ "pestphp/pest" : " ^3.7.4 "
4040 },
4141 "scripts" : {
4242 "format" : " vendor/bin/pint" ,
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : noNamespaceSchemaLocation =" https://schema. phpunit.de/10.3 /phpunit.xsd"
3+ xsi : noNamespaceSchemaLocation =" vendor/ phpunit/phpunit /phpunit.xsd"
44 bootstrap =" vendor/autoload.php"
55 colors =" true"
66>
Original file line number Diff line number Diff line change 77|
88| The closure you provide to your test functions is always bound to a specific PHPUnit test
99| case class. By default, that class is "PHPUnit\Framework\TestCase". Of course, you may
10- | need to change it using the "uses ()" function to bind a different classes or traits.
10+ | need to change it using the "pest ()" function to bind a different classes or traits.
1111|
1212*/
1313
14- // uses(Tests\TestCase::class)->in('Feature');
14+ /*
15+ pest()->extend(Tests\TestCase::class)
16+ ->in('Feature');
17+ */
1518
1619/*
1720|--------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments