3.8.0
What's Changed
Added
Add optional phpMyAdmin SQL parser integration by @canvural in https://github.com/larastan/larastan/pull/2388
Larastan can now detect automatically if you have phpmyadmin/sql-parser package and use that to parse your squashed database migrations. This parser package has better support for different SQL keywords. Note: The package has GPL 2 license. Meaning if you install it and distribute your app with it you also need to have GPL 2 licensed application. But generally this is not a problem because you should install Larastan and the sql-parser package as a development dependency and remove these development dependencies while deploying your application to production.
Treat unsigned database columns as non-negative-int https://github.com/larastan/larastan/commit/52aa393d253a998479dfefbcbf2ed04a75e2fa1a
Fixed
- fix: add int to Enumerable::pluck argument https://github.com/larastan/larastan/commit/974100dc48f5eeb9779c86ca55aad17fc7d7b768
- fix: cache model casts https://github.com/larastan/larastan/commit/0ea3de7f3d6f08f003a5328f5f3085b67f3934fb
- chore: use cached parser for parsing migrations https://github.com/larastan/larastan/commit/8245ac38ddb55037149775a26c5350f436280702
Internal
- chore: phpunit hasProperty/getProperty deprecations by @calebdw in https://github.com/larastan/larastan/pull/2379
Full Changelog: https://github.com/larastan/larastan/compare/v3.7.2...v3.8.0