Commit Graph

167 Commits

Author SHA1 Message Date
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
andyexeter
d545c4d671 Add FileLocator::locate stub and test 2021-07-21 13:09:08 +01:00
Andy Palmer
75798144a3
[controller] add missing use statements to stub (#191) 2021-07-13 17:47:03 +03:00
Bruce Weirdan
2992656853
Upgrade Psalm interfaces (#186) 2021-07-04 20:21:01 +03:00
Bruce Weirdan
74cfb5f481
Simplify GHA workflow (#185) 2021-06-19 11:16:18 +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
ce6bb2995b
[console] params analyze considering PHP8 named arguments (#183) 2021-06-04 12:00:11 +03:00
Farhad Safarov
f2a2aee2c8
fix tests - suppress new sf deprecated classes (#182) 2021-06-03 14:52:59 +03:00
Philip Weinke
c12c63cc44
Allow covariants of object for message of Envelope (#154) (#181) 2021-05-31 07:19:12 +03:00
Farhad Safarov
a9af8a6f0e
update to fix tests (#180) 2021-05-26 01:38:54 +03:00
Farhad Safarov
497d831b07
Upgrade php-cs-fixer to v3 (#178) 2021-05-10 11:14:54 +03:00
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