- 11 Apr, 2015 29 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
* 1.3: (44 commits) Add a isGranted() function to Silex\Application\SecurityTrait + unit tests Type hint against EventDispatcherInterface Update usage.rst Use PSR-4 for autoloading, works same as the PSR-0 configuration. Use autoload-dev for autoloading tests updated CHANGELOG Patch debug and caching translator (Symfony 2.6+ with caching enabled). Updated year in License Update testing.rst Add docblock for the $app field fixed CS Update intro.rst Correct exception message when mounting fixed compatibility with 2.7 updated .travis.yml with only maintained Symfony versions Link to Monolog provider chapter Fix README doc about running unit tests add values to parameters copied from symfony docs Use the constant to refer to session auth strategy Revert "Merge branch '1.2' into 1.3" updated deps as Silex 1.2 is not compatible with Symfony 2.7 ... Conflicts: .travis.yml README.rst composer.json doc/changelog.rst doc/providers/security.rst doc/usage.rst src/Silex/Api/BootableProviderInterface.php src/Silex/Application.php src/Silex/Provider/FormServiceProvider.php src/Silex/Provider/HttpCacheServiceProvider.php src/Silex/Provider/SecurityServiceProvider.php src/Silex/Provider/Translation/Translator.php src/Silex/Provider/TranslationServiceProvider.php src/Silex/Provider/ValidatorServiceProvider.php tests/Silex/Tests/Provider/MonologServiceProviderTest.php tests/Silex/Tests/Provider/TwigServiceProviderTest.php
-
Fabien Potencier authored
This PR was submitted for the master branch but it was merged into the 1.3 branch instead (closes #1082). Discussion ---------- Add a isGranted() function to Silex\Application\SecurityTrait + unit tests Commits ------- 6d86c60d Add a isGranted() function to Silex\Application\SecurityTrait + unit tests
-
freepius authored
-
Fabien Potencier authored
* 1.2: Update usage.rst Updated year in License Update testing.rst Add docblock for the $app field fixed CS Update intro.rst Correct exception message when mounting
-
Fabien Potencier authored
This PR was submitted for the master branch but it was merged into the 1.3 branch instead (closes #1026). Discussion ---------- Type hint against EventDispatcherInterface Commits ------- 9e3a35c2 Type hint against EventDispatcherInterface
-
jeroendedauw authored
-
Fabien Potencier authored
This PR was merged into the 2.0.x-dev branch. Discussion ---------- Update "Error Handlers" part in usage.rst Update "Error Handlers" part in usage.rst because of https://github.com/silexphp/Silex/commit/e96f9be8fda96193313bb655d63b061d6d4d7c4d#diff-9460b640f6466d5890f37f7caf262024R52 Commits ------- 46f125c4 Update "Error Handlers" part in usage.rst
-
Fabien Potencier authored
This PR was submitted for the master branch but it was merged into the 1.2 branch instead (closes #1096). Discussion ---------- Update usage.rst Fixed a small grammatical error. Commits ------- b0def74c Update usage.rst
-
Parham Doustdar authored
-
Fabien Potencier authored
minor #986 Use PSR-4 for autoloading, works same as the PSR-0 configuration. Use au... (henrikbjorn) This PR was submitted for the master branch but it was merged into the 1.3 branch instead (closes #986). Discussion ---------- Use PSR-4 for autoloading, works same as the PSR-0 configuration. Use au... ...toload-dev for autoloading tests Commits ------- 0df76379 Use PSR-4 for autoloading, works same as the PSR-0 configuration. Use autoload-dev for autoloading tests
-
Henrik Bjørnskov authored
Use PSR-4 for autoloading, works same as the PSR-0 configuration. Use autoload-dev for autoloading tests
-
Fabien Potencier authored
-
Fabien Potencier authored
This PR was submitted for the 1.2 branch but it was merged into the 1.3 branch instead (closes #1124). Discussion ---------- Patch debug and caching translator (Symfony 2.6+ with caching enabled). Patch debug and caching translator (Symfony 2.6+ with caching enabled). API 2.6 : http://api.symfony.com/2.6/Symfony/Component/Translation/Translator.html Commits ------- ffff5bd5 Patch debug and caching translator (Symfony 2.6+ with caching enabled).
-
KhanhIceTea authored
-
Fabien Potencier authored
This PR was submitted for the 1.3 branch but it was merged into the 1.2 branch instead (closes #1108). Discussion ---------- Updated year in License Updated year in License Commits ------- faab7cdb Updated year in License
-
aqnouch mohammed authored
Updated year in License
-
Fabien Potencier authored
This PR was submitted for the master branch but it was merged into the 1.2 branch instead (closes #1123). Discussion ---------- Update testing.rst Actually there is no "Reusing applications" topic on Usage chapter. Commits ------- 4cb970b8 Update testing.rst
-
Daniel Lima authored
Actually there is no "Reusing applications" topic on Usage chapter.
-
Fabien Potencier authored
This PR was submitted for the master branch but it was merged into the 1.2 branch instead (closes #1136). Discussion ---------- Add docblock for the $app field Add a docblock to the `$app` field variable, to help out IDEs. There's not much else to say on this one :) Commits ------- 33edafe7 Add docblock for the $app field
-
Jeremy Pry authored
-
Fabien Potencier authored
-
Fabien Potencier authored
This PR was submitted for the master branch but it was merged into the 1.2 branch instead (closes #1133). Discussion ---------- Update intro.rst Added PHP opening tag to make things more clear Commits ------- cce42f5c Update intro.rst
-
Stepan Anchugov authored
Added PHP opening tag to make things more clear
-
Fabien Potencier authored
This PR was squashed before being merged into the 1.2 branch (closes #1137). Discussion ---------- Correct exception message when mounting Use a better exception message when calling `mount` with a `ControllerProviderInterface` that doesn't return an `ControllerCollection` on the `connect` call. Commits ------- 5c52a09e Correct exception message when mounting
-
SpacePossum authored
-
Fabien Potencier authored
This PR was merged into the 1.3 branch. Discussion ---------- fixed compatibility with 2.7 replaces #1141 Note that 2.7 beta1 won't work because symfony/symfony#14313 was merged after the release. Commits ------- 426cde53 fixed compatibility with 2.7
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 27 Mar, 2015 5 commits
-
-
Fabien Potencier authored
This PR was squashed before being merged into the 2.0.x-dev branch (closes #1131). Discussion ---------- Flush spool queue for console terminate as well This allows to flush Swift messages automatically inside a Silex console application. It basically does the same as the ``EmailSenderListener`` in Symfony's SwiftMailerBundle. (see https://github.com/symfony/SwiftmailerBundle/commit/4b90392463296acc9ccf8f10649d7ac4937ae0f3). ```php use Symfony\Component\Console\Application; $app = require __DIR__.'/app.php'; $console = new Application('My Silex Application', 'n/a'); $console->setDispatcher($app['dispatcher']); // .. register commands that send emails $console->run(); ``` Commits ------- 8ecc11e6 Flush spool queue for console terminate as well
-
Dirk Luijk authored
-
Fabien Potencier authored
* 1.2: Link to Monolog provider chapter
-
Fabien Potencier authored
This PR was submitted for the 1.3 branch but it was merged into the 1.2 branch instead (closes #1132). Discussion ---------- Link to Monolog provider chapter Commits ------- e4907268 Link to Monolog provider chapter
-
SpacePossum authored
-
- 06 Mar, 2015 2 commits
-
-
Fabien Potencier authored
* 1.2: Fix README doc about running unit tests
-
Fabien Potencier authored
This PR was merged into the 1.2 branch. Discussion ---------- [1.2] Fix doc about running unit tests Alternative to #1075. I've kept the syntax using phpunit.phar as it must be the most portable way to run PHPUnit (like it is for Composer). Commits ------- 7bb4398e Fix README doc about running unit tests
-
- 05 Mar, 2015 1 commit
-
-
Jérôme Tamarelle authored
Remove `--dev` from composer as it is the default Remove .phar to promote usage of global exec
-
- 27 Feb, 2015 3 commits
-
-
Fabien Potencier authored
* 1.2: add values to parameters copied from symfony docs
-
Fabien Potencier authored
This PR was submitted for the master branch but it was merged into the 1.2 branch instead (closes #1116). Discussion ---------- add values to parameters copied from symfony docs Commits ------- 68492a0e add values to parameters copied from symfony docs
-
Philipp Scheit authored
-