1
0
Fork 0
Commit Graph

140 Commits (10667db1ba369254e6a7d0231bff139fedb6fc80)

Author SHA1 Message Date
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 7157097ea0
Update ISSUE_TEMPLATE.md 2021-06-09 09:47:37 +02:00
Jordi Boggiano aaf722db01
Update PR template 2021-06-07 15:52:33 +02:00
Jordi Boggiano 991985792d
Merge branch '2.0' 2021-05-20 14:16:52 +02:00
Guilliam Xavier 8d8842eb8c
Fix schema minimum-stability pattern 2021-05-20 14:15:39 +02:00
Jordi Boggiano b6826f3523
Create pull_request_template.md 2021-03-11 21:28:58 +01: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 0da9e216fc
Update ISSUE_TEMPLATE.md 2020-11-27 13:10:48 +01:00
Jordi Boggiano d98d63abcc
Add note to issue template.. 2020-11-27 13:05:32 +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
Graham Campbell f5c2bdb783 Use latest cache action 2020-08-18 10:23:09 +01:00
Jordi Boggiano 0eebdcf2e6
Merge pull request #9122 from staabm/patch-2
phpstan natively sends github action formatted errors
2020-08-13 17:01:48 +02:00
Markus Staab fdff3aeaba
emit github action formatted error messages (#9120) 2020-08-13 16:37:32 +02:00
Markus Staab 2279b6fdad
phpstan natively sends github action formatted errors
no need to use cs2pr for now
2020-08-13 15:57:39 +02:00
Rob Bast 11892070d1
Create an issue @ Docker repository on tag 2020-07-16 14:48:16 +02:00
Jordi Boggiano 8dae1dd45a
Merge branch '1.10' 2020-07-16 13:05:17 +02:00
Jordi Boggiano eec2f8d423
Remove highest/lowest builds for 1.10 maintenance branch 2020-07-16 12:37:54 +02:00
Rob Bast 351dcd1c64
Create an issue @ Docker repository on tag 2020-06-29 14:22:11 +02:00
Ayesh Karunaratne d906ff12c9
PHPStan fixes: `autoload_files`, and `ignoreErrors` (#8974)
* PHPStan: Remove autoload_files directive as it is not necessary anymore

* PHPStan: Add error exclusions for sapi_windows_set_ctrl_handler function

* PHPStan: Add error exclusions for ZipArchive::LIBZIP_VERSION

* PHPStan: Require phpstan ^0.12.26

* Ensure zip ext is available on gh actions

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2020-06-16 10:05:44 +02:00
Jordi Boggiano c9571f90b4
Run phpstan with regular output and then run again to cs2pr if there was an error, to keep usable output in CI logs 2020-06-04 16:11:02 +02:00
Jordi Boggiano 81c6fe987b
Remove empty env var 2020-06-03 10:26:56 +02:00
Graham Campbell 7a97741aae
Use --ignore-platform-req=php (#8936) 2020-06-02 13:03:58 +02:00
Jordi Boggiano 0a0291e913
Remove deprecated flag 2020-05-28 10:31:46 +02:00
Jordi Boggiano ce52c408f0
Disable platform checks for php8 2020-05-28 10:15:38 +02:00
Jordi Boggiano 38557b2460
Reorder build steps 2020-05-28 09:49:41 +02:00
Jordi Boggiano dce9b129bb
Use PUB 5.1+ for php8 builds 2020-05-28 09:37:22 +02:00
Jordi Boggiano 5ab0ecda04
Try disabling platform-check for PHPUnitBridge on php8 2020-05-27 22:12:12 +02:00
Jordi Boggiano e8acd60245
Fix sudo command 2020-05-26 21:34:56 +02:00
Jordi Boggiano 59f9633244
Again.. 2020-05-26 20:26:58 +02:00
Jordi Boggiano 42d760fb51
Make the Composer self-update succeed by using sudo 2020-05-26 20:24:48 +02:00
Jordi Boggiano 628730ba34
Run builds with composer snapshots 2020-05-26 20:16:52 +02:00
Jordi Boggiano 4e1f8cf89d
Build tweaks 2020-05-20 16:20:54 +02:00
Jordi Boggiano 106289e5dc
Fix lowest 8 build to use ignore platform reqs 2020-05-13 08:56:37 +02:00
Cees-Jan Kiewiet b5f8f750c2
Test PHP 8.0 with lowest dependencies (#8878) 2020-05-09 15:51:57 +02:00
Jordi Boggiano ec3f18ee92
Remove workaround as it is not working anyway 2020-05-06 13:47:03 +02:00
Jordi Boggiano 88ced66f2c
Fix issue with PHPUnitBridge autoload 2020-05-06 13:38:05 +02:00
Jordi Boggiano cb2fca5d13
Try to workaround react/promise php8 issue 2020-05-06 13:34:06 +02:00
Jordi Boggiano a8cd2941e5
Fix phar compilation test 2020-05-06 13:32:13 +02:00
Jordi Boggiano 4b1e386fff
Make sure php8 runs tests, and that 7.3 runs complete test suite 2020-05-06 13:23:38 +02:00
Jordi Boggiano b7dd5b0680
PHP8 again 2020-05-06 11:38:48 +02:00
Jordi Boggiano 9c0f7d4bce
Try fixing php8 build 2020-05-06 11:25:57 +02:00
Jordi Boggiano e5a5a9175d
Fix php8 build bootstrap 2020-05-04 20:16:56 +02:00
Jordi Boggiano 21aeef1365
Allow php 8 tests to run, require latest semver dev 2020-05-04 14:33:58 +02:00
Markus Staab 3c1757575e
Annotate phpstan errors in pull requests
Utilizing https://github.com/staabm/annotate-pull-request-from-checkstyle
2020-04-30 09:44:22 +02:00
Jordi Boggiano d8678fc8f2
Update CONTRIBUTING.md 2020-04-23 11:14:42 +02:00
Jordi Boggiano c757c9fa37
7.4 highest errors are fixed on 2.0 branch already 2020-04-22 10:57:07 +02:00
Jordi Boggiano c0b0149040
Try and fix phpstan 2020-04-22 10:33:36 +02:00
Jordi Boggiano e046523631
Fix phpstan workflow 2020-04-22 09:46:33 +02:00
Jordi Boggiano 1dd78c0163
Merge branch '1.10' 2020-04-22 09:44:42 +02:00
Jordi Boggiano 4ccd8e1081
Mark 7.4 latest deps build experimental for now 2020-04-22 09:37:04 +02:00
Jordi Boggiano f51810f1c9
Fix continue-on-error failure 2020-04-22 09:33:55 +02:00
Jordi Boggiano eeaa099021
Stop ignoring build changes to trigger build, that was smart :D 2020-04-22 09:32:50 +02:00
Jordi Boggiano 9a0e6e6885
Fix build 2020-04-22 09:31:04 +02:00
Jordi Boggiano ac3fcfc9ec
Fix build 2020-04-22 09:30:34 +02:00
Jordi Boggiano a849e2b244
Add linting, php8, release builds to github actions 2020-04-22 09:27:58 +02:00
Jordi Boggiano ebd30cf831
Use correct command.. 2020-04-22 08:30:44 +02:00
Jordi Boggiano acef74d1ab
Attempt at optimizing the job matrix 2020-04-22 08:28:22 +02:00
Markus Staab ef8c410098
GithubActions: build master branch + pull requests 2020-04-22 08:12:57 +02:00
Andreas Möller f9032087ba
Fix: Install ext-intl 2020-04-22 07:59:05 +02:00
Jordi Boggiano 1eaa8cd55f
Merge branch '1.10' 2020-04-21 15:48:10 +02:00
Andreas Möller e25bea0343
Enhancement: Run jobs on GitHub Actions 2020-04-21 15:40:39 +02:00
Ayesh Karunaratne 280f02b4bc
Update HTTP URLs to their HTTPS if they already redirect automatically 2020-04-13 06:22:02 +07:00
Jordi Boggiano 8850e571de
Remove file in favor of https://github.com/composer/.github/blob/master/FUNDING.yml 2020-02-28 10:36:29 +01:00
Jordi Boggiano e862650571
Create FUNDING.yml 2019-11-29 10:58:30 +01:00
Jordi Boggiano 55c40e8853
Add note about CS fixes to contribution notes 2018-11-26 13:43:24 +01:00
Jordi Boggiano 30e8845b1e Add security email for sensitive reports 2016-11-17 14:40:36 +01:00
Jordi Boggiano ca1168478b Remove expander blocks in issue template 2016-10-08 09:59:18 +02:00
Rob Bast 3784558f11
update github issue template 2016-09-08 12:17:51 +02:00
Rob Bast 04605e4f90 update ccoc to v1.4 2016-07-25 09:00:49 +02:00
Jordi Boggiano a8e9df55dc Add issue template to try and curb reports lacking information 2016-03-17 11:42:19 +00:00