|
@@ -21,7 +21,7 @@ interface ConfigInterface
|
|
/**
|
|
/**
|
|
* Returns the path to the cache file.
|
|
* Returns the path to the cache file.
|
|
*
|
|
*
|
|
- * @return string
|
|
|
|
|
|
+ * @return string|null Returns null if not using cache
|
|
*/
|
|
*/
|
|
public function getCacheFile();
|
|
public function getCacheFile();
|
|
|
|
|
|
@@ -32,19 +32,10 @@ interface ConfigInterface
|
|
*/
|
|
*/
|
|
public function getCustomFixers();
|
|
public function getCustomFixers();
|
|
|
|
|
|
- /**
|
|
|
|
- * Returns the description of the configuration.
|
|
|
|
- *
|
|
|
|
- * A short one-line description for the configuration.
|
|
|
|
- *
|
|
|
|
- * @return string The description of the configuration
|
|
|
|
- */
|
|
|
|
- public function getDescription();
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* Returns files to scan.
|
|
* Returns files to scan.
|
|
*
|
|
*
|
|
- * @return iterable|Traversable|string[] $fixers
|
|
|
|
|
|
+ * @return iterable|\Traversable|string[]
|
|
*/
|
|
*/
|
|
public function getFinder();
|
|
public function getFinder();
|
|
|
|
|
|
@@ -102,7 +93,7 @@ interface ConfigInterface
|
|
/**
|
|
/**
|
|
* Adds a suite of custom fixers.
|
|
* Adds a suite of custom fixers.
|
|
*
|
|
*
|
|
- * @param iterable|Traversable|FixerInterface[] $fixers
|
|
|
|
|
|
+ * @param iterable|\Traversable|FixerInterface[] $fixers
|
|
*/
|
|
*/
|
|
public function registerCustomFixers($fixers);
|
|
public function registerCustomFixers($fixers);
|
|
|
|
|
|
@@ -116,7 +107,7 @@ interface ConfigInterface
|
|
public function setCacheFile($cacheFile);
|
|
public function setCacheFile($cacheFile);
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @param iterable|Traversable|string[] $finder
|
|
|
|
|
|
+ * @param iterable|\Traversable|string[] $finder
|
|
*
|
|
*
|
|
* @return self
|
|
* @return self
|
|
*/
|
|
*/
|