@@ -18,7 +18,7 @@ |
||
| 18 | 18 | |
| 19 | 19 | $loader = new DependencyInjection\Loader\YamlFileLoader( |
| 20 | 20 | $container, |
| 21 | - new FileLocator(__DIR__ . '/../Resources/config') |
|
| 21 | + new FileLocator(__DIR__.'/../Resources/config') |
|
| 22 | 22 | ); |
| 23 | 23 | $loader->load('tesseract_bridge.yaml'); |
| 24 | 24 | |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | ->scalarNode('path') |
| 29 | 29 | ->defaultNull() |
| 30 | 30 | ->example('tesseract') |
| 31 | - ->info('Path to tesseract cli binary. ' . |
|
| 31 | + ->info('Path to tesseract cli binary. '. |
|
| 32 | 32 | 'It could be just "tesseract" in case binary in PATH or relative/absolute') |
| 33 | 33 | ->end() |
| 34 | 34 | ->end() |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | ->scalarNode('path') |
| 40 | 40 | ->defaultNull() |
| 41 | 41 | ->example('libtesseract.so.4') |
| 42 | - ->info('Path to tesseract shared library. It could be' . |
|
| 42 | + ->info('Path to tesseract shared library. It could be'. |
|
| 43 | 43 | 'just "libtesseract.so.4" in case library is in PATH or relative/absolute') |
| 44 | 44 | ->end() |
| 45 | 45 | ->end() |
@@ -46,35 +46,35 @@ |
||
| 46 | 46 | return [ |
| 47 | 47 | [ |
| 48 | 48 | [], |
| 49 | - 'The child ' . |
|
| 50 | - '(config "integrations" under)|(node "integrations" at path)' . |
|
| 49 | + 'The child '. |
|
| 50 | + '(config "integrations" under)|(node "integrations" at path)'. |
|
| 51 | 51 | ' "bicycle_tesseract_bridge"| must be configured.', |
| 52 | 52 | ], |
| 53 | 53 | [ |
| 54 | 54 | ['integrations' => []], |
| 55 | - 'The child ' . |
|
| 56 | - '(config "integrations" under)|(node "integrations" at path)' . |
|
| 55 | + 'The child '. |
|
| 56 | + '(config "integrations" under)|(node "integrations" at path)'. |
|
| 57 | 57 | ' "bicycle_tesseract_bridge" must be configured.', |
| 58 | 58 | ], |
| 59 | 59 | [ |
| 60 | 60 | ['bicycle_tesseract_bridge' => []], |
| 61 | - 'The child ' . |
|
| 62 | - '(config "integrations" under)|(node "integrations" at path)' . |
|
| 61 | + 'The child '. |
|
| 62 | + '(config "integrations" under)|(node "integrations" at path)'. |
|
| 63 | 63 | ' "bicycle_tesseract_bridge" must be configured.', |
| 64 | 64 | ], |
| 65 | 65 | [ |
| 66 | 66 | ['bicycle_tesseract_bridge' => ['integrations' => []]], |
| 67 | - 'Invalid configuration for path "bicycle_tesseract_bridge.integrations": ' . |
|
| 67 | + 'Invalid configuration for path "bicycle_tesseract_bridge.integrations": '. |
|
| 68 | 68 | 'At least one integration must be enabled', |
| 69 | 69 | ], |
| 70 | 70 | [ |
| 71 | 71 | ['bicycle_tesseract_bridge' => ['integrations' => ['cli' => [], 'ffi' => []]]], |
| 72 | - 'Invalid configuration for path "bicycle_tesseract_bridge.integrations": ' . |
|
| 72 | + 'Invalid configuration for path "bicycle_tesseract_bridge.integrations": '. |
|
| 73 | 73 | 'Enabled integrations must have configured path', |
| 74 | 74 | ], |
| 75 | 75 | [ |
| 76 | 76 | ['bicycle_tesseract_bridge' => ['integrations' => ['cli' => ['path' => 'test'], 'ffi' => []]]], |
| 77 | - 'Invalid configuration for path "bicycle_tesseract_bridge.integrations": ' . |
|
| 77 | + 'Invalid configuration for path "bicycle_tesseract_bridge.integrations": '. |
|
| 78 | 78 | 'Enabled integrations must have configured path', |
| 79 | 79 | ], |
| 80 | 80 | ]; |