github vimeo/psalm 7.15.0

one hour ago

What's Changed

Features

  • Give Closure::getCurrent() the signature of the closure it is called in by @danog in #14467
  • Report native constants newer than the analysed PHP version by @danog in #14478

Fixes

  • Date native symbols from a generated dictionary instead of loading every callmap by @danog in #14464
  • Charge io for the pgsql, pcntl and posix functions that use the server, the process or the system by @danog in #14465
  • Keep the callmap return type of a builtin whose stub declares none by @danog in #14466
  • Let a lazy ghost initializer call the constructor of the object it is given by @danog in #14470
  • Read C::{$name} like C::NAME when $name holds literal names by @danog in #14468
  • Don't crash on a static call of a native method newer than the runtime by @danog in #14479

Internal changes

  • Look up a file's directories in the unrequired package paths by @orklah in #14533

Full Changelog: 7.14.0...7.15.0

Don't miss a new psalm release

NewReleases is sending notifications on new releases.