545ef865a9
Cleanup
2022-12-15 16:57:52 +01:00
Farhad Safarov
44f61e2016
Update TwigUtilsTest.php
2022-12-12 06:12:01 +03:00
Farhad Safarov
5ee417196f
Update TwigUtilsTest.php
2022-12-12 06:04:17 +03:00
Farhad Safarov
7a829920d0
drop Symfony 4
2022-12-12 05:53:31 +03:00
Farhad Safarov
b9511a3c4d
[container] support custom service id on service subscriber ( #276 )
2022-09-12 16:01:42 +03:00
Farhad Safarov
20604f13e7
v3.0 - improve container handler & refactor ( #202 )
2021-08-22 08:27:44 +03:00
Farhad Safarov
4fd391d445
container parameter types ( #184 )
...
fixes https://github.com/psalm/psalm-plugin-symfony/issues/177
2021-06-18 10:59:41 +03:00
Farhad Safarov
9b2ea6a79c
[psalm] adopt new version ( #149 )
2021-02-21 14:29:54 +03:00
Adrien LUCAS
4ec19385d4
[tainting] Twig print should not be an actual taint sink ( #123 )
...
* Twig print should not be a sink
* Add links to the test cases for tainting twig
* Update psalm
* Force typing of Request:: to ensure taint detection
* Fix test using old hooks mechanism.
2021-01-16 16:03:43 +03:00
Adrien LUCAS
a7d3a76ca0
[tainting] improve twig template names resolving ( #122 )
2020-12-15 10:52:58 +03:00
Farhad Safarov
2dd4b18a81
[internal] allow development on php8 ( #114 )
2020-12-08 12:45:11 +03:00
Adrien LUCAS
0397c581db
[tainting] Allow Twig\Environment::render to be tainted even with a variable as template name ( #97 )
...
Allow Twig\Environment::render to be tainted even with a variable as template parameters
Allow using a variable as template name for CachedTemplatesTainter too
Add TwigUtils::extractTemplateNameFromExpression tests
2020-11-10 13:23:21 +03:00
Adrien LUCAS
f75effe9dd
[tainting] Fix the precedence of the CachedTemplatesMapping ( #89 )
...
Allow alternatives template name notation
Isolate template naming in a CachedTemplatesRegistry
Allow `render` calls with no second arguments
Allow twig template name old notation alternatives
2020-11-10 12:57:01 +03:00
Farhad Safarov
d13b6aa27a
Default service visibility for different Symfony versions ( #62 )
...
* Default service visibility for different Symfony versions
* no message
* test fix
2020-07-28 21:21:03 +03:00
Farhad Safarov
76ff9a0f8e
[container] multiple container xml file support ( #45 )
2020-06-19 16:18:31 +03:00
Farhad Safarov
c2b2dd4ae7
assume service as public if public attribute is missing ( #15 )
2020-03-15 13:38:16 +03:00
Matthew Brown
d21ccc2307
Migrate Seferov => Psalm
2020-03-13 10:51:18 -04:00
Farhad Safarov
268c1cd67d
add container unit tests ( #9 )
2020-03-10 19:00:55 +03:00