File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77return RectorConfig::configure ()
88 ->withPaths ([
99 __DIR__ . '/src ' ,
10+ __DIR__ . '/tests ' ,
1011 ])
11- ->withRules ([\Rector \CodeQuality \Rector \Class_ \CompleteDynamicPropertiesRector::class]);
12+ ->withRules ([
13+ \Rector \CodeQuality \Rector \Class_ \CompleteDynamicPropertiesRector::class,
14+ ]);
Original file line number Diff line number Diff line change 1212class FormBuilderTest extends BackwardCompatibleTestCase
1313{
1414
15+ private FormBuilder $ formBuilder ;
16+
1517 /**
1618 * Setup the test environment.
1719 */
1820 protected function setUp (): void
1921 {
20- $ this -> urlGenerator = new UrlGenerator (new RouteCollection , Request::create ('/foo ' , 'GET ' ));
21- $ this -> htmlBuilder = new HtmlBuilder ($ this -> urlGenerator );
22- $ this ->formBuilder = new FormBuilder ($ this -> htmlBuilder , $ this -> urlGenerator , '' );
22+ $ urlGenerator = new UrlGenerator (new RouteCollection , Request::create ('/foo ' , 'GET ' ));
23+ $ htmlBuilder = new HtmlBuilder ($ urlGenerator );
24+ $ this ->formBuilder = new FormBuilder ($ htmlBuilder , $ urlGenerator , '' );
2325 }
2426
2527
Original file line number Diff line number Diff line change 1212class QueueSqsJobTest extends BackwardCompatibleTestCase
1313{
1414
15+ private string $ key ;
16+ private string $ secret ;
17+ private string $ service ;
18+ private string $ region ;
19+ private string $ account ;
20+ private string $ queueName ;
21+ private string $ baseUrl ;
22+ private Credentials $ credentials ;
23+ private SignatureV4 $ signature ;
24+ private Collection $ config ;
25+ private string $ queueUrl ;
26+ private \PHPUnit \Framework \MockObject \MockObject $ mockedSqsClient ;
27+ private $ mockedContainer ;
28+ private string $ mockedJob ;
29+ /**
30+ * @var string[]
31+ */
32+ private array $ mockedData ;
33+ /**
34+ * @var bool|non-empty-string
35+ */
36+ private string |bool $ mockedPayload ;
37+ private string $ mockedMessageId ;
38+ private string $ mockedReceiptHandle ;
39+ private array $ mockedJobData ;
40+
1541 protected function setUp (): void
1642 {
1743 $ this ->markTestSkipped ();
Original file line number Diff line number Diff line change 1111class QueueSqsQueueTest extends BackwardCompatibleTestCase
1212{
1313
14+ private $ sqs ;
15+ private string $ account ;
16+ private string $ queueName ;
17+ private string $ baseUrl ;
18+ private string $ queueUrl ;
19+ private string $ mockedJob ;
20+ private array $ mockedData ;
21+ private string |false $ mockedPayload ;
22+ private int $ mockedDelay ;
23+ private string $ mockedMessageId ;
24+ private string $ mockedReceiptHandle ;
25+ private Model $ mockedSendMessageResponseModel ;
26+ private Model $ mockedReceiveMessageResponseModel ;
27+
1428 protected function tearDown (): void
1529 {
1630 m::close ();
You can’t perform that action at this time.
0 commit comments