@@ -53,7 +53,7 @@ |
||
| 53 | 53 | * @param ParserInterface $parser An output parser |
| 54 | 54 | * @param ResourceManager $manager A resource manager |
| 55 | 55 | * @param ProcessBuilderFactoryInterface $inflator A process builder factory for the inflator binary |
| 56 | - * @param ProcessBuilderFactoryInterface|null $deflator A process builder factory for the deflator binary |
|
| 56 | + * @param ProcessBuilderFactoryInterface $deflator A process builder factory for the deflator binary |
|
| 57 | 57 | */ |
| 58 | 58 | public function __construct( |
| 59 | 59 | ParserInterface $parser, |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | |
| 182 | 182 | private static function findABinary($wish, array $defaults, ExecutableFinder $finder) |
| 183 | 183 | { |
| 184 | - $possibles = $wish ? (array)$wish : $defaults; |
|
| 184 | + $possibles = $wish ? (array) $wish : $defaults; |
|
| 185 | 185 | |
| 186 | 186 | $binary = null; |
| 187 | 187 | |
@@ -207,11 +207,10 @@ discard block |
||
| 207 | 207 | { |
| 208 | 208 | $iterations = 0; |
| 209 | 209 | |
| 210 | - array_walk($files, function ($file) use ($builder, &$iterations) { |
|
| 210 | + array_walk($files, function($file) use ($builder, &$iterations) { |
|
| 211 | 211 | $builder->add( |
| 212 | 212 | $file instanceof \SplFileInfo ? |
| 213 | - $file->getRealpath() : |
|
| 214 | - ($file instanceof MemberInterface ? $file->getLocation() : $file) |
|
| 213 | + $file->getRealpath() : ($file instanceof MemberInterface ? $file->getLocation() : $file) |
|
| 215 | 214 | ); |
| 216 | 215 | |
| 217 | 216 | $iterations++; |
@@ -345,6 +345,9 @@ |
||
| 345 | 345 | return new \SplFileInfo($to ? : $resource->getResource()); |
| 346 | 346 | } |
| 347 | 347 | |
| 348 | + /** |
|
| 349 | + * @param string $to |
|
| 350 | + */ |
|
| 348 | 351 | protected function doTarExtractMembers($options, ResourceInterface $resource, $members, $to = null, $overwrite = false) |
| 349 | 352 | { |
| 350 | 353 | if (null !== $to && !is_dir($to)) { |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | )); |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | - return $this->parser->parseInflatorVersion($process->getOutput() ? : ''); |
|
| 92 | + return $this->parser->parseInflatorVersion($process->getOutput() ?: ''); |
|
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | $builder->add('-f'); |
| 125 | 125 | $builder->add($path); |
| 126 | 126 | $builder->add('-T'); |
| 127 | - $builder->add( $nullFile); |
|
| 127 | + $builder->add($nullFile); |
|
| 128 | 128 | |
| 129 | 129 | $process = $builder->getProcess(); |
| 130 | 130 | $process->run(); |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | |
| 142 | 142 | $builder->setWorkingDirectory($collection->getContext()); |
| 143 | 143 | |
| 144 | - $collection->forAll(function ($i, Resource $resource) use ($builder) { |
|
| 144 | + $collection->forAll(function($i, Resource $resource) use ($builder) { |
|
| 145 | 145 | return $builder->add($resource->getTarget()); |
| 146 | 146 | }); |
| 147 | 147 | |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | |
| 201 | 201 | $members = array(); |
| 202 | 202 | |
| 203 | - foreach ($this->parser->parseFileListing($process->getOutput() ? : '') as $member) { |
|
| 203 | + foreach ($this->parser->parseFileListing($process->getOutput() ?: '') as $member) { |
|
| 204 | 204 | $members[] = new Member( |
| 205 | 205 | $resource, |
| 206 | 206 | $this, |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | |
| 241 | 241 | $builder->setWorkingDirectory($collection->getContext()); |
| 242 | 242 | |
| 243 | - $collection->forAll(function ($i, Resource $resource) use ($builder) { |
|
| 243 | + $collection->forAll(function($i, Resource $resource) use ($builder) { |
|
| 244 | 244 | return $builder->add($resource->getTarget()); |
| 245 | 245 | }); |
| 246 | 246 | |
@@ -342,7 +342,7 @@ discard block |
||
| 342 | 342 | )); |
| 343 | 343 | } |
| 344 | 344 | |
| 345 | - return new \SplFileInfo($to ? : $resource->getResource()); |
|
| 345 | + return new \SplFileInfo($to ?: $resource->getResource()); |
|
| 346 | 346 | } |
| 347 | 347 | |
| 348 | 348 | protected function doTarExtractMembers($options, ResourceInterface $resource, $members, $to = null, $overwrite = false) |
@@ -301,6 +301,7 @@ discard block |
||
| 301 | 301 | |
| 302 | 302 | /** |
| 303 | 303 | * @info is public for PHP 5.3 compatibility, should be private |
| 304 | + * @param string $file |
|
| 304 | 305 | */ |
| 305 | 306 | public function checkReadability(\ZipArchive $zip, $file) |
| 306 | 307 | { |
@@ -314,6 +315,7 @@ discard block |
||
| 314 | 315 | |
| 315 | 316 | /** |
| 316 | 317 | * @info is public for PHP 5.3 compatibility, should be private |
| 318 | + * @param string $file |
|
| 317 | 319 | */ |
| 318 | 320 | public function addFileToZip(\ZipArchive $zip, $file) |
| 319 | 321 | { |
@@ -251,11 +251,11 @@ |
||
| 251 | 251 | $adapter = $this; |
| 252 | 252 | |
| 253 | 253 | try { |
| 254 | - $collection->forAll(function ($i, Resource $resource) use ($zipresource, $stack, $recursive, $adapter) { |
|
| 254 | + $collection->forAll(function($i, Resource $resource) use ($zipresource, $stack, $recursive, $adapter) { |
|
| 255 | 255 | $adapter->checkReadability($zipresource->getResource(), $resource->getTarget()); |
| 256 | 256 | if (is_dir($resource->getTarget())) { |
| 257 | 257 | if ($recursive) { |
| 258 | - $stack->push($resource->getTarget() . ((substr($resource->getTarget(), -1) === DIRECTORY_SEPARATOR) ? '' : DIRECTORY_SEPARATOR )); |
|
| 258 | + $stack->push($resource->getTarget() . ((substr($resource->getTarget(), -1) === DIRECTORY_SEPARATOR) ? '' : DIRECTORY_SEPARATOR)); |
|
| 259 | 259 | } else { |
| 260 | 260 | $adapter->addEmptyDir($zipresource->getResource(), $resource->getTarget()); |
| 261 | 261 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Maps the corresponding parser to the selected adapter |
| 31 | 31 | * |
| 32 | - * @param $adapterName An adapter name |
|
| 32 | + * @param string $adapterName An adapter name |
|
| 33 | 33 | * |
| 34 | 34 | * @return ParserInterface |
| 35 | 35 | * |
@@ -40,10 +40,10 @@ |
||
| 40 | 40 | $context['_parent'] = (array) $context; |
| 41 | 41 | $context['_seq'] = twig_ensure_traversable((isset($context["tree"]) ? $context["tree"] : $this->getContext($context, "tree"))); |
| 42 | 42 | $context['loop'] = array( |
| 43 | - 'parent' => $context['_parent'], |
|
| 44 | - 'index0' => 0, |
|
| 45 | - 'index' => 1, |
|
| 46 | - 'first' => true, |
|
| 43 | + 'parent' => $context['_parent'], |
|
| 44 | + 'index0' => 0, |
|
| 45 | + 'index' => 1, |
|
| 46 | + 'first' => true, |
|
| 47 | 47 | ); |
| 48 | 48 | if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { |
| 49 | 49 | $length = count($context['_seq']); |
@@ -106,6 +106,6 @@ |
||
| 106 | 106 | |
| 107 | 107 | public function getDebugInfo() |
| 108 | 108 | { |
| 109 | - return array ( 73 => 13, 27 => 3, 120 => 35, 106 => 33, 98 => 29, 92 => 27, 89 => 26, 86 => 25, 77 => 21, 59 => 8, 48 => 10, 127 => 64, 122 => 61, 109 => 59, 24 => 4, 93 => 27, 74 => 20, 69 => 11, 63 => 5, 57 => 7, 97 => 27, 61 => 26, 45 => 7, 144 => 39, 136 => 36, 129 => 35, 125 => 33, 118 => 32, 114 => 30, 105 => 58, 101 => 30, 95 => 28, 88 => 50, 72 => 18, 66 => 18, 55 => 14, 26 => 3, 43 => 8, 41 => 9, 21 => 4, 379 => 58, 363 => 56, 358 => 55, 355 => 54, 350 => 53, 333 => 52, 331 => 51, 329 => 50, 318 => 49, 303 => 46, 291 => 45, 265 => 40, 261 => 39, 258 => 37, 255 => 35, 253 => 34, 236 => 33, 234 => 32, 222 => 31, 211 => 28, 205 => 27, 199 => 26, 185 => 25, 174 => 22, 168 => 21, 162 => 20, 148 => 19, 135 => 16, 133 => 15, 126 => 13, 119 => 11, 117 => 10, 104 => 32, 53 => 12, 42 => 6, 37 => 8, 34 => 4, 25 => 6, 19 => 1, 110 => 32, 103 => 28, 99 => 55, 90 => 27, 87 => 15, 83 => 23, 79 => 21, 64 => 16, 62 => 9, 58 => 15, 52 => 13, 49 => 11, 46 => 9, 40 => 6, 80 => 22, 76 => 20, 71 => 12, 60 => 13, 56 => 13, 50 => 11, 31 => 5, 94 => 26, 91 => 25, 84 => 8, 81 => 22, 75 => 20, 70 => 19, 68 => 18, 65 => 10, 47 => 10, 44 => 9, 38 => 5, 33 => 5, 22 => 8, 51 => 12, 39 => 6, 35 => 4, 32 => 6, 29 => 8, 28 => 5,); |
|
| 109 | + return array(73 => 13, 27 => 3, 120 => 35, 106 => 33, 98 => 29, 92 => 27, 89 => 26, 86 => 25, 77 => 21, 59 => 8, 48 => 10, 127 => 64, 122 => 61, 109 => 59, 24 => 4, 93 => 27, 74 => 20, 69 => 11, 63 => 5, 57 => 7, 97 => 27, 61 => 26, 45 => 7, 144 => 39, 136 => 36, 129 => 35, 125 => 33, 118 => 32, 114 => 30, 105 => 58, 101 => 30, 95 => 28, 88 => 50, 72 => 18, 66 => 18, 55 => 14, 26 => 3, 43 => 8, 41 => 9, 21 => 4, 379 => 58, 363 => 56, 358 => 55, 355 => 54, 350 => 53, 333 => 52, 331 => 51, 329 => 50, 318 => 49, 303 => 46, 291 => 45, 265 => 40, 261 => 39, 258 => 37, 255 => 35, 253 => 34, 236 => 33, 234 => 32, 222 => 31, 211 => 28, 205 => 27, 199 => 26, 185 => 25, 174 => 22, 168 => 21, 162 => 20, 148 => 19, 135 => 16, 133 => 15, 126 => 13, 119 => 11, 117 => 10, 104 => 32, 53 => 12, 42 => 6, 37 => 8, 34 => 4, 25 => 6, 19 => 1, 110 => 32, 103 => 28, 99 => 55, 90 => 27, 87 => 15, 83 => 23, 79 => 21, 64 => 16, 62 => 9, 58 => 15, 52 => 13, 49 => 11, 46 => 9, 40 => 6, 80 => 22, 76 => 20, 71 => 12, 60 => 13, 56 => 13, 50 => 11, 31 => 5, 94 => 26, 91 => 25, 84 => 8, 81 => 22, 75 => 20, 70 => 19, 68 => 18, 65 => 10, 47 => 10, 44 => 9, 38 => 5, 33 => 5, 22 => 8, 51 => 12, 39 => 6, 35 => 4, 32 => 6, 29 => 8, 28 => 5,); |
|
| 110 | 110 | } |
| 111 | 111 | } |
@@ -182,10 +182,10 @@ discard block |
||
| 182 | 182 | $context['_parent'] = (array) $context; |
| 183 | 183 | $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "interfaces")); |
| 184 | 184 | $context['loop'] = array( |
| 185 | - 'parent' => $context['_parent'], |
|
| 186 | - 'index0' => 0, |
|
| 187 | - 'index' => 1, |
|
| 188 | - 'first' => true, |
|
| 185 | + 'parent' => $context['_parent'], |
|
| 186 | + 'index0' => 0, |
|
| 187 | + 'index' => 1, |
|
| 188 | + 'first' => true, |
|
| 189 | 189 | ); |
| 190 | 190 | if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { |
| 191 | 191 | $length = count($context['_seq']); |
@@ -483,10 +483,10 @@ discard block |
||
| 483 | 483 | $context['_parent'] = (array) $context; |
| 484 | 484 | $context['_seq'] = twig_ensure_traversable((isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods"))); |
| 485 | 485 | $context['loop'] = array( |
| 486 | - 'parent' => $context['_parent'], |
|
| 487 | - 'index0' => 0, |
|
| 488 | - 'index' => 1, |
|
| 489 | - 'first' => true, |
|
| 486 | + 'parent' => $context['_parent'], |
|
| 487 | + 'index0' => 0, |
|
| 488 | + 'index' => 1, |
|
| 489 | + 'first' => true, |
|
| 490 | 490 | ); |
| 491 | 491 | if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { |
| 492 | 492 | $length = count($context['_seq']); |
@@ -558,10 +558,10 @@ discard block |
||
| 558 | 558 | $context['_parent'] = (array) $context; |
| 559 | 559 | $context['_seq'] = twig_ensure_traversable((isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods"))); |
| 560 | 560 | $context['loop'] = array( |
| 561 | - 'parent' => $context['_parent'], |
|
| 562 | - 'index0' => 0, |
|
| 563 | - 'index' => 1, |
|
| 564 | - 'first' => true, |
|
| 561 | + 'parent' => $context['_parent'], |
|
| 562 | + 'index0' => 0, |
|
| 563 | + 'index' => 1, |
|
| 564 | + 'first' => true, |
|
| 565 | 565 | ); |
| 566 | 566 | if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { |
| 567 | 567 | $length = count($context['_seq']); |
@@ -694,6 +694,6 @@ |
||
| 694 | 694 | |
| 695 | 695 | public function getDebugInfo() |
| 696 | 696 | { |
| 697 | - return array ( 680 => 211, 675 => 209, 671 => 207, 669 => 206, 666 => 205, 661 => 203, 657 => 201, 655 => 200, 652 => 199, 647 => 197, 643 => 195, 641 => 194, 638 => 193, 633 => 191, 629 => 189, 627 => 188, 622 => 186, 618 => 185, 612 => 182, 602 => 181, 597 => 180, 594 => 179, 575 => 175, 557 => 174, 554 => 173, 549 => 170, 533 => 167, 528 => 165, 526 => 164, 521 => 161, 513 => 160, 504 => 157, 500 => 155, 483 => 154, 480 => 153, 477 => 152, 472 => 149, 463 => 146, 459 => 145, 453 => 143, 448 => 142, 444 => 141, 440 => 140, 437 => 139, 433 => 138, 430 => 137, 427 => 136, 422 => 133, 412 => 129, 408 => 128, 403 => 126, 400 => 125, 396 => 124, 393 => 123, 390 => 122, 385 => 119, 376 => 116, 372 => 115, 369 => 114, 365 => 113, 362 => 112, 359 => 111, 354 => 108, 345 => 105, 341 => 104, 338 => 103, 334 => 102, 328 => 100, 320 => 95, 316 => 94, 312 => 92, 309 => 91, 304 => 88, 295 => 85, 285 => 83, 282 => 82, 278 => 81, 275 => 80, 272 => 79, 268 => 76, 266 => 75, 263 => 74, 257 => 71, 252 => 70, 247 => 69, 242 => 68, 237 => 67, 232 => 66, 227 => 65, 223 => 64, 220 => 63, 201 => 58, 182 => 56, 179 => 55, 177 => 54, 173 => 52, 171 => 51, 167 => 50, 161 => 49, 157 => 48, 154 => 47, 147 => 43, 140 => 39, 134 => 36, 112 => 27, 108 => 25, 152 => 47, 143 => 44, 139 => 43, 132 => 41, 123 => 37, 150 => 46, 141 => 44, 137 => 43, 131 => 35, 128 => 39, 124 => 37, 115 => 35, 111 => 34, 107 => 32, 102 => 30, 85 => 25, 82 => 15, 73 => 19, 27 => 3, 120 => 30, 106 => 24, 98 => 28, 92 => 27, 89 => 26, 86 => 23, 77 => 20, 59 => 14, 48 => 10, 127 => 64, 122 => 31, 109 => 59, 24 => 4, 93 => 19, 74 => 21, 69 => 11, 63 => 16, 57 => 9, 97 => 20, 61 => 26, 45 => 9, 144 => 39, 136 => 37, 129 => 35, 125 => 33, 118 => 32, 114 => 30, 105 => 31, 101 => 30, 95 => 27, 88 => 17, 72 => 18, 66 => 17, 55 => 14, 26 => 3, 43 => 5, 41 => 7, 21 => 4, 379 => 58, 363 => 56, 358 => 55, 355 => 54, 350 => 53, 333 => 52, 331 => 101, 329 => 50, 318 => 49, 303 => 46, 291 => 84, 265 => 40, 261 => 39, 258 => 37, 255 => 35, 253 => 34, 236 => 33, 234 => 32, 222 => 31, 211 => 28, 205 => 27, 199 => 57, 185 => 25, 174 => 22, 168 => 21, 162 => 20, 148 => 19, 135 => 16, 133 => 41, 126 => 33, 119 => 35, 117 => 29, 104 => 32, 53 => 11, 42 => 6, 37 => 8, 34 => 4, 25 => 6, 19 => 1, 110 => 32, 103 => 23, 99 => 29, 90 => 18, 87 => 15, 83 => 23, 79 => 14, 64 => 16, 62 => 9, 58 => 15, 52 => 13, 49 => 11, 46 => 9, 40 => 6, 80 => 23, 76 => 20, 71 => 20, 60 => 10, 56 => 13, 50 => 10, 31 => 5, 94 => 26, 91 => 25, 84 => 8, 81 => 22, 75 => 20, 70 => 18, 68 => 18, 65 => 10, 47 => 9, 44 => 9, 38 => 3, 33 => 5, 22 => 8, 51 => 7, 39 => 7, 35 => 4, 32 => 6, 29 => 8, 28 => 3,); |
|
| 697 | + return array(680 => 211, 675 => 209, 671 => 207, 669 => 206, 666 => 205, 661 => 203, 657 => 201, 655 => 200, 652 => 199, 647 => 197, 643 => 195, 641 => 194, 638 => 193, 633 => 191, 629 => 189, 627 => 188, 622 => 186, 618 => 185, 612 => 182, 602 => 181, 597 => 180, 594 => 179, 575 => 175, 557 => 174, 554 => 173, 549 => 170, 533 => 167, 528 => 165, 526 => 164, 521 => 161, 513 => 160, 504 => 157, 500 => 155, 483 => 154, 480 => 153, 477 => 152, 472 => 149, 463 => 146, 459 => 145, 453 => 143, 448 => 142, 444 => 141, 440 => 140, 437 => 139, 433 => 138, 430 => 137, 427 => 136, 422 => 133, 412 => 129, 408 => 128, 403 => 126, 400 => 125, 396 => 124, 393 => 123, 390 => 122, 385 => 119, 376 => 116, 372 => 115, 369 => 114, 365 => 113, 362 => 112, 359 => 111, 354 => 108, 345 => 105, 341 => 104, 338 => 103, 334 => 102, 328 => 100, 320 => 95, 316 => 94, 312 => 92, 309 => 91, 304 => 88, 295 => 85, 285 => 83, 282 => 82, 278 => 81, 275 => 80, 272 => 79, 268 => 76, 266 => 75, 263 => 74, 257 => 71, 252 => 70, 247 => 69, 242 => 68, 237 => 67, 232 => 66, 227 => 65, 223 => 64, 220 => 63, 201 => 58, 182 => 56, 179 => 55, 177 => 54, 173 => 52, 171 => 51, 167 => 50, 161 => 49, 157 => 48, 154 => 47, 147 => 43, 140 => 39, 134 => 36, 112 => 27, 108 => 25, 152 => 47, 143 => 44, 139 => 43, 132 => 41, 123 => 37, 150 => 46, 141 => 44, 137 => 43, 131 => 35, 128 => 39, 124 => 37, 115 => 35, 111 => 34, 107 => 32, 102 => 30, 85 => 25, 82 => 15, 73 => 19, 27 => 3, 120 => 30, 106 => 24, 98 => 28, 92 => 27, 89 => 26, 86 => 23, 77 => 20, 59 => 14, 48 => 10, 127 => 64, 122 => 31, 109 => 59, 24 => 4, 93 => 19, 74 => 21, 69 => 11, 63 => 16, 57 => 9, 97 => 20, 61 => 26, 45 => 9, 144 => 39, 136 => 37, 129 => 35, 125 => 33, 118 => 32, 114 => 30, 105 => 31, 101 => 30, 95 => 27, 88 => 17, 72 => 18, 66 => 17, 55 => 14, 26 => 3, 43 => 5, 41 => 7, 21 => 4, 379 => 58, 363 => 56, 358 => 55, 355 => 54, 350 => 53, 333 => 52, 331 => 101, 329 => 50, 318 => 49, 303 => 46, 291 => 84, 265 => 40, 261 => 39, 258 => 37, 255 => 35, 253 => 34, 236 => 33, 234 => 32, 222 => 31, 211 => 28, 205 => 27, 199 => 57, 185 => 25, 174 => 22, 168 => 21, 162 => 20, 148 => 19, 135 => 16, 133 => 41, 126 => 33, 119 => 35, 117 => 29, 104 => 32, 53 => 11, 42 => 6, 37 => 8, 34 => 4, 25 => 6, 19 => 1, 110 => 32, 103 => 23, 99 => 29, 90 => 18, 87 => 15, 83 => 23, 79 => 14, 64 => 16, 62 => 9, 58 => 15, 52 => 13, 49 => 11, 46 => 9, 40 => 6, 80 => 23, 76 => 20, 71 => 20, 60 => 10, 56 => 13, 50 => 10, 31 => 5, 94 => 26, 91 => 25, 84 => 8, 81 => 22, 75 => 20, 70 => 18, 68 => 18, 65 => 10, 47 => 9, 44 => 9, 38 => 3, 33 => 5, 22 => 8, 51 => 7, 39 => 7, 35 => 4, 32 => 6, 29 => 8, 28 => 3,); |
|
| 698 | 698 | } |
| 699 | 699 | } |
@@ -164,6 +164,6 @@ |
||
| 164 | 164 | |
| 165 | 165 | public function getDebugInfo() |
| 166 | 166 | { |
| 167 | - return array ( 150 => 46, 141 => 44, 137 => 43, 131 => 40, 128 => 39, 124 => 37, 115 => 35, 111 => 34, 107 => 32, 102 => 30, 85 => 25, 82 => 24, 73 => 13, 27 => 3, 120 => 35, 106 => 33, 98 => 28, 92 => 27, 89 => 26, 86 => 25, 77 => 21, 59 => 14, 48 => 10, 127 => 64, 122 => 61, 109 => 59, 24 => 4, 93 => 27, 74 => 21, 69 => 11, 63 => 15, 57 => 7, 97 => 27, 61 => 26, 45 => 7, 144 => 39, 136 => 36, 129 => 35, 125 => 33, 118 => 32, 114 => 30, 105 => 31, 101 => 30, 95 => 28, 88 => 50, 72 => 18, 66 => 18, 55 => 14, 26 => 3, 43 => 8, 41 => 7, 21 => 4, 379 => 58, 363 => 56, 358 => 55, 355 => 54, 350 => 53, 333 => 52, 331 => 51, 329 => 50, 318 => 49, 303 => 46, 291 => 45, 265 => 40, 261 => 39, 258 => 37, 255 => 35, 253 => 34, 236 => 33, 234 => 32, 222 => 31, 211 => 28, 205 => 27, 199 => 26, 185 => 25, 174 => 22, 168 => 21, 162 => 20, 148 => 19, 135 => 16, 133 => 41, 126 => 13, 119 => 11, 117 => 10, 104 => 32, 53 => 11, 42 => 6, 37 => 8, 34 => 4, 25 => 6, 19 => 1, 110 => 32, 103 => 28, 99 => 55, 90 => 27, 87 => 15, 83 => 23, 79 => 21, 64 => 16, 62 => 9, 58 => 15, 52 => 13, 49 => 11, 46 => 9, 40 => 6, 80 => 23, 76 => 20, 71 => 20, 60 => 13, 56 => 13, 50 => 10, 31 => 5, 94 => 26, 91 => 25, 84 => 8, 81 => 22, 75 => 20, 70 => 19, 68 => 18, 65 => 10, 47 => 9, 44 => 9, 38 => 5, 33 => 5, 22 => 8, 51 => 12, 39 => 6, 35 => 4, 32 => 6, 29 => 8, 28 => 3,); |
|
| 167 | + return array(150 => 46, 141 => 44, 137 => 43, 131 => 40, 128 => 39, 124 => 37, 115 => 35, 111 => 34, 107 => 32, 102 => 30, 85 => 25, 82 => 24, 73 => 13, 27 => 3, 120 => 35, 106 => 33, 98 => 28, 92 => 27, 89 => 26, 86 => 25, 77 => 21, 59 => 14, 48 => 10, 127 => 64, 122 => 61, 109 => 59, 24 => 4, 93 => 27, 74 => 21, 69 => 11, 63 => 15, 57 => 7, 97 => 27, 61 => 26, 45 => 7, 144 => 39, 136 => 36, 129 => 35, 125 => 33, 118 => 32, 114 => 30, 105 => 31, 101 => 30, 95 => 28, 88 => 50, 72 => 18, 66 => 18, 55 => 14, 26 => 3, 43 => 8, 41 => 7, 21 => 4, 379 => 58, 363 => 56, 358 => 55, 355 => 54, 350 => 53, 333 => 52, 331 => 51, 329 => 50, 318 => 49, 303 => 46, 291 => 45, 265 => 40, 261 => 39, 258 => 37, 255 => 35, 253 => 34, 236 => 33, 234 => 32, 222 => 31, 211 => 28, 205 => 27, 199 => 26, 185 => 25, 174 => 22, 168 => 21, 162 => 20, 148 => 19, 135 => 16, 133 => 41, 126 => 13, 119 => 11, 117 => 10, 104 => 32, 53 => 11, 42 => 6, 37 => 8, 34 => 4, 25 => 6, 19 => 1, 110 => 32, 103 => 28, 99 => 55, 90 => 27, 87 => 15, 83 => 23, 79 => 21, 64 => 16, 62 => 9, 58 => 15, 52 => 13, 49 => 11, 46 => 9, 40 => 6, 80 => 23, 76 => 20, 71 => 20, 60 => 13, 56 => 13, 50 => 10, 31 => 5, 94 => 26, 91 => 25, 84 => 8, 81 => 22, 75 => 20, 70 => 19, 68 => 18, 65 => 10, 47 => 9, 44 => 9, 38 => 5, 33 => 5, 22 => 8, 51 => 12, 39 => 6, 35 => 4, 32 => 6, 29 => 8, 28 => 3,); |
|
| 168 | 168 | } |
| 169 | 169 | } |
@@ -166,6 +166,6 @@ |
||
| 166 | 166 | |
| 167 | 167 | public function getDebugInfo() |
| 168 | 168 | { |
| 169 | - return array ( 152 => 47, 143 => 44, 139 => 43, 132 => 41, 123 => 37, 150 => 46, 141 => 44, 137 => 43, 131 => 40, 128 => 39, 124 => 37, 115 => 35, 111 => 34, 107 => 32, 102 => 30, 85 => 25, 82 => 24, 73 => 19, 27 => 3, 120 => 35, 106 => 31, 98 => 28, 92 => 27, 89 => 26, 86 => 23, 77 => 20, 59 => 14, 48 => 10, 127 => 64, 122 => 61, 109 => 59, 24 => 4, 93 => 26, 74 => 21, 69 => 11, 63 => 16, 57 => 14, 97 => 27, 61 => 26, 45 => 9, 144 => 39, 136 => 42, 129 => 35, 125 => 33, 118 => 32, 114 => 30, 105 => 31, 101 => 30, 95 => 27, 88 => 50, 72 => 18, 66 => 17, 55 => 14, 26 => 3, 43 => 8, 41 => 7, 21 => 4, 379 => 58, 363 => 56, 358 => 55, 355 => 54, 350 => 53, 333 => 52, 331 => 51, 329 => 50, 318 => 49, 303 => 46, 291 => 45, 265 => 40, 261 => 39, 258 => 37, 255 => 35, 253 => 34, 236 => 33, 234 => 32, 222 => 31, 211 => 28, 205 => 27, 199 => 26, 185 => 25, 174 => 22, 168 => 21, 162 => 20, 148 => 19, 135 => 16, 133 => 41, 126 => 38, 119 => 35, 117 => 10, 104 => 32, 53 => 11, 42 => 6, 37 => 8, 34 => 4, 25 => 6, 19 => 1, 110 => 32, 103 => 30, 99 => 29, 90 => 25, 87 => 15, 83 => 23, 79 => 21, 64 => 16, 62 => 9, 58 => 15, 52 => 13, 49 => 11, 46 => 9, 40 => 6, 80 => 23, 76 => 20, 71 => 20, 60 => 15, 56 => 13, 50 => 10, 31 => 5, 94 => 26, 91 => 25, 84 => 8, 81 => 22, 75 => 20, 70 => 18, 68 => 18, 65 => 10, 47 => 9, 44 => 9, 38 => 5, 33 => 5, 22 => 8, 51 => 11, 39 => 7, 35 => 4, 32 => 6, 29 => 8, 28 => 3,); |
|
| 169 | + return array(152 => 47, 143 => 44, 139 => 43, 132 => 41, 123 => 37, 150 => 46, 141 => 44, 137 => 43, 131 => 40, 128 => 39, 124 => 37, 115 => 35, 111 => 34, 107 => 32, 102 => 30, 85 => 25, 82 => 24, 73 => 19, 27 => 3, 120 => 35, 106 => 31, 98 => 28, 92 => 27, 89 => 26, 86 => 23, 77 => 20, 59 => 14, 48 => 10, 127 => 64, 122 => 61, 109 => 59, 24 => 4, 93 => 26, 74 => 21, 69 => 11, 63 => 16, 57 => 14, 97 => 27, 61 => 26, 45 => 9, 144 => 39, 136 => 42, 129 => 35, 125 => 33, 118 => 32, 114 => 30, 105 => 31, 101 => 30, 95 => 27, 88 => 50, 72 => 18, 66 => 17, 55 => 14, 26 => 3, 43 => 8, 41 => 7, 21 => 4, 379 => 58, 363 => 56, 358 => 55, 355 => 54, 350 => 53, 333 => 52, 331 => 51, 329 => 50, 318 => 49, 303 => 46, 291 => 45, 265 => 40, 261 => 39, 258 => 37, 255 => 35, 253 => 34, 236 => 33, 234 => 32, 222 => 31, 211 => 28, 205 => 27, 199 => 26, 185 => 25, 174 => 22, 168 => 21, 162 => 20, 148 => 19, 135 => 16, 133 => 41, 126 => 38, 119 => 35, 117 => 10, 104 => 32, 53 => 11, 42 => 6, 37 => 8, 34 => 4, 25 => 6, 19 => 1, 110 => 32, 103 => 30, 99 => 29, 90 => 25, 87 => 15, 83 => 23, 79 => 21, 64 => 16, 62 => 9, 58 => 15, 52 => 13, 49 => 11, 46 => 9, 40 => 6, 80 => 23, 76 => 20, 71 => 20, 60 => 15, 56 => 13, 50 => 10, 31 => 5, 94 => 26, 91 => 25, 84 => 8, 81 => 22, 75 => 20, 70 => 18, 68 => 18, 65 => 10, 47 => 9, 44 => 9, 38 => 5, 33 => 5, 22 => 8, 51 => 11, 39 => 7, 35 => 4, 32 => 6, 29 => 8, 28 => 3,); |
|
| 170 | 170 | } |
| 171 | 171 | } |
@@ -246,6 +246,6 @@ |
||
| 246 | 246 | throw new InvalidArgumentException(sprintf('Target path %s is not writeable.', $directory)); |
| 247 | 247 | } |
| 248 | 248 | |
| 249 | - return realpath($directory).'/'.basename ($path); |
|
| 249 | + return realpath($directory) . '/' . basename($path); |
|
| 250 | 250 | } |
| 251 | 251 | } |