Skip to content

Commit 54c6d48

Browse files
committed
Adapt phpstan-baseline.neon to 6.0-dev
1 parent b91af80 commit 54c6d48

File tree

1 file changed

+26
-99
lines changed

1 file changed

+26
-99
lines changed

phpstan-baseline.neon

Lines changed: 26 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -944,24 +944,6 @@ parameters:
944944
count: 1
945945
path: administrator/components/com_categories/src/View/Category/HtmlView.php
946946

947-
-
948-
message: '''
949-
#^Call to deprecated method getInstance\(\) of class Joomla\\String\\Inflector\:
950-
3\.0 Use static methods without a class instance instead\.$#
951-
'''
952-
identifier: staticMethod.deprecated
953-
count: 1
954-
path: administrator/components/com_categories/tmpl/categories/default.php
955-
956-
-
957-
message: '''
958-
#^Call to deprecated method toPlural\(\) of class Joomla\\String\\Inflector\:
959-
3\.0 Use Doctrine\\Common\\Inflector\\Inflector\:\:pluralize\(\) instead\.$#
960-
'''
961-
identifier: method.deprecated
962-
count: 1
963-
path: administrator/components/com_categories/tmpl/categories/default.php
964-
965947
-
966948
message: '#^Access to an undefined property Joomla\\Component\\Categories\\Administrator\\View\\Category\\HtmlView\:\:\$useCoreUI\.$#'
967949
identifier: property.notFound
@@ -3486,6 +3468,17 @@ parameters:
34863468
count: 2
34873469
path: administrator/components/com_languages/src/Controller/InstalledController.php
34883470

3471+
-
3472+
message: '''
3473+
#^Call to deprecated method getError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\:
3474+
3\.1\.4 will be removed in 7\.0
3475+
Will be removed without replacement
3476+
Catch thrown Exceptions instead of getError$#
3477+
'''
3478+
identifier: method.deprecated
3479+
count: 2
3480+
path: administrator/components/com_languages/src/Controller/InstalledController.php
3481+
34893482
-
34903483
message: '''
34913484
#^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Language\\Language\:
@@ -3531,6 +3524,17 @@ parameters:
35313524
count: 1
35323525
path: administrator/components/com_languages/src/Controller/OverrideController.php
35333526

3527+
-
3528+
message: '''
3529+
#^Call to deprecated method getError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\:
3530+
3\.1\.4 will be removed in 7\.0
3531+
Will be removed without replacement
3532+
Catch thrown Exceptions instead of getError$#
3533+
'''
3534+
identifier: method.deprecated
3535+
count: 1
3536+
path: administrator/components/com_languages/src/Controller/OverridesController.php
3537+
35343538
-
35353539
message: '''
35363540
#^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\:
@@ -5871,24 +5875,6 @@ parameters:
58715875
count: 1
58725876
path: administrator/components/com_tags/tmpl/tag/edit.php
58735877

5874-
-
5875-
message: '''
5876-
#^Call to deprecated method getInstance\(\) of class Joomla\\String\\Inflector\:
5877-
3\.0 Use static methods without a class instance instead\.$#
5878-
'''
5879-
identifier: staticMethod.deprecated
5880-
count: 1
5881-
path: administrator/components/com_tags/tmpl/tags/default.php
5882-
5883-
-
5884-
message: '''
5885-
#^Call to deprecated method toPlural\(\) of class Joomla\\String\\Inflector\:
5886-
3\.0 Use Doctrine\\Common\\Inflector\\Inflector\:\:pluralize\(\) instead\.$#
5887-
'''
5888-
identifier: method.deprecated
5889-
count: 1
5890-
path: administrator/components/com_tags/tmpl/tags/default.php
5891-
58925878
-
58935879
message: '''
58945880
#^Call to deprecated method getError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\:
@@ -7078,12 +7064,6 @@ parameters:
70787064
count: 1
70797065
path: administrator/components/com_users/tmpl/user/edit_groups.php
70807066

7081-
-
7082-
message: '#^Call to method pluralize\(\) of deprecated class Doctrine\\Common\\Inflector\\Inflector\.$#'
7083-
identifier: staticMethod.deprecatedClass
7084-
count: 1
7085-
path: administrator/components/com_workflow/src/Controller/DisplayController.php
7086-
70877067
-
70887068
message: '''
70897069
#^Call to deprecated method getError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\:
@@ -7374,30 +7354,6 @@ parameters:
73747354
count: 1
73757355
path: administrator/modules/mod_stats_admin/src/Helper/StatsAdminHelper.php
73767356

