Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
alecrabbit committed Nov 27, 2023
2 parents 0280a3d + 85de540 commit 4a17428
Show file tree
Hide file tree
Showing 745 changed files with 18,046 additions and 10,437 deletions.
9 changes: 7 additions & 2 deletions .make/project/app/phpinsights.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ a_phpinsights_run: ## Run PHP Insights

a_phpinsights_analyse: ## Run PHP Insights Analysis
@${_ECHO} "\n${_C_SELECT} ${PROJECT_NAME} ${_C_STOP} ${_C_INFO}PHP Insights analyze...${_C_STOP}\n";
${_DC_EXEC} ${APP_CONTAINER} ${PHPINSIGHTS_BINARY} analyse src
${_DC_EXEC} ${APP_CONTAINER} ${PHPINSIGHTS_BINARY} analyse
@${_ECHO};

a_phpinsights_analyse_verbose: ## Run PHP Insights Analysis Verbose Mode
@${_ECHO} "\n${_C_SELECT} ${PROJECT_NAME} ${_C_STOP} ${_C_INFO}PHP Insights analyze...${_C_STOP}\n";
${_DC_EXEC} ${APP_CONTAINER} ${PHPINSIGHTS_BINARY} analyse -vvv
@${_ECHO};

a_phpinsights_summary: ## Run PHP Insights summary
@${_ECHO} "\n${_C_SELECT} ${PROJECT_NAME} ${_C_STOP} ${_C_INFO}PHP Insights summary...${_C_STOP}\n";
@${_DC_EXEC} ${APP_CONTAINER} ${PHPINSIGHTS_BINARY} --summary analyse src
@${_DC_EXEC} ${APP_CONTAINER} ${PHPINSIGHTS_BINARY} --summary analyse
@${_ECHO};
2 changes: 1 addition & 1 deletion .make/project/app/tests.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test_coverage: ## Run tests with coverage
test_path_coverage: ## Run tests including path coverage
@${_ECHO} "\n${_C_SELECT} ${PROJECT_NAME} ${_C_STOP} ${_C_INFO}Coverage tests...${_C_STOP}\n";
@${_ECHO} "${_C_COMMENT} ...testing ${_C_STOP}\n";
${_DC_EXEC} -e XDEBUG_MODE=coverage ${APP_CONTAINER} vendor/bin/phpunit --configuration phpunit.coverage.xml --coverage-text --path-coverage
${_DC_EXEC} -e XDEBUG_MODE=coverage ${APP_CONTAINER} vendor/bin/phpunit --configuration phpunit.coverage.path.xml --coverage-text --path-coverage
@${_ECHO_BG_GREEN};

test_dox: ## Run tests with testdox
Expand Down
1 change: 0 additions & 1 deletion .make/var.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ PROJECT_SHORT_TITLE=🏵️

# ------------------------------------------------------------------------------
# Your variables here
TEST_REPETITION=10
APP_CONTAINER=app
COMPOSER_CONTAINER=${APP_CONTAINER}
# COMPOSER_CONTAINER=composer
Expand Down
4 changes: 3 additions & 1 deletion .tools/.deptrac/module/root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ deptrac:
layers:
- name: Root
collectors:
- type: className
value: '%namespace%\\Root\\.*'
- type: bool
must:
- type: className
value: '%namespace%\\.*'
must_not:
- type: className
value: '%namespace%\\.*\\.*'
value: '%namespace%\\.*\\.*'
1 change: 1 addition & 0 deletions .tools/.report/.build/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.*
!.gitignore
!coverage.txt
!coverage.path.txt
8 changes: 4 additions & 4 deletions .tools/.report/.build/coverage.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


Code Coverage Report Summary:
Classes: 99.44% (179/180)
Methods: 99.39% (656/660)
Lines: 99.89% (3545/3549)
Code Coverage Report Summary:
Classes: 100.00% (213/213)
Methods: 100.00% (769/769)
Lines: 100.00% (3806/3806)

2 changes: 1 addition & 1 deletion .tools/.report/.deptrac/.deptrac.report
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Violations 0
Skipped violations 0
Uncovered 177
Allowed 2322
Allowed 2775
Warnings 0
Errors 0
-------------------- ------
Expand Down
76 changes: 38 additions & 38 deletions .tools/.report/.phploc/.src.phploc.report
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
phploc 7.0.2 by Sebastian Bergmann.

Directories 70
Files 360
Directories 77
Files 427

Size
Lines of Code (LOC) 12285
Comment Lines of Code (CLOC) 687 (5.59%)
Non-Comment Lines of Code (NCLOC) 11598 (94.41%)
Logical Lines of Code (LLOC) 1332 (10.84%)
Classes 1232 (92.49%)
Lines of Code (LOC) 14094
Comment Lines of Code (CLOC) 804 (5.70%)
Non-Comment Lines of Code (NCLOC) 13290 (94.30%)
Logical Lines of Code (LLOC) 1502 (10.66%)
Classes 1401 (93.28%)
Average Class Length 3
Minimum Class Length 0
Maximum Class Length 30
Maximum Class Length 27
Average Method Length 1
Minimum Method Length 0
Maximum Method Length 10
Average Methods Per Class 2
Minimum Methods Per Class 0
Maximum Methods Per Class 12
Functions 40 (3.00%)
Functions 38 (2.53%)
Average Function Length 1
Not in classes or functions 60 (4.50%)
Not in classes or functions 63 (4.19%)

