Skip to content

Commit 45f2739

Browse files
committed
Merge branch 'develop'
2 parents ed1dbdd + 28cd332 commit 45f2739

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

.phpunit.result.cache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
C:37:"PHPUnit\Runner\DefaultTestResultCache":5944:{a:2:{s:7:"defects";a:0:{}s:5:"times";a:51:{s:123:"Qirolab\Tests\Laravel\Reactions\Unit\InvalidReactionUserExceptionTest::it_can_throw_exception_if_not_authenticated_on_react";d:36.858;s:138:"Qirolab\Tests\Laravel\Reactions\Unit\InvalidReactionUserExceptionTest::it_can_throw_exception_if_authenticated_but_passed_integer_on_react";d:8.547;s:132:"Qirolab\Tests\Laravel\Reactions\Unit\InvalidReactionUserExceptionTest::it_can_throw_exception_if_not_authenticated_on_where_liked_by";d:2.282;s:100:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableReactionEventTest::it_can_fire_model_was_reacted_event";d:1.387;s:119:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableReactionEventTest::it_can_fire_model_was_reacted_event_on_toggle_reaction";d:0.053;s:140:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableReactionEventTest::it_can_fire_reaction_deleted_and_model_was_reacted_event_on_change_reaction";d:0.055;s:151:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableReactionEventTest::it_can_fire_reaction_deleted_and_model_was_reacted_event_on_change_reaction_via_toggle";d:0.047;s:103:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableReactionEventTest::it_can_fire_reaction_was_deleted_event";d:0.04;s:97:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableScopeTest::it_can_get_where_reacted_by_current_user";d:0.067;s:98:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableScopeTest::it_can_get_where_reacted_by_concrete_user";d:0.061;s:80:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_react_by_current_user";d:0.056;s:81:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_react_by_concrete_user";d:0.057;s:81:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_has_multiple_reactions";d:0.067;s:77:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_cannot_duplicate_react";d:0.041;s:74:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_remove_reaction";d:0.042;s:100:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_cannot_remove_reaction_by_user_if_not_reacted";d:0.134;s:99:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_add_reaction_with_toggle_by_current_user";d:0.066;s:95:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_toggle_reaction_type_by_current_user";d:0.069;s:102:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_remove_reaction_with_toggle_by_current_user";d:0.043;s:100:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_add_reaction_with_toggle_by_concrete_user";d:0.157;s:96:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_toggle_reaction_type_by_concrete_user";d:0.047;s:103:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_remove_reaction_with_toggle_by_concrete_user";d:0.041;s:98:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_check_if_entity_reacted_by_current_user";d:0.042;s:97:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_check_if_entity_liked_by_concrete_user";d:0.056;s:112:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_check_if_entity_liked_by_current_user_using_attribute";d:0.042;s:79:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_has_reaction_summery";d:0.085;s:89:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_has_reaction_summery_attribute";d:0.082;s:95:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_has_collection_of_reactions_by_users";d:0.143;s:111:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_has_collection_of_reactions_by_users_using_attribute";d:0.082;s:102:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_has_reacted_reactions_by_current_login_user";d:0.045;s:94:"Qirolab\Tests\Laravel\Reactions\Unit\ReactableTest::it_can_has_reacted_reactions_by_given_user";d:0.097;s:75:"Qirolab\Tests\Laravel\Reactions\Unit\ReactionModelTest::it_can_fill_user_id";d:0.037;s:75:"Qirolab\Tests\Laravel\Reactions\Unit\ReactionModelTest::it_can_fill_type_id";d:0.035;s:88:"Qirolab\Tests\Laravel\Reactions\Unit\ReactionModelTest::it_can_belong_to_reactable_model";d:0.087;s:83:"Qirolab\Tests\Laravel\Reactions\Unit\ReactionModelTest::it_can_belong_to_user_model";d:0.061;s:85:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsModelTest::it_can_react_to_reactable_model";d:0.042;s:93:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsModelTest::it_can_react_to_reactable_by_other_user";d:0.049;s:86:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsModelTest::it_can_reactions_many_reactables";d:0.047;s:79:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsModelTest::it_cannot_duplicate_react";d:0.048;s:89:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsModelTest::it_can_remove_reaction_on_reactable";d:0.04;s:105:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsModelTest::it_can_remove_reaction_from_reacted_reactable_model";d:0.053;s:78:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsModelTest::it_can_react_with_toggle";d:0.04;s:81:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsModelTest::it_can_toggle_reaction_type";d:0.045;s:88:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsModelTest::it_can_remove_reaction_with_toggle";d:0.042;s:96:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsModelTest::it_can_check_if_reacted_on_reactable_model";d:0.042;s:101:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsModelTest::it_can_have_reacted_reaction_on_reactable_model";d:0.207;s:97:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsReactionEventTest::it_can_fire_model_was_reacted_event";d:0.075;s:116:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsReactionEventTest::it_can_fire_model_was_reacted_event_on_toggle_reaction";d:0.304;s:137:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsReactionEventTest::it_can_fire_reaction_deleted_and_model_was_reacted_event_on_change_reaction";d:0.05;s:148:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsReactionEventTest::it_can_fire_reaction_deleted_and_model_was_reacted_event_on_change_reaction_via_toggle";d:0.046;s:100:"Qirolab\Tests\Laravel\Reactions\Unit\ReactsReactionEventTest::it_can_fire_reaction_was_deleted_event";d:0.09;}}}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
All notable changes to `laravel-reactions` will be documented in this file
44

5+
## 2.3.0 - 2019-09-18
6+
- Laravel 6.0 support
7+
58
## 2.2.0 - 2019-04-01
69

710
### Fixed

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
],
2828
"require": {
2929
"php": "^7.0",
30-
"illuminate/database": "~5.5|~5.6|~5.7|~5.8",
31-
"illuminate/support": "~5.5|~5.6|~5.7|~5.8"
30+
"illuminate/database": "~5.5|~5.6|~5.7|~5.8|^6.0",
31+
"illuminate/support": "~5.5|~5.6|~5.7|~5.8|^6.0"
3232
},
3333
"require-dev": {
3434
"friendsofphp/php-cs-fixer": "^2.10",
3535
"mockery/mockery": "^1.0",
36-
"orchestra/database": "~3.5.0|~3.6.0",
37-
"orchestra/testbench": "~3.5.0|~3.6.0",
38-
"phpunit/phpunit": "^7.0"
36+
"orchestra/database": "~3.5.0|~3.6.0|~3.7.0|~3.8.0|^4.0",
37+
"orchestra/testbench": "~3.5.0|~3.6.0|~3.7.0|~3.8.0|^4.0",
38+
"phpunit/phpunit": "^7.5|^8.0"
3939
},
4040
"autoload": {
4141
"psr-4": {
@@ -61,5 +61,5 @@
6161
}
6262
},
6363
"minimum-stability": "dev",
64-
"prefer-stable" : true
64+
"prefer-stable": true
6565
}

tests/TestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ abstract class TestCase extends Orchestra
1313
*
1414
* @return void
1515
*/
16-
protected function setUp()
16+
protected function setUp(): void
1717
{
1818
parent::setUp();
1919

@@ -56,7 +56,7 @@ protected function destroyPackageMigrations()
5656
*
5757
* @return void
5858
*/
59-
public function tearDown()
59+
public function tearDown(): void
6060
{
6161
parent::tearDown();
6262
}

0 commit comments

Comments
 (0)