Jordi Boggiano
16ee2e479f
Merge branch '2.2' into 2.3
2022-06-22 09:16:23 +02:00
naveen
14476ec2a6
chore: Set permissions for GitHub actions
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-22 08:18:22 +02:00
Jordi Boggiano
f459b9bf61
Avoid updating phpstan in 7.2 build
2022-03-26 14:41:55 +01:00
Jordi Boggiano
5122bd42fb
Merge branch '2.2' into main
2022-03-15 13:11:59 +01:00
jrfnl
dca2d49d0c
GH Actions: version update for various predefined actions
...
A number of predefined actions have had major release, which warrant an update to the workflow(s).
These updates don't actually contain any changed functionality, they are mostly just a change of the Node version used by the action itself (from Node 14 to Node 16).
Refs:
* https://github.com/actions/checkout/releases
P.S.: looks like there are some more actions in use which have had new major releases. As those actually _do_ contain changed functionality, I've excluded the others from this PR.
2022-03-15 12:49:38 +01:00
Andreas Möller
58deb39029
Enhancement: Update actions/github-script ( #10612 )
2022-03-15 10:22:01 +01:00
Andreas Möller
e9680c4c54
Enhancement: Update actions/stale ( #10610 )
2022-03-15 10:21:11 +01:00
jrfnl
6b36f822d6
GH Actions: version update for various predefined actions
...
A number of predefined actions have had major release, which warrant an update to the workflow(s).
These updates don't actually contain any changed functionality, they are mostly just a change of the Node version used by the action itself (from Node 14 to Node 16).
Refs:
* https://github.com/actions/checkout/releases
P.S.: looks like there are some more actions in use which have had new major releases. As those actually _do_ contain changed functionality, I've excluded the others from this PR.
2022-03-05 19:17:37 +01:00
Jordi Boggiano
e3d99cac59
Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch ( #10474 )
2022-01-21 12:48:16 +01:00
Jordi Boggiano
4f7d06e2a7
Mark PHP8.1 phpstan build experimental
2022-01-01 14:54:23 +01:00
Jordi Boggiano
095c36ecf8
Fix some PHPStan errors/..
2022-01-01 14:54:20 +01:00
Jordi Boggiano
59603a357a
Remove PHPUnit direct require again
2022-01-01 14:54:19 +01:00
Jordi Boggiano
2a771dfb2d
Update PHPUnit to 8.5
2022-01-01 14:54:19 +01:00
Jordi Boggiano
d2ede370be
Bump target version, bump PHP and dependency requirements to PHP 7.2+
2022-01-01 14:54:18 +01:00
Jordi Boggiano
aeb206bcfb
Fix CI for LTS
2021-12-09 12:02:20 +01:00
Jordi Boggiano
ef728bf8f7
Avoid removing the platform config on every build
2021-12-08 22:03:22 +01:00
Jordi Boggiano
2d92e2119a
Add deprecations checks
2021-12-07 09:33:45 +01:00
Jordi Boggiano
f758da32c9
Merge branch '2.1' into main
2021-11-30 10:39:44 +01:00
Jordi Boggiano
965b12cdec
Allow alpha and above for latest deps build to catch dependency problems earlier next time
2021-11-30 10:32:23 +01:00
Jordi Boggiano
f509c41280
Upgrade PHPStan to 1.0 ( #10253 )
...
Co-authored-by: Martin Herndl <martin@herndl.org>
2021-11-14 20:42:24 +01:00
Yanick Witschi
34183f49f9
Implemented PoolOptimizer
2021-11-11 16:13:24 +01:00
Viktor Szépe
e89459d964
Separate CI steps ( #10226 )
2021-10-27 14:54:36 +02:00
Fabien Villepinte
1dd2bc6f02
Validate composer.lock strictly ( #10160 )
2021-10-15 15:11:38 +02:00
Jordi Boggiano
135611fc9d
Add deprecation baseline for php8.1+ builds which use locked or lowest dependencies
2021-10-15 13:37:02 +02:00
Jordi Boggiano
5818b4aa51
Attempt fixing php8.1 build
2021-10-15 12:55:41 +02:00
Jordi Boggiano
2c292e705d
Mark and close stale support issues
2021-08-29 12:37:08 +02:00
Juliette
5f48f87501
PHPUnit: move environment variable into PHPUnit config file ( #10062 )
...
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2021-08-19 13:21:04 +02:00
Ondrej Mirtes
79093d664b
Update PHPStan and remove ignore
2021-07-21 10:10:09 +02:00
jrfnl
4324b375af
GH Actions: ensure linting is done against highest/lowest supported PHP version
...
`latest` in the matrix will always refer to the latest stable PHP release, which would now be PHP 8.0.
2021-06-21 21:05:19 +02:00
jrfnl
617d63f40a
GH Actions: set error reporting to E_ALL
...
Turns out the default setting for `error_reporting` used by the SetupPHP action is `error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT` and `display_errors` is set to `Off`.
For the purposes of CI, I'd recommend running with `E_ALL` and `display_errors=On` to ensure **all** PHP notices are shown.
2021-06-21 21:03:38 +02:00
Jordi Boggiano
4940009f83
Bump phpstan to level 3 ( #9734 )
...
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
2021-03-09 15:49:40 +01:00
Jordi Boggiano
4f2e0de726
Merge branch '1.10' into 2.0
2021-03-09 15:28:03 +01:00
Jordi Boggiano
06003f4da6
Update release step to use php8 as it produces slightly different output wrt white-space, fixes #9746
2021-03-09 15:27:35 +01:00
Jordi Boggiano
d6d4069b30
Try to fix windows CI again
2021-02-23 20:15:00 +01:00
Jordi Boggiano
06ef815ec8
Quote caret to avoid issues with cmd.exe
2021-02-23 20:10:25 +01:00
Jordi Boggiano
e1570798cd
Bump CI versions
2021-02-23 20:00:29 +01:00
Nicolas Grekas
ba94445bb9
Ensure InstalledVersions reports info about all currently registered class loaders
2021-01-27 10:39:35 +01:00
Jordi Boggiano
cfb3b85454
Update semver to latest
2020-11-12 12:59:48 +01:00
Jordi Boggiano
44dc3c27aa
Try and sign phars on releases, refs #5155
2020-10-27 16:18:55 +01:00
Graham Campbell
ceeb743d0b
Use latest phpunit
2020-10-13 14:14:45 +01:00
Jordi Boggiano
cb1c35ab52
Fix typo
2020-10-13 11:42:31 +02:00
Jordi Boggiano
fcbeedbb3a
Merge branch '1.10'
2020-10-13 11:22:34 +02:00
Jordi Boggiano
4a8dbcd145
Fix set-env to use the new gh actions files
2020-10-13 11:17:42 +02:00
Jordi Boggiano
c2317d59bb
Bump phpstan and deps
2020-09-11 11:56:16 +02:00
Jordi Boggiano
89c4cb8836
Bump phpstan and deps
2020-09-11 11:48:08 +02:00
Jordi Boggiano
711d4792ce
Attempt rolling back a couple changes
2020-09-11 11:23:24 +02:00
Graham Campbell
144d8e5359
Removed guff
2020-09-11 11:23:24 +02:00
Graham Campbell
1a2fea3509
Fix actions on PHP 8.0
2020-09-11 11:23:24 +02:00
Jordi Boggiano
1593b67230
Fix warnings on higher phpunit versions
2020-09-11 11:01:32 +02:00
Graham Campbell
99d4b802fb
Bumped minimum phpstan versions
2020-08-18 10:23:26 +01:00