File tree 2 files changed +3
-4
lines changed
src/Symfony/Component/DependencyInjection
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \DependencyInjection \Config ;
13
13
14
14
use Symfony \Component \Config \Resource \SelfCheckingResourceInterface ;
15
- use Symfony \Component \DependencyInjection \Compiler \AutowirePass ;
16
15
17
16
class AutowireServiceResource implements SelfCheckingResourceInterface, \Serializable
18
17
{
@@ -46,7 +45,7 @@ public function isFresh($timestamp)
46
45
return false ;
47
46
}
48
47
49
- return AutowirePass:: createResourceForClass ( $ reflectionClass ) ;
48
+ return false ;
50
49
}
51
50
52
51
public function __toString ()
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public function testIsNotFreshChangedResource()
73
73
);
74
74
75
75
// test with a stale file *and* a resource that *will* be different than the actual
76
- $ this ->assertFalse ($ oldResource ->isFresh ($ this ->getStaleFileTime ()), '->isFresh() returns false if the constructor arguments have changed ' );
76
+ $ this ->assertFalse ($ oldResource ->isFresh ($ this ->getStaleFileTime ()), '->isFresh() returns the false if the constructor arguments have changed ' );
77
77
}
78
78
79
79
public function testIsFreshSameConstructorArgs ()
@@ -94,7 +94,7 @@ public function testNotFreshIfClassNotFound()
94
94
array ()
95
95
);
96
96
97
- $ this ->assertFalse ($ resource ->isFresh ($ this ->getStaleFileTime ()), '->isFresh() returns false if the class no longer exists ' );
97
+ $ this ->assertFalse ($ resource ->isFresh ($ this ->getStaleFileTime ()), '->isFresh() the resource object false if the class no longer exists ' );
98
98
}
99
99
100
100
protected function tearDown ()
You can’t perform that action at this time.
0 commit comments