Releases: psalm/psalm-plugin-doctrine
Releases · psalm/psalm-plugin-doctrine
Fixed stubs loading
Fixed
- Plugin could fail to load stubs (#12)
EntityRepository::find(), shorter closures and Collection::exists() signature fix
Added
EntityRepository::find()
andObjectRepository::find()
- thanks @jaikdean (#11)- Closures passed to
Collection::map()
,Collection::partition()
, etc are now allowed to omit arguments
Fixed
Collection::exists()
signatureCollection
sTKey
generic parameter is now limited toarray-key
Breaking changes
- Minimum Psalm version is now 3.0.15
Add EntityManager stub and typecheck Collection push
Added
- Collection push: now Psalm will check that you push a good item to the collection with
$collection[] = $item
EntityManager
stub (re-added)
Misc
- Friendlier test infrastructure with Gherkin scenarios
- Leaner dist archives
Fixed EntityManagerInterface and EntityRepository inheritance chain
0.2.1 Added basic test for Paginator
Stub Expr::andX() and Expr::orX()
New features
- Stubs for
Expr::andX()
andExpr::orX()
(#4)
Promote signatures from EntityManager to EntityManagerInterface/ObjectManager
Initial release
Adds some basic support for:
Collection
EntityManager
EntityRepository
Paginator