Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gammamatrix authored Aug 18, 2024
1 parent b95c8b8 commit 4c4d940
Show file tree
Hide file tree
Showing 105 changed files with 18,425 additions and 4,205 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ database/migrations/*.disabled
resources/packages

composer.lock
package-lock.json

tmp-*
temp-*
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Playground Matrix
# Playground: Matrix

[![Playground CI Workflow](https://github.com/gammamatrix/playground-matrix/actions/workflows/ci.yml/badge.svg?branch=develop)](https://raw.githubusercontent.com/gammamatrix/playground-matrix/testing/develop/testdox.txt)
[![Test Coverage](https://raw.githubusercontent.com/gammamatrix/playground-matrix/testing/develop/coverage.svg)](tests)
Expand Down Expand Up @@ -83,24 +83,24 @@ composer cloc
```

```
➜ playground-matrix git:(feature/GH-23) ✗ composer cloc
➜ playground-matrix git:(feature/GH-25) ✗ composer cloc
> cloc --exclude-dir=node_modules,output,vendor .
137 text files.
116 unique files.
23 files ignored.
148 text files.
118 unique files.
32 files ignored.
github.com/AlDanial/cloc v 1.98 T=0.27 s (437.6 files/s, 204291.4 lines/s)
github.com/AlDanial/cloc v 1.98 T=0.29 s (405.5 files/s, 234827.7 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
JSON 16 0 0 38621
PHP 92 1060 3753 10037
JSON 18 0 0 49172
PHP 92 1285 4715 12506
YAML 1 5 0 275
XML 3 0 5 220
Markdown 3 44 0 121
XML 3 0 7 215
Markdown 3 44 0 102
INI 1 3 0 12
-------------------------------------------------------------------------------
SUM: 116 1112 3758 49286
SUM: 118 1337 4722 62282
-------------------------------------------------------------------------------
```

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "gammamatrix/playground-matrix",
"description": "Playground: This package provides the models to use Playground Matrix, a project management tool.",
"description": "Playground: This package provides the models to use Playground Matrix, a Project Management System.",
"keywords": [
"matrix",
"projects",
"tickets",
"gammamatrix",
"laravel",
"playground"
"matrix",
"playground",
"projects",
"tickets"
],
"homepage": "https://github.com/gammamatrix/playground-matrix",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion config/playground-matrix.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
declare(strict_types=1);

/**
* Configuration and Environment Variables
* Playground: Matrix Configuration and Environment Variables
*/
return [

Expand Down
32 changes: 32 additions & 0 deletions database/factories/BacklogFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,36 @@ public function definition(): array
'summary' => $this->faker->sentence(3),
];
}

// States: flags

/**
* @return Factory<Backlog>
*/
public function locked(): Factory
{
return $this->state(fn (array $attributes) => [
'locked' => true,
]);
}

/**
* @return Factory<Backlog>
*/
public function featured(): Factory
{
return $this->state(fn (array $attributes) => [
'featured' => true,
]);
}

/**
* @return Factory<Backlog>
*/
public function special(): Factory
{
return $this->state(fn (array $attributes) => [
'special' => true,
]);
}
}
32 changes: 32 additions & 0 deletions database/factories/BoardFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,36 @@ public function definition(): array
'summary' => $this->faker->sentence(3),
];
}

// States: flags

/**
* @return Factory<Board>
*/
public function locked(): Factory
{
return $this->state(fn (array $attributes) => [
'locked' => true,
]);
}

/**
* @return Factory<Board>
*/
public function featured(): Factory
{
return $this->state(fn (array $attributes) => [
'featured' => true,
]);
}

/**
* @return Factory<Board>
*/
public function special(): Factory
{
return $this->state(fn (array $attributes) => [
'special' => true,
]);
}
}
32 changes: 32 additions & 0 deletions database/factories/EpicFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,36 @@ public function definition(): array
'summary' => $this->faker->sentence(3),
];
}

// States: flags

/**
* @return Factory<Epic>
*/
public function locked(): Factory
{
return $this->state(fn (array $attributes) => [
'locked' => true,
]);
}

/**
* @return Factory<Epic>
*/
public function featured(): Factory
{
return $this->state(fn (array $attributes) => [
'featured' => true,
]);
}

/**
* @return Factory<Epic>
*/
public function special(): Factory
{
return $this->state(fn (array $attributes) => [
'special' => true,
]);
}
}
32 changes: 32 additions & 0 deletions database/factories/FlowFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,36 @@ public function definition(): array
'summary' => $this->faker->sentence(3),
];
}

// States: flags

/**
* @return Factory<Flow>
*/
public function locked(): Factory
{
return $this->state(fn (array $attributes) => [
'locked' => true,
]);
}

/**
* @return Factory<Flow>
*/
public function featured(): Factory
{
return $this->state(fn (array $attributes) => [
'featured' => true,
]);
}

/**
* @return Factory<Flow>
*/
public function special(): Factory
{
return $this->state(fn (array $attributes) => [
'special' => true,
]);
}
}
32 changes: 32 additions & 0 deletions database/factories/MatrixFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,36 @@ public function definition(): array
'summary' => $this->faker->sentence(3),
];
}

// States: flags

/**
* @return Factory<Matrix>
*/
public function locked(): Factory
{
return $this->state(fn (array $attributes) => [
'locked' => true,
]);
}

/**
* @return Factory<Matrix>
*/
public function featured(): Factory
{
return $this->state(fn (array $attributes) => [
'featured' => true,
]);
}

/**
* @return Factory<Matrix>
*/
public function special(): Factory
{
return $this->state(fn (array $attributes) => [
'special' => true,
]);
}
}
32 changes: 32 additions & 0 deletions database/factories/MilestoneFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,36 @@ public function definition(): array
'summary' => $this->faker->sentence(3),
];
}

// States: flags

/**
* @return Factory<Milestone>
*/
public function locked(): Factory
{
return $this->state(fn (array $attributes) => [
'locked' => true,
]);
}

/**
* @return Factory<Milestone>
*/
public function featured(): Factory
{
return $this->state(fn (array $attributes) => [
'featured' => true,
]);
}

/**
* @return Factory<Milestone>
*/
public function special(): Factory
{
return $this->state(fn (array $attributes) => [
'special' => true,
]);
}
}
32 changes: 32 additions & 0 deletions database/factories/NoteFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,36 @@ public function definition(): array
'summary' => $this->faker->sentence(3),
];
}

// States: flags

/**
* @return Factory<Note>
*/
public function locked(): Factory
{
return $this->state(fn (array $attributes) => [
'locked' => true,
]);
}

/**
* @return Factory<Note>
*/
public function featured(): Factory
{
return $this->state(fn (array $attributes) => [
'featured' => true,
]);
}

/**
* @return Factory<Note>
*/
public function special(): Factory
{
return $this->state(fn (array $attributes) => [
'special' => true,
]);
}
}
32 changes: 32 additions & 0 deletions database/factories/ProjectFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,36 @@ public function definition(): array
'summary' => $this->faker->sentence(3),
];
}

// States: flags

/**
* @return Factory<Project>
*/
public function locked(): Factory
{
return $this->state(fn (array $attributes) => [
'locked' => true,
]);
}

/**
* @return Factory<Project>
*/
public function featured(): Factory
{
return $this->state(fn (array $attributes) => [
'featured' => true,
]);
}

/**
* @return Factory<Project>
*/
public function special(): Factory
{
return $this->state(fn (array $attributes) => [
'special' => true,
]);
}
}
Loading

0 comments on commit 4c4d940

Please sign in to comment.