Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
04fd4dc4
Commit
04fd4dc4
authored
6 years ago
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incorrect class instantiation in namespaces
parent
a3229e87
dev
…
3113-openbar-authentification
3241-delete-all-the-question
3242-password-removed
3414-no-change-mail
3414-stop-mail-send
main
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
FileCacheDriver.php
qa-src/Storage/FileCacheDriver.php
+2
-2
MemcachedDriver.php
qa-src/Storage/MemcachedDriver.php
+1
-1
No files found.
qa-src/Storage/FileCacheDriver.php
View file @
04fd4dc4
...
...
@@ -235,8 +235,8 @@ class FileCacheDriver implements CacheDriver
$totalFiles
=
0
;
$totalBytes
=
0
;
$dirIter
=
new
RecursiveDirectoryIterator
(
$this
->
cacheDir
);
foreach
(
new
RecursiveIteratorIterator
(
$dirIter
)
as
$file
)
{
$dirIter
=
new
\
RecursiveDirectoryIterator
(
$this
->
cacheDir
);
foreach
(
new
\
RecursiveIteratorIterator
(
$dirIter
)
as
$file
)
{
if
(
strpos
(
$file
->
getFilename
(),
'.'
)
===
0
)
{
// TODO: use FilesystemIterator::SKIP_DOTS once we're on minimum PHP 5.3
continue
;
...
...
This diff is collapsed.
Click to expand it.
qa-src/Storage/MemcachedDriver.php
View file @
04fd4dc4
...
...
@@ -49,7 +49,7 @@ class MemcachedDriver implements CacheDriver
}
if
(
extension_loaded
(
'memcached'
))
{
$this
->
memcached
=
new
Memcached
;
$this
->
memcached
=
new
\
Memcached
;
$this
->
memcached
->
addServer
(
self
::
HOST
,
self
::
PORT
);
if
(
$this
->
memcached
->
set
(
$this
->
keyPrefix
.
'test'
,
'TEST'
))
{
$this
->
enabled
=
true
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment