Commit Graph

189 Commits

Author SHA1 Message Date
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
Zeljko Mitic
7cbbf62ad9
Fixed tests to work with psalm5 (#289) 2022-12-09 08:54:05 +03:00
Farhad Safarov
40589bcc36
[doctrine] fix repository crash when variable classname is used (#280) (#283) 2022-10-29 18:24:33 +03:00
Farhad Safarov
07b9e39357
[serializer] fix serializer for Symfony 6 (#282) 2022-10-29 18:13:25 +03:00
Farhad Safarov
b7f11029e2
Support PHP 8.1 & drop PHP 7.3 (#279) 2022-10-21 01:23:13 +03:00
Farhad Safarov
b9511a3c4d
[container] support custom service id on service subscriber (#276) 2022-09-12 16:01:42 +03:00
Farhad Safarov
0c56084580
[test] fix failing test cases (#275) 2022-09-11 13:12:20 +03:00
Daler
4733a8e83d
[doc] Update README.md (#273)
For the first run seems to be need generate configuration file.
2022-08-17 19:13:17 +03:00
fluffycondor
85b4f17a80
[http foundation] mark bag's getters as mutation free (#268) 2022-07-17 17:00:06 +03:00
Farhad Safarov
28983ded3b
[console] fix false positive - console argument value when using ternary (#267) 2022-06-18 12:33:44 +03:00
Farhad Safarov
0a7b057df1
[DI] skip checking naming convention for env var parameters (#265) 2022-06-16 09:08:57 +03:00
David de Boer
c10e7795f4
Add new container reference (#262) 2022-06-14 14:07:03 +03:00
Vincent Langlet
3633991d00
Fix compatibility with Sf6.1 (#263) 2022-06-14 13:35:54 +03:00
Oleg Zhulnev
2691d270ac
Do not distribute specific CI workflows, tests and analyzer configs (#259) 2022-06-06 15:18:54 +03:00
Oleg Zhulnev
fc9e68fded
[http foundation] Improve statusTexts variable type in the Response stub (#258) 2022-06-05 11:08:58 +03:00
David de Boer
fa5fe8b129
Support TestContainer directly (#255) 2022-05-28 14:00:27 +03:00
Vincent Langlet
62b37be93d
Add generic for event dispatcher dispatch method (#254) 2022-05-14 14:21:10 +03:00
Farhad Safarov
f11c57890d
add UnitEnum stub (PHP 8.1) (#249) 2022-04-10 23:35:50 +03:00
Wouter de Jong
44f9a695cd
[Twig taint analysis] Support AbstractController::render() and Symfony+custom twig extensions (#245)
* Allow analysing twig templates with custom extensions

* Add support for AbstractController::render() and ::renderView()
2022-02-09 10:50:14 +03:00
Vincent Langlet
f5348e9a7c
Form get errors (#243)
* FormGetErrors provider

* Wip

* Add stub

* Update stub
2022-02-08 10:02:16 +03:00
Vincent Langlet
83830775d5
Add getSession stub (#242)
* Add getSession stub

* Fix tests

* Run psalm on right php version

* Exclude build
2022-01-30 17:26:48 +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
asrar
b10761e801
[tainting] catch template unresolved exception (#238) 2022-01-12 15:16:45 +03:00
Vincent Langlet
cd25832215
Fix Request stubs (#235) 2022-01-02 23:22:02 +03:00
Vincent Langlet
483391ff82
Add stub for symfony 6 (#234) 2022-01-02 21:24:03 +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
Valentin Udaltsov
6558660423
[validator] add ConstraintViolationListInterface.stubphp (#222) 2021-10-14 07:48:39 +03:00
Valentin Udaltsov
0831a0160c
Fixed Finder key and value (#221) 2021-10-14 07:46:04 +03:00
Jáchym Toušek
de574cc9f2
Add Kernel.stubphp (#220) 2021-10-08 10:19:03 +03:00
rgrassian
7b19393d11
[request] fix request and inputbag stub (#218)
* add phpstan stub compatibility

* cs fix

Co-authored-by: Farhad Safarov <farhad.safarov@gmail.com>
2021-09-06 18:39:00 +03:00
Farhad Safarov
ecbfc60a7c
Drop support for Symfony3 (#216) 2021-09-01 14:08:22 +03:00
Edward Hartwell Goose
848d58f398
Fix the case where the stubs path dir does not exist (#215) 2021-09-01 14:05:24 +03:00
Valentin Udaltsov
976b10f348
[finder] Use Symfony SplFileInfo in Finder (#212) 2021-08-30 12:23:11 +03:00
Vincent Langlet
ae4262b7fa
[finder] Add stub for Finder (#211) 2021-08-30 07:49:33 +03:00
Farhad Safarov
97f0652612
[chore] organize stubs matching namespaces (#210)
fixes https://github.com/psalm/psalm-plugin-symfony/issues/209
2021-08-29 13:57:28 +03:00
Zeljko Mitic
9b2232bec7
Fix to incorrect signature of ParamConverter::getClass (#208)
* https://github.com/psalm/psalm-plugin-symfony/issues/190

* Fixed incorrect signature of ParamConverter.php
2021-08-27 13:05:40 +03:00
Thomas Landauer
f71a68f0f6
[doc] minor formatting improvements (#207) 2021-08-24 16:03:28 +03:00
Thomas Landauer
0524e87862
[doc] Adding <MissingFile> for config/preload.php (#206)
Closes https://github.com/psalm/psalm-plugin-symfony/issues/205
2021-08-24 07:43:03 +03:00
Farhad Safarov
4c48973b4c
[container] get service by name with PHP const (#204) 2021-08-22 15:02:50 +03:00
Thomas Landauer
72911c5615
Adding <extraFiles> doc for Symfony 5.3+ (#203) 2021-08-22 14:31:17 +03:00
Farhad Safarov
20604f13e7
v3.0 - improve container handler & refactor (#202) 2021-08-22 08:27:44 +03:00
Vincent Langlet
8a7744a540
Fix InputBag::get (#200) 2021-08-17 09:32:09 +03:00
Zeljko Mitic
3b455dd263
FormConfigBuilderInterface stub update #197 2021-08-12 16:01:03 +03:00
Farhad Safarov
d79efd38b6
Support psalm 4.9 (#198) 2021-08-12 15:59:45 +03:00
Vincent Langlet
7578578e30
[console] option are always nullable when value is optional (#196) 2021-08-02 08:04:27 +03:00
Ben Davies
7d7a06209c
prevent service subscribers overwriting already known service definitions (#194)
fixes #193
2021-07-22 08:03:06 +03:00
Matthew Brown
7693ae692f
Merge pull request #192 from andyexeter/master
Add FileLocator::locate stub and test
2021-07-21 08:44:49 -04:00
andyexeter
e973ead035 Replace FileLocator stub with FileLocatorInterface stub 2021-07-21 13:27:39 +01:00