Skip to content

Commit 15967c1

Browse files
authored
Merge pull request #1 from wireframe-framework/feature-multiple-pw-module-installers
Fix compatibility issue when multiple pw-module installers are enabled
2 parents 5d398e4 + 7e3c90a commit 15967c1

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.0.3] - 2020-10-20
11+
12+
### Fixed
13+
- Improved compatibility when both wireframe-framework/processwire-composer-installer and hari/pw-module are enabled.
14+
1015
## [1.0.2] - 2019-07-11
1116

1217
### Added

composer.json

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
"hari/pw-module": "^1.0.0"
1818
},
1919
"autoload": {
20+
"psr-0": {
21+
"PW\\Composer\\": "src/"
22+
},
2023
"psr-4": {
2124
"wireframe\\": "src/"
2225
}

src/PW/Composer/SystemInstaller.php

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
namespace PW\Composer;
4+
5+
/**
6+
* Compatibility layer for the PW\Composer\SystemInstaller class from hari/pw-module
7+
*
8+
* wireframe-framework/processwire-composer-installer and hari/pw-module are not fully compatible,
9+
* which means that when wireframe-framework/processwire-composer-installer is enabled, we need to
10+
* disable hari/pw-module.
11+
*/
12+
class SystemInstaller extends \wireframe\ComposerInstaller\BaseInstaller {}

0 commit comments

Comments
 (0)