eightshift-libs
eightshift-libs copied to clipboard
Library that is meant to be used inside Eightshift Boilerplate and Eightshift Boilerplate Plugin libs via composer in order to be able to easily set up a modern development process.
# Description Adds new command to WP CLI that uses dummy block template to create new block by replacing all folders, file and their contents with block name provided as...
### Describe your feature request Add GH commit ID helper to show in the wp admin maybe in the status bar or something like that. ### Describe the solution you'd...
### Describe your bug Never had this happen before, so I'm not sure what changed The dash seems to be escaped 👀 ### Steps to Reproduce 1. Have a plugin...
### Describe your feature request When running some CLI methods, I encountered two issues: 1. If you have a theme installed alongside the plugin, for instance, and you run some...
When running the CLI command for generating the `LoadMoreRoute`, it finishes correctly, but the namespace ends up using the project name, which can cause troubles if it includes spaces. Example:...
Add additional filters for - enable svg and json
We need to add optimisation service class from INF projet
@iruzevic can we also add `local` as a type here? _Originally posted by @kancijan in https://github.com/infinum/eightshift-libs/pull/425#discussion_r1743618944_
The `private` and `version` keys shouldn't be there, it fails config validation. `"license": "proprietary",` can be added instead per-project, if needed.
https://github.com/infinum/eightshift-libs/blob/ed2ab29f149cc7ca221a85bfba9095d9707b3886/src/Rest/CallableRouteInterface.php#L29 PHPStan throws the following error: `{namespace}Vendor\EightshiftLibs\Rest\CallableRouteInterface::routeCallback() has parameter $request with generic class WP_REST_Request but does not specify its types: T () [phpstan] phpstan [32, 1]`