Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Feb 27, 2019
1 parent d8c7312 commit 5ea6ef9
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,8 @@

All notable changes to `laravel-translation-loader` will be documented in this file

## 2.2.4 - 2019-02-27

## 2.2.3 - 2019-02-01

- use Arr:: and Str:: functions
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -23,11 +23,11 @@
],
"require": {
"php": "^7.1",
"illuminate/translation": "~5.7.0"
"illuminate/translation": "~5.7.0|~5.8.0"
},
"require-dev": {
"phpunit/phpunit": "^7.4",
"orchestra/testbench": "~3.7.0"
"phpunit/phpunit": "^7.4|^8.0",
"orchestra/testbench": "~3.7.0|~3.8.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion tests/DummyManagerTest.php
Expand Up @@ -6,7 +6,7 @@

class DummyManagerTest extends TestCase
{
public function setUp()
public function setUp(): void
{
parent::setUp();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Expand Up @@ -12,7 +12,7 @@ abstract class TestCase extends Orchestra
/** @var \Spatie\TranslationLoader\LanguageLine */
protected $languageLine;

public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down
4 changes: 2 additions & 2 deletions tests/TransTest.php
Expand Up @@ -13,7 +13,7 @@ class TransTest extends TestCase
],
];

public function setUp()
public function setUp(): void
{
parent::setUp();
}
Expand Down Expand Up @@ -54,7 +54,7 @@ public function it_will_return_array_if_the_given_translation_is_nested()
$this->createLanguageLine('nested', $key, ['en' => $text]);
}

$this->assertEquals($this->nested['bool'], trans('nested.bool'), '$canonicalize = true', $delta = 0.0, $maxDepth = 10, $canonicalize = true);
$this->assertEqualsCanonicalizing($this->nested['bool'], trans('nested.bool'), '$canonicalize = true', $delta = 0.0, $maxDepth = 10, $canonicalize = true);
}

/** @test */
Expand Down
2 changes: 1 addition & 1 deletion tests/TranslationLoaders/DbTest.php
Expand Up @@ -13,7 +13,7 @@ class DbTest extends TestCase
/** @var \Spatie\TranslationLoader\LanguageLine */
protected $languageLine;

public function setUp()
public function setUp(): void
{
parent::setUp();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/TranslationManagerTest.php
Expand Up @@ -6,7 +6,7 @@

class TranslationManagerTest extends TestCase
{
public function setUp()
public function setUp(): void
{
parent::setUp();
}
Expand Down

0 comments on commit 5ea6ef9

Please sign in to comment.