Skip to content

Commit

Permalink
Update dev dependencies and code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Tubach committed Mar 13, 2024
1 parent 6e73d45 commit f407ab1
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 13 deletions.
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true,
"phpstan/extension-installer": true
}
},
"require": {
Expand All @@ -33,8 +35,8 @@
"systopia/opis-json-schema-ext": "~0.2"
},
"require-dev": {
"drupal/core": "^9.1.6",
"drupal/core-dev": "^9.1.6"
"drupal/core": "^9.5 || ^10",
"drupal/core-dev": "^9.5 || ^10"
},
"scripts": {
"composer-phpstan": [
Expand Down
2 changes: 1 addition & 1 deletion src/Form/Control/Callbacks/SelectCallbacks.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\json_forms\Form\Control\Callbacks;

Expand Down
2 changes: 1 addition & 1 deletion src/Form/Control/HiddenArrayFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\json_forms\Form\Control;

Expand Down
2 changes: 1 addition & 1 deletion src/Form/Control/StringArrayFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\json_forms\Form\Control;

Expand Down
2 changes: 1 addition & 1 deletion src/Form/Util/FieldNameUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\json_forms\Form\Util;

Expand Down
2 changes: 1 addition & 1 deletion src/Form/Util/JsonConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\json_forms\Form\Util;

Expand Down
2 changes: 1 addition & 1 deletion src/Form/Validation/FormValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\json_forms\Form\Validation;

Expand Down
2 changes: 1 addition & 1 deletion src/Form/Validation/FormValidatorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\json_forms\Form\Validation;

Expand Down
2 changes: 1 addition & 1 deletion src/Form/Validation/OpisValidatorFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\json_forms\Form\Validation;

Expand Down
2 changes: 1 addition & 1 deletion src/Form/Validation/ValidationResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\json_forms\Form\Validation;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Unit/Form/Util/FieldNameUtilTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\json_forms\Unit\Form\Util;

Expand Down

0 comments on commit f407ab1

Please sign in to comment.