Skip to content

Commit

Permalink
Fixes for PHPCQ2
Browse files Browse the repository at this point in the history
  • Loading branch information
e-spin committed Jan 20, 2024
1 parent 840a719 commit 260b9fa
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .composer-require-checker.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{
"symbol-whitelist": [
"array", "bool", "false", "int", "null", "self", "static", "parent", "string", "true", "void",
"ampersand", "array_insert", "array_is_assoc", "nl2br_html5", "TL_ERROR",
"Contao\\ManagerBundle\\ContaoManagerBundle",
"Contao\\ManagerPlugin\\Bundle\\BundlePluginInterface",
"Contao\\ManagerPlugin\\Bundle\\Config\\BundleConfig",
"Contao\\ManagerPlugin\\Bundle\\Parser\\ParserInterface"
"Contao\\ManagerPlugin\\Bundle\\Parser\\ParserInterface",
"Symfony\\Component\\Config\\FileLocator",
"Symfony\\Component\\Console\\Application",
"Symfony\\Component\\DependencyInjection\\ContainerBuilder",
"Symfony\\Component\\DependencyInjection\\Loader\\YamlFileLoader",
"Symfony\\Component\\HttpFoundation\\Response",
"Symfony\\Component\\HttpKernel\\Bundle\\Bundle",
"Symfony\\Component\\HttpKernel\\DependencyInjection\\ConfigurableExtension"
]
}
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"config": {
"allow-plugins": {
"contao-components/installer": false,
"contao/manager-plugin": true
"contao/manager-plugin": true,
"php-http/discovery": true
}
},
"extra": {
Expand Down
2 changes: 1 addition & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<psalm
errorLevel="8"
errorLevel="3"
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
Expand Down
1 change: 1 addition & 0 deletions src/Contao/Widget/FormMultiColumnWizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class FormMultiColumnWizard extends MultiColumnWizard
* @param array $arrAttributes The attributes for the widget.
*
* @noinspection PhpMissingParentConstructorInspection
*
* @SuppressWarnings(PHPMD.Superglobals)
*/
public function __construct($arrAttributes = [])
Expand Down

0 comments on commit 260b9fa

Please sign in to comment.