Commit Graph

204 Commits

Author SHA1 Message Date
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
fb2eb766e4
naming convention for parameters (#52) 2020-06-28 09:04:40 +03:00
Farhad Safarov
ec7545a086
[psalm] detect dead code & unused suppresses (#51) 2020-06-27 22:35:28 +03:00
Farhad Safarov
b9f4745e28
HeaderBag get default value return type (#49) 2020-06-26 14:58:43 +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
76ff9a0f8e
[container] multiple container xml file support (#45) 2020-06-19 16:18:31 +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
fa0ac3a728
issues extends PluginIssue (#38) 2020-06-12 07:06:17 +03:00
Farhad Safarov
f0b6ffab06
[console] argument and option name using const (#36)
* [console] argument and option name using const

* no message
2020-06-09 12:15:09 +03:00
Farhad Safarov
8abc28c3a3
Suggest Doctrine plugin 2020-05-27 17:08:01 +03:00
Farhad Safarov
d1f2fbab84
fix crash when using self::class in container get (#34)
* fix crash when using self::class in container get

* no message

* no message
2020-05-27 16:58:32 +03:00
Farhad Safarov
7a628c6fda
[RepositoryStringShortcut] complain when argument is string only (#33) 2020-05-26 18:53:50 +03:00
Farhad Safarov
55aa860581
Detect naming violations & container handler refactor (#29)
* refactor container handler

* readme
2020-05-16 06:06:51 +03:00
Brown
08ac379ad9 Only added container-loadable classes to specific symfony loaders 2020-05-15 10:01:05 -04:00
Farhad Safarov
95e6128cfa
[console] skip dynamic argument and option names (#27) 2020-04-27 08:38:20 +03:00
Matthew Brown
131c7a04f5
Remove unncessary arg 2020-04-19 22:55:47 -04:00
Matthew Brown
50601143b7
Add more accurate type 2020-04-19 22:52:57 -04:00
Matthew Brown
fcc034ee13
Merge pull request #16 from bendavies/github-actions-psalm-cache
cache psalm cache in ci to allow --diff --diff-methods
2020-04-19 22:49:26 -04:00
Matthew Brown
eb0bc207df
Add null check 2020-04-19 22:48:59 -04:00
Brown
d25112c347 Fix #25 - scan any Symfony class that could be returned in container 2020-04-19 20:40:27 -04: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
Ben Davies
4fe0ef7edc fix composer.json hashing 2020-03-19 10:12:43 +00:00
Ben Davies
a8c1a39a64 cache psalm cache in ci to allow --diff --diff-methods 2020-03-19 10:12:43 +00:00
Farhad Safarov
c2b2dd4ae7
assume service as public if public attribute is missing (#15) 2020-03-15 13:38:16 +03:00
Matthew Brown
007d3c6511
Add creator 2020-03-13 12:28:45 -04:00
Matthew Brown
9a585dc4db
Merge pull request #14 from bendavies/fix-github-actions
Github Actions: fix determining composer cache directory
2020-03-13 12:18:33 -04:00
Ben Davies
32b2307316 Github Actions: fix badge 2020-03-13 16:16:51 +00:00
Ben Davies
b215f29d4b Github Actions: fix codeception 2020-03-13 16:13:45 +00:00
Ben Davies
a3efcdb8df Github Actions: fix typo 2020-03-13 16:12:47 +00:00
Ben Davies
edc55e325a Github Actions: fix determining composer cache directory 2020-03-13 16:11:45 +00:00
Matthew Brown
cbc2fb26c0
Merge pull request #13 from bendavies/github-actions
Replace Travis with GitHub Actions
2020-03-13 12:07:29 -04:00
Ben Davies
01a5875f7f Replace Travis with GitHub Actions 2020-03-13 15:55:14 +00:00
Farhad Safarov
605ecdc542
test php 7.4 (#12) 2020-03-13 18:34:09 +03:00
Matthew Brown
d78af0c3cd
Fix ref 2020-03-13 11:00:11 -04:00
Matthew Brown
d21ccc2307 Migrate Seferov => Psalm 2020-03-13 10:51:18 -04:00
Matthew Brown
a1f37c396b
Update references 2020-03-13 10:45:04 -04:00
Matthew Brown
b74642dc70
Change name 2020-03-13 10:43:43 -04:00
Farhad Safarov
a610bcc94a
plugin config refactor (#11) 2020-03-12 21:32:49 +03:00
Farhad Safarov
d2f0447add
add class to codebase if service is used by id (#10)
* add class to codebase if service is used by id

* fix doc
2020-03-11 16:43:52 +03: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
patriziawacht
5e53558c97
check services from cached container service file (#7)
* load with $config ContaimerServicefile, parse service<=>class

* fix psalm messages, optimize code

* debug plugin-config take only for symfony-psalm-plugin, some optimizations cache servicemap

* Housekeeping fix psalm

* Update ClassHandler.php

Co-authored-by: Farhad Safarov <farhad.safarov@gmail.com>
2020-03-09 09:36:04 +03:00
Farhad Safarov
4e45a9d033
Detect ContainerInterface::get() result type (#6) 2020-01-03 07:45:29 +03:00
Farhad Safarov
c2924cb89a
[feature] request getContent return type fix (#5) 2019-12-06 12:25:16 +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