File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
includes :
2
- - vendor/macopedia/ phpstan-magento1 /extension.neon
2
+ - vendor/mahocommerce/maho- phpstan-plugin /extension.neon
3
3
- .phpstan.dist.baseline.neon
4
4
- phar://phpstan.phar/conf/bleedingEdge.neon
5
5
parameters :
6
6
magentoRootPath : %currentWorkingDirectory%
7
+ bootstrapFiles :
8
+ - app/Mage.php
7
9
fileExtensions :
8
10
- php
9
11
- phtml
Original file line number Diff line number Diff line change 14
14
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
15
*/
16
16
17
- define ('DS ' , DIRECTORY_SEPARATOR );
18
- define ('PS ' , PATH_SEPARATOR );
17
+ defined ('DS ' ) || define ('DS ' , DIRECTORY_SEPARATOR );
18
+ defined ('PS ' ) || define ('PS ' , PATH_SEPARATOR );
19
+
19
20
define ('BP ' , dirname (__DIR__ ));
20
21
21
22
Mage::register ('original_include_path ' , get_include_path ());
Original file line number Diff line number Diff line change 6
6
" AFL-3.0"
7
7
],
8
8
"type" : " magento-source" ,
9
+ "repositories" : [
10
+ { "type" : " git" , "url" : " https://github.com/justinbeaty/maho-phpstan-plugin.git" }
11
+ ],
9
12
"require" : {
10
13
"php" : " >=7.4 <8.5" ,
11
14
"ext-ctype" : " *" ,
50
53
"composer/composer" : " ^2.7" ,
51
54
"dealerdirect/phpcodesniffer-composer-installer" : " ^1.0.0" ,
52
55
"friendsofphp/php-cs-fixer" : " ^3.4" ,
53
- "macopedia/phpstan-magento1" : " ^1.0.5" ,
54
56
"magento-ecg/coding-standard" : " ^4.5" ,
57
+ "mahocommerce/maho-phpstan-plugin" : " dev-topic-v3" ,
55
58
"openmage/dev-meta-package" : " ^1.0.5" ,
56
59
"perftools/php-profiler" : " ^1.1" ,
57
60
"phpcompatibility/php-compatibility" : " ^9.3" ,
You can’t perform that action at this time.
0 commit comments