Skip to content

Commit

Permalink
Merge pull request #241 from skaut/dependabot/composer/phan/phan-3.2.0
Browse files Browse the repository at this point in the history
Bump phan/phan from 3.1.1 to 3.2.0
  • Loading branch information
marekdedic authored Aug 26, 2020
2 parents f88a703 + eca8004 commit 87cd71f
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 31 deletions.
3 changes: 2 additions & 1 deletion .phan/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
*/

return array(
'target_php_version' => '7.3',
'target_php_version' => '7.4',
'minimum_target_php_version' => '7.0',
'backward_compatibility_checks' => false, // Covered by PHPCS.
'warn_about_undocumented_throw_statements' => true,
'strict_method_checking' => true,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"source": "https://github.com/skaut/crdm-modern"
},
"require": {
"php": "^7.2"
"php": "^7.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.4",
Expand Down
54 changes: 27 additions & 27 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<arg name="extensions" value="php"/>
<arg name="parallel" value="8"/>

<config name="testVersion" value="7.2-"/>
<config name="testVersion" value="7.0-"/>
<rule ref="PHPCompatibilityWP"/>

<config name="minimum_supported_wp_version" value="5.0.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class Preset_Customize_Control extends \WP_Customize_Control {
*
* @SuppressWarnings(PHPMD.ShortVariable)
*/
public function __construct( \WP_Customize_Manager $manager, string $id, array $args, ?\CrdmModern\Admin\Customizer\Preset_Registry $presets = null ) {
public function __construct( \WP_Customize_Manager $manager, string $id, array $args, $presets = null ) {
parent::__construct( $manager, $id, $args );
$this->presets = $presets;
}
Expand Down

0 comments on commit 87cd71f

Please sign in to comment.