Skip to content

Commit

Permalink
Merge branch 'craft-3-develop' into craft-3
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmenich committed Sep 30, 2024
2 parents c192e35 + da34759 commit cdded86
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Craft Remote

## 3.0.1 - 2024-09-30
### Changed
- Remove `str_contains()` call (requires PHP 8.0+) to older `mb_strpos()`, which has broader support.

## 3.0.0 - 2024-06-18
### Added
- Initial Craft 3.0 release
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "simplygoodwork/craft-remote",
"description": "Send your Craft site's telemetry like versions, installed plugins, and more to the third-party Craft Remote service.",
"type": "craft-plugin",
"version": "3.0.0",
"version": "3.0.1",
"keywords": [
"craft",
"cms",
Expand Down Expand Up @@ -31,7 +31,7 @@
"nystudio107/craft-plugin-vite": "^1.0.31"
},
"extra": {
"name": "Craft Remote",
"name": "Remote",
"handle": "remote",
"developer": "Good Work",
"developerUrl": "https://simplygoodwork.com",
Expand Down
2 changes: 1 addition & 1 deletion src/models/Packet.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ private function _getModules(): array
$modules = Craft::$app->getModules(true);
$data = [];
foreach ($modules as $namespace => $module) {
if(str_contains(get_class($module), 'modules\\')){
if(mb_strpos(get_class($module), 'modules\\') !== false){
$data[] = [
'name' => $module->id,
'namespace' => get_class($module),
Expand Down

0 comments on commit cdded86

Please sign in to comment.