Skip to content

Releases: php-actions/phpstan

November 2024 patch release

27 Nov 18:22
d8f8887
Compare
Choose a tag to compare

What's Changed

  • Use composer version by default by @g105b in #21
  • Made path input parameter are non-required by @7-zete-7 in #29
  • Do not change phpstan phar permissions when not needed by @7-zete-7 in #28

New Contributors

Full Changelog: v3...v3.0.3

v3 rolling release

03 May 08:10
d8f8887
Compare
Choose a tag to compare

This tag will always point to the latest v3 release.

Extra memory

15 Feb 17:27
76a00bb
Compare
Choose a tag to compare

A few larger PHP repositories have had out-of-memory failures with PHPStan, and this release increases the Github Action runner's memory availability to 4G.

v3.0.1

11 Nov 10:44
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3...v3.0.1

v3.0.0

07 Jun 16:48
Compare
Choose a tag to compare
  • php-build has been updated to allow different versions of PHPStan/PHP to be built separately, meaning faster builds for your projects.
  • The host environment variables within Github Actions are passed to the Docker container. This Action runs as a Composite Runner, so the actual tests are ran within a custom Docker image, supplied by php-build.
  • When a build fails, all debug output is shown within the action's output, but is grouped within a "debug output" summary. This means that whether your build passes or fails, you'll still see the Composer output in the format you'd expect, but you are now only one click away from viewing all the commands Github Actions ran to get the build running, in case there is a configuration issue to debug. This is shown as the last line of the output, as a clickable summary group that expands to show the full detail.

From now on, minor version releases will be made using semantic versioning, with the major version being retagged on the non-specific version tag. For example, the release of v3.0.0 will be tagged as both v3.0.0 and v3 - when a minor version is released, a new tag of v3.1.0 will be created, and the v3 tag will be retagged to point to the latest release within the major release of 3.x. This gives developers the choice of whether to keep up to date with all v3 developments, or fix their builds to a specific version of this action.

As always, have fun and stay productive!

If you've found this action helpful, please consider sponsoring the developer.

Speed improvements and self-owned packages

23 Dec 10:54
Compare
Choose a tag to compare

This release of php-actions/phpstan has tackled speed issues associated with previous versions, while maintaining (and enhancing) the configuration possibilities - you can still choose between PHP version and PHPStan version, but now you can also choose which PHP extensions are installed for your test runs, making the test runner extremely minimal with only the baseline required components.

Please note, to achieve the build speeds and configuration possibilities, the custom Docker image is pushed to the repository that calls the action. This means that your user or organisation will list the package on the page at https://github.com/{organisation}/packages. This shouldn't have any effect on things, but it's worth knowing about.

Public release (v1)

17 Sep 13:33
Compare
Choose a tag to compare
Disable interactive terminal