-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-78 Adopt bundle best practices from https://symfony.com/doc/curren…
- Loading branch information
1 parent
82d6706
commit 2564857
Showing
191 changed files
with
143 additions
and
176 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
*.pyc | ||
.idea | ||
.phpunit.cache | ||
.phpunit.result.cache | ||
.php-cs-fixer.cache | ||
composer.lock | ||
/Resources/doc/_build/ | ||
/Tests/Functional/App/cache | ||
/Tests/Functional/App/logs | ||
/docs/_build/ | ||
/tests/Sandbox/App/cache | ||
/tests/Sandbox/App/logs | ||
/tmp | ||
vendor |
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
Binary file not shown.
Binary file not shown.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* | ||
* @author Vítor Brandão <[email protected]> | ||
*/ | ||
class ResourcePlugin extends Plugin | ||
class ResourcePlugin extends AbstractPlugin | ||
{ | ||
public function getType() | ||
{ | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
|
||
use Exception; | ||
use NoiseLabs\Bundle\SmartyBundle\DependencyInjection\SmartyExtension; | ||
use PHPUnit_Framework_TestCase as TestCase; | ||
use PHPUnit\Framework\TestCase; | ||
use Symfony\Component\Config\FileLocator; | ||
use Symfony\Component\DependencyInjection\ContainerBuilder; | ||
use Symfony\Component\DependencyInjection\Reference; | ||
|
@@ -37,9 +37,6 @@ | |
* DependencyInjection\SmartyExtension tests. | ||
* | ||
* @author Vítor Brandão <[email protected]> | ||
* | ||
* @internal | ||
* @coversNothing | ||
*/ | ||
class SmartyExtensionTest extends TestCase | ||
{ | ||
|
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 |
---|---|---|
|
@@ -30,9 +30,6 @@ | |
* Test suite for the actions extension. | ||
* | ||
* @author Vítor Brandão <[email protected]> | ||
* | ||
* @internal | ||
* @coversNothing | ||
*/ | ||
class ActionsExtensionTest extends TestCase | ||
{ | ||
|
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 |
---|---|---|
|
@@ -35,9 +35,6 @@ | |
* Test suite for the assets extension. | ||
* | ||
* @author Vítor Brandão <[email protected]> | ||
* | ||
* @internal | ||
* @coversNothing | ||
*/ | ||
class AssetsExtensionTest extends TestCase | ||
{ | ||
|
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 |
---|---|---|
|
@@ -24,16 +24,13 @@ | |
|
||
use NoiseLabs\Bundle\SmartyBundle\Extension\RoutingExtension; | ||
use NoiseLabs\Bundle\SmartyBundle\Tests\TestCase; | ||
use PHPUnit_Framework_Constraint_IsAnything; | ||
use PHPUnit\Framework\Constraint\IsAnything; | ||
use Symfony\Component\Routing\Generator\UrlGeneratorInterface; | ||
|
||
/** | ||
* Test suite for the routing extension. | ||
* | ||
* @author Vítor Brandão <[email protected]> | ||
* | ||
* @internal | ||
* @coversNothing | ||
*/ | ||
class RoutingExtensionTest extends TestCase | ||
{ | ||
|
@@ -79,8 +76,8 @@ public function createRoutingExtension($referenceType = UrlGeneratorInterface::A | |
$generator->expects($this->any()) | ||
->method('generate') | ||
->with( | ||
new PHPUnit_Framework_Constraint_IsAnything(), | ||
new PHPUnit_Framework_Constraint_IsAnything(), | ||
new IsAnything(), | ||
new IsAnything(), | ||
$referenceType | ||
) | ||
->will($this->returnValue($url)) | ||
|
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 |
---|---|---|
|
@@ -36,9 +36,6 @@ | |
* Test suite for the security extension. | ||
* | ||
* @author Vítor Brandão <[email protected]> | ||
* | ||
* @internal | ||
* @coversNothing | ||
*/ | ||
class SecurityExtensionTest extends TestCase | ||
{ | ||
|
Oops, something went wrong.