Hash • Libsodium a core extension • Object typehint (use object as param, return type) • object becomes a keyword (soft-reserved since 7.0) function foo(object $anObject): object { return new stdClass(); } foo('how about a string?') // TypeError: Argument 1 passed to foo() must be an object...
import { mount } from 'vue-test-utils' import Counter from './counter' describe('Counter', () => { // Now mount the component, and you have the wrapper. const wrapper = mount(Counter) it('renders the correct markup', () => { expect(wrapper.html()).toContain('<span class="count">0</span>') }) // It's also easy to check for the existence of elements. it('has a button', () => { expect(wrapper.contains('button')).toBe(true) }) }) https:/ /vue-test-utils.vuejs.org/en/
• Twig formatting, indentation • Test method generation • REST client adds support for environment variables defined in rest- client.env.json Links: • https:/ /blog.jetbrains.com/phpstorm/
to local dev environments • https:/ /medium.com/@koyaan5/diving-into-api-platform-3d4d856f4adb - Diving into API Platform • https:/ /bitpress.io/simple-approach-using-docker-with-php/ - Simple Approach to Using Docker and PHP • http:/ /hhvm.com/blog/2017/09/18/the-future-of-hhvm.html - The future of HHVM • https:/ /jenssegers.com/85/goodbye-controllers-hello-request-handlers - Goodbye Controllers, Hello Request Handlers https:/ /blog.jetbrains.com/phpstorm/2017/10/php-annotated-monthly-october-2017/