Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4bfa223

Browse files
authored
Merge pull request doctrine#7782 from doctrine/bump-phpstan
Update to PHPStan v0.11
2 parents 8c125b1 + 05d5478 commit 4bfa223

5 files changed

Lines changed: 22 additions & 60 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
before_script:
7878
- echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
7979
- echo "extension=redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
80-
script: vendor/bin/phpstan analyse -l 1 -c phpstan.neon lib
80+
script: vendor/bin/phpstan analyse
8181

8282
- stage: Code Quality
8383
env: DB=none BENCHMARK

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"require-dev": {
5454
"ext-pdo": "*",
5555
"doctrine/coding-standard": "^6.0",
56-
"phpstan/phpstan-shim": "^0.9.2",
56+
"phpstan/phpstan": "^0.11",
5757
"phpunit/phpunit": "^7.0"
5858
},
5959
"autoload": {

composer.lock

Lines changed: 17 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ class BasicEntityPersister implements EntityPersister
9393
{
9494
/** @var string[] */
9595
private static $comparisonMap = [
96-
Comparison::EQ => '= %s',
9796
Comparison::IS => '= %s',
9897
Comparison::NEQ => '!= %s',
9998
Comparison::GT => '> %s',
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
parameters:
2+
level: 1
3+
paths:
4+
- lib
25
earlyTerminatingMethodCalls:
36
Doctrine\ORM\Query\Parser:
47
- syntaxError

0 commit comments

Comments
 (0)