File tree Expand file tree Collapse file tree 11 files changed +21
-13
lines changed
Expand file tree Collapse file tree 11 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 55/phpcs.xml.dist export-ignore
66/phpstan.neon export-ignore
77/phpunit.xml.dist export-ignore
8- /psalm.xml.dist export-ignore
8+ /psalm.xml export-ignore
99/psalm-baseline.xml export-ignore
1010/tests / export-ignore
Original file line number Diff line number Diff line change 1111jobs :
1212 coding-standards :
1313 name : " Coding Standards"
14- uses : " doctrine/.github/.github/workflows/coding-standards.yml@1.1.1 "
14+ uses : " doctrine/.github/.github/workflows/coding-standards.yml@1.3.0 "
1515 with :
16- php-version : ' 7.4'
16+ php-version : ' 8.0'
17+ composer-options : ' --prefer-dist --ignore-platform-req=php'
Original file line number Diff line number Diff line change 88jobs :
99 release :
1010 name : " Git tag, release & create merge-up PR"
11- uses : " doctrine/.github/.github/workflows/release-on-milestone-closed.yml@1.1.1 "
11+ uses : " doctrine/.github/.github/workflows/release-on-milestone-closed.yml@1.3.0 "
1212 secrets :
1313 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1414 GIT_AUTHOR_EMAIL : ${{ secrets.GIT_AUTHOR_EMAIL }}
Original file line number Diff line number Diff line change 1111jobs :
1212 static-analysis :
1313 name : " Static Analysis"
14- uses : " doctrine/.github/.github/workflows/static-analysis.yml@1.1.1 "
14+ uses : " doctrine/.github/.github/workflows/static-analysis.yml@1.3.0 "
1515 with :
16- php-version : ' 7.4'
16+ php-version : ' 8.0'
17+ composer-options : ' --prefer-dist --ignore-platform-req=php'
Original file line number Diff line number Diff line change 44/composer.lock
55/phpcs.xml
66/phpunit.xml
7- /psalm.xml
87/vendor /
Original file line number Diff line number Diff line change 6666 "require-dev" : {
6767 "doctrine/coding-standard" : " ^9.0.0" ,
6868 "doctrine/orm" : " ^2.10.2" ,
69- "jangregor/phpstan-prophecy" : " ^0.8.1 " ,
69+ "jangregor/phpstan-prophecy" : " ^1.0.0 " ,
7070 "laminas/laminas-i18n" : " ^2.11.3" ,
7171 "laminas/laminas-log" : " ^2.13.1" ,
7272 "laminas/laminas-mvc-console" : " ^1.3.0" ,
7373 "laminas/laminas-serializer" : " ^2.11.0" ,
7474 "laminas/laminas-session" : " ^2.12.0" ,
7575 "laminas/laminas-test" : " ^3.5.1" ,
7676 "phpspec/prophecy-phpunit" : " ^2.0.1" ,
77- "phpstan/phpstan" : " ^0.12.99 " ,
78- "phpstan/phpstan-phpunit" : " ^0.12.22 " ,
77+ "phpstan/phpstan" : " ^1.1.2 " ,
78+ "phpstan/phpstan-phpunit" : " ^1.0.0 " ,
7979 "phpunit/phpunit" : " ^9.5.10" ,
8080 "predis/predis" : " ^1.1.9" ,
8181 "vimeo/psalm" : " ^4.11.2"
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ parameters:
77 - src/Form/Element/ObjectMultiCheckboxV2Polyfill.php
88 - src/Form/Element/ObjectRadioV2Polyfill.php
99 - src/Form/Element/ObjectSelectV2Polyfill.php
10+ ignoreErrors :
11+ -
12+ message : ' #Property DoctrineModule\\Module::\$serviceManager is never read, only written.#'
13+ path : src/Module.php
1014includes :
1115 - vendor/phpstan/phpstan-phpunit/rules.neon
1216 - vendor/jangregor/phpstan-prophecy/extension.neon
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<psalm
33 errorLevel =" 5"
4+ phpVersion =" 8.0"
45 resolveFromConfigFile =" true"
56 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
67 xmlns =" https://getpsalm.org/schema/config"
Original file line number Diff line number Diff line change 1212use Laminas \Stdlib \Guard \ArrayOrTraversableGuardTrait ;
1313use ReflectionMethod ;
1414use RuntimeException ;
15- use Traversable ;
1615
1716use function array_change_key_case ;
1817use function array_key_exists ;
@@ -35,7 +34,7 @@ class Proxy implements ObjectManagerAwareInterface
3534{
3635 use ArrayOrTraversableGuardTrait;
3736
38- /** @var mixed[]|Traversable */
37+ /** @var mixed[] */
3938 protected $ objects ;
4039
4140 /** @var ?string */
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class ProxyAwareElementTestCase extends TestCase
2222 /** @var MockObject&ClassMetadata */
2323 protected $ metadata ;
2424
25- /** @var MockObject */
25+ /** @var object */
2626 protected $ element ;
2727
2828 /** @var ArrayCollection */
You can’t perform that action at this time.
0 commit comments