File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
framework/tests/unit/testsuite/Magento/PhpStan/Reflection/DataObject
testsuite/Magento/Test/Php/_files/phpstan Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
declare (strict_types=1 );
7
7
8
- namespace Magento \PhpStan \Reflection \DataObject \ Fixtures ;
8
+ namespace Magento \PhpStan \Reflection \DataObject ;
9
9
10
10
use PHPStan \Rules \Methods \CallMethodsRule ;
11
11
use PHPStan \Rules \Rule ;
Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ dev/tests/api-functional/testsuite/Magento/Customer/Api/AddressRepositoryTest.ph
15
15
dev/tests/api-functional/testsuite/Magento/Framework/Model/Entity/HydratorTest.php
16
16
dev/tests/api-functional/testsuite/Magento/Integration/Model/AdminTokenServiceTest.php
17
17
dev/tests/api-functional/testsuite/Magento/Integration/Model/CustomerTokenServiceTest.php
18
+ dev/tools/UpgradeScripts/pre_composer_update_2.3.php
Original file line number Diff line number Diff line change @@ -27,6 +27,17 @@ parameters:
27
27
- ' #Function setCustomErrorHandler not found #'
28
28
# Ignore 'return statement is missing' error when 'void' is present in return type list
29
29
- '#Method (?:.*? ) should return (?:.*? )void (?:.*? ) but return statement is missing. #'
30
+ # Ignore constants, defined dynamically.
31
+ - ' #Constant TESTS_WEB_API_ADAPTER not found. #'
32
+ - ' #Constant TESTS_BASE_URL not found. #'
33
+ - ' #Constant TESTS_XDEBUG_ENABLED not found. #'
34
+ - ' #Constant TESTS_XDEBUG_SESSION not found. #'
35
+ - ' #Constant INTEGRATION_TESTS_DIR not found. #'
36
+ - ' #Constant MAGENTO_MODULES_PATH not found. #'
37
+ - ' #Constant TESTS_MODULES_PATH not found. #'
38
+ - ' #Constant TESTS_INSTALLATION_DB_CONFIG_FILE not found. #'
39
+ - ' #Constant T_[A-Z_ ]+ not found. #'
40
+
30
41
31
42
services :
32
43
-
You can’t perform that action at this time.
0 commit comments