We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f68ef9 commit 6e9ec0eCopy full SHA for 6e9ec0e
6 files changed
.vscode/settings.json
@@ -3,25 +3,10 @@
3
"Pohoda"
4
],
5
"workbench.colorCustomizations": {
6
- "activityBar.background": "#ba3b14",
7
- "titleBar.activeBackground": "#ba3b14",
8
- "titleBar.activeForeground": "#000000",
9
- "titleBar.inactiveBackground": "#ba3b14",
10
- "titleBar.inactiveForeground": "#000000",
11
- "titleBar.border": "#ba3b14",
12
- "activityBar.foreground": "#000000",
13
- "statusBar.background": "#ba3b14",
14
- "statusBar.foreground": "#000000",
15
- "statusBar.debuggingBackground": "#ba3b14",
16
- "statusBar.debuggingForeground": "#000000",
17
- "tab.activeBorder": "#ba3b14",
18
"iLoveWorkSpaceColors": true,
19
"iLoveWorkSpaceRandom": false,
20
- "activityBar.inactiveForeground": "#b69ed6",
21
"activityBar.activeBorder": "#f8fbf5",
22
- "activityBar.activeBackground": "#AB0552",
23
- "activityBar.border": "#AB0552",
24
- "statusBar.border": "#AB0552"
+ "activityBar.border": "#AB0552"
25
},
26
"php.version": "8.4"
27
}
debian/autoload.php
@@ -4,6 +4,9 @@
require_once '/usr/share/php/Composer/InstalledVersions.php';
require_once '/usr/share/php/Ease/autoload.php';
+require_once '/usr/share/php/Lightools/Xml/autoload.php';
+require_once '/usr/share/php/Riesenia/Pohoda/autoload.php';
+require_once '/usr/share/php/PohodaSer/autoload.php';
spl_autoload_register(function (string $class): void {
$prefix = 'mServer\\';
…exsoftware_pohoda_connector.metainfo.xml …exsoftware-pohoda-connector.metainfo.xmldebian/io.github.vitexsoftware.php_vitexsoftware_pohoda_connector.metainfo.xml renamed to debian/php-vitexsoftware-pohoda-connector.metainfo.xml
debian/rules
@@ -16,8 +16,7 @@ override_dh_install:
sed -i "s|'library'|'$(PKG_TYPE)'|g" debian/php-vitexsoftware-pohoda-connector/usr/share/php/mServer/autoload.php
# Version stamp from main composer.json
jq '.version = "$(PKG_VERSION)"' composer.json | sponge debian/php-vitexsoftware-pohoda-connector/usr/share/php/mServer/composer.json
- sed -i -e "s/\/\.\.\/\.\.\//\//g" debian/php-vitexsoftware-pohoda-connector/usr/share/php/mServer/Client.php
override_dh_auto_test:
appstreamcli validate --pedantic --no-net \
- debian/io.github.vitexsoftware.php_vitexsoftware_pohoda_connector.metainfo.xml
+ debian/php-vitexsoftware-pohoda-connector.metainfo.xml
src/mServer/Client.php
@@ -561,7 +561,7 @@ public function processResponse(int $httpCode): bool
561
562
563
if ($this->debug) {
564
- $this->addStatusMessage('validate request by: xmllint --schema '.\dirname(__DIR__, 3).'/pohodaser/xsd/data.xsd '.$this->xmlCache.' --noout', 'debug');
+ $this->addStatusMessage('validate request by: xmllint --schema '.\Composer\InstalledVersions::getInstallPath('vitexsoftware/pohodaser').'/xsd/data.xsd '.$this->xmlCache.' --noout', 'debug');
565
566
567
libxml_use_internal_errors(false);
@@ -665,7 +665,7 @@ public function commit(): bool
665
$this->setPostFields(file_get_contents($this->xmlCache));
666
667
668
669
670
671
return $this->performRequest('/xml');
src/mServer/Response.php
@@ -675,7 +675,7 @@ public static function deserialize(string $rawXml): ?\Pohoda\Response\ResponsePa
675
{
676
$responsePack = null;
677
$serializerBuilder = SerializerBuilder::create();
678
- $serializerBuilder->addMetadataDir(\dirname(__DIR__, 2).'/vendor/vitexsoftware/pohodaser/metadata/', 'Pohoda');
+ $serializerBuilder->addMetadataDir(\Composer\InstalledVersions::getInstallPath('vitexsoftware/pohodaser').'/metadata/', 'Pohoda');
679
$serializerBuilder->configureHandlers(static function (HandlerRegistryInterface $handler) use ($serializerBuilder): void {
680
$serializerBuilder->addDefaultHandlers();
681
$handler->registerSubscribingHandler(new BaseTypesHandler()); // XMLSchema List handling
0 commit comments