File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - 1.x
7+ - 2.x
78 pull_request :
89 branches :
910 - ' *'
Original file line number Diff line number Diff line change 1414 "composer-plugin-api" : " ^2.0"
1515 },
1616 "require-dev" : {
17- "cakephp/cakephp-codesniffer" : " 5.x-dev " ,
17+ "cakephp/cakephp-codesniffer" : " ^5.0 " ,
1818 "composer/composer" : " ^2.0" ,
1919 "phpunit/phpunit" : " ^9.5.19"
2020 },
Original file line number Diff line number Diff line change 1414
1515class PluginTest extends TestCase
1616{
17- /**
18- * @var \Composer\Composer
19- */
20- protected $ composer ;
17+ protected Composer $ composer ;
2118
22- /**
23- * @var \Composer\Package\Package
24- */
25- protected $ package ;
19+ protected Package $ package ;
2620
2721 /**
2822 * @var \Composer\IO\IOInterface&\PHPUnit\Framework\MockObject\MockObject
2923 */
3024 protected $ io ;
3125
32- /**
33- * @var \Cake\Composer\Plugin
34- */
35- protected $ plugin ;
26+ protected Plugin $ plugin ;
3627
3728 /**
3829 * Directories used during tests
3930 *
40- * @var array
31+ * @var array<string>
4132 */
42- protected $ testDirs = [
33+ protected array $ testDirs = [
4334 '' ,
4435 'vendor ' ,
4536 'plugins ' ,
@@ -51,6 +42,8 @@ class PluginTest extends TestCase
5142 'app_plugins/Bar ' ,
5243 ];
5344
45+ protected string $ path ;
46+
5447 /**
5548 * setUp
5649 *
You can’t perform that action at this time.
0 commit comments