diff --git a/composer.json b/composer.json index 60561c4..6709e07 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ ], "require": { "php": "^8.0", - "craftcms/cms": "^4.0.0", + "craftcms/cms": "^3.0.0", "symfony/process": "^5.0" }, "autoload": { diff --git a/tests/RateLimiterTest.php b/tests/RateLimiterTest.php index 36df1b2..8475657 100644 --- a/tests/RateLimiterTest.php +++ b/tests/RateLimiterTest.php @@ -10,7 +10,7 @@ */ class RateLimiterTest extends TestCase { - public $plugin; + public ostark\AsyncQueue\Plugin $plugin; public function setUp(): void { diff --git a/tests/_craft/storage/logs/.gitignore b/tests/_craft/storage/logs/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/tests/_craft/storage/logs/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 6aa2fb5..9938ea0 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -47,7 +47,7 @@ // Initialize the application /** @var \craft\web\Application|craft\console\Application $app */ -$app = Craft::createObject($config); +$app = Craft::createObject($config); /** @phpstan-ignore-line */ // Load and run Craft