Skip to content

Commit

Permalink
release 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed Jun 5, 2024
1 parent 18b9047 commit fc0f831
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 68 deletions.
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@
"brain/monkey": "^2.6.1",
"dealerdirect/phpcodesniffer-composer-installer": "^v1.0.0",
"infinum/eightshift-coding-standards": "3.0.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"pestphp/pest": "^1.23.0",
"php-stubs/wordpress-stubs": "^6.3",
"phpunit/phpunit": "^9.6.8",
"szepeviktor/phpstan-wordpress": "^1.3",
"wp-cli/wp-cli": "^2.9"
"php-parallel-lint/php-parallel-lint": "^v1.4.0",
"pestphp/pest": "^v1.23.1",
"php-stubs/wordpress-stubs": "^v6.5.3",
"phpunit/phpunit": "^9.6.19",
"szepeviktor/phpstan-wordpress": "^v1.3.4",
"wp-cli/wp-cli": "^v2.10.0"
},
"require": {
"php": ">=8.2",
"erusev/parsedown": "^1.7.4",
"infinum/eightshift-forms-utils": "dev-develop"
"infinum/eightshift-forms-utils": "^2.0.0"
},
"autoload": {
"psr-4": {
Expand Down
120 changes: 59 additions & 61 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions src/Cache/ManifestCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use EightshiftFormsVendor\EightshiftFormsUtils\Config\UtilsConfig;
use EightshiftFormsVendor\EightshiftFormsUtils\Helpers\UtilsDataHelper;
use EightshiftFormsVendor\EightshiftLibs\Cache\AbstractManifestCache;
use EightshiftFormsVendor\EightshiftLibs\Helpers\Helpers;

/**
* The project cache class.
Expand Down Expand Up @@ -52,6 +53,16 @@ public function getCacheName(): string
return UtilsConfig::MAIN_PLUGIN_MANIFEST_CACHE_NAME;
}

/**
* Get cache version.
*
* @return string
*/
public function getVersion(): string
{
return Helpers::getPluginVersion();
}

/**
* Set the cache for the entire project.
*
Expand Down

0 comments on commit fc0f831

Please sign in to comment.