File tree Expand file tree Collapse file tree 3 files changed +48
-1
lines changed Expand file tree Collapse file tree 3 files changed +48
-1
lines changed Original file line number Diff line number Diff line change 1515 "vlucas/phpdotenv" : " ^5.6"
1616 },
1717 "require-dev" : {
18+ "laravel/pint" : " ^1.22" ,
1819 "phpstan/phpstan" : " ^2.1" ,
1920 "phpstan/phpstan-phpunit" : " ^2.0" ,
2021 "phpunit/phpunit" : " ^12.2"
5859 ],
5960 "test:unit" : " phpunit" ,
6061 "test:type" : " phpstan analyse --ansi --no-progress" ,
62+ "test:lint" : " pint" ,
6163 "test" : [
6264 " @test:type" ,
63- " @test:unit"
65+ " @test:unit" ,
66+ " @test:lint"
6467 ]
6568 },
6669 "minimum-stability" : " dev" ,
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
4+ bootstrap =" vendor/autoload.php"
5+ cacheDirectory =" .phpunit.cache"
6+ executionOrder =" depends,defects"
7+ requireCoverageMetadata =" true"
8+ beStrictAboutCoverageMetadata =" true"
9+ beStrictAboutOutputDuringTests =" true"
10+ displayDetailsOnPhpunitDeprecations =" true"
11+ failOnPhpunitDeprecation =" true"
12+ failOnRisky =" true"
13+ failOnWarning =" true"
14+ colors =" true" >
15+ <testsuites >
16+ <testsuite name =" default" >
17+ <directory >tests</directory >
18+ </testsuite >
19+ </testsuites >
20+
21+ <source ignoreIndirectDeprecations =" true" restrictNotices =" true" restrictWarnings =" true" >
22+ <include >
23+ <directory >src</directory >
24+ </include >
25+ </source >
26+ </phpunit >
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace Supabase ;
6+
7+ class Client
8+ {
9+ protected string $ url ;
10+
11+ protected string $ apiKey ;
12+
13+ public function __construct (string $ url , string $ key )
14+ {
15+ $ this ->url = $ url ;
16+ $ this ->apiKey = $ key ;
17+ }
18+ }
You can’t perform that action at this time.
0 commit comments