starfolksoftware / paysub

Paysub offers basic subscription management for laravel applications. Currently supports only paystack for payment.
MIT License
2 stars 0 forks source link

Tests not passing #14

Closed frknasir closed 3 years ago

frknasir commented 3 years ago

Tests are not passing with the following erros:

There were 13 errors:

1) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_subscriptions_can_be_created
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

2) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_swapping_subscription_and_preserving_quantity
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

3) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_swapping_subscription_and_adopting_new_quantity
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

4) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_creating_subscription_with_an_anchored_billing_cycle
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

5) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_creating_subscription_with_trial
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

6) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_user_without_subscriptions_can_return_its_generic_trial_end_date
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

7) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_creating_subscription_with_explicit_trial
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

8) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_trial_on_swap_is_skipped_when_explicitly_asked_to
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

9) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_trials_can_be_extended
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

10) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_trials_extension_date_is_not_in_the_past
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

11) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_trials_can_be_ended
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

12) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_subscription_state_scopes
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

13) StarfolkSoftware\Paysub\Tests\Unit\InvoiceTest::test_we_can_get_a_carbon_date_for_the_invoice
Exception: DateTime::__construct(): Faile
frknasir commented 3 years ago

This issue may have something to do with this https://github.com/IlchCMS/Ilch-2.0/issues/475 and https://php.watch/versions/8.0/deprecated-reflectionparameter-methods