filips123 /
ConfigWriter
| 1 | <?php |
||
| 2 | |||
| 3 | namespace ConfigWriter\Writers; |
||
| 4 | |||
| 5 | use ConfigWriter\Exceptions\WriteException; |
||
| 6 | use ConfigWriter\AbstractConfig; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * Configuration writer interface. |
||
| 10 | * |
||
| 11 | * @since 2.0.0 |
||
| 12 | * |
||
| 13 | * @author Filip Š <[email protected]> |
||
| 14 | * |
||
| 15 | * @license MIT |
||
| 16 | * |
||
| 17 | * @package ConfigWriter |
||
| 18 | */ |
||
| 19 | |||
| 20 | interface WriterInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Returns configuration from `$config` as encoded string. |
||
| 24 | * |
||
| 25 | * @param AbstractWriter $config Configuration |
||
|
0 ignored issues
–
show
|
|||
| 26 | * @param array $options Writer options (optional) |
||
| 27 | * |
||
| 28 | * @return string Encoded configuration string |
||
| 29 | * |
||
| 30 | * @throws WriteException If there is an error while writing a string |
||
| 31 | */ |
||
| 32 | public function write(AbstractConfig $config, $options = []); |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Returns an array of allowed file extensions for this writer. |
||
| 36 | * |
||
| 37 | * @return array Array of file extensions |
||
| 38 | */ |
||
| 39 | public static function getSupportedExtensions(); |
||
| 40 | } |
||
| 41 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths