Skip to content

Commit

Permalink
Merge pull request #47 from harishdurga/support_laravel_11
Browse files Browse the repository at this point in the history
Support laravel 11
  • Loading branch information
harishdurga authored Aug 17, 2024
2 parents 1a167ba + a11fed5 commit 9bf62f7
Show file tree
Hide file tree
Showing 15 changed files with 2,880 additions and 1,963 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [8.1]
laravel: [10.*]
php: [8.2]
laravel: [11.*]
stability: [prefer-stable]
include:
- laravel: 10.*
testbench: ^8.0
- laravel: 11.*
testbench: ^9.0
env:
DB_CONNECTION: testing
DB_DATABASE: laravel
Expand Down
1 change: 1 addition & 0 deletions .phpunit.cache/test-results
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"defects":[],"times":{"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuestionTest::question":0.013,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuestionTest::question_question_type_relation":0.003,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuestionTest::question_and_topics_relation":0.02,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuestionTest::question_and_question_options_relation":0.002,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuestionTest::testQuestionTypeSeeding":0.004,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_1_question_no_negative_marks":0.007,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_1_question_with_negative_marks_question_fixed":0.005,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_1_question_with_negative_marks_question_percentage":0.004,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_1_question_with_negative_marks_quiz_fixed":0.004,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_1_question_with_negative_marks_quiz_percentage":0.005,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_2_question_no_negative_marks":0.004,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_2_question_with_negative_marks_question_fixed":0.004,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_2_question_with_negative_marks_question_percentage":0.004,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_2_question_with_negative_marks_quiz_fixed":0.005,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_2_question_with_negative_marks_quiz_percentage":0.004,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_3_question_no_negative_marks":0.003,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_3_question_with_negative_marks_question_fixed":0.003,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_3_question_with_negative_marks_question_percentage":0.004,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_3_question_with_negative_marks_quiz_fixed":0.003,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_score_for_type_3_question_with_negative_marks_quiz_percentage":0.004,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_negative_marks_for_question":0.005,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::get_quiz_attempt_result_with_and_without_quiz_question":0.019,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAttemptTest::test_quiz_attempt_validate":0.029,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizAuthorTest::quiz_authors":0.004,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizTest::quiz":0.001,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizTest::quiz_topics_relation":0.003,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizTest::quiz_questions_relation":0.003,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizTest::quiz_attempts_relation":0.005,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizTest::quiz_attempt_answers":0.006,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\QuizTest::quiz_check_negative_marking_settings":0.002,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\TopicTest::topic":0.001,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\TopicTest::topic_parent_child_relation":0.001,"Harishdurga\\LaravelQuiz\\Tests\\Unit\\TopicTest::topic_question_relation":0.003,"Harishdurga\\LaravelQuiz\\Tests\\Feature\\QuizTest::quiz_multi_user_attempts_multi_question_types_few_wrong_answers":0.012}}
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@
}
],
"require": {
"php": ">=8.1.0",
"doctrine/dbal": "^3.6.0",
"illuminate/support": "^10.0"
"php": ">=8.2.0",
"illuminate/support": "^11.0"
},
"require-dev": {
"nunomaduro/larastan": "^2.0",
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^10.0"
"orchestra/testbench": "^9.0",
"phpunit/phpunit": "^11.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 9bf62f7

Please sign in to comment.