Skip to content

Commit

Permalink
Php updates, prepare release 4.2.2 (#878)
Browse files Browse the repository at this point in the history
* php-cs-fixer update for php 7.4

* PHP 8.2: ${var} string interpolation deprecated

* Require php 7.4, test on 8.x; composer update

* Prepare release 4.2.2
  • Loading branch information
ctrlaltca authored Apr 6, 2023
1 parent 2025461 commit 6e36b58
Show file tree
Hide file tree
Showing 59 changed files with 588 additions and 830 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prado.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.4', '8.0', '8.1']
php-versions: ['8.0', '8.1', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
6 changes: 1 addition & 5 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
->setLineEnding("\n")
->setRules([
'@PSR12' => true,
'@PHP74Migration' => true,
'align_multiline_comment' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => true,
'blank_line_after_namespace' => true,
'blank_line_after_opening_tag' => true,
Expand All @@ -26,13 +26,11 @@
'dir_constant' => true,
'is_null' => true,
'function_typehint_space' => true,
'list_syntax' => ['syntax' => 'short'],
'method_chaining_indentation' => true,
'modernize_types_casting' => true,
'no_alias_functions' => true,
'no_blank_lines_after_phpdoc' => true,
'no_null_property_initialization' => true,
'no_whitespace_before_comma_in_array' => true,
'phpdoc_add_missing_param_annotation' => ['only_untyped' => false],
'phpdoc_indent' => true,
'phpdoc_no_package' => true,
Expand All @@ -42,9 +40,7 @@
'phpdoc_types_order' => true,
'psr_autoloading' => true,
'ternary_operator_spaces' => true,
'ternary_to_null_coalescing' => true,
'trim_array_spaces' => true,
'visibility_required' => true,
'whitespace_after_comma_in_array' => true,
])
->setFinder($finder);
Expand Down
11 changes: 10 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@

## Version 4.2.2 - ____
## Version 4.2.2 - April 6, 2023

BUG: Issue #811 - Update TSqlCriteria.php for fix phpdoc (zendre4)
BUG: Issue #814 - TSkinTemplate: ensure the full-NS class name is returned from the skin to match the one from the template (ctrlaltca)
BUG: Issue #815 - Cron trigger on first run fix, repeat running fix, and removed time zone code (belisoful)
BUG: Issue #819 - Support for OFFSET parameter without LIMIT clause in SQL query for TActiveRecord (ganiuszka)
ENH: Issue #820 - TApplicationComponent::getClassFxEvents Performance Mode should cache all (belisoful)
ENH: Issue #828 - TApplication::onSetUser raised when setting user. (belisoful)
ENH: Issues #821, #822, #823, #825, #826, #834, #839, #842 - Behavior updates (belisoful)
ENH: Issues #840, #847 - TPriority updates (belisoful)
ENH: Issues #818, #846 - TCallChain updates (belisoful)
ENH: Issue #866 - HTMLPurifier_Config and cache path (majuca)
ENH: Issue #868 - RFC: Service detection is fragile (ctrlaltca)
BUG: Issue #815 - Cron tasks delay until their proper time on first entry. Long running cron tasks no longer repeat further pending tasks. (belisoful)
ENH: Issue #865 - File and dir permissions were too permissive 0777, now the file permissions are 0644 and 0755 for directory by default. (majuca)
ENH: Issue #869 - Remove execute permission on all files excepted on php-cli (majuca)
ENH: Issue #875 - Make Prado::using able to autoload traits defined as prado3 namespaces (ctrlaltca)

## Version 4.2.1 - May 9, 2022

Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
],
"require": {
"php": ">=7.3.0",
"php": ">=7.4.0",
"ext-ctype": "*",
"ext-dom": "*",
"ext-intl": "*",
Expand Down Expand Up @@ -83,8 +83,11 @@
},
"config": {
"platform": {
"php": "7.3"
}
"php": "7.4"
},
"allow-plugins": {
"phpdocumentor/shim": true
}
},
"support" : {
"issues" : "https://github.com/pradosoft/prado/issues",
Expand Down
Loading

0 comments on commit 6e36b58

Please sign in to comment.