Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🐦

Claudio Zizza SenseException

💭
🐦
View GitHub Profile
@Ocramius
Ocramius / psalm-compendium.php
Last active Oct 17, 2021
A small compendium of what is possible with `vimeo/psalm` 3.9.x to add some decent type system features to PHP
View psalm-compendium.php
<?php
// -- types are a compile-time propagated concept
// https://psalm.dev/r/338f74a96c
class TheType
{
/** @var string */
public $foo = 'bar';
}
@mickaelandrieu
mickaelandrieu / upgrade2.3-to-2.7.md
Last active Jun 6, 2021
Complete migration guide from Symfony 2.3 LTS to Symfony 2.7 LTS
View upgrade2.3-to-2.7.md

From Symfony 2.3 to Symfony 2.7: the complete guide

Objectives

  • assume your code doesn't use any deprecated from versions below Symfony 2.3
  • update dependencies from 2.3 to 2.7
  • do not support "deprecated", be "Symfony3-ready"
  • list tasks component by component, bundle by bundle.
@shobotch
shobotch / key.md
Last active Nov 30, 2021
Twitter (un)official Consumer Key
View key.md

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN
Consumer key:    IQKbtAYlXLripLGPWd0HUA