Farhad Safarov
36bd453ec2
Update composer.json
2022-12-12 06:51:56 +03:00
Farhad Safarov
16398e69d2
psalm 5.1
2022-12-12 06:43:40 +03:00
Farhad Safarov
7a829920d0
drop Symfony 4
2022-12-12 05:53:31 +03:00
Farhad Safarov
fa3a8a1460
Psalm 5
2022-12-12 05:41:16 +03:00
Farhad Safarov
b7f11029e2
Support PHP 8.1 & drop PHP 7.3 ( #279 )
2022-10-21 01:23:13 +03:00
Vadym Bondarenko
de541fdc03
Resolve repository from entity attributes ( #241 )
...
* support entity attribute for resolving repository
* add doctrine annotation dependency for fix error on doctrine/orm 2.10+
* fix error with non instaled doctrine annotations
2022-01-24 08:35:04 +03:00
Robin Chalas
d6be2fbfa3
Support Symfony 6 ( #227 )
...
Co-authored-by: Farhad Safarov <farhad.safarov@gmail.com>
2021-12-02 10:14:19 +03:00
Farhad Safarov
b1f0aac07a
fix tests for new psalm versions ( #228 )
2021-11-07 15:04:58 +03:00
Farhad Safarov
ecbfc60a7c
Drop support for Symfony3 ( #216 )
2021-09-01 14:08:22 +03:00
Farhad Safarov
d79efd38b6
Support psalm 4.9 ( #198 )
2021-08-12 15:59:45 +03:00
Bruce Weirdan
2992656853
Upgrade Psalm interfaces ( #186 )
2021-07-04 20:21:01 +03:00
Zeljko Mitic
a56f44a3f4
Forms stubs ( #138 )
2021-03-01 09:17:04 +03:00
Farhad Safarov
9b2ea6a79c
[psalm] adopt new version ( #149 )
2021-02-21 14:29:54 +03:00
Farhad Safarov
1346307e74
add conflict for psalm versions have syntax errors ( #143 )
2021-02-13 20:11:39 +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
Farhad Safarov
bedd3a0d85
[deps] abide psalm internal API ( #128 )
2021-01-03 15:58:49 +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
Valentin Udaltsov
20fbfcfa7d
Add mixed type to serializer $data parameter ( #112 )
2020-12-08 00:23:29 +03:00
Michel Hunziker
fb77c49200
Allow psalm 4.2 and later ( #110 )
2020-12-05 19:42:43 +03:00
Michel Hunziker
6a97204596
Install the correct version of the symfony packages ( #108 )
2020-12-05 15:48:55 +03:00
Farhad Safarov
d4f6d579eb
[psalm] exclude breaking changes ( #104 )
2020-11-23 13:36:01 +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
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
Adrien LUCAS
0240845744
Use the assert-package-constraint step provided by third party ( #79 )
2020-09-14 11:17:23 +03:00
Adrien LUCAS
4eb4dae6ea
Tainting twig ( #61 )
...
* Taint Request::get and Response::__construct
* Taint Request::request, Request::query & Request::cookies
* Taint Request::headers (only for the user-agent header)
* Taint HeaderBag::__toString (and a fix of psalm taint api usage)
* Taint InputBag::all
* Fix type resolving
* Bump psalm requirement
* refactoring first scenario outline
* Refactor RequestTaint
* no message
* Taint HeaderBag using the MethodReturnTypeProviderInterface
* Skip tests when dependencies too low
* Taint Request::get and Response::__construct
* Taint Request::headers (only for the user-agent header)
* wip
* Try using MethodReturnTypeProviderInterface
* Compiling templates
* Make it work using fake call
* Explicitely load compliled twig files
* wip
* Add more direct way of tainting output
* wip
* Add real twig template analyzer
* Refactor
* Little fixes
* Change namespace from Taint to Twig
* Refactoring
* Some type fixing
* Fix CS
* Guess template-to-cache mapping instead of using the twig env.
* Fix typing
* Last minutes changes
* Change test group
* Update README
* fix TemplateFileAnalyzer path in readme
Co-authored-by: Farhad Safarov <farhad.safarov@gmail.com>
Co-authored-by: Brown <github@muglug.com>
2020-09-13 19:37:26 +03:00
Valentin Udaltsov
9fb76499f9
Added CacheInterface.stubphp from symfony contracts ( #74 )
2020-08-18 14:38:35 +03:00
Valentin Udaltsov
898d580c13
Added Guard AuthenticatorInterface.stubphp ( #72 )
2020-08-18 13:18:10 +03:00
Farhad Safarov
37912ba88f
test container support ( #66 )
...
* test container support
* no message
* no message
2020-08-03 17:14:55 +03:00
Farhad Safarov
750e7b9e8f
PropertyNotSetInConstructor error about $context is not raised in ConstraintValidator ( #63 )
2020-07-30 16:07:38 +03:00
Anton Zagorskii
1c68a1529a
Suppress PropertyNotSetInConstructor error in AbstractController::$container (managed by Symfony DI) ( #57 )
...
Co-authored-by: Anton Zagorskii <anton@paytronix.io>
2020-07-20 06:40:55 +03:00
Anton Zagorskii
5d46b7a221
removed .gitkeep & unblocked testing on symfony 5.* ( #55 )
...
Co-authored-by: Anton Zagorskii <anton@paytronix.io>
2020-07-19 11:27:05 +03:00
Michel Hunziker
e6ae163a54
Add envelope stub to provide the correct argument and return types ( #53 )
...
* Add envelope stub to provide the correct argument and return types
* Use a custom test stamp
2020-07-06 06:29:10 +03:00
Adrien LUCAS
4b826dc432
Taint Request::get and Response::__construct ( #50 )
...
* Taint Request::get and Response::__construct
* no message
Co-authored-by: Farhad Safarov <farhad.safarov@gmail.com>
2020-07-02 14:27:48 +03:00
Farhad Safarov
ec7545a086
[psalm] detect dead code & unused suppresses ( #51 )
2020-06-27 22:35:28 +03:00
Farhad Safarov
3b5b7016fc
container dependency handler attribute fix ( #48 )
...
* container dependency handler attribute fix
* no message
* no message
* no message
2020-06-23 23:42:21 +03:00
Farhad Safarov
8d062cf97d
cleanup & inline suppressible plugin issue ( #46 )
...
* cleanup & inline suppressible plugin issue
* no message
2020-06-22 11:15:12 +03:00
Farhad Safarov
7769787a86
[console] input definition ( #44 )
...
* [console] input definition
* no message
2020-06-19 14:19:17 +03:00
Farhad Safarov
e6e9a42b48
doctrine repository handler ( #40 )
2020-06-16 04:17:22 +03:00
Farhad Safarov
8abc28c3a3
Suggest Doctrine plugin
2020-05-27 17:08:01 +03:00
Farhad Safarov
d567d3116b
HeaderBag get return type ( #24 )
...
* header bag stub
* no message
* no message
2020-04-14 17:21:05 +03:00
Farhad Safarov
b81d92542e
conditional returns & request stub ( #23 )
2020-04-14 11:58:44 +03:00
Farhad Safarov
446a6fb2d0
console handler ( #22 )
...
* console handler - fixes #17
* no message
* no message
2020-04-12 17:56:21 +03:00
Matthew Brown
d21ccc2307
Migrate Seferov => Psalm
2020-03-13 10:51:18 -04:00
Matthew Brown
b74642dc70
Change name
2020-03-13 10:43:43 -04:00
Farhad Safarov
268c1cd67d
add container unit tests ( #9 )
2020-03-10 19:00:55 +03:00
Farhad Safarov
247647254d
refactor container check ( #8 )
...
* refactor container check
* no message
* no message
* no message
2020-03-09 15:24:39 +03:00
Farhad Safarov
b1c05203bc
fix possible nullable inferred type ( #4 )
...
* fix possible nullable inferred type
* no message
2019-12-04 15:02:53 +03:00
Farhad Safarov
d1f94392cf
acceptance tests ( #3 )
2019-11-14 10:27:50 +03:00