Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually merge 3.0.x into master #3954

Merged
merged 26 commits into from
Apr 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
2293b45
Install dependencies compatible with 7.2
greg0ire Apr 14, 2020
bee2a5a
Setup static analysis with Psalm
greg0ire Apr 14, 2020
72d9081
Merge pull request #3951 from greg0ire/sa-with-psalm
greg0ire Apr 14, 2020
c774923
Merge remote-tracking branch 'origin/2.10.x' into 2.11.x
greg0ire Apr 14, 2020
34b17f2
Merge branch '2.11.x' into 3.0.x
greg0ire Apr 14, 2020
b222367
Upgrade nikic/php-parser
greg0ire Apr 15, 2020
bcf6a61
Add missing use statement
greg0ire Apr 15, 2020
1e17583
Avoid conflict with parent phpdoc
greg0ire Apr 15, 2020
4cff5bc
Add stub file for PDO
greg0ire Apr 15, 2020
5a61341
Mark exceptions as immutable
greg0ire Apr 15, 2020
827bd22
Suppress errors about SqlAnywhere symbols
greg0ire Apr 15, 2020
365b4d7
Suppress errors about unreleased stubs
greg0ire Apr 15, 2020
bbf31dc
Use a proper default value
greg0ire Apr 15, 2020
95ab020
Merge pull request #3955 from greg0ire/smaller-baseline
morozov Apr 16, 2020
59aa258
Reworked LoggingTest to be able to test Statement::executeUpdate()
morozov Apr 17, 2020
0686b53
Merge pull request #3957 from morozov/logging-test
morozov Apr 17, 2020
9474267
Stop relying on the master version of Psalm
greg0ire Apr 18, 2020
fedac50
Mark every exception as immutable
greg0ire Apr 18, 2020
50e2321
Merge pull request #3964 from greg0ire/moar-immutable-exceptions
morozov Apr 18, 2020
03f139a
Merge pull request #3961 from greg0ire/stop-relying-on-psalm-master
morozov Apr 19, 2020
50927b6
Merge remote-tracking branch 'origin/2.10.x' into 2.11.x
greg0ire Apr 19, 2020
80306bc
Merge branch '2.11.x' into 3.0.x
greg0ire Apr 19, 2020
d4c7864
Merge branch '3.0.x'
greg0ire Apr 19, 2020
803f6d3
Sync expected coverage report count
greg0ire Apr 19, 2020
72a3c86
Merge pull request #3965 from greg0ire/adjust-expected-coverage-repor…
greg0ire Apr 19, 2020
93a4545
Merge remote-tracking branch 'origin/3.0.x'
greg0ire Apr 19, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: "Continuous Integration"

on:
pull_request:

jobs:
static-analysis-psalm:
name: Static Analysis with Psalm
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: "Install PHP"
uses: "shivammathur/[email protected]"
with:
coverage: "none"
php-version: "7.4"

- name: "Cache dependencies installed with composer"
uses: "actions/[email protected]"
with:
path: "~/.composer/cache"
key: "composer-${{ hashFiles('composer.json') }}"
restore-keys: "composer-"

- name: "Install dependencies with composer"
run: "composer update --no-interaction --no-progress --no-suggest"

- name: Psalm
run: "vendor/bin/psalm"
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ before_commands:
tools:
external_code_coverage:
timeout: 3600
runs: 26 # 21x Travis (jobs with COVERAGE=yes) + 3x AppVeyor (jobs with coverage=yes) + 2x ContinuousPHP
runs: 24 # 21x Travis (jobs with COVERAGE=yes) + 2x AppVeyor (jobs with coverage=yes) + 1x ContinuousPHP

filter:
excluded_paths:
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,13 @@
"require-dev": {
"doctrine/coding-standard": "^7.0",
"jetbrains/phpstorm-stubs": "^2019.1",
"nikic/php-parser": "^4.4",
"phpstan/phpstan": "^0.12.18",
"phpstan/phpstan-phpunit": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12.2",
"phpunit/phpunit": "^9.1.1",
"symfony/console": "^2.0.5|^3.0|^4.0|^5.0"
"symfony/console": "^2.0.5|^3.0|^4.0|^5.0",
"vimeo/psalm": "^3.11"
},
"suggest": {
"symfony/console": "For helpful console commands such as SQL execution and import of files."
Expand Down
Loading