Commit Graph

129 Commits

Author SHA1 Message Date
Vincent Langlet
0bd4de0cd1
Fix PropertyAccessorInterface stub (#176) 2021-05-10 09:35:42 +03:00
Gabriel Ostrolucký
b1e6ad594c
Get rid of boilerplate psalm config in tests (#170) 2021-04-12 10:28:24 +03:00
Gabriel Ostrolucký
8d22f2ea1b
Add symfony/config stubs (#168) 2021-04-05 09:20:42 +03:00
Jáchym Toušek
4fceec03d8
Add Constraint stub (#167) 2021-04-01 17:15:51 +03:00
Vincent Langlet
9138d0bc80
Add template for getRuntime method (#164) 2021-03-29 17:24:13 +03:00
Vincent Langlet
e363384dfa
Fix tests and a var annotation (#166)
* Add tests and fix var

* Run form tests on ci

* Ignore unused errors

* Fix
2021-03-29 14:36:50 +03:00
Vincent Langlet
567d5d6e32
Fix children typehint (#162) 2021-03-25 18:53:15 +03:00
Ivan
8122414959
Update AbstractController.stubphp (#161)
added needed uses
2021-03-24 10:36:35 +03:00
Andrii Dembitskyi
3a35eb7e8a
Add stubs with templates for AbstractController::createForm() (#157) 2021-03-24 00:07:33 +03:00
Vincent Langlet
39ac9e4ec0
Fix FormView $vars (#160) 2021-03-24 00:06:13 +03:00
Farhad Safarov
69bc80d00d
GLOB_BRACE workaround (#153)
* GLOB_BRACE workaround

* GLOB_BRACE workaround
2021-03-03 09:31:41 +03:00
Zeljko Mitic
a56f44a3f4
Forms stubs (#138) 2021-03-01 09:17:04 +03:00
Michael Telgmann
2d164b8fda
Fix ParameterBag stub for Symfony 4 (#150)
fixes #147
2021-02-24 20:39:20 +03:00
Adrien LUCAS
d2a699aa25
Catch the TemplateNameUnresolvedException (#148) 2021-02-21 14:30:28 +03:00
Farhad Safarov
9b2ea6a79c
[psalm] adopt new version (#149) 2021-02-21 14:29:54 +03:00
Farhad Safarov
cc89974d16
[doctrine] query builder explicit parameter type for performance (#144) 2021-02-14 12:09:40 +03:00
Farhad Safarov
9f5b7a1596
error message update (#145) 2021-02-14 11:54:10 +03:00
Farhad Safarov
1346307e74
add conflict for psalm versions have syntax errors (#143) 2021-02-13 20:11:39 +03:00
Faizan Akram Dar
a971c4c020
[property access] add stub file for PropertyPathInterface (#134) 2021-02-11 08:39:56 +03:00
Adrien LUCAS
583bfd706f
[tainting] fix taint flow (#137) 2021-01-26 15:29:33 +03:00
Adrien LUCAS
a7e1b5559f
[tainting] Allow to configure a different root directory for the twig templates. (#135) 2021-01-26 12:13:10 +03:00
Farhad Safarov
e863eb30c3
[internal] improve github actions psalm analysis (#136) 2021-01-25 18:37: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
Kevin EMO
5f864829c9
[docs] Enhanced parts of the README.md file (#131) 2021-01-14 16:09:08 +03:00
Farhad Safarov
bedd3a0d85
[deps] abide psalm internal API (#128) 2021-01-03 15:58:49 +03:00
Farhad Safarov
eafbe69aa9
[security] voter - suppress MoreSpecificImplementedParamType on voteOnAttribute (#127) 2020-12-25 08:55:02 +03:00
Farhad Safarov
c3ec6040b5
[routing] add RouteCollection stub (#125) 2020-12-23 20:49:57 +03:00
Adrien LUCAS
a7d3a76ca0
[tainting] improve twig template names resolving (#122) 2020-12-15 10:52:58 +03:00
Adrien LUCAS
f5e4b97c53
[docs] improve the twig tainting documentation (#121) 2020-12-14 19:37:22 +03:00
Farhad Safarov
dcb4195b62
[dependencies] reintroduce support for PHP 7.1 and 7.2 (#120) 2020-12-10 09:50:32 +03:00
Farhad Safarov
2dd4b18a81
[internal] allow development on php8 (#114) 2020-12-08 12:45:11 +03:00
Farhad Safarov
aef28735fd
[test] skip failing test temporarily (#115) 2020-12-08 10:59:52 +03:00
Valentin Udaltsov
20fbfcfa7d
Add mixed type to serializer $data parameter (#112) 2020-12-08 00:23:29 +03:00
Valentin Udaltsov
85529f3c5f
Improved DenormalizerInterface and SerializerInterface stubs (#111) 2020-12-05 19:44:15 +03:00
Michel Hunziker
fb77c49200
Allow psalm 4.2 and later (#110) 2020-12-05 19:42:43 +03:00
Michel Hunziker
9117ebb759
[tainting] stub ParameterBag to provide taint information for Symfony 3/4/5.0 (#103) 2020-12-05 17:23:27 +03:00
Michel Hunziker
6a97204596
Install the correct version of the symfony packages (#108) 2020-12-05 15:48:55 +03:00
Farhad Safarov
2aa06e6609
[console] option name with -- prefix (#106) 2020-11-29 15:14:05 +03:00
Farhad Safarov
d4f6d579eb
[psalm] exclude breaking changes (#104) 2020-11-23 13:36:01 +03:00
Farhad Safarov
9dc1c34e88
[container] support subscribed services in child classes (#102) 2020-11-15 21:52:47 +03:00
Farhad Safarov
e750732ee2
[container] support service subscriber & locator (#101)
* [container] support service subscriber

* no message
2020-11-14 13:18:54 +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
Adrien LUCAS
01b5dcb771
[container] read the DI required annotation (#100) 2020-11-10 10:34:20 +03:00
Farhad Safarov
6c6b4f53fb
Support Psalm v4.0 (#98)
* Support Psalm v4.0

* no message

* no message

* no message
2020-10-20 16:03:17 +03:00
Farhad Safarov
720e554ff8
run tests daily (#96) 2020-10-15 12:06:13 +03:00
Farhad Safarov
fc1bcd6ce9
psalm min v3.17 (#95)
* psalm min v3.17

* no message

* no message
2020-10-14 08:02:27 +03:00
Farhad Safarov
1978edad3f
static analysis plugin itself with lowest & highest deps (#94)
* static analysis plugin itself with lowest & highest deps

* no message

* no message

* no message

* no message

* no message
2020-10-13 16:52:11 +03:00
Farhad Safarov
5cd3df193f
[console] nullable & bool default values (#92)
* [console] nullable & bool default values

* no message
2020-09-26 13:40:51 +03:00
Matthew Brown
fcef6b8f59
Merge pull request #88 from adrienlucas/twig-analyzer
Refactor twig analyzer
2020-09-24 14:12:24 -04:00