diff --git a/.gitattributes b/.gitattributes index d995ab8db..e6ef3db5b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ /tests export-ignore +/docs/examples export-ignore /bin/ci export-ignore /bin/stubs export-ignore /.github export-ignore @@ -14,4 +15,4 @@ CODING_GUIDELINE.md export-ignore phpunit.xml.dist export-ignore phpcs.xml.dist export-ignore composer.lock export-ignore -CNAME export-ignore \ No newline at end of file +CNAME export-ignore diff --git a/docs/examples/phpinfo.php b/docs/examples/phpinfo.php deleted file mode 100644 index cf6086080..000000000 --- a/docs/examples/phpinfo.php +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/lib/Phpfastcache/Drivers/Riak/Driver.php b/lib/Phpfastcache/Drivers/Riak/Driver.php index 2c15a62c8..00f5c76af 100644 --- a/lib/Phpfastcache/Drivers/Riak/Driver.php +++ b/lib/Phpfastcache/Drivers/Riak/Driver.php @@ -145,7 +145,7 @@ public function getStats(): DriverStatistic return (new DriverStatistic()) ->setData(\implode(', ', \array_keys($this->itemInstances))) ->setRawData($info) - ->setSize(false) + ->setSize(0) ->setInfo('Riak does not provide size/date information att all :('); } -} \ No newline at end of file +}