17
Last Month in PHP February 2017 Kansas City PHP User Group

Last Month in PHP - February 2017

Embed Size (px)

Citation preview

Last Month in PHPFebruary 2017

Kansas City PHP User Group

PHP Patch ReleasesPHP 7.0.16

● Bug fixes● php.net/ChangeLog-7.php#7.0.16

PHP 7.1.2

● Bug fixes● php.net/ChangeLog-7.php#7.1.2

New version of PHPUnitPHPUnit 6.0

● Supports Actively Supported Versions of PHP○ PHP 7.0 & PHP 7.1

● Namespaced classes○ PHPUNit_Framework_TestCase → PHPUnit\Framework\TestCase

● Now check against useless tests is enabled by default○ PHP 5.7: vendor/bin/phpunit --report-useless-tests○ PHP 6.0: vendor/bin/phpunit --dont-report-useless-tests

● github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-6.0.0

Upcoming Features in PHP RFCTrailing Commas in List Syntax

● Target: 7.2● tl;dr: make additional groupings easier to

arrange when using a version control system

● Several proposals, few passed:○ Grouped namespaces○ Interface implementations on a class

● wiki.php.net/rfc/list-syntax-trailing-commas

Grouped namespaces

use Foo\Bar\{ Foo, Bar, Baz,};

Interface implementations on a class

class Foo implements FooInterface, BarInterface, BazInterface,{

Upcoming Features in PHP RFCMake Libsodium a Core Extension

● Target: 7.2● tl;dr: move highly-regarded libsodium library from being an extension to being

a core feature● Passed unanimously● CRYPTO in Core!● wiki.php.net/rfc/libsodium

Upcoming Features in PHP RFClist() Reference Assignment

● Target: 7.2● tl;dr: use the assignment operator (“&”) in

a list to change a value in the original array

● wiki.php.net/rfc/list_reference_assignment

CMSes: DrupalDrupal 7.54, 8.2.6

● Drupal 7.54○ Maintenance Release○ drupal.org/project/drupal/releases/7.54

● Drupal 8.2.4○ Final scheduled patch release in 8.2.x

■ 8.3 will be released in April○ Core is compatible with PHP 7.1○ New JS test methods added○ drupal.org/project/drupal/releases/8.2.4

CMSes: WordPressWordPress 4.7 - “Vaughan”

● No updates

Frameworks - CakePHPCakePHP 3.4 “Red Velvet”

● PSR-7 Request & Response objects● Routes support a _host option to match URLs on specific domains● Collection::chunkWithKeys() - split a collection into chunks and preseve keys● Email messages have their priority set● FormHelper can read default data out of the query string

○ GET forms are now more simple to build

● Deprecations on the road to 4.0● bakery.cakephp.org/2017/02/12/cakephp_340_released.html

Frameworks - LaravelLaravel 5.4.[8, 9, 10, 11, 12, 13]

● Laravel 5.4○ Maintenance releases○ Includes new Collections::when()

method○ Includes new Collections::tap()

method○ Throw JsonEncodingException when

JSON encoder fails to encode eloquent attribute

○ See: github.com/laravel/framework/blob/5.4/CHANGELOG-5.4.md

Frameworks - ZendZF 3.0

● No updates

PHP: The Right Way● Improved Arabic Translation ● Note: Every open-source project can use

your help with documentation. What are you waiting for?

PHP ConferencesConfoo.CA 2017

● Mar 8-10 - Montreal, CAN● confoo.ca/en/yul2017

Midwest PHP 2017

● March 17-18 - Minneapolis, MN● 2017.midwestphp.org

Lonestar PHP 2017

● Apr 20-22 - Dallas, TX● lonestarphp.com

DrupalCon Baltimore

● April 24-28 - Baltimore, MD● events.drupal.org/baltimore2017

PHP Conferences - ContinuedPHP[TEK] 2017

● May 24-26 - Atlanta, GA● tek.phparch.com

CoderCruise 2017

● July 16-23 - New Orleans, LA● codercruise.com

Nomad PHP (Online) - January 19Nomad PHP EU - 01:00 PM CST

Zend Framework Done Right

● Gary Hockin (@GeeH)● nomadphp.com/zend-framework-done-righ

t/

Nomad PHP US - 08:00 PM CST

Yielding Higher-Performance PHP Applications

● Ian Littman (@iansltx)● nomadphp.com/yielding-higher-performan

cephp-applications

Next Month in KCPHPUG● John Kary, everyone!