Skip to content

Commit

Permalink
Merge pull request #25 from owncloud/native_function_invocation-stric…
Browse files Browse the repository at this point in the history
…t-false

Native function invocation strict false
  • Loading branch information
phil-davis authored Jun 10, 2021
2 parents 65f1b65 + f7b5b07 commit ea3108e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [3.0.2] 2021-06-10
### Changed
- Change native_function_invocation rule so that it is not strict

## [3.0.1] 2021-06-09
### Changed
- Fix declaration of getRules() in Config
Expand Down
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function getRules(): array {
'switch_case_space' => true,
'visibility_required' => true,
// ownCloud specific
'native_function_invocation' => true,
'native_function_invocation' => ['strict' => false],
'array_syntax' => ['syntax' => 'short'],
'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
Expand Down

0 comments on commit ea3108e

Please sign in to comment.