-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
646 changed files
with
31,511 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,8 @@ | |
* @author Fabien Potencier <[email protected]> | ||
* | ||
* @version SVN: $Id$ | ||
* | ||
* @deprecated | ||
*/ | ||
class sfEAcceleratorCache extends sfCache | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,8 @@ | |
* @author Fabien Potencier <[email protected]> | ||
* | ||
* @version SVN: $Id$ | ||
* | ||
* @deprecated | ||
*/ | ||
class sfXCacheCache extends sfCache | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?php | ||
Check warning on line 1 in lib/test/Symfony1ApplicationTestCase.php GitHub Actions / PHP-CS-Fixer
Check warning on line 1 in lib/test/Symfony1ApplicationTestCase.php GitHub Actions / PHP-CS-Fixer
Check warning on line 1 in lib/test/Symfony1ApplicationTestCase.php GitHub Actions / PHP-CS-Fixer
Check warning on line 1 in lib/test/Symfony1ApplicationTestCase.php GitHub Actions / PHP-CS-Fixer
|
||
|
||
/* | ||
* This file is part of the symfony package. | ||
* (c) Fabien Potencier <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
class Symfony1ApplicationTestCase extends TestCase | ||
{ | ||
public function resetSfConfig() | ||
{ | ||
sfConfig::set('sf_symfony_lib_dir', realpath(__DIR__.'/../lib')); | ||
sfConfig::set('sf_test_cache_dir', sys_get_temp_dir().'/sf_test_project'); | ||
} | ||
|
||
public function getEnvironment() | ||
{ | ||
return 'test'; | ||
} | ||
|
||
public function getDebug() | ||
{ | ||
return true; | ||
} | ||
|
||
public function getEventDispatcher() | ||
{ | ||
return null; | ||
} | ||
|
||
public function getRootDir() | ||
{ | ||
return null; | ||
} | ||
|
||
public function projectSetup(sfApplicationConfiguration $applicationConfiguration) | ||
{ | ||
} | ||
|
||
public function getApplicationConfiguration() | ||
{ | ||
return new TestCaseDrivenApplicationConfiguration( | ||
$this, | ||
$this->getEnvironment(), | ||
$this->getDebug(), | ||
$this->getRootDir(), | ||
$this->getEventDispatcher() | ||
); | ||
} | ||
} |
Oops, something went wrong.