Clean up use of @codingStandardsIgnore - @codingStandardsIgnoreFile -> phpcs:ignoreFile - @codingStandardsIgnoreLine -> phpcs:ignore - @codingStandardsIgnoreStart -> phpcs:disable - @codingStandardsIgnoreEnd -> phpcs:enable For phpcs:disable always the necessary sniffs are provided. Some start/end pairs are changed to line ignore Change-Id: I92ef235849bcc349c69e53504e664a155dd162c8
16 lines
434 B
PHP
16 lines
434 B
PHP
<?php
|
|
|
|
/**
|
|
* The phpstorm stubs package includes the Memcached class with two parameters and docs saying
|
|
* that they are optional. Phan can not detect this and thus throws an error for a usage with
|
|
* no params. So we have this small stub just for the constructor to allow no params.
|
|
* @see https://secure.php.net/manual/en/memcached.construct.php
|
|
* phpcs:ignoreFile
|
|
*/
|
|
|
|
class Memcached {
|
|
|
|
public function __construct() {
|
|
}
|
|
|
|
}
|