Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps(deps): update dependency wayofdev/cs-fixer-config to v1.5.3 - abandoned #747

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
261 changes: 134 additions & 127 deletions composer.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ final class MigrateCommand extends AbstractCommand
public function handle(
GeneratorLoader $generators,
Registry $registry,
CacheManagerContract $cache
CacheManagerContract $cache,
): int {
if (! $this->migrator->isConfigured()) {
$this->migrator->configure();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class RenderCommand extends AbstractCommand

public function handle(
SchemaInterface $schema,
SchemaToArrayConverter $converter
SchemaToArrayConverter $converter,
): int {
$format = $this->option('no-color') ?
OutputSchemaRenderer::FORMAT_PLAIN_TEXT :
Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/Laravel/Console/Commands/ORM/SyncCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ final class SyncCommand extends AbstractCommand
public function handle(
GeneratorLoader $generators,
Registry $registry,
CacheManagerContract $cache
CacheManagerContract $cache,
): int {
if (! $this->verifyEnvironment('This operation is not recommended for production environment.')) {
return self::FAILURE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class UpdateCommand extends Command
public function handle(
GeneratorLoader $generators,
Registry $registry,
CacheManagerContract $cache
CacheManagerContract $cache,
): int {
$this->info('Updating ORM schema...');

Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/Laravel/LoggerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class LoggerFactory implements LoggerFactoryInterface

public function __construct(
private readonly LogManager $manager,
DatabaseConfig $databaseConfig
DatabaseConfig $databaseConfig,
) {
$this->config = $databaseConfig->toArray()['logger'] ?? [];
}
Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/Laravel/Rules/Exists.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
public function __construct(
private DatabaseInterface $database,
private string $table,
private string $column = 'id'
private string $column = 'id',
) {
}

Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/Laravel/Rules/Unique.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
public function __construct(
private DatabaseInterface $database,
private string $table,
private string $column = 'id'
private string $column = 'id',
) {
}

Expand Down
2 changes: 1 addition & 1 deletion src/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Repository extends CycleRepository
public function __construct(
// @phpstan-ignore-next-line
protected Select $select,
protected EntityManagerInterface $entityManager
protected EntityManagerInterface $entityManager,
) {
parent::__construct($select);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Cache/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ final class Manager implements CacheManager

public function __construct(
private readonly SchemaConfig $config,
private readonly CacheFactory $cacheFactory
private readonly CacheFactory $cacheFactory,
) {
}

Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final class Compiler
private const EMPTY_SCHEMA = ':empty:';

public function __construct(
private readonly mixed $schema
private readonly mixed $schema,
) {
}

Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Generators/GeneratorQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class GeneratorQueue implements GeneratorLoader

public function __construct(
Closure $closure,
private readonly SchemaConfig $config
private readonly SchemaConfig $config,
) {
$this->app = $closure();
$this->generators = $this->config->generators();
Expand Down
2 changes: 1 addition & 1 deletion tests/app/Entities/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Post

public function __construct(
string $title,
string $description
string $description,
) {
$this->title = $title;
$this->description = $description;
Expand Down
2 changes: 1 addition & 1 deletion tests/app/Repositories/PostRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class PostRepository extends Repository implements PostRepositoryInterface
public function __construct(
// @phpstan-ignore-next-line
protected Select $select,
protected EntityManagerInterface $entityManager
protected EntityManagerInterface $entityManager,
) {
parent::__construct($select, $entityManager);
}
Expand Down
6 changes: 3 additions & 3 deletions tests/src/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ protected function assertConsoleCommandOutput(
string $command,
array $args,
$strings,
callable $assertionCallback
callable $assertionCallback,
): void {
$this->artisanCall($command, $args);
$output = Artisan::output();
Expand All @@ -94,7 +94,7 @@ protected function assertConsoleCommandOutput(
protected function assertConsoleCommandOutputContainsStrings(
string $command,
array $args = [],
$strings = []
$strings = [],
): void {
$this->assertConsoleCommandOutput($command, $args, $strings, function ($string, $output, $message): void {
$this::assertStringContainsString($string, $output, $message);
Expand All @@ -104,7 +104,7 @@ protected function assertConsoleCommandOutputContainsStrings(
protected function assertConsoleCommandOutputDoesNotContainStrings(
string $command,
array $args = [],
$strings = []
$strings = [],
): void {
$this->assertConsoleCommandOutput($command, $args, $strings, function ($string, $output, $message): void {
$this::assertStringNotContainsString($string, $output, $message);
Expand Down