add patch instructions to create overridable functions by automatic
This commit is contained in:
parent
f36b13970e
commit
ba46258bbc
@ -33,9 +33,9 @@ use ReflectionException;
|
|||||||
class DebugBarComponent extends BaseController
|
class DebugBarComponent extends BaseController
|
||||||
{
|
{
|
||||||
/** @var StandardDebugBar */
|
/** @var StandardDebugBar */
|
||||||
public $debugBar;
|
protected $debugBar;
|
||||||
/** @var JavascriptRenderer */
|
/** @var JavascriptRenderer */
|
||||||
public $debugBarRenderer;
|
protected $debugBarRenderer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Marking object as component
|
* Marking object as component
|
||||||
|
@ -23,7 +23,13 @@ Please enter the following section in the `composer.json` of your project:
|
|||||||
"extra": {
|
"extra": {
|
||||||
"ajgl-symlinks": {
|
"ajgl-symlinks": {
|
||||||
"maximebf/debugbar": {
|
"maximebf/debugbar": {
|
||||||
"src/DebugBar/Resources": { "source/out/debugbar".
|
"src/DebugBar/Resources": "source/out/debugbar"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"enable-patching": "true",
|
||||||
|
"patches": {
|
||||||
|
"oxid-esales/oxideshop-ce": {
|
||||||
|
"Add overridable functions for advanced profiling in Debug Bar": "https://git.d3data.de/D3Public/DebugBar/raw/branch/patches/overridablefunctions.patch"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -25,6 +25,12 @@ Bitte tragen Sie den folgenden Abschnitt in die `composer.json` Ihres Projektes
|
|||||||
"maximebf/debugbar": {
|
"maximebf/debugbar": {
|
||||||
"src/DebugBar/Resources": "source/out/debugbar"
|
"src/DebugBar/Resources": "source/out/debugbar"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"enable-patching": "true",
|
||||||
|
"patches": {
|
||||||
|
"oxid-esales/oxideshop-ce": {
|
||||||
|
"Add overridable functions for advanced profiling in Debug Bar": "https://git.d3data.de/D3Public/DebugBar/raw/branch/patches/overridablefunctions.patch"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
"php": ">=7.3",
|
"php": ">=7.3",
|
||||||
"oxid-esales/oxideshop-ce": "6.8 - 6.10",
|
"oxid-esales/oxideshop-ce": "6.8 - 6.10",
|
||||||
"maximebf/debugbar": "^1.18",
|
"maximebf/debugbar": "^1.18",
|
||||||
"ajgl/composer-symlinker": "^0.3.1"
|
"ajgl/composer-symlinker": "^0.3.1",
|
||||||
|
"cweagans/composer-patches": "^1.7.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"php": "^7.4",
|
"php": "^7.4",
|
||||||
|
Loading…
Reference in New Issue
Block a user