I hereby claim:
- I am hollodotme on github.
- I am hollodotme (https://keybase.io/hollodotme) on keybase.
- I have a public key whose fingerprint is 38F8 06CE 3071 114C 991A 6C2F B878 F8C0 C810 7679
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php declare(strict_types=1); | |
final class TimedBuffer | |
{ | |
private $buffer = ''; | |
private $intervalMs; | |
private $startTime; |
# prepare
$ sudo apt-get install -y linux-headers-generic build-essential dkms
# get the right ISO from http://download.virtualbox.org/virtualbox/
$ wget http://download.virtualbox.org/virtualbox/5.2.8/VBoxGuestAdditions_5.2.8.iso
# create a mount folder
$ sudo mkdir /media/VBoxGuestAdditions
# mount the ISO
$ sudo mount -o loop,ro VBoxGuestAdditions_5.2.8.iso /media/VBoxGuestAdditions
# install the guest additions
<?php declare(strict_types=1); | |
if ( | |
extension_loaded( 'xdebug' ) | |
&& version_compare( '2.6.0', phpversion( 'xdebug' ), '<=' ) | |
) | |
{ | |
/** @noinspection PhpUndefinedFunctionInspection */ | |
/** @noinspection PhpUndefinedConstantInspection */ | |
xdebug_set_filter( |
language: php | |
php: | |
- 7.1 | |
- 7.2 | |
branches: | |
only: | |
- master | |
- development |
<?php declare(strict_types=1); | |
class Test | |
{ | |
private $arr = []; | |
public function __construct() | |
{ | |
for ( $i = 0; $i < 10000; $i++ ) | |
{ |
#!/usr/bin/env sh | |
OPTIND=1 | |
EXITCODE=0 | |
# Default parallelization | |
PARALLELIZE=2 | |
# Default file name pattern | |
FILENAME_PATTERN='*.php' | |
echo "PHP linting - looking for syntax errors in PHP files." |