Completed
Push — master ( 946909...7c5d51 )
by Milan
31s queued 12s
created
src/ExchangeFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 	)
52 52
 	{
53 53
 		if ($this->tempDir === null) {
54
-			$this->tempDir = sys_get_temp_dir() . '/exchange';
54
+			$this->tempDir = sys_get_temp_dir().'/exchange';
55 55
 		}
56 56
 		!is_dir($this->tempDir) && mkdir($this->tempDir, 0777, true);
57 57
 		$this->allowedCurrencies = Utils::transformCurrencies($allowedCurrencies);
Please login to merge, or discard this patch.
src/Caching/Cache.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 	}
28 28
 
29 29
 
30
-	public function set(string $key, mixed $value, \DateInterval|int|null $ttl = null): bool
30
+	public function set(string $key, mixed $value, \DateInterval | int | null $ttl = null): bool
31 31
 	{
32 32
 		return (bool) file_put_contents($this->file($key), $value);
33 33
 	}
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 	/**
59 59
 	 * @param iterable<mixed> $values
60 60
 	 */
61
-	public function setMultiple(iterable $values, \DateInterval|int|null $ttl = null): bool
61
+	public function setMultiple(iterable $values, \DateInterval | int | null $ttl = null): bool
62 62
 	{
63 63
 		throw new \RuntimeException('not implemented');
64 64
 	}
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 	private function file(string $key): string
80 80
 	{
81 81
 		if (!isset($this->keys[$key])) {
82
-			$this->keys[$key] = $this->tempDir . '/' . md5($key);
82
+			$this->keys[$key] = $this->tempDir.'/'.md5($key);
83 83
 		}
84 84
 
85 85
 		return $this->keys[$key];
Please login to merge, or discard this patch.
src/Driver/Cnb/Day.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 			return $url;
56 56
 		}
57 57
 
58
-		return "$url?date=" . urlencode($date->format('d.m.Y'));
58
+		return "$url?date=".urlencode($date->format('d.m.Y'));
59 59
 	}
60 60
 
61 61
 }
Please login to merge, or discard this patch.
src/RatingList/RatingListCache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 	}
39 39
 
40 40
 
41
-	public function flush(string|Driver\Driver $driver, \DateTimeInterface $date = null): void
41
+	public function flush(string | Driver\Driver $driver, \DateTimeInterface $date = null): void
42 42
 	{
43 43
 		$this->cache->delete(
44 44
 			self::createKey(is_string($driver) ? $driver : $driver::class, $date),
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 	{
120 120
 		$suffix = $date === null ? '' : $date->format('.Y-m-d');
121 121
 
122
-		return self::driverName($driver) . $suffix;
122
+		return self::driverName($driver).$suffix;
123 123
 	}
124 124
 
125 125
 
Please login to merge, or discard this patch.
src/Driver/Driver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
 	protected function createRequest(?\DateTimeInterface $date): RequestInterface
110 110
 	{
111 111
 		if ($date !== null && $date->getTimezone()->getName() !== $this->timeZone) {
112
-			$date = new \DateTime('@' . $date->getTimestamp(), new \DateTimeZone('UTC'));
112
+			$date = new \DateTime('@'.$date->getTimestamp(), new \DateTimeZone('UTC'));
113 113
 			$date->setTimezone(new \DateTimeZone($this->timeZone));
114 114
 		}
115 115
 
Please login to merge, or discard this patch.