@@ -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 | } |
@@ -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 | } |
@@ -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++; |
@@ -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) |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | $container['zip.inflator'] = null; |
43 | 43 | $container['zip.deflator'] = null; |
44 | 44 | |
45 | - $container['resource-manager'] = function ($container) { |
|
45 | + $container['resource-manager'] = function($container) { |
|
46 | 46 | return new ResourceManager( |
47 | 47 | $container['request-mapper'], |
48 | 48 | $container['resource-teleporter'], |
@@ -50,31 +50,31 @@ discard block |
||
50 | 50 | ); |
51 | 51 | }; |
52 | 52 | |
53 | - $container['executable-finder'] = function ($container) { |
|
53 | + $container['executable-finder'] = function($container) { |
|
54 | 54 | return new ExecutableFinder(); |
55 | 55 | }; |
56 | 56 | |
57 | - $container['request-mapper'] = function ($container) { |
|
57 | + $container['request-mapper'] = function($container) { |
|
58 | 58 | return new RequestMapper($container['target-locator']); |
59 | 59 | }; |
60 | 60 | |
61 | - $container['target-locator'] = function () { |
|
61 | + $container['target-locator'] = function() { |
|
62 | 62 | return new TargetLocator(); |
63 | 63 | }; |
64 | 64 | |
65 | - $container['teleporter-container'] = function ($container) { |
|
65 | + $container['teleporter-container'] = function($container) { |
|
66 | 66 | return TeleporterContainer::load(); |
67 | 67 | }; |
68 | 68 | |
69 | - $container['resource-teleporter'] = function ($container) { |
|
69 | + $container['resource-teleporter'] = function($container) { |
|
70 | 70 | return new ResourceTeleporter($container['teleporter-container']); |
71 | 71 | }; |
72 | 72 | |
73 | - $container['filesystem'] = function () { |
|
73 | + $container['filesystem'] = function() { |
|
74 | 74 | return new Filesystem(); |
75 | 75 | }; |
76 | 76 | |
77 | - $container['Alchemy\\Zippy\\Adapter\\ZipAdapter'] = function ($container) { |
|
77 | + $container['Alchemy\\Zippy\\Adapter\\ZipAdapter'] = function($container) { |
|
78 | 78 | return ZipAdapter::newInstance( |
79 | 79 | $container['executable-finder'], |
80 | 80 | $container['resource-manager'], |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | $container['gnu-tar.inflator'] = null; |
87 | 87 | $container['gnu-tar.deflator'] = null; |
88 | 88 | |
89 | - $container['Alchemy\\Zippy\\Adapter\\GNUTar\\TarGNUTarAdapter'] = function ($container) { |
|
89 | + $container['Alchemy\\Zippy\\Adapter\\GNUTar\\TarGNUTarAdapter'] = function($container) { |
|
90 | 90 | return TarGNUTarAdapter::newInstance( |
91 | 91 | $container['executable-finder'], |
92 | 92 | $container['resource-manager'], |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | ); |
96 | 96 | }; |
97 | 97 | |
98 | - $container['Alchemy\\Zippy\\Adapter\\GNUTar\\TarGzGNUTarAdapter'] = function ($container) { |
|
98 | + $container['Alchemy\\Zippy\\Adapter\\GNUTar\\TarGzGNUTarAdapter'] = function($container) { |
|
99 | 99 | return TarGzGNUTarAdapter::newInstance( |
100 | 100 | $container['executable-finder'], |
101 | 101 | $container['resource-manager'], |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | ); |
105 | 105 | }; |
106 | 106 | |
107 | - $container['Alchemy\\Zippy\\Adapter\\GNUTar\\TarBz2GNUTarAdapter'] = function ($container) { |
|
107 | + $container['Alchemy\\Zippy\\Adapter\\GNUTar\\TarBz2GNUTarAdapter'] = function($container) { |
|
108 | 108 | return TarBz2GNUTarAdapter::newInstance( |
109 | 109 | $container['executable-finder'], |
110 | 110 | $container['resource-manager'], |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | $container['bsd-tar.inflator'] = null; |
117 | 117 | $container['bsd-tar.deflator'] = null; |
118 | 118 | |
119 | - $container['Alchemy\\Zippy\\Adapter\\BSDTar\\TarBSDTarAdapter'] = function ($container) { |
|
119 | + $container['Alchemy\\Zippy\\Adapter\\BSDTar\\TarBSDTarAdapter'] = function($container) { |
|
120 | 120 | return TarBSDTarAdapter::newInstance( |
121 | 121 | $container['executable-finder'], |
122 | 122 | $container['resource-manager'], |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | ); |
126 | 126 | }; |
127 | 127 | |
128 | - $container['Alchemy\\Zippy\\Adapter\\BSDTar\\TarGzBSDTarAdapter'] = function ($container) { |
|
128 | + $container['Alchemy\\Zippy\\Adapter\\BSDTar\\TarGzBSDTarAdapter'] = function($container) { |
|
129 | 129 | return TarGzBSDTarAdapter::newInstance( |
130 | 130 | $container['executable-finder'], |
131 | 131 | $container['resource-manager'], |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | ); |
135 | 135 | }; |
136 | 136 | |
137 | - $container['Alchemy\\Zippy\\Adapter\\BSDTar\\TarBz2BSDTarAdapter'] = function ($container) { |
|
137 | + $container['Alchemy\\Zippy\\Adapter\\BSDTar\\TarBz2BSDTarAdapter'] = function($container) { |
|
138 | 138 | return TarBz2BSDTarAdapter::newInstance( |
139 | 139 | $container['executable-finder'], |
140 | 140 | $container['resource-manager'], |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | $container['bsd-tar.deflator']); |
143 | 143 | }; |
144 | 144 | |
145 | - $container['Alchemy\\Zippy\\Adapter\\ZipExtensionAdapter'] = function () { |
|
145 | + $container['Alchemy\\Zippy\\Adapter\\ZipExtensionAdapter'] = function() { |
|
146 | 146 | return ZipExtensionAdapter::newInstance(); |
147 | 147 | }; |
148 | 148 |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | */ |
48 | 48 | protected function doCreate($path, $files, $recursive) |
49 | 49 | { |
50 | - $files = (array)$files; |
|
50 | + $files = (array) $files; |
|
51 | 51 | |
52 | 52 | $builder = $this |
53 | 53 | ->inflator |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | $collection = $this->manager->handle(getcwd(), $files); |
67 | 67 | $builder->setWorkingDirectory($collection->getContext()); |
68 | 68 | |
69 | - $collection->forAll(function ($i, Resource $resource) use ($builder) { |
|
69 | + $collection->forAll(function($i, Resource $resource) use ($builder) { |
|
70 | 70 | return $builder->add($resource->getTarget()); |
71 | 71 | }); |
72 | 72 | |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | */ |
136 | 136 | protected function doAdd(ResourceInterface $resource, $files, $recursive) |
137 | 137 | { |
138 | - $files = (array)$files; |
|
138 | + $files = (array) $files; |
|
139 | 139 | |
140 | 140 | $builder = $this |
141 | 141 | ->inflator |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | |
154 | 154 | $builder->setWorkingDirectory($collection->getContext()); |
155 | 155 | |
156 | - $collection->forAll(function ($i, Resource $resource) use ($builder) { |
|
156 | + $collection->forAll(function($i, Resource $resource) use ($builder) { |
|
157 | 157 | return $builder->add($resource->getTarget()); |
158 | 158 | }); |
159 | 159 | |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | */ |
231 | 231 | protected function doRemove(ResourceInterface $resource, $files) |
232 | 232 | { |
233 | - $files = (array)$files; |
|
233 | + $files = (array) $files; |
|
234 | 234 | |
235 | 235 | $builder = $this |
236 | 236 | ->inflator |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | throw new InvalidArgumentException(sprintf("%s is not a directory", $to)); |
331 | 331 | } |
332 | 332 | |
333 | - $members = (array)$members; |
|
333 | + $members = (array) $members; |
|
334 | 334 | |
335 | 335 | $builder = $this |
336 | 336 | ->deflator |
@@ -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 | } |