7377-
-
7378-
message: '''
7379-
#^Call to deprecated method getLanguage\(\) of class Joomla\\CMS\\Factory\:
7380-
4\.3 will be removed in 6\.0
7381-
Use the language service in the DI container or get from the application object
7382-
Example\:
7383-
Factory\:\:getApplication\(\)\-\>getLanguage\(\);$#
7384-
'''
7385-
identifier: staticMethod.deprecated
7386-
count: 2
7387-
path: administrator/modules/mod_submenu/mod_submenu.php
7388-
7389-
-
7390-
message: '''
7391-
#^Call to deprecated method getLanguage\(\) of class Joomla\\CMS\\Factory\:
7392-
4\.3 will be removed in 6\.0
7393-
Use the language service in the DI container or get from the application object
7394-
Example\:
7395-
Factory\:\:getApplication\(\)\-\>getLanguage\(\);$#
7396-
'''
7397-
identifier: staticMethod.deprecated
7398-
count: 1
7399-
path: administrator/modules/mod_submenu/src/Menu/Menu.php
7400-
74017357
-
74027358
message: '''
74037359
#^Call to method getDispatcher\(\) of deprecated interface Joomla\\CMS\\Application\\EventAwareInterface\:
@@ -13216,7 +13172,7 @@ parameters:
1321613172
-
1321713173
message: '''
1321813174
#^Call to method getDispatcher\(\) of deprecated interface Joomla\\CMS\\Application\\EventAwareInterface\:
13219-
4\.3 will be removed in 6\.0
13175+
4\.3 will be removed in 7\.0
1322013176
This interface will be removed without replacement as the Joomla 3\.x compatibility layer will be removed$#
1322113177
'''
1322213178
identifier: method.deprecatedInterface
@@ -13533,24 +13489,7 @@ parameters:
1353313489
Catch thrown Exceptions instead of getError$#
1353413490
'''
1353513491
identifier: method.deprecated
13536-
count: 6
13537-
path: libraries/src/MVC/Controller/ApiController.php
13538-
13539-
-
13540-
message: '''
13541-
#^Call to deprecated method getErrors\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\:
13542-
3\.1\.4 will be removed in 7\.0
13543-
Will be removed without replacement
13544-
Catch thrown Exceptions instead of getErrors$#
13545-
'''
13546-
identifier: method.deprecated
13547-
count: 1
13548-
path: libraries/src/MVC/Controller/ApiController.php
13549-
13550-
-
13551-
message: '#^Call to method singularize\(\) of deprecated class Doctrine\\Common\\Inflector\\Inflector\.$#'
13552-
identifier: staticMethod.deprecatedClass
13553-
count: 4
13492+
count: 2
1355413493
path: libraries/src/MVC/Controller/ApiController.php
1355513494

1355613495
-
@@ -15016,7 +14955,7 @@ parameters:
1501614955
-
1501714956
message: '''
1501814957
#^Call to deprecated method register\(\) of class JLoader\:
15019-
4\.3 will be removed in 6\.0
14958+
4\.3 will be removed in 7\.0
1502014959
Classes should be autoloaded\. Use JLoader\:\:registerPrefix\(\) or JLoader\:\:registerNamespace\(\) to
1502114960
register an autoloader for your files\.$#
1502214961
'''
@@ -15359,7 +15298,7 @@ parameters:
1535915298
-
1536015299
message: '''
1536115300
#^Call to method getDispatcher\(\) of deprecated interface Joomla\\CMS\\Application\\EventAwareInterface\:
15362-
4\.3 will be removed in 6\.0
15301+
4\.3 will be removed in 7\.0
1536315302
This interface will be removed without replacement as the Joomla 3\.x compatibility layer will be removed$#
1536415303
'''
1536515304
identifier: method.deprecatedInterface
@@ -16020,12 +15959,6 @@ parameters:
1602015959
count: 2
1602115960
path: plugins/workflow/featuring/src/Extension/Featuring.php
1602215961

16023-
-
16024-
message: '#^Call to method singularize\(\) of deprecated class Doctrine\\Common\\Inflector\\Inflector\.$#'
16025-
identifier: staticMethod.deprecatedClass
16026-
count: 1
16027-
path: plugins/workflow/featuring/src/Extension/Featuring.php
16028-
1602915962
-
1603015963
message: '#^Access to an undefined property Joomla\\Plugin\\Workflow\\Notification\\Extension\\Notification\:\:\$app\.$#'
1603115964
identifier: property.notFound
@@ -16037,9 +15970,3 @@ parameters:
1603715970
identifier: property.notFound
1603815971
count: 2
1603915972
path: plugins/workflow/publishing/src/Extension/Publishing.php
16040-
16041-
-
16042-
message: '#^Call to method singularize\(\) of deprecated class Doctrine\\Common\\Inflector\\Inflector\.$#'
16043-
identifier: staticMethod.deprecatedClass
16044-
count: 1
16045-
path: plugins/workflow/publishing/src/Extension/Publishing.php

0 commit comments

Comments
 (0)