Skip to content

Commit

Permalink
Merge branch 'master' of github.com:spryker/spryker into bugfix/te-55…
Browse files Browse the repository at this point in the history
…26-performarnce-issues
  • Loading branch information
AndreyKotyuk committed Sep 29, 2020
2 parents e8897a9 + 3dbb9c8 commit 9089805
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 17 deletions.
4 changes: 2 additions & 2 deletions phpstan.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"defaultLevel": 5
}
"defaultLevel": 6
}
2 changes: 2 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
parameters:
checkMissingIterableValueType: false
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
use Codeception\Actor;

/**
* Inherited Methods
*
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
Expand All @@ -28,8 +26,4 @@
class LocaleBusinessTester extends Actor
{
use _generated\LocaleBusinessTesterActions;

/**
* Define custom actions here
*/
}
4 changes: 2 additions & 2 deletions tests/SprykerTest/Zed/Locale/Business/LocaleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ protected function setUp(): void
public function testCreateLocaleInsertsSomething(): void
{
$localeQuery = $this->localeQueryContainer->queryLocaleByName('xy_ab');
$this->assertEquals(0, $localeQuery->count());
$this->assertSame(0, $localeQuery->count());

$this->localeFacade->createLocale('xy_ab');

$this->assertEquals(1, $localeQuery->count());
$this->assertSame(1, $localeQuery->count());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
use Codeception\Actor;

/**
* Inherited Methods
*
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
Expand All @@ -21,15 +19,11 @@
* @method void am($role)
* @method void lookForwardTo($achieveValue)
* @method void comment($description)
* @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL)
* @method \Codeception\Lib\Friend haveFriend($name, $actorClass = null)
*
* @SuppressWarnings(PHPMD)
*/
class LocaleBusinessTester extends Actor
{
use _generated\LocaleBusinessTesterActions;

/**
* Define custom actions here
*/
}

0 comments on commit 9089805

Please sign in to comment.