diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ea329e2e57..53520ee12c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,7 @@ test:
- sed -i "s/_PRODUCT_/$REBRANDING/g" $CI_PROJECT_DIR/pandora_server/Makefile.PL
- sed -i "s/TENTACLE_USER=\"pandora\"/TENTACLE_USER=\"$REBRANDING\"/g" $CI_PROJECT_DIR/pandora_server/util/tentacle_serverd
- docker pull pandorafms/pandorafms-base:rocky8.5
- - docker run --rm -e REBRANDING="$REBRANDING" -h pandorafms -t -v "$CI_PROJECT_DIR:/tmp/pandorafms" pandorafms/pandorafms-base:rocky8.5 /tmp/pandorafms/tests/test.sh
+ - docker run --ulimit nofile=262144:262144 --rm -e REBRANDING="$REBRANDING" -h pandorafms -t -v "$CI_PROJECT_DIR:/tmp/pandorafms" pandorafms/pandorafms-base:rocky8.5 /tmp/pandorafms/tests/test.sh
test_php_legacy:
stage: test
@@ -22,4 +22,4 @@ test_php_legacy:
- df -h | grep instaladores | awk '{print $NF}' |xargs umount >/dev/null 2>&1 || true
script:
- docker pull pandorafms/pandorafms-base:centos7
- - docker run --rm -h pandorafms -t -v "$CI_PROJECT_DIR:/tmp/pandorafms" pandorafms/pandorafms-base:centos7 /tmp/pandorafms/tests/test_legacy.sh
+ - docker run --ulimit nofile=262144:262144 --rm -h pandorafms -t -v "$CI_PROJECT_DIR:/tmp/pandorafms" pandorafms/pandorafms-base:centos7 /tmp/pandorafms/tests/test_legacy.sh
diff --git a/extras/deploy-scripts/pandora_agent_deploy.sh b/extras/deploy-scripts/pandora_agent_deploy.sh
index 74db9d7c72..281ad530a9 100644
--- a/extras/deploy-scripts/pandora_agent_deploy.sh
+++ b/extras/deploy-scripts/pandora_agent_deploy.sh
@@ -4,7 +4,7 @@
# define variables
PANDORA_AGENT_CONF=/etc/pandora/pandora_agent.conf
-S_VERSION='2021100601'
+S_VERSION='2022052301'
LOGFILE="/tmp/pandora-agent-deploy-$(date +%F).log"
# Ansi color code variables
@@ -49,7 +49,6 @@ check_cmd_status () {
}
check_repo_connection () {
- execute_cmd "ping -c 2 8.8.8.8" "Checking internet connection"
execute_cmd "ping -c 2 firefly.artica.es" "Checking Community repo"
}
@@ -79,10 +78,15 @@ echo "Starting PandoraFMS Agent deployment ver. $S_VERSION"
execute_cmd "[ $PANDORA_SERVER_IP ]" 'Check Server IP Address' 'Please define env variable PANDORA_SERVER_IP'
+#Detect OS
+os_name=$(grep ^PRETTY_NAME= /etc/os-release | cut -d '=' -f2 | tr -d '"')
+execute_cmd "echo $os_name" "OS detected: ${os_name}"
+
# Check OS.
OS=$([[ $(grep '^ID_LIKE=' /etc/os-release) ]] && grep ^ID_LIKE= /etc/os-release | cut -d '=' -f2 | tr -d '"' || grep ^ID= /etc/os-release | cut -d '=' -f2 | tr -d '"')
[[ $OS =~ 'rhel' ]] && OS_RELEASE=$OS
+[[ $OS =~ 'fedora' ]] && OS_RELEASE=$OS
[[ $OS =~ 'debian' ]] && OS_RELEASE=$OS
#[[ $OS == 'rhel fedora' ]] && OS_RELEASE=$OS
#[[ $OS == 'centos rhel fedora' ]] && OS_RELEASE=$OS
@@ -113,17 +117,40 @@ execute_cmd "cd $HOME/pandora_deploy_tmp" "Moving to workspace: $HOME/pandora_d
# Downloading and installing packages
-if [[ $OS_RELEASE =~ 'rhel' ]]; then
- yum install -y perl wget curl perl-Sys-Syslog unzip &>> $LOGFILE
- echo -e "${cyan}Instaling agent dependencies...${reset}" ${green}OK${reset}
+if [[ $OS_RELEASE =~ 'rhel' ]] || [[ $OS_RELEASE =~ 'fedora' ]]; then
+ ## Extra steps on redhat
+ if [ "$(grep -Ei 'Red Hat Enterprise' /etc/redhat-release)" ]; then
+ ## In case REDHAT
+ # Check susbscription manager status:
+ echo -en "${cyan}Checking Red Hat Enterprise subscription... ${reset}"
+ subscription-manager list &>> "$LOGFILE"
+ subscription-manager status &>> "$LOGFILE"
+ check_cmd_status 'Error checking subscription status, make sure your server is activated and suscribed to Red Hat Enterprise repositories'
+
+ fi
+
+ # Check rh version
+ if [ $(sed -nr 's/VERSION_ID+=\s*"([0-9]).*"$/\1/p' /etc/os-release) -eq '8' ] ; then
+ package_manager_cmd=dnf
+ elif [ $(sed -nr 's/VERSION_ID+=\s*"([0-9]).*"$/\1/p' /etc/os-release) -eq '7' ] ; then
+ package_manager_cmd=yum
+
+ fi
+
+ # Install dependencies
+ $package_manager_cmd install -y perl wget curl perl-Sys-Syslog unzip &>> $LOGFILE
+ echo -e "${cyan}Installing agent dependencies...${reset}" ${green}OK${reset}
- yum install -y http://firefly.artica.es/pandorafms/latest/RHEL_CentOS/pandorafms_agent_unix-7.0NG.noarch.rpm &>> $LOGFILE
- echo -e "${cyan}Instaling Pandora FMS agent...${reset}" ${green}OK${reset}
+ # Insatall pandora agent
+ $package_manager_cmd install -y http://firefly.artica.es/pandorafms/latest/RHEL_CentOS/pandorafms_agent_unix-7.0NG.noarch.rpm &>> $LOGFILE
+ echo -en "${cyan}Installing Pandora FMS agent...${reset}"
+ check_cmd_status 'Error installing Pandora FMS agent'
+
fi
if [[ $OS_RELEASE == 'debian' ]]; then
execute_cmd "apt update" 'Updating repos'
- execute_cmd "apt install -y perl wget curl unzip procps python3 python3-pip" 'Instaling agent dependencies'
+ execute_cmd "apt install -y perl wget curl unzip procps python3 python3-pip" 'Installing agent dependencies'
execute_cmd 'wget http://firefly.artica.es/pandorafms/latest/Debian_Ubuntu/pandorafms.agent_unix_7.0NG.deb' 'Downloading Pandora FMS agent dependencies'
execute_cmd 'apt install -y ./pandorafms.agent_unix_7.0NG.deb' 'Installing Pandora FMS agent'
fi
diff --git a/extras/deploy-scripts/pandora_deploy_community.sh b/extras/deploy-scripts/pandora_deploy_community.sh
index d3415bf019..a0f08822e1 100644
--- a/extras/deploy-scripts/pandora_deploy_community.sh
+++ b/extras/deploy-scripts/pandora_deploy_community.sh
@@ -11,7 +11,7 @@ PANDORA_SERVER_CONF=/etc/pandora/pandora_server.conf
PANDORA_AGENT_CONF=/etc/pandora/pandora_agent.conf
-S_VERSION='2022020801'
+S_VERSION='2022050901'
LOGFILE="/tmp/pandora-deploy-community-$(date +%F).log"
# define default variables
@@ -82,7 +82,6 @@ check_pre_pandora () {
}
check_repo_connection () {
- execute_cmd "ping -c 2 8.8.8.8" "Checking internet connection"
execute_cmd "ping -c 2 firefly.artica.es" "Checking Community repo"
execute_cmd "ping -c 2 support.pandorafms.com" "Checking Enterprise repo"
}
@@ -256,6 +255,9 @@ console_dependencies=" \
xorg-x11-fonts-misc \
poppler-data \
php-yaml \
+ mod_ssl \
+ libzstd \
+ openldap-clients \
http://firefly.artica.es/centos8/phantomjs-2.1.1-1.el7.x86_64.rpm"
execute_cmd "yum install -y $console_dependencies" "Installing Pandora FMS Console dependencies"
@@ -281,7 +283,8 @@ server_dependencies=" \
openssh-clients \
java \
http://firefly.artica.es/centos7/xprobe2-0.3-12.2.x86_64.rpm \
- http://firefly.artica.es/centos7/wmic-1.4-1.el7.x86_64.rpm"
+ http://firefly.artica.es/centos7/wmic-1.4-1.el7.x86_64.rpm \
+ https://firefly.artica.es/centos7/pandorawmic-1.0.0-1.x86_64.rpm"
execute_cmd "yum install -y $server_dependencies" "Installing Pandora FMS Server dependencies"
# SDK VMware perl dependencies
@@ -420,7 +423,7 @@ execute_cmd "curl -LSs --output pandorafms_agent_unix-7.0NG.noarch.rpm ${PANDORA
execute_cmd "yum install -y $HOME/pandora_deploy_tmp/pandorafms*.rpm" "installing PandoraFMS packages"
# Copy gotty utility
-execute_cmd "wget https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_amd64.tar.gz" 'Dowloading gotty util'
+execute_cmd "wget https://pandorafms.com/library/wp-content/uploads/2019/11/gotty_linux_amd64.tar.gz" 'Dowloading gotty util'
tar xvzf gotty_linux_amd64.tar.gz &>> $LOGFILE
execute_cmd "mv gotty /usr/bin/" 'Installing gotty util'
diff --git a/extras/deploy-scripts/pandora_deploy_community_el8.sh b/extras/deploy-scripts/pandora_deploy_community_el8.sh
index 9fb91bac8a..5b549a2933 100644
--- a/extras/deploy-scripts/pandora_deploy_community_el8.sh
+++ b/extras/deploy-scripts/pandora_deploy_community_el8.sh
@@ -14,11 +14,13 @@ PANDORA_SERVER_CONF=/etc/pandora/pandora_server.conf
PANDORA_AGENT_CONF=/etc/pandora/pandora_agent.conf
-S_VERSION='2022020801'
+S_VERSION='2022052501'
LOGFILE="/tmp/pandora-deploy-community-$(date +%F).log"
# define default variables
[ "$TZ" ] || TZ="Europe/Madrid"
+[ "$MYVER" ] || MYVER=57
+[ "$PHPVER" ] || PHPVER=7
[ "$DBHOST" ] || DBHOST=127.0.0.1
[ "$DBNAME" ] || DBNAME=pandora
[ "$DBUSER" ] || DBUSER=pandora
@@ -84,7 +86,6 @@ check_pre_pandora () {
}
check_repo_connection () {
- execute_cmd "ping -c 2 8.8.8.8" "Checking internet connection"
execute_cmd "ping -c 2 firefly.artica.es" "Checking Community repo"
execute_cmd "ping -c 2 support.pandorafms.com" "Checking Enterprise repo"
}
@@ -166,9 +167,8 @@ if [ "$(grep -Ei 'Red Hat Enterprise' /etc/redhat-release)" ]; then
## In case REDHAT
# Check susbscription manager status:
echo -en "${cyan}Checking Red Hat Enterprise subscription... ${reset}"
- subscription-manager status &>> "$LOGFILE"
subscription-manager list &>> "$LOGFILE"
- subscription-manager list | grep 'Status:' | grep Subscribed &>> "$LOGFILE"
+ subscription-manager status &>> "$LOGFILE"
check_cmd_status 'Error checking subscription status, make sure your server is activated and suscribed to Red Hat Enterprise repositories'
# Ckeck repolist
@@ -204,15 +204,28 @@ fi
#Installing wget
execute_cmd "dnf install -y wget" "Installing wget"
-#Installing extra repositiries
-
+#Installing php
execute_cmd "dnf module reset -y php " "Disabling standard PHP module"
-execute_cmd "dnf module install -y php:remi-7.4" "Configuring PHP"
+if [ "$PHPVER" -ne '8' ] ; then
+ execute_cmd "dnf module install -y php:remi-7.4" "Configuring PHP 7"
+fi
+
+if [ "$PHPVER" -eq '8' ] ; then
+ execute_cmd "dnf module install -y php:remi-8.0" "Configuring PHP 8"
+fi
# Install percona Database
execute_cmd "dnf module disable -y mysql" "Disabiling mysql module"
-#rm -rf /etc/my.cnf
-execute_cmd "dnf install -y Percona-Server-server-57" "Installing Percona Server"
+
+if [ "$MYVER" -eq '80' ] ; then
+ execute_cmd "percona-release setup ps80 -y" "Enabling mysql80 module"
+ execute_cmd "dnf install -y percona-server-server percona-xtrabackup-24" "Installing Percona Server 80"
+fi
+
+if [ "$MYVER" -ne '80' ] ; then
+ execute_cmd "dnf install -y Percona-Server-server-57 percona-xtrabackup-24" "Installing Percona Server 57"
+fi
+
# Console dependencies
console_dependencies=" \
@@ -294,6 +307,8 @@ console_dependencies=" \
poppler-data \
php-yaml \
mod_ssl \
+ libzstd \
+ openldap-clients \
http://firefly.artica.es/centos8/perl-Net-Telnet-3.04-1.el8.noarch.rpm \
http://firefly.artica.es/centos7/wmic-1.4-1.el7.x86_64.rpm \
http://firefly.artica.es/centos8/phantomjs-2.1.1-1.el7.x86_64.rpm"
@@ -321,7 +336,8 @@ server_dependencies=" \
openssh-clients \
java \
http://firefly.artica.es/centos7/xprobe2-0.3-12.2.x86_64.rpm \
- http://firefly.artica.es/centos7/wmic-1.4-1.el7.x86_64.rpm"
+ http://firefly.artica.es/centos7/wmic-1.4-1.el7.x86_64.rpm \
+ https://firefly.artica.es/centos8/pandorawmic-1.0.0-1.x86_64.rpm"
execute_cmd "dnf install -y $server_dependencies" "Installing Pandora FMS Server dependencies"
# SDK VMware perl dependencies
@@ -381,20 +397,33 @@ EO_CONFIG_TMP
#Configuring Database
if [ "$SKIP_DATABASE_INSTALL" -eq '0' ] ; then
-execute_cmd "systemctl start mysqld" "Starting database engine"
-export MYSQL_PWD=$(grep "temporary password" /var/log/mysqld.log | rev | cut -d' ' -f1 | rev)
-echo """
- SET PASSWORD FOR 'root'@'localhost' = PASSWORD('Pandor4!');
- UNINSTALL PLUGIN validate_password;
- SET PASSWORD FOR 'root'@'localhost' = PASSWORD('$DBROOTPASS');
- """ | mysql --connect-expired-password -uroot &>> "$LOGFILE"
+ execute_cmd "systemctl start mysqld" "Starting database engine"
+ export MYSQL_PWD=$(grep "temporary password" /var/log/mysqld.log | rev | cut -d' ' -f1 | rev)
+ if [ "$MYVER" -eq '80' ] ; then
+ echo """
+ SET PASSWORD FOR 'root'@'localhost' = 'Pandor4!';
+ UNINSTALL COMPONENT 'file://component_validate_password';
+ SET PASSWORD FOR 'root'@'localhost' = '$DBROOTPASS';
+ """ | mysql --connect-expired-password -uroot &>> "$LOGFILE"
+ fi
+
+ if [ "$MYVER" -ne '80' ] ; then
+ echo """
+ SET PASSWORD FOR 'root'@'localhost' = PASSWORD('Pandor4!');
+ UNINSTALL PLUGIN validate_password;
+ SET PASSWORD FOR 'root'@'localhost' = PASSWORD('$DBROOTPASS');
+ """ | mysql --connect-expired-password -uroot &>> "$LOGFILE"fi
+ fi
fi
export MYSQL_PWD=$DBROOTPASS
echo -en "${cyan}Creating Pandora FMS database...${reset}"
echo "create database $DBNAME" | mysql -uroot -P$DBPORT -h$DBHOST
check_cmd_status "Error creating database $DBNAME, is this an empty node? if you have a previus installation please contact with support."
-echo "GRANT ALL PRIVILEGES ON $DBNAME.* TO \"$DBUSER\"@'%' identified by \"$DBPASS\"" | mysql -uroot -P$DBPORT -h$DBHOST
+echo "CREATE USER \"$DBUSER\"@'%' IDENTIFIED BY \"$DBPASS\";" | mysql -uroot -P$DBPORT -h$DBHOST
+echo "ALTER USER \"$DBUSER\"@'%' IDENTIFIED WITH mysql_native_password BY \"$DBPASS\"" | mysql -uroot -P$DBPORT -h$DBHOST
+echo "GRANT ALL PRIVILEGES ON $DBNAME.* TO \"$DBUSER\"@'%'" | mysql -uroot -P$DBPORT -h$DBHOST
+
export MYSQL_PWD=$DBPASS
#Generating my.cnf
@@ -442,6 +471,10 @@ pid-file=/var/run/mysqld/mysqld.pid
EO_CONFIG_F
+if [ "$MYVER" -eq '80' ] ; then
+ sed -i -e "/query_cache.*/ s/^#*/#/g" /etc/my.cnf
+fi
+
execute_cmd "systemctl restart mysqld" "Configuring database engine"
@@ -465,7 +498,7 @@ execute_cmd "curl -LSs --output pandorafms_agent_unix-7.0NG.noarch.rpm ${PANDORA
execute_cmd "dnf install -y $HOME/pandora_deploy_tmp/pandorafms*.rpm" "Installing Pandora FMS packages"
# Copy gotty utility
-execute_cmd "wget https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_amd64.tar.gz" 'Dowloading gotty util'
+execute_cmd "wget https://pandorafms.com/library/wp-content/uploads/2019/11/gotty_linux_amd64.tar.gz" 'Dowloading gotty util'
tar xvzf gotty_linux_amd64.tar.gz &>> $LOGFILE
execute_cmd "mv gotty /usr/bin/" 'Installing gotty util'
@@ -540,6 +573,10 @@ sed -i -e "s/^max_input_time.*/max_input_time = -1/g" /etc/php.ini
sed -i -e "s/^max_execution_time.*/max_execution_time = 0/g" /etc/php.ini
sed -i -e "s/^upload_max_filesize.*/upload_max_filesize = 800M/g" /etc/php.ini
sed -i -e "s/^memory_limit.*/memory_limit = 800M/g" /etc/php.ini
+sed -i -e "s/.*post_max_size =.*/post_max_size = 800M/" /etc/php.ini
+
+#adding 900s to httpd timeout
+echo 'TimeOut 900' > /etc/httpd/conf.d/timeout.conf
cat > /var/www/html/index.html << EOF_INDEX
diff --git a/pandora_agents/pc/AIX/pandora_agent.conf b/pandora_agents/pc/AIX/pandora_agent.conf
index 3976644df1..cb45a7bd15 100644
--- a/pandora_agents/pc/AIX/pandora_agent.conf
+++ b/pandora_agents/pc/AIX/pandora_agent.conf
@@ -1,5 +1,5 @@
# Base config file for Pandora FMS agents
-# Version 7.0NG.760, AIX version
+# Version 7.0NG.762, AIX version
# Licensed under GPL license v2,
# Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com
diff --git a/pandora_agents/pc/FreeBSD/pandora_agent.conf b/pandora_agents/pc/FreeBSD/pandora_agent.conf
index b63f7aec82..fa1ffa8133 100644
--- a/pandora_agents/pc/FreeBSD/pandora_agent.conf
+++ b/pandora_agents/pc/FreeBSD/pandora_agent.conf
@@ -1,5 +1,5 @@
# Base config file for Pandora FMS agents
-# Version 7.0NG.760, FreeBSD Version
+# Version 7.0NG.762, FreeBSD Version
# Licensed under GPL license v2,
# Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com
diff --git a/pandora_agents/pc/HP-UX/pandora_agent.conf b/pandora_agents/pc/HP-UX/pandora_agent.conf
index 237f959062..1036c5ac99 100644
--- a/pandora_agents/pc/HP-UX/pandora_agent.conf
+++ b/pandora_agents/pc/HP-UX/pandora_agent.conf
@@ -1,5 +1,5 @@
# Base config file for Pandora FMS agents
-# Version 7.0NG.760, HP-UX Version
+# Version 7.0NG.762, HP-UX Version
# Licensed under GPL license v2,
# Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com
diff --git a/pandora_agents/pc/Linux/pandora_agent.conf b/pandora_agents/pc/Linux/pandora_agent.conf
index 1d8f5320a3..1dadeb7920 100644
--- a/pandora_agents/pc/Linux/pandora_agent.conf
+++ b/pandora_agents/pc/Linux/pandora_agent.conf
@@ -1,5 +1,5 @@
# Base config file for Pandora FMS agents
-# Version 7.0NG.760, GNU/Linux
+# Version 7.0NG.762, GNU/Linux
# Licensed under GPL license v2,
# Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com
diff --git a/pandora_agents/pc/NT4/pandora_agent.conf b/pandora_agents/pc/NT4/pandora_agent.conf
index 2d9b24af39..4562f53bac 100644
--- a/pandora_agents/pc/NT4/pandora_agent.conf
+++ b/pandora_agents/pc/NT4/pandora_agent.conf
@@ -1,5 +1,5 @@
# Base config file for Pandora FMS agents
-# Version 7.0NG.760, GNU/Linux
+# Version 7.0NG.762, GNU/Linux
# Licensed under GPL license v2,
# Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com
diff --git a/pandora_agents/pc/SunOS/pandora_agent.conf b/pandora_agents/pc/SunOS/pandora_agent.conf
index 9f8024d1c9..00fa5178a7 100644
--- a/pandora_agents/pc/SunOS/pandora_agent.conf
+++ b/pandora_agents/pc/SunOS/pandora_agent.conf
@@ -1,5 +1,5 @@
# Base config file for Pandora FMS agents
-# Version 7.0NG.760, Solaris Version
+# Version 7.0NG.762, Solaris Version
# Licensed under GPL license v2,
# Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com
diff --git a/pandora_agents/pc/Win32/pandora_agent.conf b/pandora_agents/pc/Win32/pandora_agent.conf
index 391dbab129..a48eb35ce5 100644
--- a/pandora_agents/pc/Win32/pandora_agent.conf
+++ b/pandora_agents/pc/Win32/pandora_agent.conf
@@ -1,6 +1,6 @@
# Base config file for Pandora FMS Windows Agent
# (c) 2006-2021 Artica Soluciones Tecnologicas
-# Version 7.0NG.760
+# Version 7.0NG.762
# This program is Free Software, you can redistribute it and/or modify it
# under the terms of the GNU General Public Licence as published by the Free Software
# Foundation; either version 2 of the Licence or any later version
diff --git a/pandora_agents/shellscript/aix/pandora_agent.conf b/pandora_agents/shellscript/aix/pandora_agent.conf
index f2a45c14bc..d0e6d59918 100644
--- a/pandora_agents/shellscript/aix/pandora_agent.conf
+++ b/pandora_agents/shellscript/aix/pandora_agent.conf
@@ -1,6 +1,6 @@
# Fichero de configuracion base de agentes de Pandora
# Base config file for Pandora agents
-# Version 7.0NG.760, AIX version
+# Version 7.0NG.762, AIX version
# General Parameters
# ==================
diff --git a/pandora_agents/shellscript/bsd-ipso/pandora_agent.conf b/pandora_agents/shellscript/bsd-ipso/pandora_agent.conf
index b3ebd56efd..849edefe11 100644
--- a/pandora_agents/shellscript/bsd-ipso/pandora_agent.conf
+++ b/pandora_agents/shellscript/bsd-ipso/pandora_agent.conf
@@ -1,6 +1,6 @@
# Fichero de configuracion base de agentes de Pandora
# Base config file for Pandora agents
-# Version 7.0NG.760
+# Version 7.0NG.762
# FreeBSD/IPSO version
# Licenced under GPL licence, 2003-2007 Sancho Lerena
diff --git a/pandora_agents/shellscript/hp-ux/pandora_agent.conf b/pandora_agents/shellscript/hp-ux/pandora_agent.conf
index aef52478b8..e3ce77d2a8 100644
--- a/pandora_agents/shellscript/hp-ux/pandora_agent.conf
+++ b/pandora_agents/shellscript/hp-ux/pandora_agent.conf
@@ -1,6 +1,6 @@
# Fichero de configuracion base de agentes de Pandora
# Base config file for Pandora agents
-# Version 7.0NG.760, HPUX Version
+# Version 7.0NG.762, HPUX Version
# General Parameters
# ==================
diff --git a/pandora_agents/shellscript/linux/pandora_agent.conf b/pandora_agents/shellscript/linux/pandora_agent.conf
index 3d0ffc64af..af53f47562 100644
--- a/pandora_agents/shellscript/linux/pandora_agent.conf
+++ b/pandora_agents/shellscript/linux/pandora_agent.conf
@@ -1,5 +1,5 @@
# Base config file for Pandora FMS agents
-# Version 7.0NG.760
+# Version 7.0NG.762
# Licensed under GPL license v2,
# (c) 2003-2021 Artica Soluciones Tecnologicas
# please visit http://pandora.sourceforge.net
diff --git a/pandora_agents/shellscript/mac_osx/pandora_agent.conf b/pandora_agents/shellscript/mac_osx/pandora_agent.conf
index 256317e7d8..39ad8d5ad5 100644
--- a/pandora_agents/shellscript/mac_osx/pandora_agent.conf
+++ b/pandora_agents/shellscript/mac_osx/pandora_agent.conf
@@ -1,5 +1,5 @@
# Base config file for Pandora FMS agents
-# Version 7.0NG.760
+# Version 7.0NG.762
# Licensed under GPL license v2,
# (c) 2003-2021 Artica Soluciones Tecnologicas
# please visit http://pandora.sourceforge.net
diff --git a/pandora_agents/shellscript/openWRT/pandora_agent.conf b/pandora_agents/shellscript/openWRT/pandora_agent.conf
index 11e6a0a34c..402ff05149 100644
--- a/pandora_agents/shellscript/openWRT/pandora_agent.conf
+++ b/pandora_agents/shellscript/openWRT/pandora_agent.conf
@@ -1,5 +1,5 @@
# Base config file for Pandora FMS agents
-# Version 7.0NG.760
+# Version 7.0NG.762
# Licensed under GPL license v2,
# please visit http://pandora.sourceforge.net
diff --git a/pandora_agents/shellscript/solaris/pandora_agent.conf b/pandora_agents/shellscript/solaris/pandora_agent.conf
index 6f7610f014..c6dea91d32 100644
--- a/pandora_agents/shellscript/solaris/pandora_agent.conf
+++ b/pandora_agents/shellscript/solaris/pandora_agent.conf
@@ -1,6 +1,6 @@
# Fichero de configuracion base de agentes de Pandora
# Base config file for Pandora agents
-# Version 7.0NG.760, Solaris version
+# Version 7.0NG.762, Solaris version
# General Parameters
# ==================
diff --git a/pandora_agents/unix/AIX/pandora_agent.conf b/pandora_agents/unix/AIX/pandora_agent.conf
index 33a4c0651a..85b4668cb5 100644
--- a/pandora_agents/unix/AIX/pandora_agent.conf
+++ b/pandora_agents/unix/AIX/pandora_agent.conf
@@ -1,5 +1,5 @@
# Base config file for Pandora FMS agents
-# Version 7.0NG.760, AIX version
+# Version 7.0NG.762, AIX version
# Licensed under GPL license v2,
# Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com
diff --git a/pandora_agents/unix/DEBIAN/control b/pandora_agents/unix/DEBIAN/control
index ecd556234d..7aa0b1dc23 100644
--- a/pandora_agents/unix/DEBIAN/control
+++ b/pandora_agents/unix/DEBIAN/control
@@ -1,5 +1,5 @@
package: pandorafms-agent-unix
-Version: 7.0NG.760-220406
+Version: 7.0NG.762-220616
Architecture: all
Priority: optional
Section: admin
diff --git a/pandora_agents/unix/DEBIAN/make_deb_package.sh b/pandora_agents/unix/DEBIAN/make_deb_package.sh
index 2217c58b09..da2264d92c 100644
--- a/pandora_agents/unix/DEBIAN/make_deb_package.sh
+++ b/pandora_agents/unix/DEBIAN/make_deb_package.sh
@@ -14,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-pandora_version="7.0NG.760-220406"
+pandora_version="7.0NG.762-220616"
echo "Test if you has the tools for to make the packages."
whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null
diff --git a/pandora_agents/unix/Darwin/dmg/build_darwin_dmg.sh b/pandora_agents/unix/Darwin/dmg/build_darwin_dmg.sh
index b765ffa768..5cbb605e1b 100644
--- a/pandora_agents/unix/Darwin/dmg/build_darwin_dmg.sh
+++ b/pandora_agents/unix/Darwin/dmg/build_darwin_dmg.sh
@@ -31,7 +31,7 @@ fi
if [ "$#" -ge 2 ]; then
VERSION="$2"
else
- VERSION="7.0NG.760"
+ VERSION="7.0NG.762"
fi
# Path for the generated DMG file
diff --git a/pandora_agents/unix/Darwin/dmg/extras/distribution.xml b/pandora_agents/unix/Darwin/dmg/extras/distribution.xml
index 9d3a9d92b4..534111e992 100644
--- a/pandora_agents/unix/Darwin/dmg/extras/distribution.xml
+++ b/pandora_agents/unix/Darwin/dmg/extras/distribution.xml
@@ -19,11 +19,11 @@
- pandorafms_src.pdk
+ pandorafms_src.pdk
- pandorafms_uninstall.pdk
+ pandorafms_uninstall.pdk
-
-
- src
- tests
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- */src/*
-
-
-
- */src/*
-
-
-
- tests/DoctrineTest/InstantiatorTestAsset/AbstractClassAsset.php
-
-
-
- src/Doctrine/Instantiator/Exception/UnexpectedValueException.php
- src/Doctrine/Instantiator/Exception/InvalidArgumentException.php
-
-
-
- src/Doctrine/Instantiator/Exception/ExceptionInterface.php
- src/Doctrine/Instantiator/InstantiatorInterface.php
-
-
diff --git a/pandora_console/godmode/um_client/vendor/doctrine/instantiator/phpstan.neon.dist b/pandora_console/godmode/um_client/vendor/doctrine/instantiator/phpstan.neon.dist
deleted file mode 100644
index 60bec6bf46..0000000000
--- a/pandora_console/godmode/um_client/vendor/doctrine/instantiator/phpstan.neon.dist
+++ /dev/null
@@ -1,15 +0,0 @@
-includes:
- - vendor/phpstan/phpstan-phpunit/extension.neon
- - vendor/phpstan/phpstan-phpunit/rules.neon
-
-parameters:
- level: max
- paths:
- - src
- - tests
-
- ignoreErrors:
- # dynamic properties confuse static analysis
- -
- message: '#Access to an undefined property object::\$foo\.#'
- path: '*/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php'
diff --git a/pandora_console/godmode/um_client/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Exception/ExceptionInterface.php b/pandora_console/godmode/um_client/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Exception/ExceptionInterface.php
deleted file mode 100644
index e6a5195f21..0000000000
--- a/pandora_console/godmode/um_client/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Exception/ExceptionInterface.php
+++ /dev/null
@@ -1,12 +0,0 @@
- $reflectionClass
- */
- public static function fromAbstractClass(ReflectionClass $reflectionClass): self
- {
- return new self(sprintf(
- 'The provided class "%s" is abstract, and can not be instantiated',
- $reflectionClass->getName()
- ));
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Exception/UnexpectedValueException.php b/pandora_console/godmode/um_client/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Exception/UnexpectedValueException.php
deleted file mode 100644
index 19842bb673..0000000000
--- a/pandora_console/godmode/um_client/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Exception/UnexpectedValueException.php
+++ /dev/null
@@ -1,57 +0,0 @@
- $reflectionClass
- */
- public static function fromSerializationTriggeredException(
- ReflectionClass $reflectionClass,
- Exception $exception
- ): self {
- return new self(
- sprintf(
- 'An exception was raised while trying to instantiate an instance of "%s" via un-serialization',
- $reflectionClass->getName()
- ),
- 0,
- $exception
- );
- }
-
- /**
- * @template T of object
- * @phpstan-param ReflectionClass $reflectionClass
- */
- public static function fromUncleanUnSerialization(
- ReflectionClass $reflectionClass,
- string $errorString,
- int $errorCode,
- string $errorFile,
- int $errorLine
- ): self {
- return new self(
- sprintf(
- 'Could not produce an instance of "%s" via un-serialization, since an error was triggered '
- . 'in file "%s" at line "%d"',
- $reflectionClass->getName(),
- $errorFile,
- $errorLine
- ),
- 0,
- new Exception($errorString, $errorCode)
- );
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Instantiator.php b/pandora_console/godmode/um_client/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Instantiator.php
deleted file mode 100644
index ee4803cbb2..0000000000
--- a/pandora_console/godmode/um_client/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Instantiator.php
+++ /dev/null
@@ -1,232 +0,0 @@
-buildAndCacheFromFactory($className);
- }
-
- /**
- * Builds the requested object and caches it in static properties for performance
- *
- * @return object
- *
- * @template T of object
- * @phpstan-param class-string $className
- *
- * @phpstan-return T
- */
- private function buildAndCacheFromFactory(string $className)
- {
- $factory = self::$cachedInstantiators[$className] = $this->buildFactory($className);
- $instance = $factory();
-
- if ($this->isSafeToClone(new ReflectionClass($instance))) {
- self::$cachedCloneables[$className] = clone $instance;
- }
-
- return $instance;
- }
-
- /**
- * Builds a callable capable of instantiating the given $className without
- * invoking its constructor.
- *
- * @throws InvalidArgumentException
- * @throws UnexpectedValueException
- * @throws ReflectionException
- *
- * @template T of object
- * @phpstan-param class-string $className
- *
- * @phpstan-return callable(): T
- */
- private function buildFactory(string $className): callable
- {
- $reflectionClass = $this->getReflectionClass($className);
-
- if ($this->isInstantiableViaReflection($reflectionClass)) {
- return [$reflectionClass, 'newInstanceWithoutConstructor'];
- }
-
- $serializedString = sprintf(
- '%s:%d:"%s":0:{}',
- is_subclass_of($className, Serializable::class) ? self::SERIALIZATION_FORMAT_USE_UNSERIALIZER : self::SERIALIZATION_FORMAT_AVOID_UNSERIALIZER,
- strlen($className),
- $className
- );
-
- $this->checkIfUnSerializationIsSupported($reflectionClass, $serializedString);
-
- return static function () use ($serializedString) {
- return unserialize($serializedString);
- };
- }
-
- /**
- * @throws InvalidArgumentException
- * @throws ReflectionException
- *
- * @template T of object
- * @phpstan-param class-string $className
- *
- * @phpstan-return ReflectionClass
- */
- private function getReflectionClass(string $className): ReflectionClass
- {
- if (! class_exists($className)) {
- throw InvalidArgumentException::fromNonExistingClass($className);
- }
-
- $reflection = new ReflectionClass($className);
-
- if ($reflection->isAbstract()) {
- throw InvalidArgumentException::fromAbstractClass($reflection);
- }
-
- return $reflection;
- }
-
- /**
- * @throws UnexpectedValueException
- *
- * @template T of object
- * @phpstan-param ReflectionClass $reflectionClass
- */
- private function checkIfUnSerializationIsSupported(ReflectionClass $reflectionClass, string $serializedString): void
- {
- set_error_handler(static function (int $code, string $message, string $file, int $line) use ($reflectionClass, &$error): bool {
- $error = UnexpectedValueException::fromUncleanUnSerialization(
- $reflectionClass,
- $message,
- $code,
- $file,
- $line
- );
-
- return true;
- });
-
- try {
- $this->attemptInstantiationViaUnSerialization($reflectionClass, $serializedString);
- } finally {
- restore_error_handler();
- }
-
- if ($error) {
- throw $error;
- }
- }
-
- /**
- * @throws UnexpectedValueException
- *
- * @template T of object
- * @phpstan-param ReflectionClass $reflectionClass
- */
- private function attemptInstantiationViaUnSerialization(ReflectionClass $reflectionClass, string $serializedString): void
- {
- try {
- unserialize($serializedString);
- } catch (Exception $exception) {
- throw UnexpectedValueException::fromSerializationTriggeredException($reflectionClass, $exception);
- }
- }
-
- /**
- * @template T of object
- * @phpstan-param ReflectionClass $reflectionClass
- */
- private function isInstantiableViaReflection(ReflectionClass $reflectionClass): bool
- {
- return ! ($this->hasInternalAncestors($reflectionClass) && $reflectionClass->isFinal());
- }
-
- /**
- * Verifies whether the given class is to be considered internal
- *
- * @template T of object
- * @phpstan-param ReflectionClass $reflectionClass
- */
- private function hasInternalAncestors(ReflectionClass $reflectionClass): bool
- {
- do {
- if ($reflectionClass->isInternal()) {
- return true;
- }
-
- $reflectionClass = $reflectionClass->getParentClass();
- } while ($reflectionClass);
-
- return false;
- }
-
- /**
- * Checks if a class is cloneable
- *
- * Classes implementing `__clone` cannot be safely cloned, as that may cause side-effects.
- *
- * @template T of object
- * @phpstan-param ReflectionClass $reflectionClass
- */
- private function isSafeToClone(ReflectionClass $reflectionClass): bool
- {
- return $reflectionClass->isCloneable()
- && ! $reflectionClass->hasMethod('__clone')
- && ! $reflectionClass->isSubclassOf(ArrayIterator::class);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/doctrine/instantiator/src/Doctrine/Instantiator/InstantiatorInterface.php b/pandora_console/godmode/um_client/vendor/doctrine/instantiator/src/Doctrine/Instantiator/InstantiatorInterface.php
deleted file mode 100644
index 3ffff82214..0000000000
--- a/pandora_console/godmode/um_client/vendor/doctrine/instantiator/src/Doctrine/Instantiator/InstantiatorInterface.php
+++ /dev/null
@@ -1,23 +0,0 @@
- $className
- */
- public function instantiate($className);
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/.github/FUNDING.yml b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/.github/FUNDING.yml
deleted file mode 100644
index b8da664ddc..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/.github/FUNDING.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-# These are supported funding model platforms
-
-github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
-patreon: # Replace with a single Patreon username
-open_collective: # Replace with a single Open Collective username
-ko_fi: # Replace with a single Ko-fi username
-tidelift: "packagist/myclabs/deep-copy"
-community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
-liberapay: # Replace with a single Liberapay username
-issuehunt: # Replace with a single IssueHunt username
-otechie: # Replace with a single Otechie username
-custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/LICENSE b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/LICENSE
deleted file mode 100644
index c3e835001c..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2013 My C-Sense
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/README.md b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/README.md
deleted file mode 100644
index 007ad5bb8f..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/README.md
+++ /dev/null
@@ -1,375 +0,0 @@
-# DeepCopy
-
-DeepCopy helps you create deep copies (clones) of your objects. It is designed to handle cycles in the association graph.
-
-[](https://travis-ci.org/myclabs/DeepCopy)
-[](https://coveralls.io/r/myclabs/DeepCopy?branch=1.x)
-[](https://scrutinizer-ci.com/g/myclabs/DeepCopy/)
-[](https://packagist.org/packages/myclabs/deep-copy)
-
-## Table of Contents
-
-1. [How](#how)
-1. [Why](#why)
- 1. [Using simply `clone`](#using-simply-clone)
- 1. [Overridding `__clone()`](#overridding-__clone)
- 1. [With `DeepCopy`](#with-deepcopy)
-1. [How it works](#how-it-works)
-1. [Going further](#going-further)
- 1. [Matchers](#matchers)
- 1. [Property name](#property-name)
- 1. [Specific property](#specific-property)
- 1. [Type](#type)
- 1. [Filters](#filters)
- 1. [`SetNullFilter`](#setnullfilter-filter)
- 1. [`KeepFilter`](#keepfilter-filter)
- 1. [`DoctrineCollectionFilter`](#doctrinecollectionfilter-filter)
- 1. [`DoctrineEmptyCollectionFilter`](#doctrineemptycollectionfilter-filter)
- 1. [`DoctrineProxyFilter`](#doctrineproxyfilter-filter)
- 1. [`ReplaceFilter`](#replacefilter-type-filter)
- 1. [`ShallowCopyFilter`](#shallowcopyfilter-type-filter)
-1. [Edge cases](#edge-cases)
-1. [Contributing](#contributing)
- 1. [Tests](#tests)
-
-
-## How?
-
-Install with Composer:
-
-```json
-composer require myclabs/deep-copy
-```
-
-Use simply:
-
-```php
-use DeepCopy\DeepCopy;
-
-$copier = new DeepCopy();
-$myCopy = $copier->copy($myObject);
-```
-
-
-## Why?
-
-- How do you create copies of your objects?
-
-```php
-$myCopy = clone $myObject;
-```
-
-- How do you create **deep** copies of your objects (i.e. copying also all the objects referenced in the properties)?
-
-You use [`__clone()`](http://www.php.net/manual/en/language.oop5.cloning.php#object.clone) and implement the behavior
-yourself.
-
-- But how do you handle **cycles** in the association graph?
-
-Now you're in for a big mess :(
-
-
-
-
-### Using simply `clone`
-
-
-
-
-### Overridding `__clone()`
-
-
-
-
-### With `DeepCopy`
-
-
-
-
-## How it works
-
-DeepCopy recursively traverses all the object's properties and clones them. To avoid cloning the same object twice it
-keeps a hash map of all instances and thus preserves the object graph.
-
-To use it:
-
-```php
-use function DeepCopy\deep_copy;
-
-$copy = deep_copy($var);
-```
-
-Alternatively, you can create your own `DeepCopy` instance to configure it differently for example:
-
-```php
-use DeepCopy\DeepCopy;
-
-$copier = new DeepCopy(true);
-
-$copy = $copier->copy($var);
-```
-
-You may want to roll your own deep copy function:
-
-```php
-namespace Acme;
-
-use DeepCopy\DeepCopy;
-
-function deep_copy($var)
-{
- static $copier = null;
-
- if (null === $copier) {
- $copier = new DeepCopy(true);
- }
-
- return $copier->copy($var);
-}
-```
-
-
-## Going further
-
-You can add filters to customize the copy process.
-
-The method to add a filter is `DeepCopy\DeepCopy::addFilter($filter, $matcher)`,
-with `$filter` implementing `DeepCopy\Filter\Filter`
-and `$matcher` implementing `DeepCopy\Matcher\Matcher`.
-
-We provide some generic filters and matchers.
-
-
-### Matchers
-
- - `DeepCopy\Matcher` applies on a object attribute.
- - `DeepCopy\TypeMatcher` applies on any element found in graph, including array elements.
-
-
-#### Property name
-
-The `PropertyNameMatcher` will match a property by its name:
-
-```php
-use DeepCopy\Matcher\PropertyNameMatcher;
-
-// Will apply a filter to any property of any objects named "id"
-$matcher = new PropertyNameMatcher('id');
-```
-
-
-#### Specific property
-
-The `PropertyMatcher` will match a specific property of a specific class:
-
-```php
-use DeepCopy\Matcher\PropertyMatcher;
-
-// Will apply a filter to the property "id" of any objects of the class "MyClass"
-$matcher = new PropertyMatcher('MyClass', 'id');
-```
-
-
-#### Type
-
-The `TypeMatcher` will match any element by its type (instance of a class or any value that could be parameter of
-[gettype()](http://php.net/manual/en/function.gettype.php) function):
-
-```php
-use DeepCopy\TypeMatcher\TypeMatcher;
-
-// Will apply a filter to any object that is an instance of Doctrine\Common\Collections\Collection
-$matcher = new TypeMatcher('Doctrine\Common\Collections\Collection');
-```
-
-
-### Filters
-
-- `DeepCopy\Filter` applies a transformation to the object attribute matched by `DeepCopy\Matcher`
-- `DeepCopy\TypeFilter` applies a transformation to any element matched by `DeepCopy\TypeMatcher`
-
-
-#### `SetNullFilter` (filter)
-
-Let's say for example that you are copying a database record (or a Doctrine entity), so you want the copy not to have
-any ID:
-
-```php
-use DeepCopy\DeepCopy;
-use DeepCopy\Filter\SetNullFilter;
-use DeepCopy\Matcher\PropertyNameMatcher;
-
-$object = MyClass::load(123);
-echo $object->id; // 123
-
-$copier = new DeepCopy();
-$copier->addFilter(new SetNullFilter(), new PropertyNameMatcher('id'));
-
-$copy = $copier->copy($object);
-
-echo $copy->id; // null
-```
-
-
-#### `KeepFilter` (filter)
-
-If you want a property to remain untouched (for example, an association to an object):
-
-```php
-use DeepCopy\DeepCopy;
-use DeepCopy\Filter\KeepFilter;
-use DeepCopy\Matcher\PropertyMatcher;
-
-$copier = new DeepCopy();
-$copier->addFilter(new KeepFilter(), new PropertyMatcher('MyClass', 'category'));
-
-$copy = $copier->copy($object);
-// $copy->category has not been touched
-```
-
-
-#### `DoctrineCollectionFilter` (filter)
-
-If you use Doctrine and want to copy an entity, you will need to use the `DoctrineCollectionFilter`:
-
-```php
-use DeepCopy\DeepCopy;
-use DeepCopy\Filter\Doctrine\DoctrineCollectionFilter;
-use DeepCopy\Matcher\PropertyTypeMatcher;
-
-$copier = new DeepCopy();
-$copier->addFilter(new DoctrineCollectionFilter(), new PropertyTypeMatcher('Doctrine\Common\Collections\Collection'));
-
-$copy = $copier->copy($object);
-```
-
-
-#### `DoctrineEmptyCollectionFilter` (filter)
-
-If you use Doctrine and want to copy an entity who contains a `Collection` that you want to be reset, you can use the
-`DoctrineEmptyCollectionFilter`
-
-```php
-use DeepCopy\DeepCopy;
-use DeepCopy\Filter\Doctrine\DoctrineEmptyCollectionFilter;
-use DeepCopy\Matcher\PropertyMatcher;
-
-$copier = new DeepCopy();
-$copier->addFilter(new DoctrineEmptyCollectionFilter(), new PropertyMatcher('MyClass', 'myProperty'));
-
-$copy = $copier->copy($object);
-
-// $copy->myProperty will return an empty collection
-```
-
-
-#### `DoctrineProxyFilter` (filter)
-
-If you use Doctrine and use cloning on lazy loaded entities, you might encounter errors mentioning missing fields on a
-Doctrine proxy class (...\\\_\_CG\_\_\Proxy).
-You can use the `DoctrineProxyFilter` to load the actual entity behind the Doctrine proxy class.
-**Make sure, though, to put this as one of your very first filters in the filter chain so that the entity is loaded
-before other filters are applied!**
-
-```php
-use DeepCopy\DeepCopy;
-use DeepCopy\Filter\Doctrine\DoctrineProxyFilter;
-use DeepCopy\Matcher\Doctrine\DoctrineProxyMatcher;
-
-$copier = new DeepCopy();
-$copier->addFilter(new DoctrineProxyFilter(), new DoctrineProxyMatcher());
-
-$copy = $copier->copy($object);
-
-// $copy should now contain a clone of all entities, including those that were not yet fully loaded.
-```
-
-
-#### `ReplaceFilter` (type filter)
-
-1. If you want to replace the value of a property:
-
-```php
-use DeepCopy\DeepCopy;
-use DeepCopy\Filter\ReplaceFilter;
-use DeepCopy\Matcher\PropertyMatcher;
-
-$copier = new DeepCopy();
-$callback = function ($currentValue) {
- return $currentValue . ' (copy)'
-};
-$copier->addFilter(new ReplaceFilter($callback), new PropertyMatcher('MyClass', 'title'));
-
-$copy = $copier->copy($object);
-
-// $copy->title will contain the data returned by the callback, e.g. 'The title (copy)'
-```
-
-2. If you want to replace whole element:
-
-```php
-use DeepCopy\DeepCopy;
-use DeepCopy\TypeFilter\ReplaceFilter;
-use DeepCopy\TypeMatcher\TypeMatcher;
-
-$copier = new DeepCopy();
-$callback = function (MyClass $myClass) {
- return get_class($myClass);
-};
-$copier->addTypeFilter(new ReplaceFilter($callback), new TypeMatcher('MyClass'));
-
-$copy = $copier->copy([new MyClass, 'some string', new MyClass]);
-
-// $copy will contain ['MyClass', 'some string', 'MyClass']
-```
-
-
-The `$callback` parameter of the `ReplaceFilter` constructor accepts any PHP callable.
-
-
-#### `ShallowCopyFilter` (type filter)
-
-Stop *DeepCopy* from recursively copying element, using standard `clone` instead:
-
-```php
-use DeepCopy\DeepCopy;
-use DeepCopy\TypeFilter\ShallowCopyFilter;
-use DeepCopy\TypeMatcher\TypeMatcher;
-use Mockery as m;
-
-$this->deepCopy = new DeepCopy();
-$this->deepCopy->addTypeFilter(
- new ShallowCopyFilter,
- new TypeMatcher(m\MockInterface::class)
-);
-
-$myServiceWithMocks = new MyService(m::mock(MyDependency1::class), m::mock(MyDependency2::class));
-// All mocks will be just cloned, not deep copied
-```
-
-
-## Edge cases
-
-The following structures cannot be deep-copied with PHP Reflection. As a result they are shallow cloned and filters are
-not applied. There is two ways for you to handle them:
-
-- Implement your own `__clone()` method
-- Use a filter with a type matcher
-
-
-## Contributing
-
-DeepCopy is distributed under the MIT license.
-
-
-### Tests
-
-Running the tests is simple:
-
-```php
-vendor/bin/phpunit
-```
-
-### Support
-
-Get professional support via [the Tidelift Subscription](https://tidelift.com/subscription/pkg/packagist-myclabs-deep-copy?utm_source=packagist-myclabs-deep-copy&utm_medium=referral&utm_campaign=readme).
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/composer.json b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/composer.json
deleted file mode 100644
index 45656c916d..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/composer.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "name": "myclabs/deep-copy",
- "type": "library",
- "description": "Create deep copies (clones) of your objects",
- "keywords": ["clone", "copy", "duplicate", "object", "object graph"],
- "license": "MIT",
-
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "autoload-dev": {
- "psr-4": {
- "DeepCopy\\": "fixtures/",
- "DeepCopyTest\\": "tests/DeepCopyTest/"
- }
- },
-
- "require": {
- "php": "^7.1 || ^8.0"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^7.1"
- },
- "replace": {
- "myclabs/deep-copy": "self.version"
- },
-
- "config": {
- "sort-packages": true
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php
deleted file mode 100644
index 15e5c6893f..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php
+++ /dev/null
@@ -1,298 +0,0 @@
- Filter, 'matcher' => Matcher] pairs.
- */
- private $filters = [];
-
- /**
- * Type Filters to apply.
- *
- * @var array Array of ['filter' => Filter, 'matcher' => Matcher] pairs.
- */
- private $typeFilters = [];
-
- /**
- * @var bool
- */
- private $skipUncloneable = false;
-
- /**
- * @var bool
- */
- private $useCloneMethod;
-
- /**
- * @param bool $useCloneMethod If set to true, when an object implements the __clone() function, it will be used
- * instead of the regular deep cloning.
- */
- public function __construct($useCloneMethod = false)
- {
- $this->useCloneMethod = $useCloneMethod;
-
- $this->addTypeFilter(new ArrayObjectFilter($this), new TypeMatcher(ArrayObject::class));
- $this->addTypeFilter(new DateIntervalFilter(), new TypeMatcher(DateInterval::class));
- $this->addTypeFilter(new SplDoublyLinkedListFilter($this), new TypeMatcher(SplDoublyLinkedList::class));
- }
-
- /**
- * If enabled, will not throw an exception when coming across an uncloneable property.
- *
- * @param $skipUncloneable
- *
- * @return $this
- */
- public function skipUncloneable($skipUncloneable = true)
- {
- $this->skipUncloneable = $skipUncloneable;
-
- return $this;
- }
-
- /**
- * Deep copies the given object.
- *
- * @param mixed $object
- *
- * @return mixed
- */
- public function copy($object)
- {
- $this->hashMap = [];
-
- return $this->recursiveCopy($object);
- }
-
- public function addFilter(Filter $filter, Matcher $matcher)
- {
- $this->filters[] = [
- 'matcher' => $matcher,
- 'filter' => $filter,
- ];
- }
-
- public function prependFilter(Filter $filter, Matcher $matcher)
- {
- array_unshift($this->filters, [
- 'matcher' => $matcher,
- 'filter' => $filter,
- ]);
- }
-
- public function addTypeFilter(TypeFilter $filter, TypeMatcher $matcher)
- {
- $this->typeFilters[] = [
- 'matcher' => $matcher,
- 'filter' => $filter,
- ];
- }
-
- private function recursiveCopy($var)
- {
- // Matches Type Filter
- if ($filter = $this->getFirstMatchedTypeFilter($this->typeFilters, $var)) {
- return $filter->apply($var);
- }
-
- // Resource
- if (is_resource($var)) {
- return $var;
- }
-
- // Array
- if (is_array($var)) {
- return $this->copyArray($var);
- }
-
- // Scalar
- if (! is_object($var)) {
- return $var;
- }
-
- // Object
- return $this->copyObject($var);
- }
-
- /**
- * Copy an array
- * @param array $array
- * @return array
- */
- private function copyArray(array $array)
- {
- foreach ($array as $key => $value) {
- $array[$key] = $this->recursiveCopy($value);
- }
-
- return $array;
- }
-
- /**
- * Copies an object.
- *
- * @param object $object
- *
- * @throws CloneException
- *
- * @return object
- */
- private function copyObject($object)
- {
- $objectHash = spl_object_hash($object);
-
- if (isset($this->hashMap[$objectHash])) {
- return $this->hashMap[$objectHash];
- }
-
- $reflectedObject = new ReflectionObject($object);
- $isCloneable = $reflectedObject->isCloneable();
-
- if (false === $isCloneable) {
- if ($this->skipUncloneable) {
- $this->hashMap[$objectHash] = $object;
-
- return $object;
- }
-
- throw new CloneException(
- sprintf(
- 'The class "%s" is not cloneable.',
- $reflectedObject->getName()
- )
- );
- }
-
- $newObject = clone $object;
- $this->hashMap[$objectHash] = $newObject;
-
- if ($this->useCloneMethod && $reflectedObject->hasMethod('__clone')) {
- return $newObject;
- }
-
- if ($newObject instanceof DateTimeInterface || $newObject instanceof DateTimeZone) {
- return $newObject;
- }
-
- foreach (ReflectionHelper::getProperties($reflectedObject) as $property) {
- $this->copyObjectProperty($newObject, $property);
- }
-
- return $newObject;
- }
-
- private function copyObjectProperty($object, ReflectionProperty $property)
- {
- // Ignore static properties
- if ($property->isStatic()) {
- return;
- }
-
- // Apply the filters
- foreach ($this->filters as $item) {
- /** @var Matcher $matcher */
- $matcher = $item['matcher'];
- /** @var Filter $filter */
- $filter = $item['filter'];
-
- if ($matcher->matches($object, $property->getName())) {
- $filter->apply(
- $object,
- $property->getName(),
- function ($object) {
- return $this->recursiveCopy($object);
- }
- );
-
- // If a filter matches, we stop processing this property
- return;
- }
- }
-
- $property->setAccessible(true);
-
- // Ignore uninitialized properties (for PHP >7.4)
- if (method_exists($property, 'isInitialized') && !$property->isInitialized($object)) {
- return;
- }
-
- $propertyValue = $property->getValue($object);
-
- // Copy the property
- $property->setValue($object, $this->recursiveCopy($propertyValue));
- }
-
- /**
- * Returns first filter that matches variable, `null` if no such filter found.
- *
- * @param array $filterRecords Associative array with 2 members: 'filter' with value of type {@see TypeFilter} and
- * 'matcher' with value of type {@see TypeMatcher}
- * @param mixed $var
- *
- * @return TypeFilter|null
- */
- private function getFirstMatchedTypeFilter(array $filterRecords, $var)
- {
- $matched = $this->first(
- $filterRecords,
- function (array $record) use ($var) {
- /* @var TypeMatcher $matcher */
- $matcher = $record['matcher'];
-
- return $matcher->matches($var);
- }
- );
-
- return isset($matched) ? $matched['filter'] : null;
- }
-
- /**
- * Returns first element that matches predicate, `null` if no such element found.
- *
- * @param array $elements Array of ['filter' => Filter, 'matcher' => Matcher] pairs.
- * @param callable $predicate Predicate arguments are: element.
- *
- * @return array|null Associative array with 2 members: 'filter' with value of type {@see TypeFilter} and 'matcher'
- * with value of type {@see TypeMatcher} or `null`.
- */
- private function first(array $elements, callable $predicate)
- {
- foreach ($elements as $element) {
- if (call_user_func($predicate, $element)) {
- return $element;
- }
- }
-
- return null;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Exception/CloneException.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Exception/CloneException.php
deleted file mode 100644
index c046706a27..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Exception/CloneException.php
+++ /dev/null
@@ -1,9 +0,0 @@
-setAccessible(true);
- $oldCollection = $reflectionProperty->getValue($object);
-
- $newCollection = $oldCollection->map(
- function ($item) use ($objectCopier) {
- return $objectCopier($item);
- }
- );
-
- $reflectionProperty->setValue($object, $newCollection);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php
deleted file mode 100644
index 7b33fd5478..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php
+++ /dev/null
@@ -1,28 +0,0 @@
-setAccessible(true);
-
- $reflectionProperty->setValue($object, new ArrayCollection());
- }
-}
\ No newline at end of file
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineProxyFilter.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineProxyFilter.php
deleted file mode 100644
index 8bee8f769a..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineProxyFilter.php
+++ /dev/null
@@ -1,22 +0,0 @@
-__load();
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Filter.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Filter.php
deleted file mode 100644
index 85ba18ce11..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Filter.php
+++ /dev/null
@@ -1,18 +0,0 @@
-callback = $callable;
- }
-
- /**
- * Replaces the object property by the result of the callback called with the object property.
- *
- * {@inheritdoc}
- */
- public function apply($object, $property, $objectCopier)
- {
- $reflectionProperty = ReflectionHelper::getProperty($object, $property);
- $reflectionProperty->setAccessible(true);
-
- $value = call_user_func($this->callback, $reflectionProperty->getValue($object));
-
- $reflectionProperty->setValue($object, $value);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Filter/SetNullFilter.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Filter/SetNullFilter.php
deleted file mode 100644
index bea86b8848..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Filter/SetNullFilter.php
+++ /dev/null
@@ -1,24 +0,0 @@
-setAccessible(true);
- $reflectionProperty->setValue($object, null);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php
deleted file mode 100644
index ec8856f503..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php
+++ /dev/null
@@ -1,22 +0,0 @@
-class = $class;
- $this->property = $property;
- }
-
- /**
- * Matches a specific property of a specific class.
- *
- * {@inheritdoc}
- */
- public function matches($object, $property)
- {
- return ($object instanceof $this->class) && $property == $this->property;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyNameMatcher.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyNameMatcher.php
deleted file mode 100644
index c8ec0d2bc1..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyNameMatcher.php
+++ /dev/null
@@ -1,32 +0,0 @@
-property = $property;
- }
-
- /**
- * Matches a property by its name.
- *
- * {@inheritdoc}
- */
- public function matches($object, $property)
- {
- return $property == $this->property;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyTypeMatcher.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyTypeMatcher.php
deleted file mode 100644
index c7f46908c6..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyTypeMatcher.php
+++ /dev/null
@@ -1,52 +0,0 @@
-propertyType = $propertyType;
- }
-
- /**
- * {@inheritdoc}
- */
- public function matches($object, $property)
- {
- try {
- $reflectionProperty = ReflectionHelper::getProperty($object, $property);
- } catch (ReflectionException $exception) {
- return false;
- }
-
- $reflectionProperty->setAccessible(true);
-
- // Uninitialized properties (for PHP >7.4)
- if (method_exists($reflectionProperty, 'isInitialized') && !$reflectionProperty->isInitialized($object)) {
- // null instanceof $this->propertyType
- return false;
- }
-
- return $reflectionProperty->getValue($object) instanceof $this->propertyType;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Reflection/ReflectionHelper.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Reflection/ReflectionHelper.php
deleted file mode 100644
index 742410cb2a..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/Reflection/ReflectionHelper.php
+++ /dev/null
@@ -1,78 +0,0 @@
-getProperties() does not return private properties from ancestor classes.
- *
- * @author muratyaman@gmail.com
- * @see http://php.net/manual/en/reflectionclass.getproperties.php
- *
- * @param ReflectionClass $ref
- *
- * @return ReflectionProperty[]
- */
- public static function getProperties(ReflectionClass $ref)
- {
- $props = $ref->getProperties();
- $propsArr = array();
-
- foreach ($props as $prop) {
- $propertyName = $prop->getName();
- $propsArr[$propertyName] = $prop;
- }
-
- if ($parentClass = $ref->getParentClass()) {
- $parentPropsArr = self::getProperties($parentClass);
- foreach ($propsArr as $key => $property) {
- $parentPropsArr[$key] = $property;
- }
-
- return $parentPropsArr;
- }
-
- return $propsArr;
- }
-
- /**
- * Retrieves property by name from object and all its ancestors.
- *
- * @param object|string $object
- * @param string $name
- *
- * @throws PropertyException
- * @throws ReflectionException
- *
- * @return ReflectionProperty
- */
- public static function getProperty($object, $name)
- {
- $reflection = is_object($object) ? new ReflectionObject($object) : new ReflectionClass($object);
-
- if ($reflection->hasProperty($name)) {
- return $reflection->getProperty($name);
- }
-
- if ($parentClass = $reflection->getParentClass()) {
- return self::getProperty($parentClass->getName(), $name);
- }
-
- throw new PropertyException(
- sprintf(
- 'The class "%s" doesn\'t have a property with the given name: "%s".',
- is_object($object) ? get_class($object) : $object,
- $name
- )
- );
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Date/DateIntervalFilter.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Date/DateIntervalFilter.php
deleted file mode 100644
index becd1cfffd..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Date/DateIntervalFilter.php
+++ /dev/null
@@ -1,33 +0,0 @@
- $propertyValue) {
- $copy->{$propertyName} = $propertyValue;
- }
-
- return $copy;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/ReplaceFilter.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/ReplaceFilter.php
deleted file mode 100644
index 164f8b8e26..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/ReplaceFilter.php
+++ /dev/null
@@ -1,30 +0,0 @@
-callback = $callable;
- }
-
- /**
- * {@inheritdoc}
- */
- public function apply($element)
- {
- return call_user_func($this->callback, $element);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/ShallowCopyFilter.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/ShallowCopyFilter.php
deleted file mode 100644
index a5fbd7a2b4..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/ShallowCopyFilter.php
+++ /dev/null
@@ -1,17 +0,0 @@
-copier = $copier;
- }
-
- /**
- * {@inheritdoc}
- */
- public function apply($arrayObject)
- {
- $clone = clone $arrayObject;
- foreach ($arrayObject->getArrayCopy() as $k => $v) {
- $clone->offsetSet($k, $this->copier->copy($v));
- }
-
- return $clone;
- }
-}
-
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedList.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedList.php
deleted file mode 100644
index c5644cff86..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedList.php
+++ /dev/null
@@ -1,10 +0,0 @@
-copier = $copier;
- }
-
- /**
- * {@inheritdoc}
- */
- public function apply($element)
- {
- $newElement = clone $element;
-
- $copy = $this->createCopyClosure();
-
- return $copy($newElement);
- }
-
- private function createCopyClosure()
- {
- $copier = $this->copier;
-
- $copy = function (SplDoublyLinkedList $list) use ($copier) {
- // Replace each element in the list with a deep copy of itself
- for ($i = 1; $i <= $list->count(); $i++) {
- $copy = $copier->recursiveCopy($list->shift());
-
- $list->push($copy);
- }
-
- return $list;
- };
-
- return Closure::bind($copy, null, DeepCopy::class);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/TypeFilter.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/TypeFilter.php
deleted file mode 100644
index 5785a7da9e..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/TypeFilter.php
+++ /dev/null
@@ -1,13 +0,0 @@
-type = $type;
- }
-
- /**
- * @param mixed $element
- *
- * @return boolean
- */
- public function matches($element)
- {
- return is_object($element) ? is_a($element, $this->type) : gettype($element) === $this->type;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/deep_copy.php b/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/deep_copy.php
deleted file mode 100644
index 55dcc92617..0000000000
--- a/pandora_console/godmode/um_client/vendor/myclabs/deep-copy/src/DeepCopy/deep_copy.php
+++ /dev/null
@@ -1,20 +0,0 @@
-copy($value);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/CHANGELOG.md b/pandora_console/godmode/um_client/vendor/phar-io/manifest/CHANGELOG.md
deleted file mode 100644
index b777a36e51..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/CHANGELOG.md
+++ /dev/null
@@ -1,25 +0,0 @@
-# Changelog
-
-All notable changes to phar-io/manifest are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
-
-## [2.0.1] - 27.06.2020
-
-This release now supports the use of PHP 7.2+ and ^8.0
-
-## [2.0.0] - 10.05.2020
-
-This release now requires PHP 7.2+
-
-### Changed
-
-- Upgraded to phar-io/version 3.0
- - Version strings `v1.2.3` will now be converted to valid semantic version strings `1.2.3`
- - Abreviated strings like `1.0` will get expaneded to `1.0.0`
-
-### Unreleased
-
-[Unreleased]: https://github.com/phar-io/version/compare/2.0.0...HEAD
-[2.0.0]: https://github.com/phar-io/version/compare/1.0.1...2.0.0
-[1.0.3]: https://github.com/phar-io/version/compare/1.0.2...1.0.3
-[1.0.2]: https://github.com/phar-io/version/compare/1.0.1...1.0.2
-[1.0.1]: https://github.com/phar-io/version/compare/1.0.0...1.0.1
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/LICENSE b/pandora_console/godmode/um_client/vendor/phar-io/manifest/LICENSE
deleted file mode 100644
index 64690cf2bf..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/LICENSE
+++ /dev/null
@@ -1,31 +0,0 @@
-Phar.io - Manifest
-
-Copyright (c) 2016-2019 Arne Blankerts , Sebastian Heuer , Sebastian Bergmann , and contributors
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-* Neither the name of Arne Blankerts nor the names of contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT * NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
-BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
-OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/README.md b/pandora_console/godmode/um_client/vendor/phar-io/manifest/README.md
deleted file mode 100644
index e6d0b055d1..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/README.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# Manifest
-
-Component for reading [phar.io](https://phar.io/) manifest information from a [PHP Archive (PHAR)](http://php.net/phar).
-
-[](https://travis-ci.org/phar-io/manifest)
-[](https://scrutinizer-ci.com/g/phar-io/manifest/?branch=master)
-[](https://insight.sensiolabs.com/projects/d8cc6035-69ad-477d-bd1a-ccc605480fd7)
-
-## Installation
-
-You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):
-
- composer require phar-io/manifest
-
-If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
-
- composer require --dev phar-io/manifest
-
-## Usage
-
-```php
-use PharIo\Manifest\ManifestLoader;
-use PharIo\Manifest\ManifestSerializer;
-
-$manifest = ManifestLoader::fromFile('manifest.xml');
-
-var_dump($manifest);
-
-echo (new ManifestSerializer)->serializeToString($manifest);
-```
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/composer.json b/pandora_console/godmode/um_client/vendor/phar-io/manifest/composer.json
deleted file mode 100644
index a2521193a9..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/composer.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "name": "phar-io/manifest",
- "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "license": "BSD-3-Clause",
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "support": {
- "issues": "https://github.com/phar-io/manifest/issues"
- },
- "require": {
- "php": "^7.2 || ^8.0",
- "ext-dom": "*",
- "ext-phar": "*",
- "ext-xmlwriter": "*",
- "phar-io/version": "^3.0.1"
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/composer.lock b/pandora_console/godmode/um_client/vendor/phar-io/manifest/composer.lock
deleted file mode 100644
index e0e6db76a3..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/composer.lock
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "f2ac4614ce4f7273fd54a64b65fd047a",
- "packages": [
- {
- "name": "phar-io/version",
- "version": "3.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/version.git",
- "reference": "d06a5000ac1a258a7d035295f0bd4ae7c859bc4f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/d06a5000ac1a258a7d035295f0bd4ae7c859bc4f",
- "reference": "d06a5000ac1a258a7d035295f0bd4ae7c859bc4f",
- "shasum": ""
- },
- "require": {
- "php": "^7.2"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Library for handling version information and constraints",
- "time": "2020-05-09T21:27:55+00:00"
- }
- ],
- "packages-dev": [],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": "^7.2",
- "ext-dom": "*",
- "ext-phar": "*",
- "ext-xmlwriter": "*"
- },
- "platform-dev": []
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/ManifestDocumentMapper.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/ManifestDocumentMapper.php
deleted file mode 100644
index 8e539d5f1d..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/ManifestDocumentMapper.php
+++ /dev/null
@@ -1,150 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-use PharIo\Version\Exception as VersionException;
-use PharIo\Version\Version;
-use PharIo\Version\VersionConstraintParser;
-
-class ManifestDocumentMapper {
- public function map(ManifestDocument $document): Manifest {
- try {
- $contains = $document->getContainsElement();
- $type = $this->mapType($contains);
- $copyright = $this->mapCopyright($document->getCopyrightElement());
- $requirements = $this->mapRequirements($document->getRequiresElement());
- $bundledComponents = $this->mapBundledComponents($document);
-
- return new Manifest(
- new ApplicationName($contains->getName()),
- new Version($contains->getVersion()),
- $type,
- $copyright,
- $requirements,
- $bundledComponents
- );
- } catch (VersionException $e) {
- throw new ManifestDocumentMapperException($e->getMessage(), (int)$e->getCode(), $e);
- } catch (Exception $e) {
- throw new ManifestDocumentMapperException($e->getMessage(), (int)$e->getCode(), $e);
- }
- }
-
- private function mapType(ContainsElement $contains): Type {
- switch ($contains->getType()) {
- case 'application':
- return Type::application();
- case 'library':
- return Type::library();
- case 'extension':
- return $this->mapExtension($contains->getExtensionElement());
- }
-
- throw new ManifestDocumentMapperException(
- \sprintf('Unsupported type %s', $contains->getType())
- );
- }
-
- private function mapCopyright(CopyrightElement $copyright): CopyrightInformation {
- $authors = new AuthorCollection();
-
- foreach ($copyright->getAuthorElements() as $authorElement) {
- $authors->add(
- new Author(
- $authorElement->getName(),
- new Email($authorElement->getEmail())
- )
- );
- }
-
- $licenseElement = $copyright->getLicenseElement();
- $license = new License(
- $licenseElement->getType(),
- new Url($licenseElement->getUrl())
- );
-
- return new CopyrightInformation(
- $authors,
- $license
- );
- }
-
- private function mapRequirements(RequiresElement $requires): RequirementCollection {
- $collection = new RequirementCollection();
- $phpElement = $requires->getPHPElement();
- $parser = new VersionConstraintParser;
-
- try {
- $versionConstraint = $parser->parse($phpElement->getVersion());
- } catch (VersionException $e) {
- throw new ManifestDocumentMapperException(
- \sprintf('Unsupported version constraint - %s', $e->getMessage()),
- (int)$e->getCode(),
- $e
- );
- }
-
- $collection->add(
- new PhpVersionRequirement(
- $versionConstraint
- )
- );
-
- if (!$phpElement->hasExtElements()) {
- return $collection;
- }
-
- foreach ($phpElement->getExtElements() as $extElement) {
- $collection->add(
- new PhpExtensionRequirement($extElement->getName())
- );
- }
-
- return $collection;
- }
-
- private function mapBundledComponents(ManifestDocument $document): BundledComponentCollection {
- $collection = new BundledComponentCollection();
-
- if (!$document->hasBundlesElement()) {
- return $collection;
- }
-
- foreach ($document->getBundlesElement()->getComponentElements() as $componentElement) {
- $collection->add(
- new BundledComponent(
- $componentElement->getName(),
- new Version(
- $componentElement->getVersion()
- )
- )
- );
- }
-
- return $collection;
- }
-
- private function mapExtension(ExtensionElement $extension): Extension {
- try {
- $versionConstraint = (new VersionConstraintParser)->parse($extension->getCompatible());
-
- return Type::extension(
- new ApplicationName($extension->getFor()),
- $versionConstraint
- );
- } catch (VersionException $e) {
- throw new ManifestDocumentMapperException(
- \sprintf('Unsupported version constraint - %s', $e->getMessage()),
- (int)$e->getCode(),
- $e
- );
- }
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/ManifestLoader.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/ManifestLoader.php
deleted file mode 100644
index ae884e49a0..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/ManifestLoader.php
+++ /dev/null
@@ -1,44 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class ManifestLoader {
- public static function fromFile(string $filename): Manifest {
- try {
- return (new ManifestDocumentMapper())->map(
- ManifestDocument::fromFile($filename)
- );
- } catch (Exception $e) {
- throw new ManifestLoaderException(
- \sprintf('Loading %s failed.', $filename),
- (int)$e->getCode(),
- $e
- );
- }
- }
-
- public static function fromPhar(string $filename): Manifest {
- return self::fromFile('phar://' . $filename . '/manifest.xml');
- }
-
- public static function fromString(string $manifest): Manifest {
- try {
- return (new ManifestDocumentMapper())->map(
- ManifestDocument::fromString($manifest)
- );
- } catch (Exception $e) {
- throw new ManifestLoaderException(
- 'Processing string failed',
- (int)$e->getCode(),
- $e
- );
- }
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/ManifestSerializer.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/ManifestSerializer.php
deleted file mode 100644
index e236b5984c..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/ManifestSerializer.php
+++ /dev/null
@@ -1,168 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-use PharIo\Version\AnyVersionConstraint;
-use PharIo\Version\Version;
-use PharIo\Version\VersionConstraint;
-use XMLWriter;
-
-/** @psalm-suppress MissingConstructor */
-class ManifestSerializer {
- /** @var XMLWriter */
- private $xmlWriter;
-
- public function serializeToFile(Manifest $manifest, string $filename): void {
- \file_put_contents(
- $filename,
- $this->serializeToString($manifest)
- );
- }
-
- public function serializeToString(Manifest $manifest): string {
- $this->startDocument();
-
- $this->addContains($manifest->getName(), $manifest->getVersion(), $manifest->getType());
- $this->addCopyright($manifest->getCopyrightInformation());
- $this->addRequirements($manifest->getRequirements());
- $this->addBundles($manifest->getBundledComponents());
-
- return $this->finishDocument();
- }
-
- private function startDocument(): void {
- $xmlWriter = new XMLWriter();
- $xmlWriter->openMemory();
- $xmlWriter->setIndent(true);
- $xmlWriter->setIndentString(\str_repeat(' ', 4));
- $xmlWriter->startDocument('1.0', 'UTF-8');
- $xmlWriter->startElement('phar');
- $xmlWriter->writeAttribute('xmlns', 'https://phar.io/xml/manifest/1.0');
-
- $this->xmlWriter = $xmlWriter;
- }
-
- private function finishDocument(): string {
- $this->xmlWriter->endElement();
- $this->xmlWriter->endDocument();
-
- return $this->xmlWriter->outputMemory();
- }
-
- private function addContains(ApplicationName $name, Version $version, Type $type): void {
- $this->xmlWriter->startElement('contains');
- $this->xmlWriter->writeAttribute('name', $name->asString());
- $this->xmlWriter->writeAttribute('version', $version->getVersionString());
-
- switch (true) {
- case $type->isApplication(): {
- $this->xmlWriter->writeAttribute('type', 'application');
-
- break;
- }
-
- case $type->isLibrary(): {
- $this->xmlWriter->writeAttribute('type', 'library');
-
- break;
- }
-
- case $type->isExtension(): {
- $this->xmlWriter->writeAttribute('type', 'extension');
- /* @var $type Extension */
- $this->addExtension(
- $type->getApplicationName(),
- $type->getVersionConstraint()
- );
-
- break;
- }
-
- default: {
- $this->xmlWriter->writeAttribute('type', 'custom');
- }
- }
-
- $this->xmlWriter->endElement();
- }
-
- private function addCopyright(CopyrightInformation $copyrightInformation): void {
- $this->xmlWriter->startElement('copyright');
-
- foreach ($copyrightInformation->getAuthors() as $author) {
- $this->xmlWriter->startElement('author');
- $this->xmlWriter->writeAttribute('name', $author->getName());
- $this->xmlWriter->writeAttribute('email', $author->getEmail()->asString());
- $this->xmlWriter->endElement();
- }
-
- $license = $copyrightInformation->getLicense();
-
- $this->xmlWriter->startElement('license');
- $this->xmlWriter->writeAttribute('type', $license->getName());
- $this->xmlWriter->writeAttribute('url', $license->getUrl()->asString());
- $this->xmlWriter->endElement();
-
- $this->xmlWriter->endElement();
- }
-
- private function addRequirements(RequirementCollection $requirementCollection): void {
- $phpRequirement = new AnyVersionConstraint();
- $extensions = [];
-
- foreach ($requirementCollection as $requirement) {
- if ($requirement instanceof PhpVersionRequirement) {
- $phpRequirement = $requirement->getVersionConstraint();
-
- continue;
- }
-
- if ($requirement instanceof PhpExtensionRequirement) {
- $extensions[] = $requirement->asString();
- }
- }
-
- $this->xmlWriter->startElement('requires');
- $this->xmlWriter->startElement('php');
- $this->xmlWriter->writeAttribute('version', $phpRequirement->asString());
-
- foreach ($extensions as $extension) {
- $this->xmlWriter->startElement('ext');
- $this->xmlWriter->writeAttribute('name', $extension);
- $this->xmlWriter->endElement();
- }
-
- $this->xmlWriter->endElement();
- $this->xmlWriter->endElement();
- }
-
- private function addBundles(BundledComponentCollection $bundledComponentCollection): void {
- if (\count($bundledComponentCollection) === 0) {
- return;
- }
- $this->xmlWriter->startElement('bundles');
-
- foreach ($bundledComponentCollection as $bundledComponent) {
- $this->xmlWriter->startElement('component');
- $this->xmlWriter->writeAttribute('name', $bundledComponent->getName());
- $this->xmlWriter->writeAttribute('version', $bundledComponent->getVersion()->getVersionString());
- $this->xmlWriter->endElement();
- }
-
- $this->xmlWriter->endElement();
- }
-
- private function addExtension(ApplicationName $applicationName, VersionConstraint $versionConstraint): void {
- $this->xmlWriter->startElement('extension');
- $this->xmlWriter->writeAttribute('for', $applicationName->asString());
- $this->xmlWriter->writeAttribute('compatible', $versionConstraint->asString());
- $this->xmlWriter->endElement();
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/ElementCollectionException.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/ElementCollectionException.php
deleted file mode 100644
index 766fc0e6a1..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/ElementCollectionException.php
+++ /dev/null
@@ -1,13 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class ElementCollectionException extends \InvalidArgumentException implements Exception {
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/Exception.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/Exception.php
deleted file mode 100644
index e7f1220977..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/Exception.php
+++ /dev/null
@@ -1,13 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-interface Exception extends \Throwable {
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/InvalidApplicationNameException.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/InvalidApplicationNameException.php
deleted file mode 100644
index 952901eb52..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/InvalidApplicationNameException.php
+++ /dev/null
@@ -1,14 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class InvalidApplicationNameException extends \InvalidArgumentException implements Exception {
- public const InvalidFormat = 2;
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/InvalidEmailException.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/InvalidEmailException.php
deleted file mode 100644
index 3cbe08223c..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/InvalidEmailException.php
+++ /dev/null
@@ -1,13 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class InvalidEmailException extends \InvalidArgumentException implements Exception {
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/InvalidUrlException.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/InvalidUrlException.php
deleted file mode 100644
index 8f77e2946e..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/InvalidUrlException.php
+++ /dev/null
@@ -1,13 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class InvalidUrlException extends \InvalidArgumentException implements Exception {
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/ManifestDocumentException.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/ManifestDocumentException.php
deleted file mode 100644
index cf1c314c6f..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/ManifestDocumentException.php
+++ /dev/null
@@ -1,5 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-use LibXMLError;
-
-class ManifestDocumentLoadingException extends \Exception implements Exception {
- /** @var LibXMLError[] */
- private $libxmlErrors;
-
- /**
- * ManifestDocumentLoadingException constructor.
- *
- * @param LibXMLError[] $libxmlErrors
- */
- public function __construct(array $libxmlErrors) {
- $this->libxmlErrors = $libxmlErrors;
- $first = $this->libxmlErrors[0];
-
- parent::__construct(
- \sprintf(
- '%s (Line: %d / Column: %d / File: %s)',
- $first->message,
- $first->line,
- $first->column,
- $first->file
- ),
- $first->code
- );
- }
-
- /**
- * @return LibXMLError[]
- */
- public function getLibxmlErrors(): array {
- return $this->libxmlErrors;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/ManifestDocumentMapperException.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/ManifestDocumentMapperException.php
deleted file mode 100644
index 43373bd346..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/exceptions/ManifestDocumentMapperException.php
+++ /dev/null
@@ -1,5 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class Application extends Type {
- public function isApplication(): bool {
- return true;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/ApplicationName.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/ApplicationName.php
deleted file mode 100644
index d71744ab6d..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/ApplicationName.php
+++ /dev/null
@@ -1,37 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class ApplicationName {
- /** @var string */
- private $name;
-
- public function __construct(string $name) {
- $this->ensureValidFormat($name);
- $this->name = $name;
- }
-
- public function asString(): string {
- return $this->name;
- }
-
- public function isEqual(ApplicationName $name): bool {
- return $this->name === $name->name;
- }
-
- private function ensureValidFormat(string $name): void {
- if (!\preg_match('#\w/\w#', $name)) {
- throw new InvalidApplicationNameException(
- \sprintf('Format of name "%s" is not valid - expected: vendor/packagename', $name),
- InvalidApplicationNameException::InvalidFormat
- );
- }
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Author.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Author.php
deleted file mode 100644
index 82b666e7d6..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Author.php
+++ /dev/null
@@ -1,39 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class Author {
- /** @var string */
- private $name;
-
- /** @var Email */
- private $email;
-
- public function __construct(string $name, Email $email) {
- $this->name = $name;
- $this->email = $email;
- }
-
- public function asString(): string {
- return \sprintf(
- '%s <%s>',
- $this->name,
- $this->email->asString()
- );
- }
-
- public function getName(): string {
- return $this->name;
- }
-
- public function getEmail(): Email {
- return $this->email;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/AuthorCollection.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/AuthorCollection.php
deleted file mode 100644
index 27e50ad845..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/AuthorCollection.php
+++ /dev/null
@@ -1,34 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class AuthorCollection implements \Countable, \IteratorAggregate {
- /** @var Author[] */
- private $authors = [];
-
- public function add(Author $author): void {
- $this->authors[] = $author;
- }
-
- /**
- * @return Author[]
- */
- public function getAuthors(): array {
- return $this->authors;
- }
-
- public function count(): int {
- return \count($this->authors);
- }
-
- public function getIterator(): AuthorCollectionIterator {
- return new AuthorCollectionIterator($this);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/AuthorCollectionIterator.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/AuthorCollectionIterator.php
deleted file mode 100644
index 4ff3c39431..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/AuthorCollectionIterator.php
+++ /dev/null
@@ -1,42 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class AuthorCollectionIterator implements \Iterator {
- /** @var Author[] */
- private $authors;
-
- /** @var int */
- private $position = 0;
-
- public function __construct(AuthorCollection $authors) {
- $this->authors = $authors->getAuthors();
- }
-
- public function rewind(): void {
- $this->position = 0;
- }
-
- public function valid(): bool {
- return $this->position < \count($this->authors);
- }
-
- public function key(): int {
- return $this->position;
- }
-
- public function current(): Author {
- return $this->authors[$this->position];
- }
-
- public function next(): void {
- $this->position++;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/BundledComponent.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/BundledComponent.php
deleted file mode 100644
index ea77b4402c..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/BundledComponent.php
+++ /dev/null
@@ -1,33 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-use PharIo\Version\Version;
-
-class BundledComponent {
- /** @var string */
- private $name;
-
- /** @var Version */
- private $version;
-
- public function __construct(string $name, Version $version) {
- $this->name = $name;
- $this->version = $version;
- }
-
- public function getName(): string {
- return $this->name;
- }
-
- public function getVersion(): Version {
- return $this->version;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/BundledComponentCollection.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/BundledComponentCollection.php
deleted file mode 100644
index b628eaa358..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/BundledComponentCollection.php
+++ /dev/null
@@ -1,34 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class BundledComponentCollection implements \Countable, \IteratorAggregate {
- /** @var BundledComponent[] */
- private $bundledComponents = [];
-
- public function add(BundledComponent $bundledComponent): void {
- $this->bundledComponents[] = $bundledComponent;
- }
-
- /**
- * @return BundledComponent[]
- */
- public function getBundledComponents(): array {
- return $this->bundledComponents;
- }
-
- public function count(): int {
- return \count($this->bundledComponents);
- }
-
- public function getIterator(): BundledComponentCollectionIterator {
- return new BundledComponentCollectionIterator($this);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/BundledComponentCollectionIterator.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/BundledComponentCollectionIterator.php
deleted file mode 100644
index 462db45a1f..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/BundledComponentCollectionIterator.php
+++ /dev/null
@@ -1,42 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class BundledComponentCollectionIterator implements \Iterator {
- /** @var BundledComponent[] */
- private $bundledComponents;
-
- /** @var int */
- private $position = 0;
-
- public function __construct(BundledComponentCollection $bundledComponents) {
- $this->bundledComponents = $bundledComponents->getBundledComponents();
- }
-
- public function rewind(): void {
- $this->position = 0;
- }
-
- public function valid(): bool {
- return $this->position < \count($this->bundledComponents);
- }
-
- public function key(): int {
- return $this->position;
- }
-
- public function current(): BundledComponent {
- return $this->bundledComponents[$this->position];
- }
-
- public function next(): void {
- $this->position++;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/CopyrightInformation.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/CopyrightInformation.php
deleted file mode 100644
index d26f947212..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/CopyrightInformation.php
+++ /dev/null
@@ -1,31 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class CopyrightInformation {
- /** @var AuthorCollection */
- private $authors;
-
- /** @var License */
- private $license;
-
- public function __construct(AuthorCollection $authors, License $license) {
- $this->authors = $authors;
- $this->license = $license;
- }
-
- public function getAuthors(): AuthorCollection {
- return $this->authors;
- }
-
- public function getLicense(): License {
- return $this->license;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Email.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Email.php
deleted file mode 100644
index 588348d890..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Email.php
+++ /dev/null
@@ -1,31 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class Email {
- /** @var string */
- private $email;
-
- public function __construct(string $email) {
- $this->ensureEmailIsValid($email);
-
- $this->email = $email;
- }
-
- public function asString(): string {
- return $this->email;
- }
-
- private function ensureEmailIsValid(string $url): void {
- if (\filter_var($url, \FILTER_VALIDATE_EMAIL) === false) {
- throw new InvalidEmailException;
- }
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Extension.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Extension.php
deleted file mode 100644
index 4c5726f8a9..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Extension.php
+++ /dev/null
@@ -1,46 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-use PharIo\Version\Version;
-use PharIo\Version\VersionConstraint;
-
-class Extension extends Type {
- /** @var ApplicationName */
- private $application;
-
- /** @var VersionConstraint */
- private $versionConstraint;
-
- public function __construct(ApplicationName $application, VersionConstraint $versionConstraint) {
- $this->application = $application;
- $this->versionConstraint = $versionConstraint;
- }
-
- public function getApplicationName(): ApplicationName {
- return $this->application;
- }
-
- public function getVersionConstraint(): VersionConstraint {
- return $this->versionConstraint;
- }
-
- public function isExtension(): bool {
- return true;
- }
-
- public function isExtensionFor(ApplicationName $name): bool {
- return $this->application->isEqual($name);
- }
-
- public function isCompatibleWith(ApplicationName $name, Version $version): bool {
- return $this->isExtensionFor($name) && $this->versionConstraint->complies($version);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Library.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Library.php
deleted file mode 100644
index 21849e137c..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Library.php
+++ /dev/null
@@ -1,16 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class Library extends Type {
- public function isLibrary(): bool {
- return true;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/License.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/License.php
deleted file mode 100644
index 39542fe871..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/License.php
+++ /dev/null
@@ -1,31 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class License {
- /** @var string */
- private $name;
-
- /** @var Url */
- private $url;
-
- public function __construct(string $name, Url $url) {
- $this->name = $name;
- $this->url = $url;
- }
-
- public function getName(): string {
- return $this->name;
- }
-
- public function getUrl(): Url {
- return $this->url;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Manifest.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Manifest.php
deleted file mode 100644
index 0140b842b0..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Manifest.php
+++ /dev/null
@@ -1,92 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-use PharIo\Version\Version;
-
-class Manifest {
- /** @var ApplicationName */
- private $name;
-
- /** @var Version */
- private $version;
-
- /** @var Type */
- private $type;
-
- /** @var CopyrightInformation */
- private $copyrightInformation;
-
- /** @var RequirementCollection */
- private $requirements;
-
- /** @var BundledComponentCollection */
- private $bundledComponents;
-
- public function __construct(ApplicationName $name, Version $version, Type $type, CopyrightInformation $copyrightInformation, RequirementCollection $requirements, BundledComponentCollection $bundledComponents) {
- $this->name = $name;
- $this->version = $version;
- $this->type = $type;
- $this->copyrightInformation = $copyrightInformation;
- $this->requirements = $requirements;
- $this->bundledComponents = $bundledComponents;
- }
-
- public function getName(): ApplicationName {
- return $this->name;
- }
-
- public function getVersion(): Version {
- return $this->version;
- }
-
- public function getType(): Type {
- return $this->type;
- }
-
- public function getCopyrightInformation(): CopyrightInformation {
- return $this->copyrightInformation;
- }
-
- public function getRequirements(): RequirementCollection {
- return $this->requirements;
- }
-
- public function getBundledComponents(): BundledComponentCollection {
- return $this->bundledComponents;
- }
-
- public function isApplication(): bool {
- return $this->type->isApplication();
- }
-
- public function isLibrary(): bool {
- return $this->type->isLibrary();
- }
-
- public function isExtension(): bool {
- return $this->type->isExtension();
- }
-
- public function isExtensionFor(ApplicationName $application, Version $version = null): bool {
- if (!$this->isExtension()) {
- return false;
- }
-
- /** @var Extension $type */
- $type = $this->type;
-
- if ($version !== null) {
- return $type->isCompatibleWith($application, $version);
- }
-
- return $type->isExtensionFor($application);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/PhpExtensionRequirement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/PhpExtensionRequirement.php
deleted file mode 100644
index 088f38584c..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/PhpExtensionRequirement.php
+++ /dev/null
@@ -1,23 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class PhpExtensionRequirement implements Requirement {
- /** @var string */
- private $extension;
-
- public function __construct(string $extension) {
- $this->extension = $extension;
- }
-
- public function asString(): string {
- return $this->extension;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/PhpVersionRequirement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/PhpVersionRequirement.php
deleted file mode 100644
index f8d6f6d131..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/PhpVersionRequirement.php
+++ /dev/null
@@ -1,25 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-use PharIo\Version\VersionConstraint;
-
-class PhpVersionRequirement implements Requirement {
- /** @var VersionConstraint */
- private $versionConstraint;
-
- public function __construct(VersionConstraint $versionConstraint) {
- $this->versionConstraint = $versionConstraint;
- }
-
- public function getVersionConstraint(): VersionConstraint {
- return $this->versionConstraint;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Requirement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Requirement.php
deleted file mode 100644
index 8b845d6a0b..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Requirement.php
+++ /dev/null
@@ -1,13 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-interface Requirement {
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/RequirementCollection.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/RequirementCollection.php
deleted file mode 100644
index b82cd955e3..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/RequirementCollection.php
+++ /dev/null
@@ -1,34 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class RequirementCollection implements \Countable, \IteratorAggregate {
- /** @var Requirement[] */
- private $requirements = [];
-
- public function add(Requirement $requirement): void {
- $this->requirements[] = $requirement;
- }
-
- /**
- * @return Requirement[]
- */
- public function getRequirements(): array {
- return $this->requirements;
- }
-
- public function count(): int {
- return \count($this->requirements);
- }
-
- public function getIterator(): RequirementCollectionIterator {
- return new RequirementCollectionIterator($this);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/RequirementCollectionIterator.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/RequirementCollectionIterator.php
deleted file mode 100644
index 5614eaf7fc..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/RequirementCollectionIterator.php
+++ /dev/null
@@ -1,42 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class RequirementCollectionIterator implements \Iterator {
- /** @var Requirement[] */
- private $requirements;
-
- /** @var int */
- private $position = 0;
-
- public function __construct(RequirementCollection $requirements) {
- $this->requirements = $requirements->getRequirements();
- }
-
- public function rewind(): void {
- $this->position = 0;
- }
-
- public function valid(): bool {
- return $this->position < \count($this->requirements);
- }
-
- public function key(): int {
- return $this->position;
- }
-
- public function current(): Requirement {
- return $this->requirements[$this->position];
- }
-
- public function next(): void {
- $this->position++;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Type.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Type.php
deleted file mode 100644
index 23b289805e..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Type.php
+++ /dev/null
@@ -1,41 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-use PharIo\Version\VersionConstraint;
-
-abstract class Type {
- public static function application(): Application {
- return new Application;
- }
-
- public static function library(): Library {
- return new Library;
- }
-
- public static function extension(ApplicationName $application, VersionConstraint $versionConstraint): Extension {
- return new Extension($application, $versionConstraint);
- }
-
- /** @psalm-assert-if-true Application $this */
- public function isApplication(): bool {
- return false;
- }
-
- /** @psalm-assert-if-true Library $this */
- public function isLibrary(): bool {
- return false;
- }
-
- /** @psalm-assert-if-true Extension $this */
- public function isExtension(): bool {
- return false;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Url.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Url.php
deleted file mode 100644
index 639525333c..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/values/Url.php
+++ /dev/null
@@ -1,36 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class Url {
- /** @var string */
- private $url;
-
- public function __construct(string $url) {
- $this->ensureUrlIsValid($url);
-
- $this->url = $url;
- }
-
- public function asString(): string {
- return $this->url;
- }
-
- /**
- * @param string $url
- *
- * @throws InvalidUrlException
- */
- private function ensureUrlIsValid($url): void {
- if (\filter_var($url, \FILTER_VALIDATE_URL) === false) {
- throw new InvalidUrlException;
- }
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/AuthorElement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/AuthorElement.php
deleted file mode 100644
index c454b271ac..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/AuthorElement.php
+++ /dev/null
@@ -1,20 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class AuthorElement extends ManifestElement {
- public function getName(): string {
- return $this->getAttributeValue('name');
- }
-
- public function getEmail(): string {
- return $this->getAttributeValue('email');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/AuthorElementCollection.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/AuthorElementCollection.php
deleted file mode 100644
index a54147eb46..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/AuthorElementCollection.php
+++ /dev/null
@@ -1,18 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class AuthorElementCollection extends ElementCollection {
- public function current(): AuthorElement {
- return new AuthorElement(
- $this->getCurrentElement()
- );
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/BundlesElement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/BundlesElement.php
deleted file mode 100644
index eb2105acd7..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/BundlesElement.php
+++ /dev/null
@@ -1,18 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class BundlesElement extends ManifestElement {
- public function getComponentElements(): ComponentElementCollection {
- return new ComponentElementCollection(
- $this->getChildrenByName('component')
- );
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ComponentElement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ComponentElement.php
deleted file mode 100644
index 7f6a5ec9a4..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ComponentElement.php
+++ /dev/null
@@ -1,20 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class ComponentElement extends ManifestElement {
- public function getName(): string {
- return $this->getAttributeValue('name');
- }
-
- public function getVersion(): string {
- return $this->getAttributeValue('version');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ComponentElementCollection.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ComponentElementCollection.php
deleted file mode 100644
index 23bcbd2f1a..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ComponentElementCollection.php
+++ /dev/null
@@ -1,18 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class ComponentElementCollection extends ElementCollection {
- public function current(): ComponentElement {
- return new ComponentElement(
- $this->getCurrentElement()
- );
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ContainsElement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ContainsElement.php
deleted file mode 100644
index ebef49d9b1..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ContainsElement.php
+++ /dev/null
@@ -1,30 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class ContainsElement extends ManifestElement {
- public function getName(): string {
- return $this->getAttributeValue('name');
- }
-
- public function getVersion(): string {
- return $this->getAttributeValue('version');
- }
-
- public function getType(): string {
- return $this->getAttributeValue('type');
- }
-
- public function getExtensionElement(): ExtensionElement {
- return new ExtensionElement(
- $this->getChildByName('extension')
- );
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/CopyrightElement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/CopyrightElement.php
deleted file mode 100644
index 3debe7dcde..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/CopyrightElement.php
+++ /dev/null
@@ -1,24 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class CopyrightElement extends ManifestElement {
- public function getAuthorElements(): AuthorElementCollection {
- return new AuthorElementCollection(
- $this->getChildrenByName('author')
- );
- }
-
- public function getLicenseElement(): LicenseElement {
- return new LicenseElement(
- $this->getChildByName('license')
- );
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ElementCollection.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ElementCollection.php
deleted file mode 100644
index 1d13a91605..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ElementCollection.php
+++ /dev/null
@@ -1,60 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-use DOMElement;
-use DOMNodeList;
-
-abstract class ElementCollection implements \Iterator {
- /** @var DOMElement[] */
- private $nodes = [];
-
- /** @var int */
- private $position;
-
- public function __construct(DOMNodeList $nodeList) {
- $this->position = 0;
- $this->importNodes($nodeList);
- }
-
- abstract public function current();
-
- public function next(): void {
- $this->position++;
- }
-
- public function key() {
- return $this->position;
- }
-
- public function valid() {
- return $this->position < \count($this->nodes);
- }
-
- public function rewind(): void {
- $this->position = 0;
- }
-
- protected function getCurrentElement(): DOMElement {
- return $this->nodes[$this->position];
- }
-
- private function importNodes(DOMNodeList $nodeList): void {
- foreach ($nodeList as $node) {
- if (!$node instanceof DOMElement) {
- throw new ElementCollectionException(
- \sprintf('\DOMElement expected, got \%s', \get_class($node))
- );
- }
-
- $this->nodes[] = $node;
- }
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ExtElement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ExtElement.php
deleted file mode 100644
index 257853c43f..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ExtElement.php
+++ /dev/null
@@ -1,16 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class ExtElement extends ManifestElement {
- public function getName(): string {
- return $this->getAttributeValue('name');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ExtElementCollection.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ExtElementCollection.php
deleted file mode 100644
index 059773490a..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ExtElementCollection.php
+++ /dev/null
@@ -1,18 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class ExtElementCollection extends ElementCollection {
- public function current(): ExtElement {
- return new ExtElement(
- $this->getCurrentElement()
- );
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ExtensionElement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ExtensionElement.php
deleted file mode 100644
index db067f9963..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ExtensionElement.php
+++ /dev/null
@@ -1,20 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class ExtensionElement extends ManifestElement {
- public function getFor(): string {
- return $this->getAttributeValue('for');
- }
-
- public function getCompatible(): string {
- return $this->getAttributeValue('compatible');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/LicenseElement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/LicenseElement.php
deleted file mode 100644
index 658c3d1c25..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/LicenseElement.php
+++ /dev/null
@@ -1,20 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class LicenseElement extends ManifestElement {
- public function getType(): string {
- return $this->getAttributeValue('type');
- }
-
- public function getUrl(): string {
- return $this->getAttributeValue('url');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ManifestDocument.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ManifestDocument.php
deleted file mode 100644
index f88b282936..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ManifestDocument.php
+++ /dev/null
@@ -1,103 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-use DOMDocument;
-use DOMElement;
-
-class ManifestDocument {
- public const XMLNS = 'https://phar.io/xml/manifest/1.0';
-
- /** @var DOMDocument */
- private $dom;
-
- public static function fromFile(string $filename): ManifestDocument {
- if (!\file_exists($filename)) {
- throw new ManifestDocumentException(
- \sprintf('File "%s" not found', $filename)
- );
- }
-
- return self::fromString(
- \file_get_contents($filename)
- );
- }
-
- public static function fromString(string $xmlString): ManifestDocument {
- $prev = \libxml_use_internal_errors(true);
- \libxml_clear_errors();
-
- $dom = new DOMDocument();
- $dom->loadXML($xmlString);
-
- $errors = \libxml_get_errors();
- \libxml_use_internal_errors($prev);
-
- if (\count($errors) !== 0) {
- throw new ManifestDocumentLoadingException($errors);
- }
-
- return new self($dom);
- }
-
- private function __construct(DOMDocument $dom) {
- $this->ensureCorrectDocumentType($dom);
-
- $this->dom = $dom;
- }
-
- public function getContainsElement(): ContainsElement {
- return new ContainsElement(
- $this->fetchElementByName('contains')
- );
- }
-
- public function getCopyrightElement(): CopyrightElement {
- return new CopyrightElement(
- $this->fetchElementByName('copyright')
- );
- }
-
- public function getRequiresElement(): RequiresElement {
- return new RequiresElement(
- $this->fetchElementByName('requires')
- );
- }
-
- public function hasBundlesElement(): bool {
- return $this->dom->getElementsByTagNameNS(self::XMLNS, 'bundles')->length === 1;
- }
-
- public function getBundlesElement(): BundlesElement {
- return new BundlesElement(
- $this->fetchElementByName('bundles')
- );
- }
-
- private function ensureCorrectDocumentType(DOMDocument $dom): void {
- $root = $dom->documentElement;
-
- if ($root->localName !== 'phar' || $root->namespaceURI !== self::XMLNS) {
- throw new ManifestDocumentException('Not a phar.io manifest document');
- }
- }
-
- private function fetchElementByName(string $elementName): DOMElement {
- $element = $this->dom->getElementsByTagNameNS(self::XMLNS, $elementName)->item(0);
-
- if (!$element instanceof DOMElement) {
- throw new ManifestDocumentException(
- \sprintf('Element %s missing', $elementName)
- );
- }
-
- return $element;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ManifestElement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ManifestElement.php
deleted file mode 100644
index 1f57f547d5..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/ManifestElement.php
+++ /dev/null
@@ -1,66 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-use DOMElement;
-use DOMNodeList;
-
-class ManifestElement {
- public const XMLNS = 'https://phar.io/xml/manifest/1.0';
-
- /** @var DOMElement */
- private $element;
-
- public function __construct(DOMElement $element) {
- $this->element = $element;
- }
-
- protected function getAttributeValue(string $name): string {
- if (!$this->element->hasAttribute($name)) {
- throw new ManifestElementException(
- \sprintf(
- 'Attribute %s not set on element %s',
- $name,
- $this->element->localName
- )
- );
- }
-
- return $this->element->getAttribute($name);
- }
-
- protected function getChildByName(string $elementName): DOMElement {
- $element = $this->element->getElementsByTagNameNS(self::XMLNS, $elementName)->item(0);
-
- if (!$element instanceof DOMElement) {
- throw new ManifestElementException(
- \sprintf('Element %s missing', $elementName)
- );
- }
-
- return $element;
- }
-
- protected function getChildrenByName(string $elementName): DOMNodeList {
- $elementList = $this->element->getElementsByTagNameNS(self::XMLNS, $elementName);
-
- if ($elementList->length === 0) {
- throw new ManifestElementException(
- \sprintf('Element(s) %s missing', $elementName)
- );
- }
-
- return $elementList;
- }
-
- protected function hasChild(string $elementName): bool {
- return $this->element->getElementsByTagNameNS(self::XMLNS, $elementName)->length !== 0;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/PhpElement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/PhpElement.php
deleted file mode 100644
index c5c906c968..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/PhpElement.php
+++ /dev/null
@@ -1,26 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class PhpElement extends ManifestElement {
- public function getVersion(): string {
- return $this->getAttributeValue('version');
- }
-
- public function hasExtElements(): bool {
- return $this->hasChild('ext');
- }
-
- public function getExtElements(): ExtElementCollection {
- return new ExtElementCollection(
- $this->getChildrenByName('ext')
- );
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/RequiresElement.php b/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/RequiresElement.php
deleted file mode 100644
index b7cd41ef7f..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/manifest/src/xml/RequiresElement.php
+++ /dev/null
@@ -1,18 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Manifest;
-
-class RequiresElement extends ManifestElement {
- public function getPHPElement(): PhpElement {
- return new PhpElement(
- $this->getChildByName('php')
- );
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/CHANGELOG.md b/pandora_console/godmode/um_client/vendor/phar-io/version/CHANGELOG.md
deleted file mode 100644
index dc8e357453..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/CHANGELOG.md
+++ /dev/null
@@ -1,121 +0,0 @@
-# Changelog
-
-All notable changes to phar-io/version are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
-
-## [3.1.0] - 2021-02-23
-
->### Changed
-
-- Internal Refactoring
-- More scalar types
-
-### Added
-
-- [#24](https://github.com/phar-io/version/issues/24): `Version::getOriginalString()` added (Thanks @addshore)
-- Version constraints using the caret operator (`^`) now honor pre-1.0 releases, e.g. `^0.3` translates to `0.3.*`)
-- Various integration tests for version constraint processing
-
-### Fixed
-
-- [#23](https://github.com/phar-io/version/pull/23): Tilde operator without patch level
-
-
-
-## [3.0.4] - 14.12.2020
-
-### Fixed
-
-- [#22](https://github.com/phar-io/version/pull/22): make dev suffix rank works for uppercase too
-
-## [3.0.3] - 30.11.2020
-
-### Added
-
-- Comparator method `Version::equals()` added
-
-
-## [3.0.2] - 27.06.2020
-
-This release now supports PHP 7.2+ and PHP ^8.0. No other changes included.
-
-
-## [3.0.1] - 09.05.2020
-
-__Potential BC Break Notice:__
-`Version::getVersionString()` no longer returns `v` prefixes in case the "input"
-string contained one. These are not part of the semver specs
-(see https://semver.org/#is-v123-a-semantic-version) and get stripped out.
-As of Version 3.1.0 `Version::getOriginalString()` can be used to still
-retrieve it as given.
-
-### Changed
-
-- Internal Refactoring
-- More scalar types
-
-### Fixed
-
-- Fixed Constraint processing Regression for ^1.2 and ~1.2
-
-
-## [3.0.0] - 05.05.2020
-
-### Changed
-
-- Require PHP 7.2+
-- All code now uses strict mode
-- Scalar types have been added as needed
-
-### Added
-
-- The technically invalid format using 'v' prefix ("v1.2.3") is now properly supported
-
-
-## [2.0.1] - 08.07.2018
-
-### Fixed
-
-- Versions without a pre-release suffix are now always considered greater
-than versions with a pre-release suffix. Example: `3.0.0 > 3.0.0-alpha.1`
-
-
-## [2.0.0] - 23.06.2018
-
-Changes to public API:
-
-- `PreReleaseSuffix::construct()`: optional parameter `$number` removed
-- `PreReleaseSuffix::isGreaterThan()`: introduced
-- `Version::hasPreReleaseSuffix()`: introduced
-
-### Added
-
-- [#11](https://github.com/phar-io/version/issues/11): Added support for pre-release version suffixes. Supported values are:
- - `dev`
- - `beta` (also abbreviated form `b`)
- - `rc`
- - `alpha` (also abbreviated form `a`)
- - `patch` (also abbreviated form `p`)
-
- All values can be followed by a number, e.g. `beta3`.
-
- When comparing versions, the pre-release suffix is taken into account. Example:
-`1.5.0 > 1.5.0-beta1 > 1.5.0-alpha3 > 1.5.0-alpha2 > 1.5.0-dev11`
-
-### Changed
-
-- reorganized the source directories
-
-### Fixed
-
-- [#10](https://github.com/phar-io/version/issues/10): Version numbers containing
-a numeric suffix as seen in Debian packages are now supported.
-
-
-[3.1.0]: https://github.com/phar-io/version/compare/3.0.4...3.1.0
-[3.0.4]: https://github.com/phar-io/version/compare/3.0.3...3.0.4
-[3.0.3]: https://github.com/phar-io/version/compare/3.0.2...3.0.3
-[3.0.2]: https://github.com/phar-io/version/compare/3.0.1...3.0.2
-[3.0.1]: https://github.com/phar-io/version/compare/3.0.0...3.0.1
-[3.0.0]: https://github.com/phar-io/version/compare/2.0.1...3.0.0
-[2.0.1]: https://github.com/phar-io/version/compare/2.0.0...2.0.1
-[2.0.0]: https://github.com/phar-io/version/compare/1.0.1...2.0.0
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/LICENSE b/pandora_console/godmode/um_client/vendor/phar-io/version/LICENSE
deleted file mode 100644
index 359dbc50f2..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/LICENSE
+++ /dev/null
@@ -1,31 +0,0 @@
-phar-io/version
-
-Copyright (c) 2016-2017 Arne Blankerts , Sebastian Heuer and contributors
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-* Neither the name of Arne Blankerts nor the names of contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT * NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
-BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
-OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/README.md b/pandora_console/godmode/um_client/vendor/phar-io/version/README.md
deleted file mode 100644
index 76e6e98579..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/README.md
+++ /dev/null
@@ -1,61 +0,0 @@
-# Version
-
-Library for handling version information and constraints
-
-[](https://travis-ci.org/phar-io/version)
-
-## Installation
-
-You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):
-
- composer require phar-io/version
-
-If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
-
- composer require --dev phar-io/version
-
-## Version constraints
-
-A Version constraint describes a range of versions or a discrete version number. The format of version numbers follows the schema of [semantic versioning](http://semver.org): `..`. A constraint might contain an operator that describes the range.
-
-Beside the typical mathematical operators like `<=`, `>=`, there are two special operators:
-
-*Caret operator*: `^1.0`
-can be written as `>=1.0.0 <2.0.0` and read as »every Version within major version `1`«.
-
-*Tilde operator*: `~1.0.0`
-can be written as `>=1.0.0 <1.1.0` and read as »every version within minor version `1.1`. The behavior of tilde operator depends on whether a patch level version is provided or not. If no patch level is provided, tilde operator behaves like the caret operator: `~1.0` is identical to `^1.0`.
-
-## Usage examples
-
-Parsing version constraints and check discrete versions for compliance:
-
-```php
-
-use PharIo\Version\Version;
-use PharIo\Version\VersionConstraintParser;
-
-$parser = new VersionConstraintParser();
-$caret_constraint = $parser->parse( '^7.0' );
-
-$caret_constraint->complies( new Version( '7.0.17' ) ); // true
-$caret_constraint->complies( new Version( '7.1.0' ) ); // true
-$caret_constraint->complies( new Version( '6.4.34' ) ); // false
-
-$tilde_constraint = $parser->parse( '~1.1.0' );
-
-$tilde_constraint->complies( new Version( '1.1.4' ) ); // true
-$tilde_constraint->complies( new Version( '1.2.0' ) ); // false
-```
-
-As of version 2.0.0, pre-release labels are supported and taken into account when comparing versions:
-
-```php
-
-$leftVersion = new PharIo\Version\Version('3.0.0-alpha.1');
-$rightVersion = new PharIo\Version\Version('3.0.0-alpha.2');
-
-$leftVersion->isGreaterThan($rightVersion); // false
-$rightVersion->isGreaterThan($leftVersion); // true
-
-```
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/composer.json b/pandora_console/godmode/um_client/vendor/phar-io/version/composer.json
deleted file mode 100644
index 22687dcd3b..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/composer.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "name": "phar-io/version",
- "description": "Library for handling version information and constraints",
- "license": "BSD-3-Clause",
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "support": {
- "issues": "https://github.com/phar-io/version/issues"
- },
- "require": {
- "php": "^7.2 || ^8.0"
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- }
-}
-
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/PreReleaseSuffix.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/PreReleaseSuffix.php
deleted file mode 100644
index 50aa525cbd..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/PreReleaseSuffix.php
+++ /dev/null
@@ -1,85 +0,0 @@
- 0,
- 'a' => 1,
- 'alpha' => 1,
- 'b' => 2,
- 'beta' => 2,
- 'rc' => 3,
- 'p' => 4,
- 'patch' => 4,
- ];
-
- /** @var string */
- private $value;
-
- /** @var int */
- private $valueScore;
-
- /** @var int */
- private $number = 0;
-
- /** @var string */
- private $full;
-
- /**
- * @throws InvalidPreReleaseSuffixException
- */
- public function __construct(string $value) {
- $this->parseValue($value);
- }
-
- public function asString(): string {
- return $this->full;
- }
-
- public function getValue(): string {
- return $this->value;
- }
-
- public function getNumber(): ?int {
- return $this->number;
- }
-
- public function isGreaterThan(PreReleaseSuffix $suffix): bool {
- if ($this->valueScore > $suffix->valueScore) {
- return true;
- }
-
- if ($this->valueScore < $suffix->valueScore) {
- return false;
- }
-
- return $this->getNumber() > $suffix->getNumber();
- }
-
- private function mapValueToScore(string $value): int {
- $value = \strtolower($value);
-
- if (\array_key_exists($value, self::valueScoreMap)) {
- return self::valueScoreMap[$value];
- }
-
- return 0;
- }
-
- private function parseValue(string $value): void {
- $regex = '/-?((dev|beta|b|rc|alpha|a|patch|p)\.?(\d*)).*$/i';
-
- if (\preg_match($regex, $value, $matches) !== 1) {
- throw new InvalidPreReleaseSuffixException(\sprintf('Invalid label %s', $value));
- }
-
- $this->full = $matches[1];
- $this->value = $matches[2];
-
- if ($matches[3] !== '') {
- $this->number = (int)$matches[3];
- }
-
- $this->valueScore = $this->mapValueToScore($matches[2]);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/Version.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/Version.php
deleted file mode 100644
index b72ef5edbb..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/Version.php
+++ /dev/null
@@ -1,162 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-class Version {
- /** @var string */
- private $originalVersionString;
-
- /** @var VersionNumber */
- private $major;
-
- /** @var VersionNumber */
- private $minor;
-
- /** @var VersionNumber */
- private $patch;
-
- /** @var null|PreReleaseSuffix */
- private $preReleaseSuffix;
-
- public function __construct(string $versionString) {
- $this->ensureVersionStringIsValid($versionString);
- $this->originalVersionString = $versionString;
- }
-
- public function getPreReleaseSuffix(): PreReleaseSuffix {
- if ($this->preReleaseSuffix === null) {
- throw new NoPreReleaseSuffixException('No pre-release suffix set');
- }
-
- return $this->preReleaseSuffix;
- }
-
- public function getOriginalString(): string {
- return $this->originalVersionString;
- }
-
- public function getVersionString(): string {
- $str = \sprintf(
- '%d.%d.%d',
- $this->getMajor()->getValue() ?? 0,
- $this->getMinor()->getValue() ?? 0,
- $this->getPatch()->getValue() ?? 0
- );
-
- if (!$this->hasPreReleaseSuffix()) {
- return $str;
- }
-
- return $str . '-' . $this->getPreReleaseSuffix()->asString();
- }
-
- public function hasPreReleaseSuffix(): bool {
- return $this->preReleaseSuffix !== null;
- }
-
- public function equals(Version $other): bool {
- return $this->getVersionString() === $other->getVersionString();
- }
-
- public function isGreaterThan(Version $version): bool {
- if ($version->getMajor()->getValue() > $this->getMajor()->getValue()) {
- return false;
- }
-
- if ($version->getMajor()->getValue() < $this->getMajor()->getValue()) {
- return true;
- }
-
- if ($version->getMinor()->getValue() > $this->getMinor()->getValue()) {
- return false;
- }
-
- if ($version->getMinor()->getValue() < $this->getMinor()->getValue()) {
- return true;
- }
-
- if ($version->getPatch()->getValue() > $this->getPatch()->getValue()) {
- return false;
- }
-
- if ($version->getPatch()->getValue() < $this->getPatch()->getValue()) {
- return true;
- }
-
- if (!$version->hasPreReleaseSuffix() && !$this->hasPreReleaseSuffix()) {
- return false;
- }
-
- if ($version->hasPreReleaseSuffix() && !$this->hasPreReleaseSuffix()) {
- return true;
- }
-
- if (!$version->hasPreReleaseSuffix() && $this->hasPreReleaseSuffix()) {
- return false;
- }
-
- return $this->getPreReleaseSuffix()->isGreaterThan($version->getPreReleaseSuffix());
- }
-
- public function getMajor(): VersionNumber {
- return $this->major;
- }
-
- public function getMinor(): VersionNumber {
- return $this->minor;
- }
-
- public function getPatch(): VersionNumber {
- return $this->patch;
- }
-
- /**
- * @param string[] $matches
- *
- * @throws InvalidPreReleaseSuffixException
- */
- private function parseVersion(array $matches): void {
- $this->major = new VersionNumber((int)$matches['Major']);
- $this->minor = new VersionNumber((int)$matches['Minor']);
- $this->patch = isset($matches['Patch']) ? new VersionNumber((int)$matches['Patch']) : new VersionNumber(0);
-
- if (isset($matches['PreReleaseSuffix'])) {
- $this->preReleaseSuffix = new PreReleaseSuffix($matches['PreReleaseSuffix']);
- }
- }
-
- /**
- * @param string $version
- *
- * @throws InvalidVersionException
- */
- private function ensureVersionStringIsValid($version): void {
- $regex = '/^v?
- (?(0|(?:[1-9]\d*)))
- \\.
- (?(0|(?:[1-9]\d*)))
- (\\.
- (?(0|(?:[1-9]\d*)))
- )?
- (?:
- -
- (?(?:(dev|beta|b|rc|alpha|a|patch|p)\.?\d*))
- )?
- $/xi';
-
- if (\preg_match($regex, $version, $matches) !== 1) {
- throw new InvalidVersionException(
- \sprintf("Version string '%s' does not follow SemVer semantics", $version)
- );
- }
-
- $this->parseVersion($matches);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/VersionConstraintParser.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/VersionConstraintParser.php
deleted file mode 100644
index 644a86f0bb..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/VersionConstraintParser.php
+++ /dev/null
@@ -1,115 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-class VersionConstraintParser {
- /**
- * @throws UnsupportedVersionConstraintException
- */
- public function parse(string $value): VersionConstraint {
- if (\strpos($value, '||') !== false) {
- return $this->handleOrGroup($value);
- }
-
- if (!\preg_match('/^[\^~*]?v?[\d.*]+(?:-.*)?$/i', $value)) {
- throw new UnsupportedVersionConstraintException(
- \sprintf('Version constraint %s is not supported.', $value)
- );
- }
-
- switch ($value[0]) {
- case '~':
- return $this->handleTildeOperator($value);
- case '^':
- return $this->handleCaretOperator($value);
- }
-
- $constraint = new VersionConstraintValue($value);
-
- if ($constraint->getMajor()->isAny()) {
- return new AnyVersionConstraint();
- }
-
- if ($constraint->getMinor()->isAny()) {
- return new SpecificMajorVersionConstraint(
- $constraint->getVersionString(),
- $constraint->getMajor()->getValue() ?? 0
- );
- }
-
- if ($constraint->getPatch()->isAny()) {
- return new SpecificMajorAndMinorVersionConstraint(
- $constraint->getVersionString(),
- $constraint->getMajor()->getValue() ?? 0,
- $constraint->getMinor()->getValue() ?? 0
- );
- }
-
- return new ExactVersionConstraint($constraint->getVersionString());
- }
-
- private function handleOrGroup(string $value): OrVersionConstraintGroup {
- $constraints = [];
-
- foreach (\explode('||', $value) as $groupSegment) {
- $constraints[] = $this->parse(\trim($groupSegment));
- }
-
- return new OrVersionConstraintGroup($value, $constraints);
- }
-
- private function handleTildeOperator(string $value): AndVersionConstraintGroup {
- $constraintValue = new VersionConstraintValue(\substr($value, 1));
-
- if ($constraintValue->getPatch()->isAny()) {
- return $this->handleCaretOperator($value);
- }
-
- $constraints = [
- new GreaterThanOrEqualToVersionConstraint(
- $value,
- new Version(\substr($value, 1))
- ),
- new SpecificMajorAndMinorVersionConstraint(
- $value,
- $constraintValue->getMajor()->getValue() ?? 0,
- $constraintValue->getMinor()->getValue() ?? 0
- )
- ];
-
- return new AndVersionConstraintGroup($value, $constraints);
- }
-
- private function handleCaretOperator(string $value): AndVersionConstraintGroup {
- $constraintValue = new VersionConstraintValue(\substr($value, 1));
-
- $constraints = [
- new GreaterThanOrEqualToVersionConstraint($value, new Version(\substr($value, 1)))
- ];
-
- if ($constraintValue->getMajor()->getValue() === 0) {
- $constraints[] = new SpecificMajorAndMinorVersionConstraint(
- $value,
- $constraintValue->getMajor()->getValue() ?? 0,
- $constraintValue->getMinor()->getValue() ?? 0
- );
- } else {
- $constraints[] = new SpecificMajorVersionConstraint(
- $value,
- $constraintValue->getMajor()->getValue() ?? 0
- );
- }
-
- return new AndVersionConstraintGroup(
- $value,
- $constraints
- );
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/VersionConstraintValue.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/VersionConstraintValue.php
deleted file mode 100644
index 0762e7c0e8..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/VersionConstraintValue.php
+++ /dev/null
@@ -1,88 +0,0 @@
-versionString = $versionString;
-
- $this->parseVersion($versionString);
- }
-
- public function getLabel(): string {
- return $this->label;
- }
-
- public function getBuildMetaData(): string {
- return $this->buildMetaData;
- }
-
- public function getVersionString(): string {
- return $this->versionString;
- }
-
- public function getMajor(): VersionNumber {
- return $this->major;
- }
-
- public function getMinor(): VersionNumber {
- return $this->minor;
- }
-
- public function getPatch(): VersionNumber {
- return $this->patch;
- }
-
- private function parseVersion(string $versionString): void {
- $this->extractBuildMetaData($versionString);
- $this->extractLabel($versionString);
- $this->stripPotentialVPrefix($versionString);
-
- $versionSegments = \explode('.', $versionString);
- $this->major = new VersionNumber(\is_numeric($versionSegments[0]) ? (int)$versionSegments[0] : null);
-
- $minorValue = isset($versionSegments[1]) && \is_numeric($versionSegments[1]) ? (int)$versionSegments[1] : null;
- $patchValue = isset($versionSegments[2]) && \is_numeric($versionSegments[2]) ? (int)$versionSegments[2] : null;
-
- $this->minor = new VersionNumber($minorValue);
- $this->patch = new VersionNumber($patchValue);
- }
-
- private function extractBuildMetaData(string &$versionString): void {
- if (\preg_match('/\+(.*)/', $versionString, $matches) === 1) {
- $this->buildMetaData = $matches[1];
- $versionString = \str_replace($matches[0], '', $versionString);
- }
- }
-
- private function extractLabel(string &$versionString): void {
- if (\preg_match('/-(.*)/', $versionString, $matches) === 1) {
- $this->label = $matches[1];
- $versionString = \str_replace($matches[0], '', $versionString);
- }
- }
-
- private function stripPotentialVPrefix(string &$versionString): void {
- if ($versionString[0] !== 'v') {
- return;
- }
- $versionString = \substr($versionString, 1);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/VersionNumber.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/VersionNumber.php
deleted file mode 100644
index 4833a9b0f5..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/VersionNumber.php
+++ /dev/null
@@ -1,28 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-class VersionNumber {
-
- /** @var ?int */
- private $value;
-
- public function __construct(?int $value) {
- $this->value = $value;
- }
-
- public function isAny(): bool {
- return $this->value === null;
- }
-
- public function getValue(): ?int {
- return $this->value;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/AbstractVersionConstraint.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/AbstractVersionConstraint.php
deleted file mode 100644
index 66201a140f..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/AbstractVersionConstraint.php
+++ /dev/null
@@ -1,23 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-abstract class AbstractVersionConstraint implements VersionConstraint {
- /** @var string */
- private $originalValue;
-
- public function __construct(string $originalValue) {
- $this->originalValue = $originalValue;
- }
-
- public function asString(): string {
- return $this->originalValue;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/AndVersionConstraintGroup.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/AndVersionConstraintGroup.php
deleted file mode 100644
index 5096f2fbbc..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/AndVersionConstraintGroup.php
+++ /dev/null
@@ -1,34 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-class AndVersionConstraintGroup extends AbstractVersionConstraint {
- /** @var VersionConstraint[] */
- private $constraints = [];
-
- /**
- * @param VersionConstraint[] $constraints
- */
- public function __construct(string $originalValue, array $constraints) {
- parent::__construct($originalValue);
-
- $this->constraints = $constraints;
- }
-
- public function complies(Version $version): bool {
- foreach ($this->constraints as $constraint) {
- if (!$constraint->complies($version)) {
- return false;
- }
- }
-
- return true;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/AnyVersionConstraint.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/AnyVersionConstraint.php
deleted file mode 100644
index 1499f071f0..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/AnyVersionConstraint.php
+++ /dev/null
@@ -1,20 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-class AnyVersionConstraint implements VersionConstraint {
- public function complies(Version $version): bool {
- return true;
- }
-
- public function asString(): string {
- return '*';
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/ExactVersionConstraint.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/ExactVersionConstraint.php
deleted file mode 100644
index 2dd75f9857..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/ExactVersionConstraint.php
+++ /dev/null
@@ -1,16 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-class ExactVersionConstraint extends AbstractVersionConstraint {
- public function complies(Version $version): bool {
- return $this->asString() === $version->getVersionString();
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/GreaterThanOrEqualToVersionConstraint.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/GreaterThanOrEqualToVersionConstraint.php
deleted file mode 100644
index ec37172310..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/GreaterThanOrEqualToVersionConstraint.php
+++ /dev/null
@@ -1,26 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-class GreaterThanOrEqualToVersionConstraint extends AbstractVersionConstraint {
- /** @var Version */
- private $minimalVersion;
-
- public function __construct(string $originalValue, Version $minimalVersion) {
- parent::__construct($originalValue);
-
- $this->minimalVersion = $minimalVersion;
- }
-
- public function complies(Version $version): bool {
- return $version->getVersionString() === $this->minimalVersion->getVersionString()
- || $version->isGreaterThan($this->minimalVersion);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/OrVersionConstraintGroup.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/OrVersionConstraintGroup.php
deleted file mode 100644
index 59fd382f84..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/OrVersionConstraintGroup.php
+++ /dev/null
@@ -1,35 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-class OrVersionConstraintGroup extends AbstractVersionConstraint {
- /** @var VersionConstraint[] */
- private $constraints = [];
-
- /**
- * @param string $originalValue
- * @param VersionConstraint[] $constraints
- */
- public function __construct($originalValue, array $constraints) {
- parent::__construct($originalValue);
-
- $this->constraints = $constraints;
- }
-
- public function complies(Version $version): bool {
- foreach ($this->constraints as $constraint) {
- if ($constraint->complies($version)) {
- return true;
- }
- }
-
- return false;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/SpecificMajorAndMinorVersionConstraint.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/SpecificMajorAndMinorVersionConstraint.php
deleted file mode 100644
index 302aa311cd..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/SpecificMajorAndMinorVersionConstraint.php
+++ /dev/null
@@ -1,33 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-class SpecificMajorAndMinorVersionConstraint extends AbstractVersionConstraint {
- /** @var int */
- private $major;
-
- /** @var int */
- private $minor;
-
- public function __construct(string $originalValue, int $major, int $minor) {
- parent::__construct($originalValue);
-
- $this->major = $major;
- $this->minor = $minor;
- }
-
- public function complies(Version $version): bool {
- if ($version->getMajor()->getValue() !== $this->major) {
- return false;
- }
-
- return $version->getMinor()->getValue() === $this->minor;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/SpecificMajorVersionConstraint.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/SpecificMajorVersionConstraint.php
deleted file mode 100644
index 968b809c12..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/SpecificMajorVersionConstraint.php
+++ /dev/null
@@ -1,25 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-class SpecificMajorVersionConstraint extends AbstractVersionConstraint {
- /** @var int */
- private $major;
-
- public function __construct(string $originalValue, int $major) {
- parent::__construct($originalValue);
-
- $this->major = $major;
- }
-
- public function complies(Version $version): bool {
- return $version->getMajor()->getValue() === $this->major;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/VersionConstraint.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/VersionConstraint.php
deleted file mode 100644
index e94f9e00ed..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/constraints/VersionConstraint.php
+++ /dev/null
@@ -1,16 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-interface VersionConstraint {
- public function complies(Version $version): bool;
-
- public function asString(): string;
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/exceptions/Exception.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/exceptions/Exception.php
deleted file mode 100644
index 3ea458f3d0..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/exceptions/Exception.php
+++ /dev/null
@@ -1,15 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-use Throwable;
-
-interface Exception extends Throwable {
-}
diff --git a/pandora_console/godmode/um_client/vendor/phar-io/version/src/exceptions/InvalidPreReleaseSuffixException.php b/pandora_console/godmode/um_client/vendor/phar-io/version/src/exceptions/InvalidPreReleaseSuffixException.php
deleted file mode 100644
index bc0b0c3e4d..0000000000
--- a/pandora_console/godmode/um_client/vendor/phar-io/version/src/exceptions/InvalidPreReleaseSuffixException.php
+++ /dev/null
@@ -1,5 +0,0 @@
-, Sebastian Heuer , Sebastian Bergmann
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PharIo\Version;
-
-final class UnsupportedVersionConstraintException extends \RuntimeException implements Exception {
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/.github/dependabot.yml b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/.github/dependabot.yml
deleted file mode 100644
index c630ffa6b3..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/.github/dependabot.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-version: 2
-updates:
-- package-ecosystem: composer
- directory: "/"
- schedule:
- interval: daily
- open-pull-requests-limit: 10
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/.github/workflows/push.yml b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/.github/workflows/push.yml
deleted file mode 100644
index 484410e9ac..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/.github/workflows/push.yml
+++ /dev/null
@@ -1,223 +0,0 @@
-on:
- push:
- branches:
- - 2.x
- pull_request:
-name: Qa workflow
-jobs:
- setup:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
-
- - name: Restore/cache vendor folder
- uses: actions/cache@v1
- with:
- path: vendor
- key: all-build-${{ hashFiles('**/composer.lock') }}
- restore-keys: |
- all-build-${{ hashFiles('**/composer.lock') }}
- all-build-
-
- - name: Restore/cache tools folder
- uses: actions/cache@v1
- with:
- path: tools
- key: all-tools-${{ github.sha }}
- restore-keys: |
- all-tools-${{ github.sha }}-
- all-tools-
-
- - name: composer
- uses: docker://composer
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- args: install --no-interaction --prefer-dist --optimize-autoloader
-
- - name: Install phive
- run: make install-phive
-
- - name: Install PHAR dependencies
- run: tools/phive.phar --no-progress install --copy --trust-gpg-keys 4AA394086372C20A,8A03EA3B385DBAA1 --force-accept-unsigned
-
- phpunit-with-coverage:
- runs-on: ubuntu-latest
- name: Unit tests
- needs: setup
- steps:
- - uses: actions/checkout@v2
-
- - name: Setup PHP
- uses: shivammathur/setup-php@v2
- with:
- php-version: 7.2
- ini-values: memory_limit=2G, display_errors=On, error_reporting=-1
- coverage: pcov
-
- - name: Restore/cache tools folder
- uses: actions/cache@v1
- with:
- path: tools
- key: all-tools-${{ github.sha }}
- restore-keys: |
- all-tools-${{ github.sha }}-
- all-tools-
-
- - name: Get composer cache directory
- id: composer-cache
- run: echo "::set-output name=dir::$(composer config cache-files-dir)"
-
- - name: Cache composer dependencies
- uses: actions/cache@v1
- with:
- path: ${{ steps.composer-cache.outputs.dir }}
- key: ubuntu-latest-composer-${{ hashFiles('**/composer.lock') }}
- restore-keys: ubuntu-latest-composer-
-
- - name: Install Composer dependencies
- run: |
- composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
-
- - name: Run PHPUnit
- run: php tools/phpunit
-
- phpunit:
- runs-on: ${{ matrix.operating-system }}
- strategy:
- matrix:
- operating-system:
- - ubuntu-latest
- - windows-latest
- - macOS-latest
- php-versions: ['7.2', '7.3', '7.4', '8.0']
- name: Unit tests for PHP version ${{ matrix.php-versions }} on ${{ matrix.operating-system }}
- needs:
- - setup
- - phpunit-with-coverage
- steps:
- - uses: actions/checkout@v2
-
- - name: Restore/cache tools folder
- uses: actions/cache@v1
- with:
- path: tools
- key: all-tools-${{ github.sha }}
- restore-keys: |
- all-tools-${{ github.sha }}-
- all-tools-
-
- - name: Setup PHP
- uses: shivammathur/setup-php@v2
- with:
- php-version: ${{ matrix.php-versions }}
- ini-values: memory_limit=2G, display_errors=On, error_reporting=-1
- coverage: none
-
- - name: Get composer cache directory
- id: composer-cache
- run: echo "::set-output name=dir::$(composer config cache-files-dir)"
-
- - name: Cache composer dependencies
- uses: actions/cache@v1
- with:
- path: ${{ steps.composer-cache.outputs.dir }}
- key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
- restore-keys: ${{ runner.os }}-composer-
-
- - name: Install Composer dependencies
- run: |
- composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
-
- - name: Run PHPUnit
- continue-on-error: true
- run: php tools/phpunit
-
- codestyle:
- runs-on: ubuntu-latest
- needs: [setup, phpunit]
- steps:
- - uses: actions/checkout@v2
- - name: Restore/cache vendor folder
- uses: actions/cache@v1
- with:
- path: vendor
- key: all-build-${{ hashFiles('**/composer.lock') }}
- restore-keys: |
- all-build-${{ hashFiles('**/composer.lock') }}
- all-build-
- - name: Code style check
- uses: phpDocumentor/coding-standard@latest
- with:
- args: -s
-
- phpstan:
- runs-on: ubuntu-latest
- needs: [setup, phpunit]
- steps:
- - uses: actions/checkout@v2
- - name: Restore/cache vendor folder
- uses: actions/cache@v1
- with:
- path: vendor
- key: all-build-${{ hashFiles('**/composer.lock') }}
- restore-keys: |
- all-build-${{ hashFiles('**/composer.lock') }}
- all-build-
- - name: PHPStan
- uses: phpDocumentor/phpstan-ga@latest
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- args: analyse src --configuration phpstan.neon
-
- psalm:
- runs-on: ubuntu-latest
- needs: [setup, phpunit]
- steps:
- - uses: actions/checkout@v2
-
- - name: Setup PHP
- uses: shivammathur/setup-php@v2
- with:
- php-version: 7.2
- ini-values: memory_limit=2G, display_errors=On, error_reporting=-1
- tools: psalm
- coverage: none
-
- - name: Get composer cache directory
- id: composer-cache
- run: echo "::set-output name=dir::$(composer config cache-files-dir)"
-
- - name: Cache composer dependencies
- uses: actions/cache@v1
- with:
- path: ${{ steps.composer-cache.outputs.dir }}
- key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
- restore-keys: ${{ runner.os }}-composer-
-
- - name: Install Composer dependencies
- run: |
- composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
-
- - name: Psalm
- run: psalm --output-format=github
-
- bc_check:
- name: BC Check
- runs-on: ubuntu-latest
- needs: [setup, phpunit]
- steps:
- - uses: actions/checkout@v2
- - name: fetch tags
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- - name: Restore/cache vendor folder
- uses: actions/cache@v1
- with:
- path: vendor
- key: all-build-${{ hashFiles('**/composer.lock') }}
- restore-keys: |
- all-build-${{ hashFiles('**/composer.lock') }}
- all-build-
- - name: Roave BC Check
- uses: docker://nyholm/roave-bc-check-ga
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/LICENSE b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/LICENSE
deleted file mode 100644
index ed6926c1ee..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2015 phpDocumentor
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/README.md b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/README.md
deleted file mode 100644
index 70f830dc71..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/README.md
+++ /dev/null
@@ -1,11 +0,0 @@
-[](https://opensource.org/licenses/MIT)
-
-[](https://coveralls.io/github/phpDocumentor/ReflectionCommon?branch=master)
-[](https://scrutinizer-ci.com/g/phpDocumentor/ReflectionCommon/?branch=master)
-[](https://scrutinizer-ci.com/g/phpDocumentor/ReflectionCommon/?branch=master)
-[](https://packagist.org/packages/phpDocumentor/Reflection-Common)
-[](https://packagist.org/packages/phpDocumentor/Reflection-Common)
-
-
-ReflectionCommon
-================
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/composer.json b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/composer.json
deleted file mode 100644
index 4d128b49a9..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/composer.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "name": "phpdocumentor/reflection-common",
- "keywords": ["phpdoc", "phpDocumentor", "reflection", "static analysis", "FQSEN"],
- "homepage": "http://www.phpdoc.org",
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "license": "MIT",
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "require": {
- "php": "^7.2 || ^8.0"
- },
- "autoload" : {
- "psr-4" : {
- "phpDocumentor\\Reflection\\": "src/"
- }
- },
- "require-dev": {
- },
- "extra": {
- "branch-alias": {
- "dev-2.x": "2.x-dev"
- }
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/src/Element.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/src/Element.php
deleted file mode 100644
index 8923e4fb01..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/src/Element.php
+++ /dev/null
@@ -1,30 +0,0 @@
-fqsen = $fqsen;
-
- if (isset($matches[2])) {
- $this->name = $matches[2];
- } else {
- $matches = explode('\\', $fqsen);
- $name = end($matches);
- assert(is_string($name));
- $this->name = trim($name, '()');
- }
- }
-
- /**
- * converts this class to string.
- */
- public function __toString() : string
- {
- return $this->fqsen;
- }
-
- /**
- * Returns the name of the element without path.
- */
- public function getName() : string
- {
- return $this->name;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/src/Location.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/src/Location.php
deleted file mode 100644
index 177deede69..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/src/Location.php
+++ /dev/null
@@ -1,53 +0,0 @@
-lineNumber = $lineNumber;
- $this->columnNumber = $columnNumber;
- }
-
- /**
- * Returns the line number that is covered by this location.
- */
- public function getLineNumber() : int
- {
- return $this->lineNumber;
- }
-
- /**
- * Returns the column number (character position on a line) for this location object.
- */
- public function getColumnNumber() : int
- {
- return $this->columnNumber;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/src/Project.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/src/Project.php
deleted file mode 100644
index 57839fd146..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-common/src/Project.php
+++ /dev/null
@@ -1,25 +0,0 @@
-create($docComment);
-```
-
-The `create` method will yield an object of type `\phpDocumentor\Reflection\DocBlock`
-whose methods can be queried:
-
-```php
-// Contains the summary for this DocBlock
-$summary = $docblock->getSummary();
-
-// Contains \phpDocumentor\Reflection\DocBlock\Description object
-$description = $docblock->getDescription();
-
-// You can either cast it to string
-$description = (string) $docblock->getDescription();
-
-// Or use the render method to get a string representation of the Description.
-$description = $docblock->getDescription()->render();
-```
-
-> For more examples it would be best to review the scripts in the [`/examples` folder](/examples).
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/composer.json b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/composer.json
deleted file mode 100644
index 7038f48a66..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/composer.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "name": "phpdocumentor/reflection-docblock",
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "type": "library",
- "license": "MIT",
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- },
- {
- "name": "Jaap van Otterdijk",
- "email": "account@ijaap.nl"
- }
- ],
- "require": {
- "php": "^7.2 || ^8.0",
- "phpdocumentor/type-resolver": "^1.3",
- "webmozart/assert": "^1.9.1",
- "phpdocumentor/reflection-common": "^2.2",
- "ext-filter": "*"
- },
- "require-dev": {
- "mockery/mockery": "~1.3.2"
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": "src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": "tests/unit"
- }
- },
- "extra": {
- "branch-alias": {
- "dev-master": "5.x-dev"
- }
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock.php
deleted file mode 100644
index f3403d6e8c..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock.php
+++ /dev/null
@@ -1,204 +0,0 @@
-summary = $summary;
- $this->description = $description ?: new DocBlock\Description('');
- foreach ($tags as $tag) {
- $this->addTag($tag);
- }
-
- $this->context = $context;
- $this->location = $location;
-
- $this->isTemplateEnd = $isTemplateEnd;
- $this->isTemplateStart = $isTemplateStart;
- }
-
- public function getSummary() : string
- {
- return $this->summary;
- }
-
- public function getDescription() : DocBlock\Description
- {
- return $this->description;
- }
-
- /**
- * Returns the current context.
- */
- public function getContext() : ?Types\Context
- {
- return $this->context;
- }
-
- /**
- * Returns the current location.
- */
- public function getLocation() : ?Location
- {
- return $this->location;
- }
-
- /**
- * Returns whether this DocBlock is the start of a Template section.
- *
- * A Docblock may serve as template for a series of subsequent DocBlocks. This is indicated by a special marker
- * (`#@+`) that is appended directly after the opening `/**` of a DocBlock.
- *
- * An example of such an opening is:
- *
- * ```
- * /**#@+
- * * My DocBlock
- * * /
- * ```
- *
- * The description and tags (not the summary!) are copied onto all subsequent DocBlocks and also applied to all
- * elements that follow until another DocBlock is found that contains the closing marker (`#@-`).
- *
- * @see self::isTemplateEnd() for the check whether a closing marker was provided.
- */
- public function isTemplateStart() : bool
- {
- return $this->isTemplateStart;
- }
-
- /**
- * Returns whether this DocBlock is the end of a Template section.
- *
- * @see self::isTemplateStart() for a more complete description of the Docblock Template functionality.
- */
- public function isTemplateEnd() : bool
- {
- return $this->isTemplateEnd;
- }
-
- /**
- * Returns the tags for this DocBlock.
- *
- * @return Tag[]
- */
- public function getTags() : array
- {
- return $this->tags;
- }
-
- /**
- * Returns an array of tags matching the given name. If no tags are found
- * an empty array is returned.
- *
- * @param string $name String to search by.
- *
- * @return Tag[]
- */
- public function getTagsByName(string $name) : array
- {
- $result = [];
-
- foreach ($this->getTags() as $tag) {
- if ($tag->getName() !== $name) {
- continue;
- }
-
- $result[] = $tag;
- }
-
- return $result;
- }
-
- /**
- * Checks if a tag of a certain type is present in this DocBlock.
- *
- * @param string $name Tag name to check for.
- */
- public function hasTag(string $name) : bool
- {
- foreach ($this->getTags() as $tag) {
- if ($tag->getName() === $name) {
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Remove a tag from this DocBlock.
- *
- * @param Tag $tagToRemove The tag to remove.
- */
- public function removeTag(Tag $tagToRemove) : void
- {
- foreach ($this->tags as $key => $tag) {
- if ($tag === $tagToRemove) {
- unset($this->tags[$key]);
- break;
- }
- }
- }
-
- /**
- * Adds a tag to this DocBlock.
- *
- * @param Tag $tag The tag to add.
- */
- private function addTag(Tag $tag) : void
- {
- $this->tags[] = $tag;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Description.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Description.php
deleted file mode 100644
index 7b11b808e7..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Description.php
+++ /dev/null
@@ -1,114 +0,0 @@
-create('This is a {@see Description}', $context);
- *
- * The description factory will interpret the given body and create a body template and list of tags from them, and pass
- * that onto the constructor if this class.
- *
- * > The $context variable is a class of type {@see \phpDocumentor\Reflection\Types\Context} and contains the namespace
- * > and the namespace aliases that apply to this DocBlock. These are used by the Factory to resolve and expand partial
- * > type names and FQSENs.
- *
- * If you do not want to use the DescriptionFactory you can pass a body template and tag listing like this:
- *
- * $description = new Description(
- * 'This is a %1$s',
- * [ new See(new Fqsen('\phpDocumentor\Reflection\DocBlock\Description')) ]
- * );
- *
- * It is generally recommended to use the Factory as that will also apply escaping rules, while the Description object
- * is mainly responsible for rendering.
- *
- * @see DescriptionFactory to create a new Description.
- * @see Description\Formatter for the formatting of the body and tags.
- */
-class Description
-{
- /** @var string */
- private $bodyTemplate;
-
- /** @var Tag[] */
- private $tags;
-
- /**
- * Initializes a Description with its body (template) and a listing of the tags used in the body template.
- *
- * @param Tag[] $tags
- */
- public function __construct(string $bodyTemplate, array $tags = [])
- {
- $this->bodyTemplate = $bodyTemplate;
- $this->tags = $tags;
- }
-
- /**
- * Returns the body template.
- */
- public function getBodyTemplate() : string
- {
- return $this->bodyTemplate;
- }
-
- /**
- * Returns the tags for this DocBlock.
- *
- * @return Tag[]
- */
- public function getTags() : array
- {
- return $this->tags;
- }
-
- /**
- * Renders this description as a string where the provided formatter will format the tags in the expected string
- * format.
- */
- public function render(?Formatter $formatter = null) : string
- {
- if ($formatter === null) {
- $formatter = new PassthroughFormatter();
- }
-
- $tags = [];
- foreach ($this->tags as $tag) {
- $tags[] = '{' . $formatter->format($tag) . '}';
- }
-
- return vsprintf($this->bodyTemplate, $tags);
- }
-
- /**
- * Returns a plain string representation of this description.
- */
- public function __toString() : string
- {
- return $this->render();
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/DescriptionFactory.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/DescriptionFactory.php
deleted file mode 100644
index c27d2a0121..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/DescriptionFactory.php
+++ /dev/null
@@ -1,177 +0,0 @@
-tagFactory = $tagFactory;
- }
-
- /**
- * Returns the parsed text of this description.
- */
- public function create(string $contents, ?TypeContext $context = null) : Description
- {
- $tokens = $this->lex($contents);
- $count = count($tokens);
- $tagCount = 0;
- $tags = [];
-
- for ($i = 1; $i < $count; $i += 2) {
- $tags[] = $this->tagFactory->create($tokens[$i], $context);
- $tokens[$i] = '%' . ++$tagCount . '$s';
- }
-
- //In order to allow "literal" inline tags, the otherwise invalid
- //sequence "{@}" is changed to "@", and "{}" is changed to "}".
- //"%" is escaped to "%%" because of vsprintf.
- //See unit tests for examples.
- for ($i = 0; $i < $count; $i += 2) {
- $tokens[$i] = str_replace(['{@}', '{}', '%'], ['@', '}', '%%'], $tokens[$i]);
- }
-
- return new Description(implode('', $tokens), $tags);
- }
-
- /**
- * Strips the contents from superfluous whitespace and splits the description into a series of tokens.
- *
- * @return string[] A series of tokens of which the description text is composed.
- */
- private function lex(string $contents) : array
- {
- $contents = $this->removeSuperfluousStartingWhitespace($contents);
-
- // performance optimalization; if there is no inline tag, don't bother splitting it up.
- if (strpos($contents, '{@') === false) {
- return [$contents];
- }
-
- return Utils::pregSplit(
- '/\{
- # "{@}" is not a valid inline tag. This ensures that we do not treat it as one, but treat it literally.
- (?!@\})
- # We want to capture the whole tag line, but without the inline tag delimiters.
- (\@
- # Match everything up to the next delimiter.
- [^{}]*
- # Nested inline tag content should not be captured, or it will appear in the result separately.
- (?:
- # Match nested inline tags.
- (?:
- # Because we did not catch the tag delimiters earlier, we must be explicit with them here.
- # Notice that this also matches "{}", as a way to later introduce it as an escape sequence.
- \{(?1)?\}
- |
- # Make sure we match hanging "{".
- \{
- )
- # Match content after the nested inline tag.
- [^{}]*
- )* # If there are more inline tags, match them as well. We use "*" since there may not be any
- # nested inline tags.
- )
- \}/Sux',
- $contents,
- 0,
- PREG_SPLIT_DELIM_CAPTURE
- );
- }
-
- /**
- * Removes the superfluous from a multi-line description.
- *
- * When a description has more than one line then it can happen that the second and subsequent lines have an
- * additional indentation. This is commonly in use with tags like this:
- *
- * {@}since 1.1.0 This is an example
- * description where we have an
- * indentation in the second and
- * subsequent lines.
- *
- * If we do not normalize the indentation then we have superfluous whitespace on the second and subsequent
- * lines and this may cause rendering issues when, for example, using a Markdown converter.
- */
- private function removeSuperfluousStartingWhitespace(string $contents) : string
- {
- $lines = explode("\n", $contents);
-
- // if there is only one line then we don't have lines with superfluous whitespace and
- // can use the contents as-is
- if (count($lines) <= 1) {
- return $contents;
- }
-
- // determine how many whitespace characters need to be stripped
- $startingSpaceCount = 9999999;
- for ($i = 1, $iMax = count($lines); $i < $iMax; ++$i) {
- // lines with a no length do not count as they are not indented at all
- if (trim($lines[$i]) === '') {
- continue;
- }
-
- // determine the number of prefixing spaces by checking the difference in line length before and after
- // an ltrim
- $startingSpaceCount = min($startingSpaceCount, strlen($lines[$i]) - strlen(ltrim($lines[$i])));
- }
-
- // strip the number of spaces from each line
- if ($startingSpaceCount > 0) {
- for ($i = 1, $iMax = count($lines); $i < $iMax; ++$i) {
- $lines[$i] = substr($lines[$i], $startingSpaceCount);
- }
- }
-
- return implode("\n", $lines);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/ExampleFinder.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/ExampleFinder.php
deleted file mode 100644
index 7249efb049..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/ExampleFinder.php
+++ /dev/null
@@ -1,157 +0,0 @@
-getFilePath();
-
- $file = $this->getExampleFileContents($filename);
- if (!$file) {
- return sprintf('** File not found : %s **', $filename);
- }
-
- return implode('', array_slice($file, $example->getStartingLine() - 1, $example->getLineCount()));
- }
-
- /**
- * Registers the project's root directory where an 'examples' folder can be expected.
- */
- public function setSourceDirectory(string $directory = '') : void
- {
- $this->sourceDirectory = $directory;
- }
-
- /**
- * Returns the project's root directory where an 'examples' folder can be expected.
- */
- public function getSourceDirectory() : string
- {
- return $this->sourceDirectory;
- }
-
- /**
- * Registers a series of directories that may contain examples.
- *
- * @param string[] $directories
- */
- public function setExampleDirectories(array $directories) : void
- {
- $this->exampleDirectories = $directories;
- }
-
- /**
- * Returns a series of directories that may contain examples.
- *
- * @return string[]
- */
- public function getExampleDirectories() : array
- {
- return $this->exampleDirectories;
- }
-
- /**
- * Attempts to find the requested example file and returns its contents or null if no file was found.
- *
- * This method will try several methods in search of the given example file, the first one it encounters is
- * returned:
- *
- * 1. Iterates through all examples folders for the given filename
- * 2. Checks the source folder for the given filename
- * 3. Checks the 'examples' folder in the current working directory for examples
- * 4. Checks the path relative to the current working directory for the given filename
- *
- * @return string[] all lines of the example file
- */
- private function getExampleFileContents(string $filename) : ?array
- {
- $normalizedPath = null;
-
- foreach ($this->exampleDirectories as $directory) {
- $exampleFileFromConfig = $this->constructExamplePath($directory, $filename);
- if (is_readable($exampleFileFromConfig)) {
- $normalizedPath = $exampleFileFromConfig;
- break;
- }
- }
-
- if (!$normalizedPath) {
- if (is_readable($this->getExamplePathFromSource($filename))) {
- $normalizedPath = $this->getExamplePathFromSource($filename);
- } elseif (is_readable($this->getExamplePathFromExampleDirectory($filename))) {
- $normalizedPath = $this->getExamplePathFromExampleDirectory($filename);
- } elseif (is_readable($filename)) {
- $normalizedPath = $filename;
- }
- }
-
- $lines = $normalizedPath && is_readable($normalizedPath) ? file($normalizedPath) : false;
-
- return $lines !== false ? $lines : null;
- }
-
- /**
- * Get example filepath based on the example directory inside your project.
- */
- private function getExamplePathFromExampleDirectory(string $file) : string
- {
- return getcwd() . DIRECTORY_SEPARATOR . 'examples' . DIRECTORY_SEPARATOR . $file;
- }
-
- /**
- * Returns a path to the example file in the given directory..
- */
- private function constructExamplePath(string $directory, string $file) : string
- {
- return rtrim($directory, '\\/') . DIRECTORY_SEPARATOR . $file;
- }
-
- /**
- * Get example filepath based on sourcecode.
- */
- private function getExamplePathFromSource(string $file) : string
- {
- return sprintf(
- '%s%s%s',
- trim($this->getSourceDirectory(), '\\/'),
- DIRECTORY_SEPARATOR,
- trim($file, '"')
- );
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Serializer.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Serializer.php
deleted file mode 100644
index 531970b92f..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Serializer.php
+++ /dev/null
@@ -1,151 +0,0 @@
-indent = $indent;
- $this->indentString = $indentString;
- $this->isFirstLineIndented = $indentFirstLine;
- $this->lineLength = $lineLength;
- $this->tagFormatter = $tagFormatter ?: new PassthroughFormatter();
- }
-
- /**
- * Generate a DocBlock comment.
- *
- * @param DocBlock $docblock The DocBlock to serialize.
- *
- * @return string The serialized doc block.
- */
- public function getDocComment(DocBlock $docblock) : string
- {
- $indent = str_repeat($this->indentString, $this->indent);
- $firstIndent = $this->isFirstLineIndented ? $indent : '';
- // 3 === strlen(' * ')
- $wrapLength = $this->lineLength ? $this->lineLength - strlen($indent) - 3 : null;
-
- $text = $this->removeTrailingSpaces(
- $indent,
- $this->addAsterisksForEachLine(
- $indent,
- $this->getSummaryAndDescriptionTextBlock($docblock, $wrapLength)
- )
- );
-
- $comment = $firstIndent . "/**\n";
- if ($text) {
- $comment .= $indent . ' * ' . $text . "\n";
- $comment .= $indent . " *\n";
- }
-
- $comment = $this->addTagBlock($docblock, $wrapLength, $indent, $comment);
-
- return $comment . $indent . ' */';
- }
-
- private function removeTrailingSpaces(string $indent, string $text) : string
- {
- return str_replace(
- sprintf("\n%s * \n", $indent),
- sprintf("\n%s *\n", $indent),
- $text
- );
- }
-
- private function addAsterisksForEachLine(string $indent, string $text) : string
- {
- return str_replace(
- "\n",
- sprintf("\n%s * ", $indent),
- $text
- );
- }
-
- private function getSummaryAndDescriptionTextBlock(DocBlock $docblock, ?int $wrapLength) : string
- {
- $text = $docblock->getSummary() . ((string) $docblock->getDescription() ? "\n\n" . $docblock->getDescription()
- : '');
- if ($wrapLength !== null) {
- $text = wordwrap($text, $wrapLength);
-
- return $text;
- }
-
- return $text;
- }
-
- private function addTagBlock(DocBlock $docblock, ?int $wrapLength, string $indent, string $comment) : string
- {
- foreach ($docblock->getTags() as $tag) {
- $tagText = $this->tagFormatter->format($tag);
- if ($wrapLength !== null) {
- $tagText = wordwrap($tagText, $wrapLength);
- }
-
- $tagText = str_replace(
- "\n",
- sprintf("\n%s * ", $indent),
- $tagText
- );
-
- $comment .= sprintf("%s * %s\n", $indent, $tagText);
- }
-
- return $comment;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php
deleted file mode 100644
index e64b587ef4..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php
+++ /dev/null
@@ -1,347 +0,0 @@
- Important: each parameter in addition to the body variable for the `create` method must default to null, otherwise
- * > it violates the constraint with the interface; it is recommended to use the {@see Assert::notNull()} method to
- * > verify that a dependency is actually passed.
- *
- * This Factory also features a Service Locator component that is used to pass the right dependencies to the
- * `create` method of a tag; each dependency should be registered as a service or as a parameter.
- *
- * When you want to use a Tag of your own with custom handling you need to call the `registerTagHandler` method, pass
- * the name of the tag and a Fully Qualified Class Name pointing to a class that implements the Tag interface.
- */
-final class StandardTagFactory implements TagFactory
-{
- /** PCRE regular expression matching a tag name. */
- public const REGEX_TAGNAME = '[\w\-\_\\\\:]+';
-
- /**
- * @var array> An array with a tag as a key, and an
- * FQCN to a class that handles it as an array value.
- */
- private $tagHandlerMappings = [
- 'author' => Author::class,
- 'covers' => Covers::class,
- 'deprecated' => Deprecated::class,
- // 'example' => '\phpDocumentor\Reflection\DocBlock\Tags\Example',
- 'link' => LinkTag::class,
- 'method' => Method::class,
- 'param' => Param::class,
- 'property-read' => PropertyRead::class,
- 'property' => Property::class,
- 'property-write' => PropertyWrite::class,
- 'return' => Return_::class,
- 'see' => SeeTag::class,
- 'since' => Since::class,
- 'source' => Source::class,
- 'throw' => Throws::class,
- 'throws' => Throws::class,
- 'uses' => Uses::class,
- 'var' => Var_::class,
- 'version' => Version::class,
- ];
-
- /**
- * @var array> An array with a anotation s a key, and an
- * FQCN to a class that handles it as an array value.
- */
- private $annotationMappings = [];
-
- /**
- * @var ReflectionParameter[][] a lazy-loading cache containing parameters
- * for each tagHandler that has been used.
- */
- private $tagHandlerParameterCache = [];
-
- /** @var FqsenResolver */
- private $fqsenResolver;
-
- /**
- * @var mixed[] an array representing a simple Service Locator where we can store parameters and
- * services that can be inserted into the Factory Methods of Tag Handlers.
- */
- private $serviceLocator = [];
-
- /**
- * Initialize this tag factory with the means to resolve an FQSEN and optionally a list of tag handlers.
- *
- * If no tag handlers are provided than the default list in the {@see self::$tagHandlerMappings} property
- * is used.
- *
- * @see self::registerTagHandler() to add a new tag handler to the existing default list.
- *
- * @param array> $tagHandlers
- */
- public function __construct(FqsenResolver $fqsenResolver, ?array $tagHandlers = null)
- {
- $this->fqsenResolver = $fqsenResolver;
- if ($tagHandlers !== null) {
- $this->tagHandlerMappings = $tagHandlers;
- }
-
- $this->addService($fqsenResolver, FqsenResolver::class);
- }
-
- public function create(string $tagLine, ?TypeContext $context = null) : Tag
- {
- if (!$context) {
- $context = new TypeContext('');
- }
-
- [$tagName, $tagBody] = $this->extractTagParts($tagLine);
-
- return $this->createTag(trim($tagBody), $tagName, $context);
- }
-
- /**
- * @param mixed $value
- */
- public function addParameter(string $name, $value) : void
- {
- $this->serviceLocator[$name] = $value;
- }
-
- public function addService(object $service, ?string $alias = null) : void
- {
- $this->serviceLocator[$alias ?: get_class($service)] = $service;
- }
-
- public function registerTagHandler(string $tagName, string $handler) : void
- {
- Assert::stringNotEmpty($tagName);
- Assert::classExists($handler);
- Assert::implementsInterface($handler, Tag::class);
-
- if (strpos($tagName, '\\') && $tagName[0] !== '\\') {
- throw new InvalidArgumentException(
- 'A namespaced tag must have a leading backslash as it must be fully qualified'
- );
- }
-
- $this->tagHandlerMappings[$tagName] = $handler;
- }
-
- /**
- * Extracts all components for a tag.
- *
- * @return string[]
- */
- private function extractTagParts(string $tagLine) : array
- {
- $matches = [];
- if (!preg_match('/^@(' . self::REGEX_TAGNAME . ')((?:[\s\(\{])\s*([^\s].*)|$)/us', $tagLine, $matches)) {
- throw new InvalidArgumentException(
- 'The tag "' . $tagLine . '" does not seem to be wellformed, please check it for errors'
- );
- }
-
- if (count($matches) < 3) {
- $matches[] = '';
- }
-
- return array_slice($matches, 1);
- }
-
- /**
- * Creates a new tag object with the given name and body or returns null if the tag name was recognized but the
- * body was invalid.
- */
- private function createTag(string $body, string $name, TypeContext $context) : Tag
- {
- $handlerClassName = $this->findHandlerClassName($name, $context);
- $arguments = $this->getArgumentsForParametersFromWiring(
- $this->fetchParametersForHandlerFactoryMethod($handlerClassName),
- $this->getServiceLocatorWithDynamicParameters($context, $name, $body)
- );
-
- try {
- $callable = [$handlerClassName, 'create'];
- Assert::isCallable($callable);
- /** @phpstan-var callable(string): ?Tag $callable */
- $tag = call_user_func_array($callable, $arguments);
-
- return $tag ?? InvalidTag::create($body, $name);
- } catch (InvalidArgumentException $e) {
- return InvalidTag::create($body, $name)->withError($e);
- }
- }
-
- /**
- * Determines the Fully Qualified Class Name of the Factory or Tag (containing a Factory Method `create`).
- *
- * @return class-string
- */
- private function findHandlerClassName(string $tagName, TypeContext $context) : string
- {
- $handlerClassName = Generic::class;
- if (isset($this->tagHandlerMappings[$tagName])) {
- $handlerClassName = $this->tagHandlerMappings[$tagName];
- } elseif ($this->isAnnotation($tagName)) {
- // TODO: Annotation support is planned for a later stage and as such is disabled for now
- $tagName = (string) $this->fqsenResolver->resolve($tagName, $context);
- if (isset($this->annotationMappings[$tagName])) {
- $handlerClassName = $this->annotationMappings[$tagName];
- }
- }
-
- return $handlerClassName;
- }
-
- /**
- * Retrieves the arguments that need to be passed to the Factory Method with the given Parameters.
- *
- * @param ReflectionParameter[] $parameters
- * @param mixed[] $locator
- *
- * @return mixed[] A series of values that can be passed to the Factory Method of the tag whose parameters
- * is provided with this method.
- */
- private function getArgumentsForParametersFromWiring(array $parameters, array $locator) : array
- {
- $arguments = [];
- foreach ($parameters as $parameter) {
- $type = $parameter->getType();
- $typeHint = null;
- if ($type instanceof ReflectionNamedType) {
- $typeHint = $type->getName();
- if ($typeHint === 'self') {
- $declaringClass = $parameter->getDeclaringClass();
- if ($declaringClass !== null) {
- $typeHint = $declaringClass->getName();
- }
- }
- }
-
- if (isset($locator[$typeHint])) {
- $arguments[] = $locator[$typeHint];
- continue;
- }
-
- $parameterName = $parameter->getName();
- if (isset($locator[$parameterName])) {
- $arguments[] = $locator[$parameterName];
- continue;
- }
-
- $arguments[] = null;
- }
-
- return $arguments;
- }
-
- /**
- * Retrieves a series of ReflectionParameter objects for the static 'create' method of the given
- * tag handler class name.
- *
- * @param class-string $handlerClassName
- *
- * @return ReflectionParameter[]
- */
- private function fetchParametersForHandlerFactoryMethod(string $handlerClassName) : array
- {
- if (!isset($this->tagHandlerParameterCache[$handlerClassName])) {
- $methodReflection = new ReflectionMethod($handlerClassName, 'create');
- $this->tagHandlerParameterCache[$handlerClassName] = $methodReflection->getParameters();
- }
-
- return $this->tagHandlerParameterCache[$handlerClassName];
- }
-
- /**
- * Returns a copy of this class' Service Locator with added dynamic parameters,
- * such as the tag's name, body and Context.
- *
- * @param TypeContext $context The Context (namespace and aliasses) that may be
- * passed and is used to resolve FQSENs.
- * @param string $tagName The name of the tag that may be
- * passed onto the factory method of the Tag class.
- * @param string $tagBody The body of the tag that may be
- * passed onto the factory method of the Tag class.
- *
- * @return mixed[]
- */
- private function getServiceLocatorWithDynamicParameters(
- TypeContext $context,
- string $tagName,
- string $tagBody
- ) : array {
- return array_merge(
- $this->serviceLocator,
- [
- 'name' => $tagName,
- 'body' => $tagBody,
- TypeContext::class => $context,
- ]
- );
- }
-
- /**
- * Returns whether the given tag belongs to an annotation.
- *
- * @todo this method should be populated once we implement Annotation notation support.
- */
- private function isAnnotation(string $tagContent) : bool
- {
- // 1. Contains a namespace separator
- // 2. Contains parenthesis
- // 3. Is present in a list of known annotations (make the algorithm smart by first checking is the last part
- // of the annotation class name matches the found tag name
-
- return false;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tag.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tag.php
deleted file mode 100644
index f55de91695..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tag.php
+++ /dev/null
@@ -1,32 +0,0 @@
- $handler FQCN of handler.
- *
- * @throws InvalidArgumentException If the tag name is not a string.
- * @throws InvalidArgumentException If the tag name is namespaced (contains backslashes) but
- * does not start with a backslash.
- * @throws InvalidArgumentException If the handler is not a string.
- * @throws InvalidArgumentException If the handler is not an existing class.
- * @throws InvalidArgumentException If the handler does not implement the {@see Tag} interface.
- */
- public function registerTagHandler(string $tagName, string $handler) : void;
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php
deleted file mode 100644
index d1207571da..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php
+++ /dev/null
@@ -1,100 +0,0 @@
-authorName = $authorName;
- $this->authorEmail = $authorEmail;
- }
-
- /**
- * Gets the author's name.
- *
- * @return string The author's name.
- */
- public function getAuthorName() : string
- {
- return $this->authorName;
- }
-
- /**
- * Returns the author's email.
- *
- * @return string The author's email.
- */
- public function getEmail() : string
- {
- return $this->authorEmail;
- }
-
- /**
- * Returns this tag in string form.
- */
- public function __toString() : string
- {
- if ($this->authorEmail) {
- $authorEmail = '<' . $this->authorEmail . '>';
- } else {
- $authorEmail = '';
- }
-
- $authorName = (string) $this->authorName;
-
- return $authorName . ($authorEmail !== '' ? ($authorName !== '' ? ' ' : '') . $authorEmail : '');
- }
-
- /**
- * Attempts to create a new Author object based on †he tag body.
- */
- public static function create(string $body) : ?self
- {
- $splitTagContent = preg_match('/^([^\<]*)(?:\<([^\>]*)\>)?$/u', $body, $matches);
- if (!$splitTagContent) {
- return null;
- }
-
- $authorName = trim($matches[1]);
- $email = isset($matches[2]) ? trim($matches[2]) : '';
-
- return new static($authorName, $email);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php
deleted file mode 100644
index fbcd4022fc..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php
+++ /dev/null
@@ -1,53 +0,0 @@
-name;
- }
-
- public function getDescription() : ?Description
- {
- return $this->description;
- }
-
- public function render(?Formatter $formatter = null) : string
- {
- if ($formatter === null) {
- $formatter = new Formatter\PassthroughFormatter();
- }
-
- return $formatter->format($this);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Covers.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Covers.php
deleted file mode 100644
index 9e52e5e4ca..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Covers.php
+++ /dev/null
@@ -1,100 +0,0 @@
-refers = $refers;
- $this->description = $description;
- }
-
- public static function create(
- string $body,
- ?DescriptionFactory $descriptionFactory = null,
- ?FqsenResolver $resolver = null,
- ?TypeContext $context = null
- ) : self {
- Assert::stringNotEmpty($body);
- Assert::notNull($descriptionFactory);
- Assert::notNull($resolver);
-
- $parts = Utils::pregSplit('/\s+/Su', $body, 2);
-
- return new static(
- self::resolveFqsen($parts[0], $resolver, $context),
- $descriptionFactory->create($parts[1] ?? '', $context)
- );
- }
-
- private static function resolveFqsen(string $parts, ?FqsenResolver $fqsenResolver, ?TypeContext $context) : Fqsen
- {
- Assert::notNull($fqsenResolver);
- $fqsenParts = explode('::', $parts);
- $resolved = $fqsenResolver->resolve($fqsenParts[0], $context);
-
- if (!array_key_exists(1, $fqsenParts)) {
- return $resolved;
- }
-
- return new Fqsen($resolved . '::' . $fqsenParts[1]);
- }
-
- /**
- * Returns the structural element this tag refers to.
- */
- public function getReference() : Fqsen
- {
- return $this->refers;
- }
-
- /**
- * Returns a string representation of this tag.
- */
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- $refers = (string) $this->refers;
-
- return $refers . ($description !== '' ? ($refers !== '' ? ' ' : '') . $description : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Deprecated.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Deprecated.php
deleted file mode 100644
index 68e8f03639..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Deprecated.php
+++ /dev/null
@@ -1,108 +0,0 @@
-version = $version;
- $this->description = $description;
- }
-
- /**
- * @return static
- */
- public static function create(
- ?string $body,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : self {
- if (empty($body)) {
- return new static();
- }
-
- $matches = [];
- if (!preg_match('/^(' . self::REGEX_VECTOR . ')\s*(.+)?$/sux', $body, $matches)) {
- return new static(
- null,
- $descriptionFactory !== null ? $descriptionFactory->create($body, $context) : null
- );
- }
-
- Assert::notNull($descriptionFactory);
-
- return new static(
- $matches[1],
- $descriptionFactory->create($matches[2] ?? '', $context)
- );
- }
-
- /**
- * Gets the version section of the tag.
- */
- public function getVersion() : ?string
- {
- return $this->version;
- }
-
- /**
- * Returns a string representation for this tag.
- */
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- $version = (string) $this->version;
-
- return $version . ($description !== '' ? ($version !== '' ? ' ' : '') . $description : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php
deleted file mode 100644
index 3face1efa6..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php
+++ /dev/null
@@ -1,199 +0,0 @@
-filePath = $filePath;
- $this->startingLine = $startingLine;
- $this->lineCount = $lineCount;
- if ($content !== null) {
- $this->content = trim($content);
- }
-
- $this->isURI = $isURI;
- }
-
- public function getContent() : string
- {
- if ($this->content === null || $this->content === '') {
- $filePath = $this->filePath;
- if ($this->isURI) {
- $filePath = $this->isUriRelative($this->filePath)
- ? str_replace('%2F', '/', rawurlencode($this->filePath))
- : $this->filePath;
- }
-
- return trim($filePath);
- }
-
- return $this->content;
- }
-
- public function getDescription() : ?string
- {
- return $this->content;
- }
-
- public static function create(string $body) : ?Tag
- {
- // File component: File path in quotes or File URI / Source information
- if (!preg_match('/^\s*(?:(\"[^\"]+\")|(\S+))(?:\s+(.*))?$/sux', $body, $matches)) {
- return null;
- }
-
- $filePath = null;
- $fileUri = null;
- if ($matches[1] !== '') {
- $filePath = $matches[1];
- } else {
- $fileUri = $matches[2];
- }
-
- $startingLine = 1;
- $lineCount = 0;
- $description = null;
-
- if (array_key_exists(3, $matches)) {
- $description = $matches[3];
-
- // Starting line / Number of lines / Description
- if (preg_match('/^([1-9]\d*)(?:\s+((?1))\s*)?(.*)$/sux', $matches[3], $contentMatches)) {
- $startingLine = (int) $contentMatches[1];
- if (isset($contentMatches[2])) {
- $lineCount = (int) $contentMatches[2];
- }
-
- if (array_key_exists(3, $contentMatches)) {
- $description = $contentMatches[3];
- }
- }
- }
-
- return new static(
- $filePath ?? ($fileUri ?? ''),
- $fileUri !== null,
- $startingLine,
- $lineCount,
- $description
- );
- }
-
- /**
- * Returns the file path.
- *
- * @return string Path to a file to use as an example.
- * May also be an absolute URI.
- */
- public function getFilePath() : string
- {
- return trim($this->filePath, '"');
- }
-
- /**
- * Returns a string representation for this tag.
- */
- public function __toString() : string
- {
- $filePath = (string) $this->filePath;
- $isDefaultLine = $this->startingLine === 1 && $this->lineCount === 0;
- $startingLine = !$isDefaultLine ? (string) $this->startingLine : '';
- $lineCount = !$isDefaultLine ? (string) $this->lineCount : '';
- $content = (string) $this->content;
-
- return $filePath
- . ($startingLine !== ''
- ? ($filePath !== '' ? ' ' : '') . $startingLine
- : '')
- . ($lineCount !== ''
- ? ($filePath !== '' || $startingLine !== '' ? ' ' : '') . $lineCount
- : '')
- . ($content !== ''
- ? ($filePath !== '' || $startingLine !== '' || $lineCount !== '' ? ' ' : '') . $content
- : '');
- }
-
- /**
- * Returns true if the provided URI is relative or contains a complete scheme (and thus is absolute).
- */
- private function isUriRelative(string $uri) : bool
- {
- return strpos($uri, ':') === false;
- }
-
- public function getStartingLine() : int
- {
- return $this->startingLine;
- }
-
- public function getLineCount() : int
- {
- return $this->lineCount;
- }
-
- public function getName() : string
- {
- return 'example';
- }
-
- public function render(?Formatter $formatter = null) : string
- {
- if ($formatter === null) {
- $formatter = new Formatter\PassthroughFormatter();
- }
-
- return $formatter->format($this);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/StaticMethod.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/StaticMethod.php
deleted file mode 100644
index f6f0bb5a4b..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/StaticMethod.php
+++ /dev/null
@@ -1,25 +0,0 @@
-maxLen = max($this->maxLen, strlen($tag->getName()));
- }
- }
-
- /**
- * Formats the given tag to return a simple plain text version.
- */
- public function format(Tag $tag) : string
- {
- return '@' . $tag->getName() .
- str_repeat(
- ' ',
- $this->maxLen - strlen($tag->getName()) + 1
- ) .
- $tag;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/PassthroughFormatter.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/PassthroughFormatter.php
deleted file mode 100644
index f26d22fb68..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/PassthroughFormatter.php
+++ /dev/null
@@ -1,29 +0,0 @@
-getName() . ' ' . $tag);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Generic.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Generic.php
deleted file mode 100644
index a7b423f5f7..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Generic.php
+++ /dev/null
@@ -1,88 +0,0 @@
-validateTagName($name);
-
- $this->name = $name;
- $this->description = $description;
- }
-
- /**
- * Creates a new tag that represents any unknown tag type.
- *
- * @return static
- */
- public static function create(
- string $body,
- string $name = '',
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : self {
- Assert::stringNotEmpty($name);
- Assert::notNull($descriptionFactory);
-
- $description = $body !== '' ? $descriptionFactory->create($body, $context) : null;
-
- return new static($name, $description);
- }
-
- /**
- * Returns the tag as a serialized string
- */
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- return $description;
- }
-
- /**
- * Validates if the tag name matches the expected format, otherwise throws an exception.
- */
- private function validateTagName(string $name) : void
- {
- if (!preg_match('/^' . StandardTagFactory::REGEX_TAGNAME . '$/u', $name)) {
- throw new InvalidArgumentException(
- 'The tag name "' . $name . '" is not wellformed. Tags may only consist of letters, underscores, '
- . 'hyphens and backslashes.'
- );
- }
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/InvalidTag.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/InvalidTag.php
deleted file mode 100644
index e3deb5a8d0..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/InvalidTag.php
+++ /dev/null
@@ -1,144 +0,0 @@
-name = $name;
- $this->body = $body;
- }
-
- public function getException() : ?Throwable
- {
- return $this->throwable;
- }
-
- public function getName() : string
- {
- return $this->name;
- }
-
- public static function create(string $body, string $name = '') : self
- {
- return new self($name, $body);
- }
-
- public function withError(Throwable $exception) : self
- {
- $this->flattenExceptionBacktrace($exception);
- $tag = new self($this->name, $this->body);
- $tag->throwable = $exception;
-
- return $tag;
- }
-
- /**
- * Removes all complex types from backtrace
- *
- * Not all objects are serializable. So we need to remove them from the
- * stored exception to be sure that we do not break existing library usage.
- */
- private function flattenExceptionBacktrace(Throwable $exception) : void
- {
- $traceProperty = (new ReflectionClass(Exception::class))->getProperty('trace');
- $traceProperty->setAccessible(true);
-
- do {
- $trace = $exception->getTrace();
- if (isset($trace[0]['args'])) {
- $trace = array_map(
- function (array $call) : array {
- $call['args'] = array_map([$this, 'flattenArguments'], $call['args']);
-
- return $call;
- },
- $trace
- );
- }
-
- $traceProperty->setValue($exception, $trace);
- $exception = $exception->getPrevious();
- } while ($exception !== null);
-
- $traceProperty->setAccessible(false);
- }
-
- /**
- * @param mixed $value
- *
- * @return mixed
- *
- * @throws ReflectionException
- */
- private function flattenArguments($value)
- {
- if ($value instanceof Closure) {
- $closureReflection = new ReflectionFunction($value);
- $value = sprintf(
- '(Closure at %s:%s)',
- $closureReflection->getFileName(),
- $closureReflection->getStartLine()
- );
- } elseif (is_object($value)) {
- $value = sprintf('object(%s)', get_class($value));
- } elseif (is_resource($value)) {
- $value = sprintf('resource(%s)', get_resource_type($value));
- } elseif (is_array($value)) {
- $value = array_map([$this, 'flattenArguments'], $value);
- }
-
- return $value;
- }
-
- public function render(?Formatter $formatter = null) : string
- {
- if ($formatter === null) {
- $formatter = new Formatter\PassthroughFormatter();
- }
-
- return $formatter->format($this);
- }
-
- public function __toString() : string
- {
- return $this->body;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Link.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Link.php
deleted file mode 100644
index 226bbe0f9e..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Link.php
+++ /dev/null
@@ -1,78 +0,0 @@
-link = $link;
- $this->description = $description;
- }
-
- public static function create(
- string $body,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : self {
- Assert::notNull($descriptionFactory);
-
- $parts = Utils::pregSplit('/\s+/Su', $body, 2);
- $description = isset($parts[1]) ? $descriptionFactory->create($parts[1], $context) : null;
-
- return new static($parts[0], $description);
- }
-
- /**
- * Gets the link
- */
- public function getLink() : string
- {
- return $this->link;
- }
-
- /**
- * Returns a string representation for this tag.
- */
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- $link = (string) $this->link;
-
- return $link . ($description !== '' ? ($link !== '' ? ' ' : '') . $description : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php
deleted file mode 100644
index 08c0407ea9..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php
+++ /dev/null
@@ -1,279 +0,0 @@
-
- * @var array>
- */
- private $arguments;
-
- /** @var bool */
- private $isStatic;
-
- /** @var Type */
- private $returnType;
-
- /**
- * @param array> $arguments
- *
- * @phpstan-param array $arguments
- */
- public function __construct(
- string $methodName,
- array $arguments = [],
- ?Type $returnType = null,
- bool $static = false,
- ?Description $description = null
- ) {
- Assert::stringNotEmpty($methodName);
-
- if ($returnType === null) {
- $returnType = new Void_();
- }
-
- $this->methodName = $methodName;
- $this->arguments = $this->filterArguments($arguments);
- $this->returnType = $returnType;
- $this->isStatic = $static;
- $this->description = $description;
- }
-
- public static function create(
- string $body,
- ?TypeResolver $typeResolver = null,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : ?self {
- Assert::stringNotEmpty($body);
- Assert::notNull($typeResolver);
- Assert::notNull($descriptionFactory);
-
- // 1. none or more whitespace
- // 2. optionally the keyword "static" followed by whitespace
- // 3. optionally a word with underscores followed by whitespace : as
- // type for the return value
- // 4. then optionally a word with underscores followed by () and
- // whitespace : as method name as used by phpDocumentor
- // 5. then a word with underscores, followed by ( and any character
- // until a ) and whitespace : as method name with signature
- // 6. any remaining text : as description
- if (!preg_match(
- '/^
- # Static keyword
- # Declares a static method ONLY if type is also present
- (?:
- (static)
- \s+
- )?
- # Return type
- (?:
- (
- (?:[\w\|_\\\\]*\$this[\w\|_\\\\]*)
- |
- (?:
- (?:[\w\|_\\\\]+)
- # array notation
- (?:\[\])*
- )*+
- )
- \s+
- )?
- # Method name
- ([\w_]+)
- # Arguments
- (?:
- \(([^\)]*)\)
- )?
- \s*
- # Description
- (.*)
- $/sux',
- $body,
- $matches
- )) {
- return null;
- }
-
- [, $static, $returnType, $methodName, $argumentLines, $description] = $matches;
-
- $static = $static === 'static';
-
- if ($returnType === '') {
- $returnType = 'void';
- }
-
- $returnType = $typeResolver->resolve($returnType, $context);
- $description = $descriptionFactory->create($description, $context);
-
- /** @phpstan-var array $arguments */
- $arguments = [];
- if ($argumentLines !== '') {
- $argumentsExploded = explode(',', $argumentLines);
- foreach ($argumentsExploded as $argument) {
- $argument = explode(' ', self::stripRestArg(trim($argument)), 2);
- if (strpos($argument[0], '$') === 0) {
- $argumentName = substr($argument[0], 1);
- $argumentType = new Mixed_();
- } else {
- $argumentType = $typeResolver->resolve($argument[0], $context);
- $argumentName = '';
- if (isset($argument[1])) {
- $argument[1] = self::stripRestArg($argument[1]);
- $argumentName = substr($argument[1], 1);
- }
- }
-
- $arguments[] = ['name' => $argumentName, 'type' => $argumentType];
- }
- }
-
- return new static($methodName, $arguments, $returnType, $static, $description);
- }
-
- /**
- * Retrieves the method name.
- */
- public function getMethodName() : string
- {
- return $this->methodName;
- }
-
- /**
- * @return array>
- *
- * @phpstan-return array
- */
- public function getArguments() : array
- {
- return $this->arguments;
- }
-
- /**
- * Checks whether the method tag describes a static method or not.
- *
- * @return bool TRUE if the method declaration is for a static method, FALSE otherwise.
- */
- public function isStatic() : bool
- {
- return $this->isStatic;
- }
-
- public function getReturnType() : Type
- {
- return $this->returnType;
- }
-
- public function __toString() : string
- {
- $arguments = [];
- foreach ($this->arguments as $argument) {
- $arguments[] = $argument['type'] . ' $' . $argument['name'];
- }
-
- $argumentStr = '(' . implode(', ', $arguments) . ')';
-
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- $static = $this->isStatic ? 'static' : '';
-
- $returnType = (string) $this->returnType;
-
- $methodName = (string) $this->methodName;
-
- return $static
- . ($returnType !== '' ? ($static !== '' ? ' ' : '') . $returnType : '')
- . ($methodName !== '' ? ($static !== '' || $returnType !== '' ? ' ' : '') . $methodName : '')
- . $argumentStr
- . ($description !== '' ? ' ' . $description : '');
- }
-
- /**
- * @param mixed[][]|string[] $arguments
- *
- * @return mixed[][]
- *
- * @phpstan-param array $arguments
- * @phpstan-return array
- */
- private function filterArguments(array $arguments = []) : array
- {
- $result = [];
- foreach ($arguments as $argument) {
- if (is_string($argument)) {
- $argument = ['name' => $argument];
- }
-
- if (!isset($argument['type'])) {
- $argument['type'] = new Mixed_();
- }
-
- $keys = array_keys($argument);
- sort($keys);
- if ($keys !== ['name', 'type']) {
- throw new InvalidArgumentException(
- 'Arguments can only have the "name" and "type" fields, found: ' . var_export($keys, true)
- );
- }
-
- $result[] = $argument;
- }
-
- return $result;
- }
-
- private static function stripRestArg(string $argument) : string
- {
- if (strpos($argument, '...') === 0) {
- $argument = trim(substr($argument, 3));
- }
-
- return $argument;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Param.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Param.php
deleted file mode 100644
index 83419e9c5d..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Param.php
+++ /dev/null
@@ -1,172 +0,0 @@
-name = 'param';
- $this->variableName = $variableName;
- $this->type = $type;
- $this->isVariadic = $isVariadic;
- $this->description = $description;
- $this->isReference = $isReference;
- }
-
- public static function create(
- string $body,
- ?TypeResolver $typeResolver = null,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : self {
- Assert::stringNotEmpty($body);
- Assert::notNull($typeResolver);
- Assert::notNull($descriptionFactory);
-
- [$firstPart, $body] = self::extractTypeFromBody($body);
-
- $type = null;
- $parts = Utils::pregSplit('/(\s+)/Su', $body, 2, PREG_SPLIT_DELIM_CAPTURE);
- $variableName = '';
- $isVariadic = false;
- $isReference = false;
-
- // if the first item that is encountered is not a variable; it is a type
- if ($firstPart && !self::strStartsWithVariable($firstPart)) {
- $type = $typeResolver->resolve($firstPart, $context);
- } else {
- // first part is not a type; we should prepend it to the parts array for further processing
- array_unshift($parts, $firstPart);
- }
-
- // if the next item starts with a $ or ...$ or &$ or &...$ it must be the variable name
- if (isset($parts[0]) && self::strStartsWithVariable($parts[0])) {
- $variableName = array_shift($parts);
- if ($type) {
- array_shift($parts);
- }
-
- Assert::notNull($variableName);
-
- if (strpos($variableName, '$') === 0) {
- $variableName = substr($variableName, 1);
- } elseif (strpos($variableName, '&$') === 0) {
- $isReference = true;
- $variableName = substr($variableName, 2);
- } elseif (strpos($variableName, '...$') === 0) {
- $isVariadic = true;
- $variableName = substr($variableName, 4);
- } elseif (strpos($variableName, '&...$') === 0) {
- $isVariadic = true;
- $isReference = true;
- $variableName = substr($variableName, 5);
- }
- }
-
- $description = $descriptionFactory->create(implode('', $parts), $context);
-
- return new static($variableName, $type, $isVariadic, $description, $isReference);
- }
-
- /**
- * Returns the variable's name.
- */
- public function getVariableName() : ?string
- {
- return $this->variableName;
- }
-
- /**
- * Returns whether this tag is variadic.
- */
- public function isVariadic() : bool
- {
- return $this->isVariadic;
- }
-
- /**
- * Returns whether this tag is passed by reference.
- */
- public function isReference() : bool
- {
- return $this->isReference;
- }
-
- /**
- * Returns a string representation for this tag.
- */
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- $variableName = '';
- if ($this->variableName) {
- $variableName .= ($this->isReference ? '&' : '') . ($this->isVariadic ? '...' : '');
- $variableName .= '$' . $this->variableName;
- }
-
- $type = (string) $this->type;
-
- return $type
- . ($variableName !== '' ? ($type !== '' ? ' ' : '') . $variableName : '')
- . ($description !== '' ? ($type !== '' || $variableName !== '' ? ' ' : '') . $description : '');
- }
-
- private static function strStartsWithVariable(string $str) : bool
- {
- return strpos($str, '$') === 0
- ||
- strpos($str, '...$') === 0
- ||
- strpos($str, '&$') === 0
- ||
- strpos($str, '&...$') === 0;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php
deleted file mode 100644
index 03897578b9..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php
+++ /dev/null
@@ -1,119 +0,0 @@
-name = 'property';
- $this->variableName = $variableName;
- $this->type = $type;
- $this->description = $description;
- }
-
- public static function create(
- string $body,
- ?TypeResolver $typeResolver = null,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : self {
- Assert::stringNotEmpty($body);
- Assert::notNull($typeResolver);
- Assert::notNull($descriptionFactory);
-
- [$firstPart, $body] = self::extractTypeFromBody($body);
- $type = null;
- $parts = Utils::pregSplit('/(\s+)/Su', $body, 2, PREG_SPLIT_DELIM_CAPTURE);
- $variableName = '';
-
- // if the first item that is encountered is not a variable; it is a type
- if ($firstPart && $firstPart[0] !== '$') {
- $type = $typeResolver->resolve($firstPart, $context);
- } else {
- // first part is not a type; we should prepend it to the parts array for further processing
- array_unshift($parts, $firstPart);
- }
-
- // if the next item starts with a $ it must be the variable name
- if (isset($parts[0]) && strpos($parts[0], '$') === 0) {
- $variableName = array_shift($parts);
- if ($type) {
- array_shift($parts);
- }
-
- Assert::notNull($variableName);
-
- $variableName = substr($variableName, 1);
- }
-
- $description = $descriptionFactory->create(implode('', $parts), $context);
-
- return new static($variableName, $type, $description);
- }
-
- /**
- * Returns the variable's name.
- */
- public function getVariableName() : ?string
- {
- return $this->variableName;
- }
-
- /**
- * Returns a string representation for this tag.
- */
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- if ($this->variableName) {
- $variableName = '$' . $this->variableName;
- } else {
- $variableName = '';
- }
-
- $type = (string) $this->type;
-
- return $type
- . ($variableName !== '' ? ($type !== '' ? ' ' : '') . $variableName : '')
- . ($description !== '' ? ($type !== '' || $variableName !== '' ? ' ' : '') . $description : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyRead.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyRead.php
deleted file mode 100644
index 7ff55d50b5..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyRead.php
+++ /dev/null
@@ -1,119 +0,0 @@
-name = 'property-read';
- $this->variableName = $variableName;
- $this->type = $type;
- $this->description = $description;
- }
-
- public static function create(
- string $body,
- ?TypeResolver $typeResolver = null,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : self {
- Assert::stringNotEmpty($body);
- Assert::notNull($typeResolver);
- Assert::notNull($descriptionFactory);
-
- [$firstPart, $body] = self::extractTypeFromBody($body);
- $type = null;
- $parts = Utils::pregSplit('/(\s+)/Su', $body, 2, PREG_SPLIT_DELIM_CAPTURE);
- $variableName = '';
-
- // if the first item that is encountered is not a variable; it is a type
- if ($firstPart && $firstPart[0] !== '$') {
- $type = $typeResolver->resolve($firstPart, $context);
- } else {
- // first part is not a type; we should prepend it to the parts array for further processing
- array_unshift($parts, $firstPart);
- }
-
- // if the next item starts with a $ it must be the variable name
- if (isset($parts[0]) && strpos($parts[0], '$') === 0) {
- $variableName = array_shift($parts);
- if ($type) {
- array_shift($parts);
- }
-
- Assert::notNull($variableName);
-
- $variableName = substr($variableName, 1);
- }
-
- $description = $descriptionFactory->create(implode('', $parts), $context);
-
- return new static($variableName, $type, $description);
- }
-
- /**
- * Returns the variable's name.
- */
- public function getVariableName() : ?string
- {
- return $this->variableName;
- }
-
- /**
- * Returns a string representation for this tag.
- */
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- if ($this->variableName) {
- $variableName = '$' . $this->variableName;
- } else {
- $variableName = '';
- }
-
- $type = (string) $this->type;
-
- return $type
- . ($variableName !== '' ? ($type !== '' ? ' ' : '') . $variableName : '')
- . ($description !== '' ? ($type !== '' || $variableName !== '' ? ' ' : '') . $description : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyWrite.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyWrite.php
deleted file mode 100644
index cc1e4b6108..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyWrite.php
+++ /dev/null
@@ -1,119 +0,0 @@
-name = 'property-write';
- $this->variableName = $variableName;
- $this->type = $type;
- $this->description = $description;
- }
-
- public static function create(
- string $body,
- ?TypeResolver $typeResolver = null,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : self {
- Assert::stringNotEmpty($body);
- Assert::notNull($typeResolver);
- Assert::notNull($descriptionFactory);
-
- [$firstPart, $body] = self::extractTypeFromBody($body);
- $type = null;
- $parts = Utils::pregSplit('/(\s+)/Su', $body, 2, PREG_SPLIT_DELIM_CAPTURE);
- $variableName = '';
-
- // if the first item that is encountered is not a variable; it is a type
- if ($firstPart && $firstPart[0] !== '$') {
- $type = $typeResolver->resolve($firstPart, $context);
- } else {
- // first part is not a type; we should prepend it to the parts array for further processing
- array_unshift($parts, $firstPart);
- }
-
- // if the next item starts with a $ it must be the variable name
- if (isset($parts[0]) && strpos($parts[0], '$') === 0) {
- $variableName = array_shift($parts);
- if ($type) {
- array_shift($parts);
- }
-
- Assert::notNull($variableName);
-
- $variableName = substr($variableName, 1);
- }
-
- $description = $descriptionFactory->create(implode('', $parts), $context);
-
- return new static($variableName, $type, $description);
- }
-
- /**
- * Returns the variable's name.
- */
- public function getVariableName() : ?string
- {
- return $this->variableName;
- }
-
- /**
- * Returns a string representation for this tag.
- */
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- if ($this->variableName) {
- $variableName = '$' . $this->variableName;
- } else {
- $variableName = '';
- }
-
- $type = (string) $this->type;
-
- return $type
- . ($variableName !== '' ? ($type !== '' ? ' ' : '') . $variableName : '')
- . ($description !== '' ? ($type !== '' || $variableName !== '' ? ' ' : '') . $description : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Fqsen.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Fqsen.php
deleted file mode 100644
index cede74c174..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Fqsen.php
+++ /dev/null
@@ -1,38 +0,0 @@
-fqsen = $fqsen;
- }
-
- /**
- * @return string string representation of the referenced fqsen
- */
- public function __toString() : string
- {
- return (string) $this->fqsen;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Reference.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Reference.php
deleted file mode 100644
index 5eedcbc366..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Reference.php
+++ /dev/null
@@ -1,22 +0,0 @@
-uri = $uri;
- }
-
- public function __toString() : string
- {
- return $this->uri;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Return_.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Return_.php
deleted file mode 100644
index 546a0eaa5a..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Return_.php
+++ /dev/null
@@ -1,64 +0,0 @@
-name = 'return';
- $this->type = $type;
- $this->description = $description;
- }
-
- public static function create(
- string $body,
- ?TypeResolver $typeResolver = null,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : self {
- Assert::notNull($typeResolver);
- Assert::notNull($descriptionFactory);
-
- [$type, $description] = self::extractTypeFromBody($body);
-
- $type = $typeResolver->resolve($type, $context);
- $description = $descriptionFactory->create($description, $context);
-
- return new static($type, $description);
- }
-
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- $type = $this->type ? '' . $this->type : 'mixed';
-
- return $type . ($description !== '' ? ($type !== '' ? ' ' : '') . $description : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/See.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/See.php
deleted file mode 100644
index 73311df78a..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/See.php
+++ /dev/null
@@ -1,105 +0,0 @@
-refers = $refers;
- $this->description = $description;
- }
-
- public static function create(
- string $body,
- ?FqsenResolver $typeResolver = null,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : self {
- Assert::notNull($descriptionFactory);
-
- $parts = Utils::pregSplit('/\s+/Su', $body, 2);
- $description = isset($parts[1]) ? $descriptionFactory->create($parts[1], $context) : null;
-
- // https://tools.ietf.org/html/rfc2396#section-3
- if (preg_match('/\w:\/\/\w/i', $parts[0])) {
- return new static(new Url($parts[0]), $description);
- }
-
- return new static(new FqsenRef(self::resolveFqsen($parts[0], $typeResolver, $context)), $description);
- }
-
- private static function resolveFqsen(string $parts, ?FqsenResolver $fqsenResolver, ?TypeContext $context) : Fqsen
- {
- Assert::notNull($fqsenResolver);
- $fqsenParts = explode('::', $parts);
- $resolved = $fqsenResolver->resolve($fqsenParts[0], $context);
-
- if (!array_key_exists(1, $fqsenParts)) {
- return $resolved;
- }
-
- return new Fqsen($resolved . '::' . $fqsenParts[1]);
- }
-
- /**
- * Returns the ref of this tag.
- */
- public function getReference() : Reference
- {
- return $this->refers;
- }
-
- /**
- * Returns a string representation of this tag.
- */
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- $refers = (string) $this->refers;
-
- return $refers . ($description !== '' ? ($refers !== '' ? ' ' : '') . $description : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Since.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Since.php
deleted file mode 100644
index 32de527b0e..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Since.php
+++ /dev/null
@@ -1,102 +0,0 @@
-version = $version;
- $this->description = $description;
- }
-
- public static function create(
- ?string $body,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : ?self {
- if (empty($body)) {
- return new static();
- }
-
- $matches = [];
- if (!preg_match('/^(' . self::REGEX_VECTOR . ')\s*(.+)?$/sux', $body, $matches)) {
- return null;
- }
-
- Assert::notNull($descriptionFactory);
-
- return new static(
- $matches[1],
- $descriptionFactory->create($matches[2] ?? '', $context)
- );
- }
-
- /**
- * Gets the version section of the tag.
- */
- public function getVersion() : ?string
- {
- return $this->version;
- }
-
- /**
- * Returns a string representation for this tag.
- */
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- $version = (string) $this->version;
-
- return $version . ($description !== '' ? ($version !== '' ? ' ' : '') . $description : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php
deleted file mode 100644
index f0c3101411..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php
+++ /dev/null
@@ -1,117 +0,0 @@
-startingLine = (int) $startingLine;
- $this->lineCount = $lineCount !== null ? (int) $lineCount : null;
- $this->description = $description;
- }
-
- public static function create(
- string $body,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : self {
- Assert::stringNotEmpty($body);
- Assert::notNull($descriptionFactory);
-
- $startingLine = 1;
- $lineCount = null;
- $description = null;
-
- // Starting line / Number of lines / Description
- if (preg_match('/^([1-9]\d*)\s*(?:((?1))\s+)?(.*)$/sux', $body, $matches)) {
- $startingLine = (int) $matches[1];
- if (isset($matches[2]) && $matches[2] !== '') {
- $lineCount = (int) $matches[2];
- }
-
- $description = $matches[3];
- }
-
- return new static($startingLine, $lineCount, $descriptionFactory->create($description??'', $context));
- }
-
- /**
- * Gets the starting line.
- *
- * @return int The starting line, relative to the structural element's
- * location.
- */
- public function getStartingLine() : int
- {
- return $this->startingLine;
- }
-
- /**
- * Returns the number of lines.
- *
- * @return int|null The number of lines, relative to the starting line. NULL
- * means "to the end".
- */
- public function getLineCount() : ?int
- {
- return $this->lineCount;
- }
-
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- $startingLine = (string) $this->startingLine;
-
- $lineCount = $this->lineCount !== null ? '' . $this->lineCount : '';
-
- return $startingLine
- . ($lineCount !== ''
- ? ($startingLine || $startingLine === '0' ? ' ' : '') . $lineCount
- : '')
- . ($description !== ''
- ? ($startingLine || $startingLine === '0' || $lineCount !== '' ? ' ' : '') . $description
- : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/TagWithType.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/TagWithType.php
deleted file mode 100644
index 0083d34b28..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/TagWithType.php
+++ /dev/null
@@ -1,65 +0,0 @@
-type;
- }
-
- /**
- * @return string[]
- */
- protected static function extractTypeFromBody(string $body) : array
- {
- $type = '';
- $nestingLevel = 0;
- for ($i = 0, $iMax = strlen($body); $i < $iMax; $i++) {
- $character = $body[$i];
-
- if ($nestingLevel === 0 && trim($character) === '') {
- break;
- }
-
- $type .= $character;
- if (in_array($character, ['<', '(', '[', '{'])) {
- $nestingLevel++;
- continue;
- }
-
- if (in_array($character, ['>', ')', ']', '}'])) {
- $nestingLevel--;
- continue;
- }
- }
-
- $description = trim(substr($body, strlen($type)));
-
- return [$type, $description];
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Throws.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Throws.php
deleted file mode 100644
index d4dc9472c3..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Throws.php
+++ /dev/null
@@ -1,64 +0,0 @@
-name = 'throws';
- $this->type = $type;
- $this->description = $description;
- }
-
- public static function create(
- string $body,
- ?TypeResolver $typeResolver = null,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : self {
- Assert::notNull($typeResolver);
- Assert::notNull($descriptionFactory);
-
- [$type, $description] = self::extractTypeFromBody($body);
-
- $type = $typeResolver->resolve($type, $context);
- $description = $descriptionFactory->create($description, $context);
-
- return new static($type, $description);
- }
-
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- $type = (string) $this->type;
-
- return $type . ($description !== '' ? ($type !== '' ? ' ' : '') . $description : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Uses.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Uses.php
deleted file mode 100644
index 4d52afccd0..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Uses.php
+++ /dev/null
@@ -1,99 +0,0 @@
-refers = $refers;
- $this->description = $description;
- }
-
- public static function create(
- string $body,
- ?FqsenResolver $resolver = null,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : self {
- Assert::notNull($resolver);
- Assert::notNull($descriptionFactory);
-
- $parts = Utils::pregSplit('/\s+/Su', $body, 2);
-
- return new static(
- self::resolveFqsen($parts[0], $resolver, $context),
- $descriptionFactory->create($parts[1] ?? '', $context)
- );
- }
-
- private static function resolveFqsen(string $parts, ?FqsenResolver $fqsenResolver, ?TypeContext $context) : Fqsen
- {
- Assert::notNull($fqsenResolver);
- $fqsenParts = explode('::', $parts);
- $resolved = $fqsenResolver->resolve($fqsenParts[0], $context);
-
- if (!array_key_exists(1, $fqsenParts)) {
- return $resolved;
- }
-
- return new Fqsen($resolved . '::' . $fqsenParts[1]);
- }
-
- /**
- * Returns the structural element this tag refers to.
- */
- public function getReference() : Fqsen
- {
- return $this->refers;
- }
-
- /**
- * Returns a string representation of this tag.
- */
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- $refers = (string) $this->refers;
-
- return $refers . ($description !== '' ? ($refers !== '' ? ' ' : '') . $description : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php
deleted file mode 100644
index 762c262f9e..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php
+++ /dev/null
@@ -1,120 +0,0 @@
-name = 'var';
- $this->variableName = $variableName;
- $this->type = $type;
- $this->description = $description;
- }
-
- public static function create(
- string $body,
- ?TypeResolver $typeResolver = null,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : self {
- Assert::stringNotEmpty($body);
- Assert::notNull($typeResolver);
- Assert::notNull($descriptionFactory);
-
- [$firstPart, $body] = self::extractTypeFromBody($body);
-
- $parts = Utils::pregSplit('/(\s+)/Su', $body, 2, PREG_SPLIT_DELIM_CAPTURE);
- $type = null;
- $variableName = '';
-
- // if the first item that is encountered is not a variable; it is a type
- if ($firstPart && $firstPart[0] !== '$') {
- $type = $typeResolver->resolve($firstPart, $context);
- } else {
- // first part is not a type; we should prepend it to the parts array for further processing
- array_unshift($parts, $firstPart);
- }
-
- // if the next item starts with a $ it must be the variable name
- if (isset($parts[0]) && strpos($parts[0], '$') === 0) {
- $variableName = array_shift($parts);
- if ($type) {
- array_shift($parts);
- }
-
- Assert::notNull($variableName);
-
- $variableName = substr($variableName, 1);
- }
-
- $description = $descriptionFactory->create(implode('', $parts), $context);
-
- return new static($variableName, $type, $description);
- }
-
- /**
- * Returns the variable's name.
- */
- public function getVariableName() : ?string
- {
- return $this->variableName;
- }
-
- /**
- * Returns a string representation for this tag.
- */
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- if ($this->variableName) {
- $variableName = '$' . $this->variableName;
- } else {
- $variableName = '';
- }
-
- $type = (string) $this->type;
-
- return $type
- . ($variableName !== '' ? ($type !== '' ? ' ' : '') . $variableName : '')
- . ($description !== '' ? ($type !== '' || $variableName !== '' ? ' ' : '') . $description : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php
deleted file mode 100644
index 460c86d72e..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php
+++ /dev/null
@@ -1,105 +0,0 @@
-version = $version;
- $this->description = $description;
- }
-
- public static function create(
- ?string $body,
- ?DescriptionFactory $descriptionFactory = null,
- ?TypeContext $context = null
- ) : ?self {
- if (empty($body)) {
- return new static();
- }
-
- $matches = [];
- if (!preg_match('/^(' . self::REGEX_VECTOR . ')\s*(.+)?$/sux', $body, $matches)) {
- return null;
- }
-
- $description = null;
- if ($descriptionFactory !== null) {
- $description = $descriptionFactory->create($matches[2] ?? '', $context);
- }
-
- return new static(
- $matches[1],
- $description
- );
- }
-
- /**
- * Gets the version section of the tag.
- */
- public function getVersion() : ?string
- {
- return $this->version;
- }
-
- /**
- * Returns a string representation for this tag.
- */
- public function __toString() : string
- {
- if ($this->description) {
- $description = $this->description->render();
- } else {
- $description = '';
- }
-
- $version = (string) $this->version;
-
- return $version . ($description !== '' ? ($version !== '' ? ' ' : '') . $description : '');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php
deleted file mode 100644
index cf04e5a552..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php
+++ /dev/null
@@ -1,286 +0,0 @@
-descriptionFactory = $descriptionFactory;
- $this->tagFactory = $tagFactory;
- }
-
- /**
- * Factory method for easy instantiation.
- *
- * @param array> $additionalTags
- */
- public static function createInstance(array $additionalTags = []) : self
- {
- $fqsenResolver = new FqsenResolver();
- $tagFactory = new StandardTagFactory($fqsenResolver);
- $descriptionFactory = new DescriptionFactory($tagFactory);
-
- $tagFactory->addService($descriptionFactory);
- $tagFactory->addService(new TypeResolver($fqsenResolver));
-
- $docBlockFactory = new self($descriptionFactory, $tagFactory);
- foreach ($additionalTags as $tagName => $tagHandler) {
- $docBlockFactory->registerTagHandler($tagName, $tagHandler);
- }
-
- return $docBlockFactory;
- }
-
- /**
- * @param object|string $docblock A string containing the DocBlock to parse or an object supporting the
- * getDocComment method (such as a ReflectionClass object).
- */
- public function create($docblock, ?Types\Context $context = null, ?Location $location = null) : DocBlock
- {
- if (is_object($docblock)) {
- if (!method_exists($docblock, 'getDocComment')) {
- $exceptionMessage = 'Invalid object passed; the given object must support the getDocComment method';
-
- throw new InvalidArgumentException($exceptionMessage);
- }
-
- $docblock = $docblock->getDocComment();
- Assert::string($docblock);
- }
-
- Assert::stringNotEmpty($docblock);
-
- if ($context === null) {
- $context = new Types\Context('');
- }
-
- $parts = $this->splitDocBlock($this->stripDocComment($docblock));
-
- [$templateMarker, $summary, $description, $tags] = $parts;
-
- return new DocBlock(
- $summary,
- $description ? $this->descriptionFactory->create($description, $context) : null,
- $this->parseTagBlock($tags, $context),
- $context,
- $location,
- $templateMarker === '#@+',
- $templateMarker === '#@-'
- );
- }
-
- /**
- * @param class-string $handler
- */
- public function registerTagHandler(string $tagName, string $handler) : void
- {
- $this->tagFactory->registerTagHandler($tagName, $handler);
- }
-
- /**
- * Strips the asterisks from the DocBlock comment.
- *
- * @param string $comment String containing the comment text.
- */
- private function stripDocComment(string $comment) : string
- {
- $comment = preg_replace('#[ \t]*(?:\/\*\*|\*\/|\*)?[ \t]?(.*)?#u', '$1', $comment);
- Assert::string($comment);
- $comment = trim($comment);
-
- // reg ex above is not able to remove */ from a single line docblock
- if (substr($comment, -2) === '*/') {
- $comment = trim(substr($comment, 0, -2));
- }
-
- return str_replace(["\r\n", "\r"], "\n", $comment);
- }
-
- // phpcs:disable
- /**
- * Splits the DocBlock into a template marker, summary, description and block of tags.
- *
- * @param string $comment Comment to split into the sub-parts.
- *
- * @return string[] containing the template marker (if any), summary, description and a string containing the tags.
- *
- * @author Mike van Riel for extending the regex with template marker support.
- *
- * @author Richard van Velzen (@_richardJ) Special thanks to Richard for the regex responsible for the split.
- */
- private function splitDocBlock(string $comment) : array
- {
- // phpcs:enable
- // Performance improvement cheat: if the first character is an @ then only tags are in this DocBlock. This
- // method does not split tags so we return this verbatim as the fourth result (tags). This saves us the
- // performance impact of running a regular expression
- if (strpos($comment, '@') === 0) {
- return ['', '', '', $comment];
- }
-
- // clears all extra horizontal whitespace from the line endings to prevent parsing issues
- $comment = preg_replace('/\h*$/Sum', '', $comment);
- Assert::string($comment);
- /*
- * Splits the docblock into a template marker, summary, description and tags section.
- *
- * - The template marker is empty, #@+ or #@- if the DocBlock starts with either of those (a newline may
- * occur after it and will be stripped).
- * - The short description is started from the first character until a dot is encountered followed by a
- * newline OR two consecutive newlines (horizontal whitespace is taken into account to consider spacing
- * errors). This is optional.
- * - The long description, any character until a new line is encountered followed by an @ and word
- * characters (a tag). This is optional.
- * - Tags; the remaining characters
- *
- * Big thanks to RichardJ for contributing this Regular Expression
- */
- preg_match(
- '/
- \A
- # 1. Extract the template marker
- (?:(\#\@\+|\#\@\-)\n?)?
-
- # 2. Extract the summary
- (?:
- (?! @\pL ) # The summary may not start with an @
- (
- [^\n.]+
- (?:
- (?! \. \n | \n{2} ) # End summary upon a dot followed by newline or two newlines
- [\n.]* (?! [ \t]* @\pL ) # End summary when an @ is found as first character on a new line
- [^\n.]+ # Include anything else
- )*
- \.?
- )?
- )
-
- # 3. Extract the description
- (?:
- \s* # Some form of whitespace _must_ precede a description because a summary must be there
- (?! @\pL ) # The description may not start with an @
- (
- [^\n]+
- (?: \n+
- (?! [ \t]* @\pL ) # End description when an @ is found as first character on a new line
- [^\n]+ # Include anything else
- )*
- )
- )?
-
- # 4. Extract the tags (anything that follows)
- (\s+ [\s\S]*)? # everything that follows
- /ux',
- $comment,
- $matches
- );
- array_shift($matches);
-
- while (count($matches) < 4) {
- $matches[] = '';
- }
-
- return $matches;
- }
-
- /**
- * Creates the tag objects.
- *
- * @param string $tags Tag block to parse.
- * @param Types\Context $context Context of the parsed Tag
- *
- * @return DocBlock\Tag[]
- */
- private function parseTagBlock(string $tags, Types\Context $context) : array
- {
- $tags = $this->filterTagBlock($tags);
- if ($tags === null) {
- return [];
- }
-
- $result = [];
- $lines = $this->splitTagBlockIntoTagLines($tags);
- foreach ($lines as $key => $tagLine) {
- $result[$key] = $this->tagFactory->create(trim($tagLine), $context);
- }
-
- return $result;
- }
-
- /**
- * @return string[]
- */
- private function splitTagBlockIntoTagLines(string $tags) : array
- {
- $result = [];
- foreach (explode("\n", $tags) as $tagLine) {
- if ($tagLine !== '' && strpos($tagLine, '@') === 0) {
- $result[] = $tagLine;
- } else {
- $result[count($result) - 1] .= "\n" . $tagLine;
- }
- }
-
- return $result;
- }
-
- private function filterTagBlock(string $tags) : ?string
- {
- $tags = trim($tags);
- if (!$tags) {
- return null;
- }
-
- if ($tags[0] !== '@') {
- // @codeCoverageIgnoreStart
- // Can't simulate this; this only happens if there is an error with the parsing of the DocBlock that
- // we didn't foresee.
-
- throw new LogicException('A tag block started with text instead of an at-sign(@): ' . $tags);
-
- // @codeCoverageIgnoreEnd
- }
-
- return $tags;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactoryInterface.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactoryInterface.php
deleted file mode 100644
index ef039a4d83..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactoryInterface.php
+++ /dev/null
@@ -1,23 +0,0 @@
-> $additionalTags
- */
- public static function createInstance(array $additionalTags = []) : DocBlockFactory;
-
- /**
- * @param string|object $docblock
- */
- public function create($docblock, ?Types\Context $context = null, ?Location $location = null) : DocBlock;
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/Exception/PcreException.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/Exception/PcreException.php
deleted file mode 100644
index 77aa40e135..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/reflection-docblock/src/Exception/PcreException.php
+++ /dev/null
@@ -1,38 +0,0 @@
- please note that if you want to pass partial class names that additional steps are necessary, see the
- > chapter `Resolving partial classes and FQSENs` for more information.
-
-Where the FqsenResolver can resolve:
-
-- Constant expressions (i.e. `@see \MyNamespace\MY_CONSTANT`)
-- Function expressions (i.e. `@see \MyNamespace\myFunction()`)
-- Class expressions (i.e. `@see \MyNamespace\MyClass`)
-- Interface expressions (i.e. `@see \MyNamespace\MyInterface`)
-- Trait expressions (i.e. `@see \MyNamespace\MyTrait`)
-- Class constant expressions (i.e. `@see \MyNamespace\MyClass::MY_CONSTANT`)
-- Property expressions (i.e. `@see \MyNamespace\MyClass::$myProperty`)
-- Method expressions (i.e. `@see \MyNamespace\MyClass::myMethod()`)
-
-## Resolving a type
-
-In order to resolve a type you will have to instantiate the class `\phpDocumentor\Reflection\TypeResolver` and call its `resolve` method like this:
-
-```php
-$typeResolver = new \phpDocumentor\Reflection\TypeResolver();
-$type = $typeResolver->resolve('string|integer');
-```
-
-In this example you will receive a Value Object of class `\phpDocumentor\Reflection\Types\Compound` that has two
-elements, one of type `\phpDocumentor\Reflection\Types\String_` and one of type
-`\phpDocumentor\Reflection\Types\Integer`.
-
-The real power of this resolver is in its capability to expand partial class names into fully qualified class names; but in order to do that we need an additional `\phpDocumentor\Reflection\Types\Context` class that will inform the resolver in which namespace the given expression occurs and which namespace aliases (or imports) apply.
-
-### Resolving nullable types
-
-Php 7.1 introduced nullable types e.g. `?string`. Type resolver will resolve the original type without the nullable notation `?`
-just like it would do without the `?`. After that the type is wrapped in a `\phpDocumentor\Reflection\Types\Nullable` object.
-The `Nullable` type has a method to fetch the actual type.
-
-## Resolving an FQSEN
-
-A Fully Qualified Structural Element Name is a reference to another element in your code bases and can be resolved using the `\phpDocumentor\Reflection\FqsenResolver` class' `resolve` method, like this:
-
-```php
-$fqsenResolver = new \phpDocumentor\Reflection\FqsenResolver();
-$fqsen = $fqsenResolver->resolve('\phpDocumentor\Reflection\FqsenResolver::resolve()');
-```
-
-In this example we resolve a Fully Qualified Structural Element Name (meaning that it includes the full namespace, class name and element name) and receive a Value Object of type `\phpDocumentor\Reflection\Fqsen`.
-
-The real power of this resolver is in its capability to expand partial element names into Fully Qualified Structural Element Names; but in order to do that we need an additional `\phpDocumentor\Reflection\Types\Context` class that will inform the resolver in which namespace the given expression occurs and which namespace aliases (or imports) apply.
-
-## Resolving partial Classes and Structural Element Names
-
-Perhaps the best feature of this library is that it knows how to resolve partial class names into fully qualified class names.
-
-For example, you have this file:
-
-```php
-namespace My\Example;
-
-use phpDocumentor\Reflection\Types;
-
-class Classy
-{
- /**
- * @var Types\Context
- * @see Classy::otherFunction()
- */
- public function __construct($context) {}
-
- public function otherFunction(){}
-}
-```
-
-Suppose that you would want to resolve (and expand) the type in the `@var` tag and the element name in the `@see` tag.
-
-For the resolvers to know how to expand partial names you have to provide a bit of _Context_ for them by instantiating a new class named `\phpDocumentor\Reflection\Types\Context` with the name of the namespace and the aliases that are in play.
-
-### Creating a Context
-
-You can do this by manually creating a Context like this:
-
-```php
-$context = new \phpDocumentor\Reflection\Types\Context(
- '\My\Example',
- [ 'Types' => '\phpDocumentor\Reflection\Types']
-);
-```
-
-Or by using the `\phpDocumentor\Reflection\Types\ContextFactory` to instantiate a new context based on a Reflector object or by providing the namespace that you'd like to extract and the source code of the file in which the given type expression occurs.
-
-```php
-$contextFactory = new \phpDocumentor\Reflection\Types\ContextFactory();
-$context = $contextFactory->createFromReflector(new ReflectionMethod('\My\Example\Classy', '__construct'));
-```
-
-or
-
-```php
-$contextFactory = new \phpDocumentor\Reflection\Types\ContextFactory();
-$context = $contextFactory->createForNamespace('\My\Example', file_get_contents('My/Example/Classy.php'));
-```
-
-### Using the Context
-
-After you have obtained a Context it is just a matter of passing it along with the `resolve` method of either Resolver class as second argument and the Resolvers will take this into account when resolving partial names.
-
-To obtain the resolved class name for the `@var` tag in the example above you can do:
-
-```php
-$typeResolver = new \phpDocumentor\Reflection\TypeResolver();
-$type = $typeResolver->resolve('Types\Context', $context);
-```
-
-When you do this you will receive an object of class `\phpDocumentor\Reflection\Types\Object_` for which you can call the `getFqsen` method to receive a Value Object that represents the complete FQSEN. So that would be `phpDocumentor\Reflection\Types\Context`.
-
-> Why is the FQSEN wrapped in another object `Object_`?
->
-> The resolve method of the TypeResolver only returns object with the interface `Type` and the FQSEN is a common type that does not represent a Type. Also: in some cases a type can represent an "Untyped Object", meaning that it is an object (signified by the `object` keyword) but does not refer to a specific element using an FQSEN.
-
-Another example is on how to resolve the FQSEN of a method as can be seen with the `@see` tag in the example above. To resolve that you can do the following:
-
-```php
-$fqsenResolver = new \phpDocumentor\Reflection\FqsenResolver();
-$type = $fqsenResolver->resolve('Classy::otherFunction()', $context);
-```
-
-Because Classy is a Class in the current namespace its FQSEN will have the `My\Example` namespace and by calling the `resolve` method of the FQSEN Resolver you will receive an `Fqsen` object that refers to `\My\Example\Classy::otherFunction()`.
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/composer.json b/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/composer.json
deleted file mode 100644
index 242ecbe39a..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/composer.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "name": "phpdocumentor/type-resolver",
- "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
- "type": "library",
- "license": "MIT",
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "require": {
- "php": "^7.2 || ^8.0",
- "phpdocumentor/reflection-common": "^2.0"
- },
- "require-dev": {
- "ext-tokenizer": "*"
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": "src"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": ["tests/unit", "tests/benchmark"]
- }
- },
- "extra": {
- "branch-alias": {
- "dev-1.x": "1.x-dev"
- }
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/composer.lock b/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/composer.lock
deleted file mode 100644
index 8fa8b87479..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/composer.lock
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "ee8aea1f755e1772266bc7e041d8ee5b",
- "packages": [
- {
- "name": "phpdocumentor/reflection-common",
- "version": "2.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b",
- "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b",
- "shasum": ""
- },
- "require": {
- "php": "^7.2 || ^8.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-2.x": "2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2020-06-27T09:03:43+00:00"
- }
- ],
- "packages-dev": [],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": "^7.2 || ^8.0"
- },
- "platform-dev": {
- "ext-tokenizer": "*"
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/phpbench.json b/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/phpbench.json
deleted file mode 100644
index ced1ebab47..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/phpbench.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "bootstrap": "vendor/autoload.php",
- "path": "tests/benchmark",
- "extensions": [
- "Jaapio\\Blackfire\\Extension"
- ],
- "blackfire" : {
- "env": "c12030d0-c177-47e2-b466-4994c40dc993"
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/FqsenResolver.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/FqsenResolver.php
deleted file mode 100644
index 6447a0159d..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/FqsenResolver.php
+++ /dev/null
@@ -1,79 +0,0 @@
-isFqsen($fqsen)) {
- return new Fqsen($fqsen);
- }
-
- return $this->resolvePartialStructuralElementName($fqsen, $context);
- }
-
- /**
- * Tests whether the given type is a Fully Qualified Structural Element Name.
- */
- private function isFqsen(string $type) : bool
- {
- return strpos($type, self::OPERATOR_NAMESPACE) === 0;
- }
-
- /**
- * Resolves a partial Structural Element Name (i.e. `Reflection\DocBlock`) to its FQSEN representation
- * (i.e. `\phpDocumentor\Reflection\DocBlock`) based on the Namespace and aliases mentioned in the Context.
- *
- * @throws InvalidArgumentException When type is not a valid FQSEN.
- */
- private function resolvePartialStructuralElementName(string $type, Context $context) : Fqsen
- {
- $typeParts = explode(self::OPERATOR_NAMESPACE, $type, 2);
-
- $namespaceAliases = $context->getNamespaceAliases();
-
- // if the first segment is not an alias; prepend namespace name and return
- if (!isset($namespaceAliases[$typeParts[0]])) {
- $namespace = $context->getNamespace();
- if ($namespace !== '') {
- $namespace .= self::OPERATOR_NAMESPACE;
- }
-
- return new Fqsen(self::OPERATOR_NAMESPACE . $namespace . $type);
- }
-
- $typeParts[0] = $namespaceAliases[$typeParts[0]];
-
- return new Fqsen(self::OPERATOR_NAMESPACE . implode(self::OPERATOR_NAMESPACE, $typeParts));
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/PseudoType.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/PseudoType.php
deleted file mode 100644
index f94cff5b35..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/PseudoType.php
+++ /dev/null
@@ -1,19 +0,0 @@
- List of recognized keywords and unto which Value Object they map
- * @psalm-var array>
- */
- private $keywords = [
- 'string' => Types\String_::class,
- 'class-string' => Types\ClassString::class,
- 'int' => Types\Integer::class,
- 'integer' => Types\Integer::class,
- 'bool' => Types\Boolean::class,
- 'boolean' => Types\Boolean::class,
- 'real' => Types\Float_::class,
- 'float' => Types\Float_::class,
- 'double' => Types\Float_::class,
- 'object' => Object_::class,
- 'mixed' => Types\Mixed_::class,
- 'array' => Array_::class,
- 'resource' => Types\Resource_::class,
- 'void' => Types\Void_::class,
- 'null' => Types\Null_::class,
- 'scalar' => Types\Scalar::class,
- 'callback' => Types\Callable_::class,
- 'callable' => Types\Callable_::class,
- 'false' => PseudoTypes\False_::class,
- 'true' => PseudoTypes\True_::class,
- 'self' => Types\Self_::class,
- '$this' => Types\This::class,
- 'static' => Types\Static_::class,
- 'parent' => Types\Parent_::class,
- 'iterable' => Iterable_::class,
- ];
-
- /**
- * @var FqsenResolver
- * @psalm-readonly
- */
- private $fqsenResolver;
-
- /**
- * Initializes this TypeResolver with the means to create and resolve Fqsen objects.
- */
- public function __construct(?FqsenResolver $fqsenResolver = null)
- {
- $this->fqsenResolver = $fqsenResolver ?: new FqsenResolver();
- }
-
- /**
- * Analyzes the given type and returns the FQCN variant.
- *
- * When a type is provided this method checks whether it is not a keyword or
- * Fully Qualified Class Name. If so it will use the given namespace and
- * aliases to expand the type to a FQCN representation.
- *
- * This method only works as expected if the namespace and aliases are set;
- * no dynamic reflection is being performed here.
- *
- * @uses Context::getNamespaceAliases() to check whether the first part of the relative type name should not be
- * replaced with another namespace.
- * @uses Context::getNamespace() to determine with what to prefix the type name.
- *
- * @param string $type The relative or absolute type.
- */
- public function resolve(string $type, ?Context $context = null) : Type
- {
- $type = trim($type);
- if (!$type) {
- throw new InvalidArgumentException('Attempted to resolve "' . $type . '" but it appears to be empty');
- }
-
- if ($context === null) {
- $context = new Context('');
- }
-
- // split the type string into tokens `|`, `?`, `<`, `>`, `,`, `(`, `)`, `[]`, '<', '>' and type names
- $tokens = preg_split(
- '/(\\||\\?|<|>|&|, ?|\\(|\\)|\\[\\]+)/',
- $type,
- -1,
- PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE
- );
-
- if ($tokens === false) {
- throw new InvalidArgumentException('Unable to split the type string "' . $type . '" into tokens');
- }
-
- /** @var ArrayIterator $tokenIterator */
- $tokenIterator = new ArrayIterator($tokens);
-
- return $this->parseTypes($tokenIterator, $context, self::PARSER_IN_COMPOUND);
- }
-
- /**
- * Analyse each tokens and creates types
- *
- * @param ArrayIterator $tokens the iterator on tokens
- * @param int $parserContext on of self::PARSER_* constants, indicating
- * the context where we are in the parsing
- */
- private function parseTypes(ArrayIterator $tokens, Context $context, int $parserContext) : Type
- {
- $types = [];
- $token = '';
- $compoundToken = '|';
- while ($tokens->valid()) {
- $token = $tokens->current();
- if ($token === null) {
- throw new RuntimeException(
- 'Unexpected nullable character'
- );
- }
-
- if ($token === '|' || $token === '&') {
- if (count($types) === 0) {
- throw new RuntimeException(
- 'A type is missing before a type separator'
- );
- }
-
- if (!in_array($parserContext, [
- self::PARSER_IN_COMPOUND,
- self::PARSER_IN_ARRAY_EXPRESSION,
- self::PARSER_IN_COLLECTION_EXPRESSION,
- ], true)
- ) {
- throw new RuntimeException(
- 'Unexpected type separator'
- );
- }
-
- $compoundToken = $token;
- $tokens->next();
- } elseif ($token === '?') {
- if (!in_array($parserContext, [
- self::PARSER_IN_COMPOUND,
- self::PARSER_IN_ARRAY_EXPRESSION,
- self::PARSER_IN_COLLECTION_EXPRESSION,
- ], true)
- ) {
- throw new RuntimeException(
- 'Unexpected nullable character'
- );
- }
-
- $tokens->next();
- $type = $this->parseTypes($tokens, $context, self::PARSER_IN_NULLABLE);
- $types[] = new Nullable($type);
- } elseif ($token === '(') {
- $tokens->next();
- $type = $this->parseTypes($tokens, $context, self::PARSER_IN_ARRAY_EXPRESSION);
-
- $token = $tokens->current();
- if ($token === null) { // Someone did not properly close their array expression ..
- break;
- }
-
- $tokens->next();
-
- $resolvedType = new Expression($type);
-
- $types[] = $resolvedType;
- } elseif ($parserContext === self::PARSER_IN_ARRAY_EXPRESSION && $token[0] === ')') {
- break;
- } elseif ($token === '<') {
- if (count($types) === 0) {
- throw new RuntimeException(
- 'Unexpected collection operator "<", class name is missing'
- );
- }
-
- $classType = array_pop($types);
- if ($classType !== null) {
- if ((string) $classType === 'class-string') {
- $types[] = $this->resolveClassString($tokens, $context);
- } else {
- $types[] = $this->resolveCollection($tokens, $classType, $context);
- }
- }
-
- $tokens->next();
- } elseif ($parserContext === self::PARSER_IN_COLLECTION_EXPRESSION
- && ($token === '>' || trim($token) === ',')
- ) {
- break;
- } elseif ($token === self::OPERATOR_ARRAY) {
- end($types);
- $last = key($types);
- $lastItem = $types[$last];
- if ($lastItem instanceof Expression) {
- $lastItem = $lastItem->getValueType();
- }
-
- $types[$last] = new Array_($lastItem);
-
- $tokens->next();
- } else {
- $type = $this->resolveSingleType($token, $context);
- $tokens->next();
- if ($parserContext === self::PARSER_IN_NULLABLE) {
- return $type;
- }
-
- $types[] = $type;
- }
- }
-
- if ($token === '|' || $token === '&') {
- throw new RuntimeException(
- 'A type is missing after a type separator'
- );
- }
-
- if (count($types) === 0) {
- if ($parserContext === self::PARSER_IN_NULLABLE) {
- throw new RuntimeException(
- 'A type is missing after a nullable character'
- );
- }
-
- if ($parserContext === self::PARSER_IN_ARRAY_EXPRESSION) {
- throw new RuntimeException(
- 'A type is missing in an array expression'
- );
- }
-
- if ($parserContext === self::PARSER_IN_COLLECTION_EXPRESSION) {
- throw new RuntimeException(
- 'A type is missing in a collection expression'
- );
- }
- } elseif (count($types) === 1) {
- return $types[0];
- }
-
- if ($compoundToken === '|') {
- return new Compound(array_values($types));
- }
-
- return new Intersection(array_values($types));
- }
-
- /**
- * resolve the given type into a type object
- *
- * @param string $type the type string, representing a single type
- *
- * @return Type|Array_|Object_
- *
- * @psalm-mutation-free
- */
- private function resolveSingleType(string $type, Context $context) : object
- {
- switch (true) {
- case $this->isKeyword($type):
- return $this->resolveKeyword($type);
- case $this->isFqsen($type):
- return $this->resolveTypedObject($type);
- case $this->isPartialStructuralElementName($type):
- return $this->resolveTypedObject($type, $context);
-
- // @codeCoverageIgnoreStart
- default:
- // I haven't got the foggiest how the logic would come here but added this as a defense.
- throw new RuntimeException(
- 'Unable to resolve type "' . $type . '", there is no known method to resolve it'
- );
- }
-
- // @codeCoverageIgnoreEnd
- }
-
- /**
- * Adds a keyword to the list of Keywords and associates it with a specific Value Object.
- *
- * @psalm-param class-string $typeClassName
- */
- public function addKeyword(string $keyword, string $typeClassName) : void
- {
- if (!class_exists($typeClassName)) {
- throw new InvalidArgumentException(
- 'The Value Object that needs to be created with a keyword "' . $keyword . '" must be an existing class'
- . ' but we could not find the class ' . $typeClassName
- );
- }
-
- if (!in_array(Type::class, class_implements($typeClassName), true)) {
- throw new InvalidArgumentException(
- 'The class "' . $typeClassName . '" must implement the interface "phpDocumentor\Reflection\Type"'
- );
- }
-
- $this->keywords[$keyword] = $typeClassName;
- }
-
- /**
- * Detects whether the given type represents a PHPDoc keyword.
- *
- * @param string $type A relative or absolute type as defined in the phpDocumentor documentation.
- *
- * @psalm-mutation-free
- */
- private function isKeyword(string $type) : bool
- {
- return array_key_exists(strtolower($type), $this->keywords);
- }
-
- /**
- * Detects whether the given type represents a relative structural element name.
- *
- * @param string $type A relative or absolute type as defined in the phpDocumentor documentation.
- *
- * @psalm-mutation-free
- */
- private function isPartialStructuralElementName(string $type) : bool
- {
- return ($type[0] !== self::OPERATOR_NAMESPACE) && !$this->isKeyword($type);
- }
-
- /**
- * Tests whether the given type is a Fully Qualified Structural Element Name.
- *
- * @psalm-mutation-free
- */
- private function isFqsen(string $type) : bool
- {
- return strpos($type, self::OPERATOR_NAMESPACE) === 0;
- }
-
- /**
- * Resolves the given keyword (such as `string`) into a Type object representing that keyword.
- *
- * @psalm-mutation-free
- */
- private function resolveKeyword(string $type) : Type
- {
- $className = $this->keywords[strtolower($type)];
-
- return new $className();
- }
-
- /**
- * Resolves the given FQSEN string into an FQSEN object.
- *
- * @psalm-mutation-free
- */
- private function resolveTypedObject(string $type, ?Context $context = null) : Object_
- {
- return new Object_($this->fqsenResolver->resolve($type, $context));
- }
-
- /**
- * Resolves class string
- *
- * @param ArrayIterator $tokens
- */
- private function resolveClassString(ArrayIterator $tokens, Context $context) : Type
- {
- $tokens->next();
-
- $classType = $this->parseTypes($tokens, $context, self::PARSER_IN_COLLECTION_EXPRESSION);
-
- if (!$classType instanceof Object_ || $classType->getFqsen() === null) {
- throw new RuntimeException(
- $classType . ' is not a class string'
- );
- }
-
- $token = $tokens->current();
- if ($token !== '>') {
- if (empty($token)) {
- throw new RuntimeException(
- 'class-string: ">" is missing'
- );
- }
-
- throw new RuntimeException(
- 'Unexpected character "' . $token . '", ">" is missing'
- );
- }
-
- return new ClassString($classType->getFqsen());
- }
-
- /**
- * Resolves the collection values and keys
- *
- * @param ArrayIterator $tokens
- *
- * @return Array_|Iterable_|Collection
- */
- private function resolveCollection(ArrayIterator $tokens, Type $classType, Context $context) : Type
- {
- $isArray = ((string) $classType === 'array');
- $isIterable = ((string) $classType === 'iterable');
-
- // allow only "array", "iterable" or class name before "<"
- if (!$isArray && !$isIterable
- && (!$classType instanceof Object_ || $classType->getFqsen() === null)) {
- throw new RuntimeException(
- $classType . ' is not a collection'
- );
- }
-
- $tokens->next();
-
- $valueType = $this->parseTypes($tokens, $context, self::PARSER_IN_COLLECTION_EXPRESSION);
- $keyType = null;
-
- $token = $tokens->current();
- if ($token !== null && trim($token) === ',') {
- // if we have a comma, then we just parsed the key type, not the value type
- $keyType = $valueType;
- if ($isArray) {
- // check the key type for an "array" collection. We allow only
- // strings or integers.
- if (!$keyType instanceof String_ &&
- !$keyType instanceof Integer &&
- !$keyType instanceof Compound
- ) {
- throw new RuntimeException(
- 'An array can have only integers or strings as keys'
- );
- }
-
- if ($keyType instanceof Compound) {
- foreach ($keyType->getIterator() as $item) {
- if (!$item instanceof String_ &&
- !$item instanceof Integer
- ) {
- throw new RuntimeException(
- 'An array can have only integers or strings as keys'
- );
- }
- }
- }
- }
-
- $tokens->next();
- // now let's parse the value type
- $valueType = $this->parseTypes($tokens, $context, self::PARSER_IN_COLLECTION_EXPRESSION);
- }
-
- $token = $tokens->current();
- if ($token !== '>') {
- if (empty($token)) {
- throw new RuntimeException(
- 'Collection: ">" is missing'
- );
- }
-
- throw new RuntimeException(
- 'Unexpected character "' . $token . '", ">" is missing'
- );
- }
-
- if ($isArray) {
- return new Array_($valueType, $keyType);
- }
-
- if ($isIterable) {
- return new Iterable_($valueType, $keyType);
- }
-
- if ($classType instanceof Object_) {
- return $this->makeCollectionFromObject($classType, $valueType, $keyType);
- }
-
- throw new RuntimeException('Invalid $classType provided');
- }
-
- /**
- * @psalm-pure
- */
- private function makeCollectionFromObject(Object_ $object, Type $valueType, ?Type $keyType = null) : Collection
- {
- return new Collection($object->getFqsen(), $valueType, $keyType);
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/AbstractList.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/AbstractList.php
deleted file mode 100644
index bbea4f1414..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/AbstractList.php
+++ /dev/null
@@ -1,83 +0,0 @@
-valueType = $valueType;
- $this->defaultKeyType = new Compound([new String_(), new Integer()]);
- $this->keyType = $keyType;
- }
-
- /**
- * Returns the type for the keys of this array.
- */
- public function getKeyType() : Type
- {
- return $this->keyType ?? $this->defaultKeyType;
- }
-
- /**
- * Returns the value for the keys of this array.
- */
- public function getValueType() : Type
- {
- return $this->valueType;
- }
-
- /**
- * Returns a rendered output of the Type as it would be used in a DocBlock.
- */
- public function __toString() : string
- {
- if ($this->keyType) {
- return 'array<' . $this->keyType . ',' . $this->valueType . '>';
- }
-
- if ($this->valueType instanceof Mixed_) {
- return 'array';
- }
-
- if ($this->valueType instanceof Compound) {
- return '(' . $this->valueType . ')[]';
- }
-
- return $this->valueType . '[]';
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/AggregatedType.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/AggregatedType.php
deleted file mode 100644
index 9522295831..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/AggregatedType.php
+++ /dev/null
@@ -1,124 +0,0 @@
-
- */
-abstract class AggregatedType implements Type, IteratorAggregate
-{
- /**
- * @psalm-allow-private-mutation
- * @var array
- */
- private $types = [];
-
- /** @var string */
- private $token;
-
- /**
- * @param array $types
- */
- public function __construct(array $types, string $token)
- {
- foreach ($types as $type) {
- $this->add($type);
- }
-
- $this->token = $token;
- }
-
- /**
- * Returns the type at the given index.
- */
- public function get(int $index) : ?Type
- {
- if (!$this->has($index)) {
- return null;
- }
-
- return $this->types[$index];
- }
-
- /**
- * Tests if this compound type has a type with the given index.
- */
- public function has(int $index) : bool
- {
- return array_key_exists($index, $this->types);
- }
-
- /**
- * Tests if this compound type contains the given type.
- */
- public function contains(Type $type) : bool
- {
- foreach ($this->types as $typePart) {
- // if the type is duplicate; do not add it
- if ((string) $typePart === (string) $type) {
- return true;
- }
- }
-
- return false;
- }
-
- /**
- * Returns a rendered output of the Type as it would be used in a DocBlock.
- */
- public function __toString() : string
- {
- return implode($this->token, $this->types);
- }
-
- /**
- * @return ArrayIterator
- */
- public function getIterator() : ArrayIterator
- {
- return new ArrayIterator($this->types);
- }
-
- /**
- * @psalm-suppress ImpureMethodCall
- */
- private function add(Type $type) : void
- {
- if ($type instanceof self) {
- foreach ($type->getIterator() as $subType) {
- $this->add($subType);
- }
-
- return;
- }
-
- // if the type is duplicate; do not add it
- if ($this->contains($type)) {
- return;
- }
-
- $this->types[] = $type;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/Array_.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/Array_.php
deleted file mode 100644
index 7f880e2db2..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/Array_.php
+++ /dev/null
@@ -1,29 +0,0 @@
-fqsen = $fqsen;
- }
-
- /**
- * Returns the FQSEN associated with this object.
- */
- public function getFqsen() : ?Fqsen
- {
- return $this->fqsen;
- }
-
- /**
- * Returns a rendered output of the Type as it would be used in a DocBlock.
- */
- public function __toString() : string
- {
- if ($this->fqsen === null) {
- return 'class-string';
- }
-
- return 'class-string<' . (string) $this->fqsen . '>';
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/Collection.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/Collection.php
deleted file mode 100644
index 84b4463a6e..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/Collection.php
+++ /dev/null
@@ -1,68 +0,0 @@
-`
- * 2. `ACollectionObject`
- *
- * - ACollectionObject can be 'array' or an object that can act as an array
- * - aValueType and aKeyType can be any type expression
- *
- * @psalm-immutable
- */
-final class Collection extends AbstractList
-{
- /** @var Fqsen|null */
- private $fqsen;
-
- /**
- * Initializes this representation of an array with the given Type or Fqsen.
- */
- public function __construct(?Fqsen $fqsen, Type $valueType, ?Type $keyType = null)
- {
- parent::__construct($valueType, $keyType);
-
- $this->fqsen = $fqsen;
- }
-
- /**
- * Returns the FQSEN associated with this object.
- */
- public function getFqsen() : ?Fqsen
- {
- return $this->fqsen;
- }
-
- /**
- * Returns a rendered output of the Type as it would be used in a DocBlock.
- */
- public function __toString() : string
- {
- $objectType = (string) ($this->fqsen ?? 'object');
-
- if ($this->keyType === null) {
- return $objectType . '<' . $this->valueType . '>';
- }
-
- return $objectType . '<' . $this->keyType . ',' . $this->valueType . '>';
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/Compound.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/Compound.php
deleted file mode 100644
index ad426cc2c0..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/Compound.php
+++ /dev/null
@@ -1,38 +0,0 @@
- $types
- */
- public function __construct(array $types)
- {
- parent::__construct($types, '|');
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/Context.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/Context.php
deleted file mode 100644
index c134d7cfd2..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/Context.php
+++ /dev/null
@@ -1,97 +0,0 @@
- Fully Qualified Namespace.
- * @psalm-var array
- */
- private $namespaceAliases;
-
- /**
- * Initializes the new context and normalizes all passed namespaces to be in Qualified Namespace Name (QNN)
- * format (without a preceding `\`).
- *
- * @param string $namespace The namespace where this DocBlock resides in.
- * @param string[] $namespaceAliases List of namespace aliases => Fully Qualified Namespace.
- *
- * @psalm-param array $namespaceAliases
- */
- public function __construct(string $namespace, array $namespaceAliases = [])
- {
- $this->namespace = $namespace !== 'global' && $namespace !== 'default'
- ? trim($namespace, '\\')
- : '';
-
- foreach ($namespaceAliases as $alias => $fqnn) {
- if ($fqnn[0] === '\\') {
- $fqnn = substr($fqnn, 1);
- }
-
- if ($fqnn[strlen($fqnn) - 1] === '\\') {
- $fqnn = substr($fqnn, 0, -1);
- }
-
- $namespaceAliases[$alias] = $fqnn;
- }
-
- $this->namespaceAliases = $namespaceAliases;
- }
-
- /**
- * Returns the Qualified Namespace Name (thus without `\` in front) where the associated element is in.
- */
- public function getNamespace() : string
- {
- return $this->namespace;
- }
-
- /**
- * Returns a list of Qualified Namespace Names (thus without `\` in front) that are imported, the keys represent
- * the alias for the imported Namespace.
- *
- * @return string[]
- *
- * @psalm-return array
- */
- public function getNamespaceAliases() : array
- {
- return $this->namespaceAliases;
- }
-}
diff --git a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/ContextFactory.php b/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/ContextFactory.php
deleted file mode 100644
index 5d09d565ec..0000000000
--- a/pandora_console/godmode/um_client/vendor/phpdocumentor/type-resolver/src/Types/ContextFactory.php
+++ /dev/null
@@ -1,423 +0,0 @@
- $reflector */
-
- return $this->createFromReflectionClass($reflector);
- }
-
- if ($reflector instanceof ReflectionParameter) {
- return $this->createFromReflectionParameter($reflector);
- }
-
- if ($reflector instanceof ReflectionMethod) {
- return $this->createFromReflectionMethod($reflector);
- }
-
- if ($reflector instanceof ReflectionProperty) {
- return $this->createFromReflectionProperty($reflector);
- }
-
- if ($reflector instanceof ReflectionClassConstant) {
- return $this->createFromReflectionClassConstant($reflector);
- }
-
- throw new UnexpectedValueException('Unhandled \Reflector instance given: ' . get_class($reflector));
- }
-
- private function createFromReflectionParameter(ReflectionParameter $parameter) : Context
- {
- $class = $parameter->getDeclaringClass();
- if (!$class) {
- throw new InvalidArgumentException('Unable to get class of ' . $parameter->getName());
- }
-
- //phpcs:ignore SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.MissingVariable
- /** @var ReflectionClass