Skip to content

Commit 05d5478

Browse files
committedJul 28, 2019
Update to PHPStan v0.11
1 parent a896421 commit 05d5478

File tree

5 files changed

+22
-60
lines changed

5 files changed

+22
-60
lines changed
 

‎.travis.yml

+1-1
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

+1-1
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

+17-57
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

-1
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',

‎phpstan.neon ‎phpstan.neon.dist

+3
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)
Please sign in to comment.