Cyclomatic Complexity
Average Complexity per LLOC 0.33
Average Complexity per Class 2.13
Average Complexity per LLOC 0.34
Average Complexity per Class 2.11
Minimum Class Complexity 1.00
Maximum Class Complexity 21.00
Average Complexity per Method 1.52
Expand All @@ -36,35 +36,35 @@ Dependencies
Global Constants 0 (0.00%)
Global Variables 0 (0.00%)
Super-Global Variables 0 (0.00%)
Attribute Accesses 576
Non-Static 557 (96.70%)
Static 19 (3.30%)
Method Calls 692
Non-Static 604 (87.28%)
Static 88 (12.72%)
Attribute Accesses 658
Non-Static 642 (97.57%)
Static 16 (2.43%)
Method Calls 821
Non-Static 739 (90.01%)
Static 82 (9.99%)

Structure
Namespaces 70
Interfaces 165
Namespaces 77
Interfaces 196
Traits 0
Classes 176
Abstract Classes 13 (7.39%)
Concrete Classes 163 (92.61%)
Final Classes 112 (68.71%)
Non-Final Classes 51 (31.29%)
Methods 863
Classes 210
Abstract Classes 14 (6.67%)
Concrete Classes 196 (93.33%)
Final Classes 73 (37.24%)
Non-Final Classes 123 (62.76%)
Methods 1011
Scope
Non-Static Methods 789 (91.43%)
Static Methods 74 (8.57%)
Non-Static Methods 946 (93.57%)
Static Methods 65 (6.43%)
Visibility
Public Methods 698 (80.88%)
Protected Methods 61 (7.07%)
Private Methods 104 (12.05%)
Functions 40
Named Functions 10 (25.00%)
Anonymous Functions 30 (75.00%)
Constants 13
Public Methods 802 (79.33%)
Protected Methods 67 (6.63%)
Private Methods 142 (14.05%)
Functions 37
Named Functions 7 (18.92%)
Anonymous Functions 30 (81.08%)
Constants 11
Global Constants 0 (0.00%)
Class Constants 13 (100.00%)
Public Constants 4 (30.77%)
Non-Public Constants 9 (69.23%)
Class Constants 11 (100.00%)
Public Constants 5 (45.45%)
Non-Public Constants 6 (54.55%)
78 changes: 39 additions & 39 deletions .tools/.report/.phploc/.test.phploc.report
Original file line number Diff line number Diff line change
@@ -1,70 +1,70 @@
phploc 7.0.2 by Sebastian Bergmann.

Directories 67
Files 242
Directories 74
Files 280

Size
Lines of Code (LOC) 27421
Comment Lines of Code (CLOC) 380 (1.39%)
Non-Comment Lines of Code (NCLOC) 27041 (98.61%)
Logical Lines of Code (LLOC) 6337 (23.11%)
Classes 6330 (99.89%)
Average Class Length 26
Lines of Code (LOC) 32629
Comment Lines of Code (CLOC) 457 (1.40%)
Non-Comment Lines of Code (NCLOC) 32172 (98.60%)
Logical Lines of Code (LLOC) 7256 (22.24%)
Classes 7248 (99.89%)
Average Class Length 25
Minimum Class Length 0
Maximum Class Length 871
Average Method Length 3
Minimum Method Length 0
Maximum Method Length 374
Average Methods Per Class 6
Minimum Methods Per Class 0
Maximum Methods Per Class 48
Maximum Methods Per Class 21
Functions 4 (0.06%)
Average Function Length 0
Not in classes or functions 3 (0.05%)
Not in classes or functions 4 (0.06%)

Cyclomatic Complexity
Average Complexity per LLOC 0.06
Average Complexity per Class 2.58
Average Complexity per Class 2.63
Minimum Class Complexity 1.00
Maximum Class Complexity 14.00
Maximum Class Complexity 16.00
Average Complexity per Method 1.25
Minimum Method Complexity 1.00
Maximum Method Complexity 7.00
Maximum Method Complexity 9.00

Dependencies
Global Accesses 0
Global Constants 0 (0.00%)
Global Variables 0 (0.00%)
Super-Global Variables 0 (0.00%)
Attribute Accesses 22
Non-Static 15 (68.18%)
Static 7 (31.82%)
Method Calls 8409
Non-Static 5501 (65.42%)
Static 2908 (34.58%)
Attribute Accesses 28
Non-Static 23 (82.14%)
Static 5 (17.86%)
Method Calls 9974
Non-Static 6688 (67.05%)
Static 3286 (32.95%)

Structure
Namespaces 67
Interfaces 0
Namespaces 74
Interfaces 1
Traits 1
Classes 240
Abstract Classes 5 (2.08%)
Concrete Classes 235 (97.92%)
Final Classes 218 (92.77%)
Non-Final Classes 17 (7.23%)
Methods 1545
Classes 277
Abstract Classes 4 (1.44%)
Concrete Classes 273 (98.56%)
Final Classes 255 (93.41%)
Non-Final Classes 18 (6.59%)
Methods 1837
Scope
Non-Static Methods 1445 (93.53%)
Static Methods 100 (6.47%)
Non-Static Methods 1734 (94.39%)
Static Methods 103 (5.61%)
Visibility
Public Methods 994 (64.34%)
Protected Methods 311 (20.13%)
Private Methods 240 (15.53%)
Functions 96
Named Functions 3 (3.12%)
Anonymous Functions 93 (96.88%)
Constants 72
Public Methods 1113 (60.59%)
Protected Methods 352 (19.16%)
Private Methods 372 (20.25%)
Functions 97
Named Functions 2 (2.06%)
Anonymous Functions 95 (97.94%)
Constants 75
Global Constants 0 (0.00%)
Class Constants 72 (100.00%)
Public Constants 0 (0.00%)
Non-Public Constants 72 (100.00%)
Class Constants 75 (100.00%)
Public Constants 1 (1.33%)
Non-Public Constants 74 (98.67%)
Loading

0 comments on commit 4a17428

Please sign in to comment.