Skip to content

Commit

Permalink
Merge pull request #4801 from paulbalandan/align-single-space-minimal
Browse files Browse the repository at this point in the history
Shift binary alignment to `align_single_space_minimal`
  • Loading branch information
paulbalandan authored Jun 9, 2021
2 parents 18f5611 + 5333844 commit 5c5cfae
Show file tree
Hide file tree
Showing 97 changed files with 1,129 additions and 1,164 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,43 +10,17 @@ class ExampleMigration extends Migration

public function up()
{
$fields = [
'name' => [
'type' => 'varchar',
'constraint' => 31,
],
'uid' => [
'type' => 'varchar',
'constraint' => 31,
],
'class' => [
'type' => 'varchar',
'constraint' => 63,
],
'icon' => [
'type' => 'varchar',
'constraint' => 31,
],
'summary' => [
'type' => 'varchar',
'constraint' => 255,
],
'created_at' => [
'type' => 'datetime',
'null' => true,
],
'updated_at' => [
'type' => 'datetime',
'null' => true,
],
'deleted_at' => [
'type' => 'datetime',
'null' => true,
],
];

$this->forge->addField('id');
$this->forge->addField($fields);
$this->forge->addField([
'name' => ['type' => 'varchar', 'constraint' => 31],
'uid' => ['type' => 'varchar', 'constraint' => 31],
'class' => ['type' => 'varchar', 'constraint' => 63],
'icon' => ['type' => 'varchar', 'constraint' => 31],
'summary' => ['type' => 'varchar', 'constraint' => 255],
'created_at' => ['type' => 'datetime', 'null' => true],
'updated_at' => ['type' => 'datetime', 'null' => true],
'deleted_at' => ['type' => 'datetime', 'null' => true],
]);

$this->forge->addKey('name');
$this->forge->addKey('uid');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,43 +10,17 @@ class ExampleMigration extends Migration

public function up()
{
$fields = [
'name' => [
'type' => 'varchar',
'constraint' => 31,
],
'uid' => [
'type' => 'varchar',
'constraint' => 31,
],
'class' => [
'type' => 'varchar',
'constraint' => 63,
],
'icon' => [
'type' => 'varchar',
'constraint' => 31,
],
'summary' => [
'type' => 'varchar',
'constraint' => 255,
],
'created_at' => [
'type' => 'datetime',
'null' => true,
],
'updated_at' => [
'type' => 'datetime',
'null' => true,
],
'deleted_at' => [
'type' => 'datetime',
'null' => true,
],
];

$this->forge->addField('id');
$this->forge->addField($fields);
$this->forge->addField([
'name' => ['type' => 'varchar', 'constraint' => 31],
'uid' => ['type' => 'varchar', 'constraint' => 31],
'class' => ['type' => 'varchar', 'constraint' => 63],
'icon' => ['type' => 'varchar', 'constraint' => 31],
'summary' => ['type' => 'varchar', 'constraint' => 255],
'created_at' => ['type' => 'datetime', 'null' => true],
'updated_at' => ['type' => 'datetime', 'null' => true],
'deleted_at' => ['type' => 'datetime', 'null' => true],
]);

$this->forge->addKey('name');
$this->forge->addKey('uid');
Expand Down
2 changes: 1 addition & 1 deletion app/Config/Filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Filters extends BaseConfig
// 'honeypot',
// 'csrf',
],
'after' => [
'after' => [
'toolbar',
// 'honeypot',
],
Expand Down
6 changes: 3 additions & 3 deletions app/Config/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class Logger extends BaseConfig
/*
* The log levels that this handler will handle.
*/
'handles' => [
'handles' => [
'critical',
'alert',
'emergency',
Expand All @@ -106,7 +106,7 @@ class Logger extends BaseConfig
*
* Note: Leaving it blank will default to 'log'.
*/
'fileExtension' => '',
'fileExtension' => '',

/*
* The file system permissions to be applied on newly created log files.
Expand All @@ -122,7 +122,7 @@ class Logger extends BaseConfig
* By default, logs are written to WRITEPATH . 'logs/'
* Specify a different destination here, if desired.
*/
'path' => '',
'path' => '',
],

/**
Expand Down
Loading

0 comments on commit 5c5cfae

Please sign in to comment.