add patch instructions to create overridable functions by automatic

Cette révision appartient à :
Daniel Seifert 2022-08-01 22:44:05 +02:00
Parent f36b13970e
révision ba46258bbc
Signé par: DanielS
ID de la clé GPG: 6A513E13AEE66170
4 fichiers modifiés avec 17 ajouts et 4 suppressions

Voir le fichier

@ -33,9 +33,9 @@ use ReflectionException;
class DebugBarComponent extends BaseController
{
/** @var StandardDebugBar */
public $debugBar;
protected $debugBar;
/** @var JavascriptRenderer */
public $debugBarRenderer;
protected $debugBarRenderer;
/**
* Marking object as component

Voir le fichier

@ -23,7 +23,13 @@ Please enter the following section in the `composer.json` of your project:
"extra": {
"ajgl-symlinks": {
"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"
}
}
}

Voir le fichier

@ -25,6 +25,12 @@ Bitte tragen Sie den folgenden Abschnitt in die `composer.json` Ihres Projektes
"maximebf/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"
}
}
}
```

Voir le fichier

@ -28,7 +28,8 @@
"php": ">=7.3",
"oxid-esales/oxideshop-ce": "6.8 - 6.10",
"maximebf/debugbar": "^1.18",
"ajgl/composer-symlinker": "^0.3.1"
"ajgl/composer-symlinker": "^0.3.1",
"cweagans/composer-patches": "^1.7.2"
},
"require-dev": {
"php": "^7.4",