Skip to content

Commit

Permalink
Fix CS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
othercorey committed Apr 1, 2020
1 parent 70ce8c1 commit e11edef
Show file tree
Hide file tree
Showing 20 changed files with 36 additions and 44 deletions.
6 changes: 3 additions & 3 deletions src/Command/BehaviorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ class BehaviorCommand extends SimpleBakeCommand
public $pathFragment = 'Model/Behavior/';

/**
* {@inheritDoc}
* @inheritDoc
*/
public function name(): string
{
return 'behavior';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function fileName(string $name): string
{
return $name . 'Behavior.php';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function template(): string
{
Expand Down
6 changes: 3 additions & 3 deletions src/Command/CellCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,23 @@ class CellCommand extends SimpleBakeCommand
public $pathFragment = 'View/Cell/';

/**
* {@inheritDoc}
* @inheritDoc
*/
public function name(): string
{
return 'cell';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function fileName(string $name): string
{
return $name . 'Cell.php';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function template(): string
{
Expand Down
6 changes: 3 additions & 3 deletions src/Command/CommandCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ class CommandCommand extends SimpleBakeCommand
public $pathFragment = 'Command/';

/**
* {@inheritDoc}
* @inheritDoc
*/
public function name(): string
{
return 'command';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function fileName(string $name): string
{
return $name . 'Command.php';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function template(): string
{
Expand Down
6 changes: 3 additions & 3 deletions src/Command/ComponentCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ class ComponentCommand extends SimpleBakeCommand
public $pathFragment = 'Controller/Component/';

/**
* {@inheritDoc}
* @inheritDoc
*/
public function name(): string
{
return 'component';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function fileName(string $name): string
{
return $name . 'Component.php';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function template(): string
{
Expand Down
2 changes: 1 addition & 1 deletion src/Command/EntryCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class EntryCommand extends Command implements CommandCollectionAwareInterface
protected $help;

/**
* {@inheritDoc}
* @inheritDoc
*/
public function setCommandCollection(CommandCollection $commands): void
{
Expand Down
6 changes: 3 additions & 3 deletions src/Command/FormCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ class FormCommand extends SimpleBakeCommand
public $pathFragment = 'Form/';

/**
* {@inheritDoc}
* @inheritDoc
*/
public function name(): string
{
return 'form';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function fileName(string $name): string
{
return $name . 'Form.php';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function template(): string
{
Expand Down
6 changes: 3 additions & 3 deletions src/Command/HelperCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ class HelperCommand extends SimpleBakeCommand
public $pathFragment = 'View/Helper/';

/**
* {@inheritDoc}
* @inheritDoc
*/
public function name(): string
{
return 'helper';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function fileName(string $name): string
{
return $name . 'Helper.php';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function template(): string
{
Expand Down
6 changes: 3 additions & 3 deletions src/Command/MailerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,23 @@ class MailerCommand extends SimpleBakeCommand
public $pathFragment = 'Mailer/';

/**
* {@inheritDoc}
* @inheritDoc
*/
public function name(): string
{
return 'mailer';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function fileName(string $name): string
{
return $name . 'Mailer.php';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function template(): string
{
Expand Down
6 changes: 3 additions & 3 deletions src/Command/MiddlewareCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ class MiddlewareCommand extends SimpleBakeCommand
public $pathFragment = 'Middleware/';

/**
* {@inheritDoc}
* @inheritDoc
*/
public function name(): string
{
return 'middleware';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function fileName(string $name): string
{
return $name . 'Middleware.php';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function template(): string
{
Expand Down
6 changes: 3 additions & 3 deletions src/Command/ShellCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ class ShellCommand extends SimpleBakeCommand
public $pathFragment = 'Shell/';

/**
* {@inheritDoc}
* @inheritDoc
*/
public function name(): string
{
return 'shell';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function fileName(string $name): string
{
return $name . 'Shell.php';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function template(): string
{
Expand Down
6 changes: 3 additions & 3 deletions src/Command/ShellHelperCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ class ShellHelperCommand extends SimpleBakeCommand
public $pathFragment = 'Shell/Helper/';

/**
* {@inheritDoc}
* @inheritDoc
*/
public function name(): string
{
return 'shell_helper';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function fileName(string $name): string
{
return $name . 'Helper.php';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function template(): string
{
Expand Down
6 changes: 3 additions & 3 deletions src/Command/TaskCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ class TaskCommand extends SimpleBakeCommand
public $pathFragment = 'Shell/Task/';

/**
* {@inheritDoc}
* @inheritDoc
*/
public function name(): string
{
return 'task';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function fileName(string $name): string
{
return $name . 'Task.php';
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function template(): string
{
Expand Down
3 changes: 1 addition & 2 deletions src/Utility/SubsetSchemaCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class SubsetSchemaCollection implements CollectionInterface
protected $tables = [];

/**
*
* @param \Cake\Database\Schema\CollectionInterface $collection The wrapped collection
* @param string[] $tables The subset of tables.
*/
Expand Down Expand Up @@ -69,7 +68,7 @@ public function listTables(): array
}

/**
* {@inheritDoc}
* @inheritDoc
*/
public function describe(string $name, array $options = []): TableSchemaInterface
{
Expand Down
1 change: 0 additions & 1 deletion src/View/BakeView.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ public function render(?string $view = null, $layout = null): string
*
* @param mixed $subject The object that this event applies to
* ($this by default).
*
* @return \Cake\Event\EventInterface
*/
public function dispatchEvent(string $name, $data = null, $subject = null): EventInterface
Expand Down
3 changes: 0 additions & 3 deletions src/View/Helper/DocBlockHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ public function associatedEntityTypeToHintType(string $type, Association $associ
* ```
*
* @see \Bake\Shell\Task\ModelTask::getEntityPropertySchema
*
* @param array $propertySchema The property schema to use for generating the type map.
* @return array The property DocType map.
*/
Expand Down Expand Up @@ -138,7 +137,6 @@ public function buildEntityPropertyHintTypeMap(array $propertySchema): array
* ```
*
* @see \Bake\Shell\Task\ModelTask::getEntityPropertySchema
*
* @param array $propertySchema The property schema to use for generating the type map.
* @return array The property DocType map.
*/
Expand Down Expand Up @@ -170,7 +168,6 @@ public function buildEntityAssociationHintTypeMap(array $propertySchema): array
* custom column/database types will be ignored.
*
* @see \Cake\Database\Type
*
* @param string $type The column type.
* @return string|null The DocBlock type, or `null` for unsupported column types.
*/
Expand Down
1 change: 1 addition & 0 deletions tests/Fixture/BakeTemplateAuthorsFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class BakeTemplateAuthorsFixture extends TestFixture
{
/**
* Avoid overriding core.authors
*
* @var string
*/
public $table = 'bake_authors';
Expand Down
1 change: 0 additions & 1 deletion tests/TestCase/Command/ControllerAllCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

/**
* ControllerAllCommand test
*
*/
class ControllerAllCommandTest extends TestCase
{
Expand Down
1 change: 0 additions & 1 deletion tests/TestCase/Command/FixtureAllCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

/**
* FixtureAllCommand Test
*
*/
class FixtureAllCommandTest extends TestCase
{
Expand Down
1 change: 0 additions & 1 deletion tests/TestCase/Command/FixtureCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

/**
* FixtureCommand Test
*
*/
class FixtureCommandTest extends TestCase
{
Expand Down
1 change: 0 additions & 1 deletion tests/TestCase/Command/TestCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

/**
* TestCommandTest class
*
*/
class TestCommandTest extends TestCase
{
Expand Down

0 comments on commit e11edef

Please sign in to comment.