Skip to content

Commit 61ddd83

Browse files
author
Supun Budhajeewa
committed
Bring in migrations from Janus System.
1 parent 0b3ebbf commit 61ddd83

17 files changed

+1176
-35
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/vendor/
2+
/.php_cs.cache
23
/config.php

Diff for: .php_cs.dist

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?php
2+
3+
use PhpCsFixer\Config;
4+
use PhpCsFixer\Finder;
5+
6+
$finder = Finder::create()
7+
->exclude(__DIR__.'/vendor')
8+
->in(__DIR__)
9+
;
10+
11+
return Config::create()
12+
->setRules([
13+
'@PSR2' => true,
14+
'array_syntax' => [
15+
'syntax' => 'short',
16+
],
17+
'array_indentation'=>true,
18+
'binary_operator_spaces'=>[
19+
'operators'=>[
20+
'='=>'single_space',
21+
'=>'=>'single_space',
22+
]
23+
],
24+
'blank_line_after_opening_tag'=>true,
25+
'blank_line_before_statement'=>true,
26+
'cast_spaces'=>[
27+
'space'=>'single',
28+
],
29+
'concat_space'=>[
30+
'spacing'=>'one',
31+
],
32+
'no_extra_blank_lines'=>true,
33+
'no_singleline_whitespace_before_semicolons'=>true,
34+
'no_unused_imports'=>true,
35+
'no_whitespace_in_blank_line'=>true,
36+
'ordered_class_elements'=>true,
37+
'ordered_imports'=>[
38+
'imports_order'=>[
39+
'class',
40+
'function',
41+
'const',
42+
],
43+
],
44+
'single_quote'=>true,
45+
'trailing_comma_in_multiline_array'=>true,
46+
'whitespace_after_comma_in_array'=>true,
47+
])
48+
->setFinder($finder)
49+
;

Diff for: License.md renamed to LICENSE.MD

File renamed without changes.

Diff for: README.MD

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Sanmark Janus : DB Structure
2+
3+
This repository holds public DB structure releases for [Sanmark Janus](https://github.com/sanmark/janus-system).

Diff for: ReadMe.md

-3
This file was deleted.

Diff for: composer.json

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
{
2-
"name": "sanmark/illuminated-phinx",
3-
"description": "Run Laravel's Illuminate migrations with Phinx.",
2+
"name": "sanmark/janus-db",
3+
"description": "Sanmark Janus : DB Structure.",
44
"type": "project",
55
"require": {
6-
"sanmark/illuminated-phinx-base": "^0.1.0"
6+
"sanmark/illuminated-phinx-base": "^0.1.0",
7+
"friendsofphp/php-cs-fixer": "^2.12"
78
},
89
"license": "MIT",
910
"authors": [
1011
{
1112
"name": "Sanmark Solutions PVT LTD (Sri Lanka)",
1213
"email": "[email protected]"
14+
},
15+
{
16+
"name": "Supun Budhajeewa",
17+
"email": "[email protected]"
1318
}
1419
],
1520
"minimum-stability": "stable"

0 commit comments

Comments
 (0)