Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
132709c
Temporarily remove deprecations about ns move
greg0ire Jan 8, 2020
ff7e08b
Merge pull request #87 from greg0ire/temporarily-remove-deprecations
greg0ire Jan 9, 2020
02ff1b8
Merge remote-tracking branch 'origin/1.3.x' into 1.4.x
greg0ire Jan 9, 2020
783cfc8
Trigger autoload for deprecated type
greg0ire Jan 14, 2020
be70c01
Merge pull request #92 from greg0ire/autoload-deprecated-type
greg0ire Jan 14, 2020
27d39f1
Merge pull request #93 from doctrine/1.3.x-merge-up-into-1.4.x_5e1e0c…
greg0ire Jan 14, 2020
f584465
Add further check if TypedNoDefaultReflectionProperty is needed based…
beberlei Jan 16, 2020
5dd3ac5
Merge pull request #94 from doctrine/add_typed_no_default_reflection_…
beberlei Jan 16, 2020
9c48ffb
Merge pull request #95 from doctrine/1.3.x-merge-up-into-1.4.x_5e2174…
alcaeus Jan 17, 2020
d30707f
Bump dependency to doctrine/reflection to v1.2
beberlei Mar 21, 2020
0af483f
Merge pull request #100 from doctrine/BumpReflection1.2
beberlei Mar 21, 2020
f5cf0d5
Merge pull request #101 from doctrine/1.3.x-merge-up-into-1.4.x_5e762…
greg0ire Mar 21, 2020
195ec10
Drop BC layer
greg0ire May 11, 2020
2a2b3f9
Refer to the new namespace in docs
greg0ire May 11, 2020
4c6914b
Merge pull request #107 from greg0ire/refer-to-new-namespace-in-docs
SenseException May 12, 2020
16c639c
Reflect the reality in the interface
greg0ire May 1, 2020
2372213
Require and configure Psalm
greg0ire May 1, 2020
16fbd29
Merge pull request #105 from greg0ire/psalm-sa
greg0ire May 12, 2020
7c70c96
Merge remote-tracking branch 'origin/1.3.x' into 1.4.x
greg0ire May 12, 2020
2918b69
Merge branch '1.4.x' into would-be-2.x
greg0ire May 12, 2020
53450e5
Adds generics annotations
weph May 1, 2020
2b28bb9
Merge pull request #104 from weph/psalm-generics
greg0ire May 12, 2020
1dee036
Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
greg0ire May 12, 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
38 changes: 38 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

name: "Continuous Integration"

on:
pull_request: null

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

strategy:
matrix:
php-version:
- "7.4"

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

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"

- name: "Cache dependencies installed with composer"
uses: "actions/cache@v1"
with:
path: "~/.composer/cache"
key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
restore-keys: "php-${{ matrix.php-version }}-composer-locked-"

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

- name: "Run a static analysis with vimeo/psalm"
run: "vendor/bin/psalm --show-info=false --stats --output-format=github --threads=$(nproc)"
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ php:
- 7.1
- 7.2
- 7.3
- 7.4snapshot
- 7.4

cache:
directories:
Expand All @@ -23,9 +23,6 @@ script:
- ./vendor/bin/phpunit

jobs:
allow_failures:
- php: 7.4snapshot

include:
- stage: Test
env: DEPENDENCIES=low
Expand All @@ -50,6 +47,7 @@ jobs:
script: ./vendor/bin/phpcs

- stage: Code Quality
php: 7.4
env: STATIC_ANALYSIS
install: travis_retry composer install --prefer-dist
script: vendor/bin/phpstan analyze
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@
"doctrine/cache": "^1.0",
"doctrine/collections": "^1.0",
"doctrine/event-manager": "^1.0",
"doctrine/reflection": "^1.0"
"doctrine/reflection": "^1.2"
},
"require-dev": {
"phpstan/phpstan": "^0.11",
"doctrine/coding-standard": "^6.0",
"phpunit/phpunit": "^7.0"
"phpunit/phpunit": "^7.0",
"vimeo/psalm": "^3.11"
},
"conflict": {
"doctrine/common": "<2.10@dev"
Expand All @@ -43,12 +44,13 @@
},
"autoload-dev": {
"psr-4": {
"Doctrine\\Tests\\": "tests/Doctrine/Tests"
"Doctrine\\Tests\\": "tests/Doctrine/Tests",
"Doctrine\\Tests_PHP74\\": "tests/Doctrine/Tests_PHP74"
}
},
"extra": {
"branch-alias": {
"dev-master": "1.3.x-dev"
"dev-master": "2.x-dev"
}
}
}
Loading