aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-05-07 21:49:08 +0000
committerMario <mario@mariovavti.com>2020-05-07 21:49:08 +0000
commit2cba88f1ebd31184b4537e0918309f6515d44101 (patch)
tree519ce74b6569f09bc5b14c92b9f5c9da54e8efc4 /vendor/sabre
parentf132436af3c90cff8dcef852bd836546311036f3 (diff)
downloadvolse-hubzilla-2cba88f1ebd31184b4537e0918309f6515d44101.tar.gz
volse-hubzilla-2cba88f1ebd31184b4537e0918309f6515d44101.tar.bz2
volse-hubzilla-2cba88f1ebd31184b4537e0918309f6515d44101.zip
new files
Diffstat (limited to 'vendor/sabre')
-rw-r--r--vendor/sabre/event/.php_cs.dist12
-rw-r--r--vendor/sabre/event/phpstan.neon2
-rw-r--r--vendor/sabre/vobject/lib/Property/VCard/PhoneNumber.php30
-rw-r--r--vendor/sabre/xml/phpstan.neon6
4 files changed, 50 insertions, 0 deletions
diff --git a/vendor/sabre/event/.php_cs.dist b/vendor/sabre/event/.php_cs.dist
new file mode 100644
index 000000000..c5c78a971
--- /dev/null
+++ b/vendor/sabre/event/.php_cs.dist
@@ -0,0 +1,12 @@
+<?php
+
+$config = PhpCsFixer\Config::create();
+$config->getFinder()
+ ->exclude('vendor')
+ ->in(__DIR__);
+$config->setRules([
+ '@PSR1' => true,
+ '@Symfony' => true
+]);
+
+return $config; \ No newline at end of file
diff --git a/vendor/sabre/event/phpstan.neon b/vendor/sabre/event/phpstan.neon
new file mode 100644
index 000000000..213da6dad
--- /dev/null
+++ b/vendor/sabre/event/phpstan.neon
@@ -0,0 +1,2 @@
+parameters:
+ level: 1
diff --git a/vendor/sabre/vobject/lib/Property/VCard/PhoneNumber.php b/vendor/sabre/vobject/lib/Property/VCard/PhoneNumber.php
new file mode 100644
index 000000000..b714ffd03
--- /dev/null
+++ b/vendor/sabre/vobject/lib/Property/VCard/PhoneNumber.php
@@ -0,0 +1,30 @@
+<?php
+
+namespace Sabre\VObject\Property\VCard;
+
+use Sabre\VObject\Property;
+
+/**
+ * PhoneNumber property.
+ *
+ * This object encodes PHONE-NUMBER values.
+ *
+ * @author Christian Kraus <christian@kraus.work>
+ */
+class PhoneNumber extends Property\Text
+{
+ protected $structuredValues = [];
+
+ /**
+ * Returns the type of value.
+ *
+ * This corresponds to the VALUE= parameter. Every property also has a
+ * 'default' valueType.
+ *
+ * @return string
+ */
+ public function getValueType()
+ {
+ return 'PHONE-NUMBER';
+ }
+}
diff --git a/vendor/sabre/xml/phpstan.neon b/vendor/sabre/xml/phpstan.neon
new file mode 100644
index 000000000..d6dd4e577
--- /dev/null
+++ b/vendor/sabre/xml/phpstan.neon
@@ -0,0 +1,6 @@
+parameters:
+ level: 5
+ ignoreErrors:
+ -
+ message: '!Parameter #3 \$uri of method XMLWriter::startElementNs\(\) expects string, null given.!'
+ path: lib/Writer.php