cakephp2-php8/lib/Cake/Test
rooseveltrp 98e11cea5d Adds File::replaceText().
Added File::replace()

Searches for a given text and replaces the text if found

Renamed File::replace() to File::replaceText()

Updated the replaceText() method to utilize File Locking

Updated File::replaceText()

1. Method now checks if the lock is not identical to null
2. Since the method uses File::read() to get the contents of the file,
there is no need for a temporary file. Removed the temporary file
creation

File::replaceText() update

Opening file with r+ mode
2013-10-26 14:05:12 +02:00
..
bake_compare/Controller fix renderLayout and update deprecated and outdated code 2013-09-13 00:09:31 +02:00
Case Adds File::replaceText(). 2013-10-26 14:05:12 +02:00
Fixture Merge pull request #1691 from uzyn/2.5-decimal 2013-10-14 08:36:15 -07:00
test_app Changed url to URL where appropriate 2013-10-07 23:17:58 -04:00