Skip to content

Instantly share code, notes, and snippets.

Christopher Cheape CheapeOne

Block or report user

Report or block CheapeOne

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View phpstan errors
vagrant @ dev [ /var/www/seatgeek ] (ad-phpstan)
-> vendor/bin/phpstan analyze cake/
261/261 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ------------------------------------------------------------------------
Line src/Crud/Action/Admin/BulkEditAction.php
------ ------------------------------------------------------------------------
78 Result of method Crud\Action\Bulk\BaseAction::_error() (void) is used.
------ ------------------------------------------------------------------------
@CheapeOne
CheapeOne / example.js
Last active Oct 2, 2018
How we could do generic related links now
View example.js
class PerformerPageOrWhatever {
render() {
return (
... // whatever other content is on the page
<RelatedLinks model="TeamBand" modelId={this.props.performerId}/>
);
}
}
/**
@CheapeOne
CheapeOne / example.php
Created Jul 31, 2018
Using destructuring for tests
View example.php
<?php
class SomeTest
{
/**
* @dataProvider thingProvider
*/
public function testThing($args)
{
[
View keybase.md

Keybase proof

I hereby claim:

  • I am cheapeone on github.
  • I am cheapeone (https://keybase.io/cheapeone) on keybase.
  • I have a public key ASB86PsyEyc15FDOEAKMiHJ4UB2PPBLDauK6R9_OLjRuDAo

To claim this, I am signing this object:

You can’t perform that action at this time.