Skip to content

Releases: OpenBuildings/jam

Add null coalescing (??) operator passing arr arg to _load_item

08 Jan 14:01
1441a3a
Compare
Choose a tag to compare

When we are using the jam with PHP 7.3 and if $this->_content is null following:

$this->_content[$offset]

here and there works without warnings.

From PHP 7.4 when you try to do it you will have a Notice. The following example is with PHP 7.4.13:

$ php -a
Interactive mode enabled

php > $foo=null;
php > $foo['bar'];
PHP Notice:  Trying to access array offset on value of type null in php shell code on line 1
PHP Stack trace:
PHP   1. {main}() php shell code:0

To avoid the Notice I added the checks in this PR.

php > $foo['bar']??null;
php >

PHP version upgrade

28 Feb 09:52
dbaa321
Compare
Choose a tag to compare

Upgrade php version to ^7.1
Upgrade phpunit version to ^7

Jam_model::save error handling improve

15 Oct 15:37
3239e93
Compare
Choose a tag to compare

deprecate check_insist on Jam_model::save

Remove obsolete classes

04 Apr 01:48
Compare
Choose a tag to compare
Remove obsolete left-over empty classes

These are no longer used and they extend missing classes

Add support for Jam Price present validation

12 Oct 17:15
Compare
Choose a tag to compare
Merge pull request #83 from OpenBuildings/add-present-price-validation

Add present validation for Jam Pice

Fix collection validation loop

11 Oct 11:39
Compare
Choose a tag to compare
  • Fix collection validation loop on check
  • Drop PHP 5.3 support

Fix @param annotations

26 Aug 00:32
Compare
Choose a tag to compare

Improve @return annotations

15 Aug 21:37
Compare
Choose a tag to compare
0.5.19

Fix Jam_Form::fields_for() @return annotation

Fixed php warning for combining numeric and non-numeric values

04 Aug 12:18
Compare
Choose a tag to compare
  • Fixed php warning for combining numeric and non-numeric values.
  • Added .editorconfig for style consistency.

Improve error reporting

14 Jul 08:56
Compare
Choose a tag to compare

Add name parameter to error messages.