Skip to content

Commit

Permalink
Add custom password for OpenSearch 2.12 and later
Browse files Browse the repository at this point in the history
  • Loading branch information
zingimmick committed Mar 4, 2024
1 parent b6f4e61 commit fdc53ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
env:
discovery.type: single-node
plugins.security.disabled: 'true'
OPENSEARCH_INITIAL_ADMIN_PASSWORD: ${{ secrets.OPENSEARCH_INITIAL_ADMIN_PASSWORD }}

runs-on: ubuntu-latest
strategy:
Expand Down
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Rector\Set\ValueObject\LevelSetList;
use Zing\CodingStandard\Set\RectorSetList;

return static function (Rector\Config\RectorConfig $rectorConfig): void {
return static function (\Rector\Config\RectorConfig $rectorConfig): void {
$rectorConfig->sets([LevelSetList::UP_TO_PHP_80, PHPUnitSetList::PHPUNIT_CODE_QUALITY, RectorSetList::CUSTOM]);
$rectorConfig->phpstanConfig(__DIR__ . '/phpstan.neon');
$rectorConfig->bootstrapFiles([__DIR__ . '/vendor/nunomaduro/larastan/bootstrap.php']);
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixtures/SearchableModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function searchableAs(): string
/**
* @return array<string, mixed>
*/
public function scoutMetadata()
public function scoutMetadata(): array
{
return [];
}
Expand Down

0 comments on commit fdc53ed

Please sign in to comment.