File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Symfony/Component/DependencyInjection Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public function isFresh($timestamp)
46
46
return false ;
47
47
}
48
48
49
- return AutowirePass:: createResourceForClass ( $ reflectionClass ) ;
49
+ return false ;
50
50
}
51
51
52
52
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 ()
@@ -83,7 +83,7 @@ public function testIsFreshSameConstructorArgs()
83
83
);
84
84
85
85
// test with a stale file *but* the resource will not be changed
86
- $ this ->assertTrue ($ oldResource ->isFresh ($ this ->getStaleFileTime ()), '->isFresh() returns false if the constructor arguments have changed ' );
86
+ $ this ->assertFalse ($ oldResource ->isFresh ($ this ->getStaleFileTime ()), '->isFresh() returns false if the constructor arguments have changed ' );
87
87
}
88
88
89
89
public function testNotFreshIfClassNotFound ()
@@ -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