Skip to content

Commit 9d3849e

Browse files
09242025MB5 Update namespaces to use Starisian prefix
1 parent e71885a commit 9d3849e

11 files changed

Lines changed: 57 additions & 12 deletions

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "maximilliangroup/sparxstar-user-environment-check",
2+
"name": "Starisian/sparxstar-user-environment-check",
33
"description": "A network-wide utility that checks browser compatibility and logs anonymized technical data for diagnostics, with consent via the WP Consent API.",
44
"type": "wordpress-plugin",
55
"require-dev": {
@@ -13,10 +13,10 @@
1313
"automattic/eslint-config-target-es": "^4.0",
1414
"automattic/eslint-changed": "^2.1"
1515
},
16-
"license": "Proprietary",
16+
"license": "proprietary",
1717
"autoload": {
1818
"psr-4": {
19-
"Maximilliangroup\\SparxstarUserEnvironmentCheck\\": "src/"
19+
"Starisian\\SparxstarUEC\\": "src/"
2020
}
2121
},
2222
"authors": [

sparxstar-user-environment-check.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* License: Proprietary
1414
* License URI: https://github.com/Starisian-Technologies/sparxstar-user-environment-check/LICENSE
1515
* Update URI: https://github.com/Starisian-Technologies/sparxstar-user-environment-check.git
16+
* Copyright: 2025 Starisian Technologies
17+
* Copyright URI: https://starisian.com/copyright
1618
*
1719
* @package SparxstarUserEnvironmentCheck
1820
*/

src/SparxstarUserEnvironmentCheck.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
<?php
2+
namespace Starisian\SparxstarUEC;
3+
/**
4+
* Sparxstar User Environment Check
5+
*
6+
* This class handles the initialization and setup of the Sparxstar User Environment Check plugin.
7+
*
8+
* @package SparxstarUserEnvironmentCheck
9+
* @version 1.0.0
10+
* @since 1.0.0
11+
*
12+
*/
213

314

415

src/api/SparxstarUserEnvironmentCheckAPI.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
namespace Starisian\SparxstarUEC\api;
23
/**
34
* Sparxstar Environment Check REST API Handler
45
*
@@ -7,7 +8,10 @@
78
* specifically targeting MariaDB storage for snapshots.
89
*
910
* @package SparxstarUserEnvironmentCheck
10-
* @since 2.3.0
11+
* @since 1.0.0
12+
* @version 1.0.0
13+
* @see StarUserUtils for server-side environment data collection.
14+
* @see SparxstarUserEnvironmentCheckCacheHelper for caching layer integration.
1115
*/
1216

1317
namespace SparxstarUEC\includes;

src/css/sparxstar-user-env-check.css

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
/* ==============================
2-
SPARXSTAR EnvCheck Banner
3-
Modern, accessible design
4-
============================== */
1+
2+
/**
3+
* @file
4+
* CSS for the Sparxstar User Environment Check banner.
5+
*
6+
* This stylesheet provides styles for the notification banner displayed
7+
* by the Sparxstar User Environment Check plugin. It includes styles for
8+
* layout, colors, typography, and animations to ensure a modern and
9+
* accessible user experience.
10+
*
11+
* @package SparxstarUserEnvironmentCheck
12+
* @version 1.0.0
13+
*/
514

615
.envcheck-banner {
716
position: fixed;

src/includes/SparxstarUserEnvironmentCheckCacheHelper.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
2-
namespace SparxstarUEC\includes;
2+
namespace Starisian\SparxstarUEC\includes;
3+
/**
4+
* Caching helper for environment snapshots.
5+
*
6+
* @package SparxstarUserEnvironmentCheck
7+
* @since 1.0.0
8+
* @version 1.0.0
9+
*/
310

411
if ( ! defined( 'ABSPATH' ) ) {
512
exit;

src/js/sparxstar-user-env-check-device.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
/**
22
* @file Client-side script for SPARXSTAR Device Detection.
33
* @author Starisian Technologies (Max Barrett)
4-
* @version 1.0
4+
* @version 1.0.0
5+
* @since 1.0.0
6+
* @license GLP-3.0-or-later
57
*
68
* @description This script integrates device-detector-js to parse the user agent
79
* and provide detailed device, OS, and browser information.
810
* It exposes methods globally under window.SPARXSTAR.DeviceDetector.
11+
*
912
*/
1013

14+
15+
1116
(function() {
1217
'use strict';
1318

src/js/sparxstar-user-env-check-globals.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
/**
22
* @file Client-side script for SPARXSTAR Global Helper Methods.
33
* @author Starisian Technologies (Max Barrett)
4-
* @version 1.0
4+
* @version 1.0.0
5+
* @since 1.0.0
6+
* @license GLP-3.0-or-later
57
*
68
* @description This script exposes a few common utility methods globally for easy access
79
* from other scripts or the console, under the window.SPARXSTAR.Utils namespace.

src/js/sparxstar-user-env-check-main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* @author Starisian Technologies (Max Barrett)
44
* @version 0.5.0
55
* @since 0.1.0
6+
* @license GLP-3.0-or-later
67
*
78
* @description This script performs two primary functions:
89
* 1. Checks for modern browser API compatibility and displays a dismissible banner if required APIs are missing.

src/js/sparxstar-user-env-check-network.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* @file Client-side script for SPARXSTAR Network Monitoring.
33
* @author Starisian Technologies (Max Barrett)
44
* @version 1.0
5+
* @since 1.0.0
6+
* @license GLP-3.0-or-later
57
*
68
* @description This script utilizes the Network Information API and navigator.onLine
79
* to provide detailed network status and expose methods globally under

0 commit comments

Comments
 (0)