alecsmrekar
Repos
13
Followers
1
Following
5

Texas Hold'em winning odds estimation using Monte Carlo simulations written in Go

0
0

Laravel+VueJS based project budgeting tool.

0
0

Chat app in Go/JS where the user picks a geographical location within which he wants to converse with others.

0
0

Bash script for quickly creating a new Drupal project

0
0

Barclaycard ePDQ Drupal Commerce payment gateway implementation.

0
0

A simple facade library for network communication via a TCP socket, written in C.

C
0
0

Events

pull request closed
Issue #77: Canonicalizing associative arrays is now done by using ksort instead of sort

This covers issue #77 which is also the cause for PHPUnit Issues #4455.

The first change is in "src/ArrayComparator.php" where we first detect if the expected array has any non-integer keys. If that is the case, we treat both arrays as associative and sort them with ksort() instead of sort().

The second change is test coverage of the above logic in "tests/ArrayComparatorTest.php".

Created at 1 week ago

Update changelog

Created at 2 months ago

Log load_static_elements by type

Created at 2 months ago
pull request opened
Log static assets by type

With this PR the static assets detected by load_static_elements get logged by type: css, img or js.

This is how the new output looks like:

 ------------------------------------------------------------------------------
 Name                     |    Avg (ms) |        Min |         Max |     Median
 ------------------------------------------------------------------------------
 GET static asset: css    |       15.40 |          2 |         287 |         10
 GET static asset: img    |       42.83 |          3 |         398 |         17
 GET static asset: js     |        4.97 |          2 |         120 |          3
 -------------------------+-------------+------------+-------------+-----------

If we don't want to see this behaviour by default, we could also create a new method load_static_elements_by_type and leave the existing one unchanged.

Created at 2 months ago

Log load_static_elements by type

Created at 2 months ago
create branch
alecsmrekar create branch static-assets-by-type
Created at 2 months ago
Created at 2 months ago