1.4.0 - Package::connect()
It is now possible to connect Packages via Package::connect()
. Read more about the newest feature in our documentation: https://inpsyde.github.io/modularity/Package/#connecting-packages
Development
- Added
Package::connect()
- Added ACTION_PACKAGE_CONNECTED and ACTION_FAILED_CONNECTION actions
- Added
Package::connectedPackages()
andPackage::isPackageConnected()
utility methods - Added
PackageProxyContainer
class
Unit tests
- Added cases in PackageTest to test packages connection
- Require WP_Error from real WordPress in tests (no need to mock)
- Improve PHPUnit bootstrap: no need to require autoload when PHPUNIT_COMPOSER_INSTALL is defined
Psalm
- Remove custom autoloader and use PHP Stubs instead
- Update config for latest Psalm version
- Fix minor Psalm issues in LibraryProperties
Misc
Restricted accepted range of dev-dependencies
Docs
- Add documentation for package connection
- We can have a
<h1>
in every file, and
Special props to @gmazzap who did the main work 💪